MdeModulePkg: Add BootDiscoveryPolicyUiLib.
This library extends Boot Maintenance Menu and allows to select Boot Discovery Policy. When choice is made BootDiscoveryPolicy variable is set. Platform code can use this variable to decide which class of device shall be connected. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
03e77558d4
commit
2b47aaecef
@@ -425,6 +425,9 @@
|
||||
## Include/UniversalPayload/SerialPortInfo.h
|
||||
gUniversalPayloadSerialPortInfoGuid = { 0xaa7e190d, 0xbe21, 0x4409, { 0x8e, 0x67, 0xa2, 0xcd, 0xf, 0x61, 0xe1, 0x70 } }
|
||||
|
||||
## GUID used for Boot Discovery Policy FormSet guid and related variables.
|
||||
gBootDiscoveryPolicyMgrFormsetGuid = { 0x5b6f7107, 0xbb3c, 0x4660, { 0x92, 0xcd, 0x54, 0x26, 0x90, 0x28, 0x0b, 0xbd } }
|
||||
|
||||
[Ppis]
|
||||
## Include/Ppi/AtaController.h
|
||||
gPeiAtaControllerPpiGuid = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}
|
||||
@@ -1600,6 +1603,12 @@
|
||||
# @Prompt Console Output Row of Text Setup
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e
|
||||
|
||||
## Specify the Boot Discovery Policy settings
|
||||
# To support configuring from setup page, this PCD should be overridden in DynamicHii type in its platform .dsc:
|
||||
# gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy|L"BootDiscoveryPolicy"|gBootDiscoveryPolicyMgrFormsetGuid|0
|
||||
# @Prompt Boot Discovery Policy
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy|2|UINT32|0x4000000f
|
||||
|
||||
[PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20|UINT32|0x0001004c
|
||||
|
||||
|
Reference in New Issue
Block a user