From 9c7aa1861756573b96e2050a6587bd5041be710a Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 15 Oct 2007 11:17:01 +0000 Subject: [PATCH] 1) add gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported and gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv to replace the MACRO definitions. 2) Fix a bug in Pei dispatcher to suppoprt PEI Apriori file 3) Enable PEI apriori file in Nt32.FDF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4118 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/Nt32Pkg.dsc | 3 +++ Nt32Pkg/Nt32Pkg.fdf | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 6404f7150c..51d4fe3df9 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -298,6 +298,9 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00c000 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10 + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6 + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32 + [PcdsFeatureFlag.IA32] gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseTraverseEnabled|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseCallbackOnSetEnabled|TRUE diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index 98217147e9..db378b4da8 100644 --- a/Nt32Pkg/Nt32Pkg.fdf +++ b/Nt32Pkg/Nt32Pkg.fdf @@ -123,6 +123,14 @@ READ_LOCK_STATUS = TRUE ## # PEI Phase modules ## + ## + # PEI Apriori file example, more PEIM module added later. + ## +APRIORI PEI { + INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf + INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf + } + INF MdeModulePkg/Core/Pei/PeiMain.inf INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf