[Feature]: Add gBeforeEndOfDxeEventGuid, gAfterEndOfDxeEventGuid and gDispatchDeferredImagesEventGuid and signal it in PlatformBootManagerLib
Closed this issue · 3 comments
Feature Overview
Due to there are some requirement that we need to invoke some specific functions in some flow that has sequence requirement, we would like to add gBeforeEndOfDxeEventGroupGuid
, gAfterEndOfDxeEventGroupGuid
and gDispatchDeferredImagesEventGroupGuid
.
The gBeforeEndOfDxeEventGroupGuid
and gAfterEndOfDxeEventGroupGuid
will be signaled in ExitPmAuth() that before and after gEfiEndOfDxeEventGroupGuid
.
The gDispatchDeferredImagesEventGroupGuid
will be signaled in PlatformBootManagerBeforeConsole() after EfiBootManagerDispatchDeferredImages
Solution Overview
-
Add gBeforeEndOfDxeEventGuid, gAfterEndOfDxeEventGuid and gDispatchDeferredImagesEventGuid to MsCorePkg.dec
-
The
gBeforeEndOfDxeEventGroupGuid
andgAfterEndOfDxeEventGroupGuid
will be signaled in ExitPmAuth() that before and aftergEfiEndOfDxeEventGroupGuid
. -
The
gDispatchDeferredImagesEventGroupGuid
will be signaled in PlatformBootManagerBeforeConsole() afterEfiBootManagerDispatchDeferredImages
Alternatives Considered
No response
Urgency
Medium
Are you going to implement the feature request?
I will implement the feature
Do you need maintainer feedback?
Maintainer feedback requested
Anything else?
No response
@apop5, please take a look if this proposal is ok to you, then I will find someone to create PR for this proposal, thanks.
Would it be possible to take this to EDK2 first? Bds is already very fragmented, with each silicon vendor providing their own library instances that implement this additional checks. If EDK2 can align on a common implementation, it would greatly simplify the maintenance, and it could allow silicon vendors to be able to use stock edk2.
after offline discussion, agree to work with silicon vendor to upstream to edk2, close the issue.