mirror of https://github.com/acidanthera/audk.git
[Description]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. it is the requirement of PI spec [Impaction] use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. [Reference Info] it is the requirement of PI spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4926 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b3149ea705
commit
6d87c34485
|
@ -138,8 +138,10 @@ PeiStatusCodeDriverEntry (
|
|||
// Install PeiStatusCodePpi.
|
||||
// PeiServices use this Ppi to output status code.
|
||||
// use library
|
||||
Status = PeiServicesInstallPpi (&mStatusCodePpiDescriptor);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
if (!FeaturePcdGet(PcdNtEmulatorEnable)) {
|
||||
Status = PeiServicesInstallPpi (&mStatusCodePpiDescriptor);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
||||
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
||||
|
||||
|
@ -69,6 +70,7 @@
|
|||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable
|
||||
|
||||
|
||||
[Pcd.common]
|
||||
|
|
Loading…
Reference in New Issue