From fe7819402c285c2d006b79eb66981673fedf3d04 Mon Sep 17 00:00:00 2001 From: "Zeng, Star" Date: Thu, 14 Aug 2014 05:55:08 +0000 Subject: MdeModulePkg/IntelFrameworkModulePkg: Update PeiCore, SmbiosDxe and IsaSerialDxe to use PcdGetxx() instead of FixedPcdGetxx(). It changes some of the PCD declarations to add more supported PCD storage types and the change in the PCD access methods is associated with that. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zeng, Star Reviewed-by: Kinney, Michael D Reviewed-by: Gao, Liming git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15798 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/MdeModulePkg.dec | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'MdeModulePkg/MdeModulePkg.dec') diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 47d9fdda1a..7fec666c79 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -528,19 +528,9 @@ # for a dynamic PCD used in PEI phase. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f - ## Maximum number of FV is supported by PeiCore's dispatching. - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030 - - ## Maximum File count in every FV is supported by PeiCore's dispatching. - # PeiCore supported File type includes PEIM, Combined PEIM and FV. - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031 - ## Maximum stack size for PeiCore. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032 - ## Maximum PPI count is supported by PeiCore's PPI database. - gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033 - ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize # The root cause is that variable driver will use FTW protocol to reclaim variable region. # If the length of variable region is larger than FTW spare size, it means the whole variable region can not @@ -585,9 +575,6 @@ # Other Value: Enable the feature as fixed absolute address, and the value is the top memory address gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015 - ## Smbios version - gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208|UINT16|0x00010055 - ## TFTP BlockSize. Initial value 0 means using default block size which is (MTU-IP_HEADER-UDP_HEADER-TFTP_HEADER) # to handle all link layers. If the value is non zero, the PCD value will be used as block size. # @@ -619,6 +606,19 @@ # gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010 + ## Maximum number of FV is supported by PeiCore's dispatching. + # @Prompt Maximum number of FV supported by PeiCore. + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030 + + ## Maximum File count in every FV is supported by PeiCore's dispatching. + # PeiCore supported File type includes PEIM, Combined PEIM and FV. + # @Prompt Maximum File count per FV supported by PeiCore. + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031 + + ## Maximum PPI count is supported by PeiCore's PPI database. + # @Prompt Maximum PPI count supported by PeiCore. + gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033 + ## Maximun number of performance log entries during PEI phase. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f @@ -897,6 +897,10 @@ ## This PCD specifies whether 1G page table is enabled. gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|FALSE|BOOLEAN|0x0001005E + ## Smbios version. + # @Prompt Smbios version. + gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208|UINT16|0x00010055 + ## This PCD specifies the additional pad size in FPDT Basic Boot Performance Table for # the extension FPDT boot records got after ReadyToBoot and before ExitBootService. gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x0|UINT32|0x0001005F -- cgit v1.2.3