A future patch will change the order in which Driver#### options are processed, removing the possibility to create such options in PlatformBootManagerBeforeConsole(). Update the code comments duplicated across the tree to reflect this upcoming change, and replace Driver#### with SysPrep####, which can be used for the same purpose instead.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- MdeModulePkg/Include/Library/PlatformBootManagerLib.h | 2 +- MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c | 2 +- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 2 +- OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 2 +- UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c index e6e788e0f107..d436eacd3494 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -532,7 +532,7 @@ PlatformRegisterOptionsAndKeys ( Possible things that can be done in PlatformBootManagerBeforeConsole: > Update console variable: 1. include hot-plug devices; > 2. Clear ConIn and add SOL for AMT - > Register new Driver#### or Boot#### + > Register new SysPrep#### or Boot#### > Register new Key####: e.g.: F12 > Signal ReadyToLock event > Authentication action: 1. connect Auth devices; diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c index 5f6cfe64daca..2df874a0dedd 100644 --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -674,7 +674,7 @@ PlatformRegisterOptionsAndKeys ( Possible things that can be done in PlatformBootManagerBeforeConsole: > Update console variable: 1. include hot-plug devices; > 2. Clear ConIn and add SOL for AMT - > Register new Driver#### or Boot#### + > Register new SysPrep#### or Boot#### > Register new Key####: e.g.: F12 > Signal ReadyToLock event > Authentication action: 1. connect Auth devices; diff --git a/MdeModulePkg/Include/Library/PlatformBootManagerLib.h b/MdeModulePkg/Include/Library/PlatformBootManagerLib.h index 5d3062e9ddea..0b296b55bcab 100644 --- a/MdeModulePkg/Include/Library/PlatformBootManagerLib.h +++ b/MdeModulePkg/Include/Library/PlatformBootManagerLib.h @@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Such as: Update console variable; - Register new Driver#### or Boot####; + Register new SysPrep#### or Boot####; Signal ReadyToLock event. **/ VOID diff --git a/MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c b/MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c index 43560bf2aa6c..45cf81c1226b 100644 --- a/MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c +++ b/MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c @@ -15,7 +15,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Such as: Update console variable; - Register new Driver#### or Boot####; + Register new SysPrep#### or Boot####; Signal ReadyToLock event. **/ VOID diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c index d387dbe7ac12..1fb04dcbbcda 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -854,7 +854,7 @@ BdsEntry ( // Do the platform init, can be customized by OEM/IBV // Possible things that can be done in PlatformBootManagerBeforeConsole: // > Update console variable: 1. include hot-plug devices; 2. Clear ConIn and add SOL for AMT - // > Register new Driver#### or Boot#### + // > Register new SysPrep#### or Boot#### // > Register new Key####: e.g.: F12 // > Signal ReadyToLock event // > Authentication action: 1. connect Auth devices; 2. Identify auto logon user. diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c index 8af9b71f18a3..b7dc9a1fefdc 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c @@ -339,7 +339,7 @@ SaveS3BootScript ( > Update console variable: 1. include hot-plug devices; > 2. Clear ConIn and add SOL for AMT - > Register new Driver#### or Boot#### + > Register new SysPrep#### or Boot#### > Register new Key####: e.g.: F12 > Signal ReadyToLock event > Authentication action: 1. connect Auth devices; diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index c5c6af0abcb2..2833d2b03019 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -143,7 +143,7 @@ PlatformRegisterFvBootOption ( Such as: Update console variable; - Register new Driver#### or Boot####; + Register new SysPrep#### or Boot####; Signal ReadyToLock event. **/ VOID -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51965): https://edk2.groups.io/g/devel/message/51965 Mute This Topic: https://groups.io/mt/67470371/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-