Re: RFC: Boot Discovery Policy

Grzegorz Bernacki

Hi Ray,
Thanks a lot for review. Regarding comment #1. I proposed two options:
1) Change directly MdeModulePkg/Library/BootMaintenanceManagerUiLib
and add an Boot Discovery Policy entry in 'Boot Maintenance Manager'
2) Add a new library which uses EFI_IFR_BOOT_MAINTENANCE_GUID
classguid and allow Boot Maintanance Manager to connect it via
BmmListThirdPartyDrivers(). However, drawback of that solution is
creation of a new form with Boot Discovery Policy drop-down list

Second option uses separate library. What is your opinion on above?

czw., 29 kwi 2021 o 14:58 Ni, Ray <> napisał(a):

I reviewed your design and learned several points:
1. UiApp adds an option to let user select which class to connect
[ray] can you explain which UiApp your design changes? the one in MdeModulePkg? can you investigate whether it's doable to produce such setup option through another driver?

2. bcfg adds an option to let user select which class to connect
[ray] you need to discuss with USWG on the bcfg shell command change.

3. The option added above controls the PlatformBootManagerLib behavior
[ray] This lib belongs to platform scope so you can freely change it as long as the platform owner agrees.


-----Original Message-----
From: <> On Behalf Of Grzegorz Bernacki
Sent: Thursday, April 29, 2021 7:19 PM
Cc: Samer El-Haj-Mahmoud <>; Sunny Wang <>; Marcin Wojtas
<>;; Ni, Ray <>
Subject: Re: [edk2-rfc] RFC: Boot Discovery Policy

Adding reviewers and ARM into the loop...

Ray, Zhichao,
Can I ask you to review the design and let me know if you got any comments.


czw., 29 kwi 2021 o 10:11 Grzegorz Bernacki <> napisał(a):


I would like to ask you for review of following proposal. It will
allow the user to specify which devices should be connected at the
boot. User selection will be saved in variable and Boot Manager Policy
Protocol will be used to connect specified devices.
Design can be found at:


Join to automatically receive all group messages.