microsoft / mu_plus

Project Mu Microsoft Core UEFI Value
https://microsoft.github.io/mu/
Other
216 stars 103 forks source link

[Feature]: Add gBeforeEndOfDxeEventGuid, gAfterEndOfDxeEventGuid and gDispatchDeferredImagesEventGuid and signal it in PlatformBootManagerLib #570

Closed MarcChen46 closed 2 months ago

MarcChen46 commented 2 months ago

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

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

MarcChen46 commented 2 months ago

@apop5, please take a look if this proposal is ok to you, then I will find someone to create PR for this proposal, thanks.

apop5 commented 2 months ago

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.

MarcChen46 commented 2 months ago

after offline discussion, agree to work with silicon vendor to upstream to edk2, close the issue.