mirror of https://github.com/acidanthera/audk.git
Vlv2TbltDevicePkg/Override/Bds: Add test key notification
Cc: David Wei <david.wei@intel.com> Cc: Mang Guo <mang.guo@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Guo Mang <mang.guo@intel.com>
This commit is contained in:
parent
10ea1b6853
commit
45e076b7a7
|
@ -568,6 +568,17 @@ BdsLibConnectAllDefaultConsoles (
|
|||
);
|
||||
}
|
||||
|
||||
//
|
||||
// If any component set PcdTestKeyUsed to TRUE because use of a test key
|
||||
// was detected, then display a warning message on the debug log and the console
|
||||
//
|
||||
if (PcdGetBool (PcdTestKeyUsed) == TRUE) {
|
||||
DEBUG ((DEBUG_ERROR, "**********************************\n"));
|
||||
DEBUG ((DEBUG_ERROR, "** WARNING: Test Key is used. **\n"));
|
||||
DEBUG ((DEBUG_ERROR, "**********************************\n"));
|
||||
Print (L"** WARNING: Test Key is used. **\n");
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
||||
}
|
||||
|
|
|
@ -138,6 +138,7 @@
|
|||
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## SOMETIMES_CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable ## CONSUMES
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile ## CONSUMES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed ## CONSUMES
|
||||
|
||||
#
|
||||
# [BootMode]
|
||||
|
|
Loading…
Reference in New Issue