]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
BaseTools: Handle the bytes and str difference
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 428eeeb670449499f5e31f1529b886dbca107725..e5c32d15edcd1857a9a46ce62f97f524810426d2 100644 (file)
@@ -3,7 +3,7 @@
 # It also provides the definitions(including PPIs/PROTOCOLs/GUIDs and library classes)\r
 # and libraries instances, which are used for those modules.\r
 #\r
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
   # @Prompt VPD base address.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010\r
 \r
-  ## Maximum number of FV is supported by PeiCore's dispatching.\r
-  # @Prompt Maximum number of FV supported by PeiCore.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030\r
-\r
-  ## Maximum File count in every FV is supported by PeiCore's dispatching.\r
-  #  PeiCore supported File type includes PEIM, Combined PEIM and FV.\r
-  # @Prompt Maximum File count per FV supported by PeiCore.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031\r
-\r
   ## Maximum stack size for PeiCore.\r
   # @Prompt Maximum stack size for PeiCore.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032\r
 \r
-  ## Maximum PPI count is supported by PeiCore's PPI database.\r
-  # @Prompt Maximum PPI count supported by PeiCore.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033\r
-\r
   ## The maximum size of a single non-HwErr type variable.\r
   # @Prompt Maximum variable size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003\r
   # @Prompt 64-bit Base address of flash FTW working block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0|UINT64|0x80000010\r
 \r
-  ## This PCD defines a reserved memory range for the EMU Variable driver's NV Variable Store.\r
-  #  The range is valid if non-zero. The memory range size must be PcdVariableStoreSize.\r
-  # @Prompt Reserved memory range for EMU variable NV storage.\r
+  ## Indicates if Variable driver will enable emulated variable NV mode.<BR><BR>\r
+  #  If this PCD is configured to dynamic, its value should be set before Variable driver starts to work,<BR>\r
+  #  otherwise default value will take effect.<BR>\r
+  #   TRUE  - An EMU variable NV storage will be allocated or reserved for NV variables.<BR>\r
+  #   FALSE - No EMU variable NV storage will be allocated or reserved for NV variables.<BR>\r
+  # @Prompt EMU variable NV mode enable.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|FALSE|BOOLEAN|0x01100001\r
+\r
+  ## This PCD defines the base address of reserved memory range for EMU variable NV storage.\r
+  #  A non-ZERO value indicates a valid range reserved with size given by PcdVariableStoreSize.\r
+  # @Prompt Base of reserved memory range for EMU variable NV storage.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0|UINT64|0x40000008\r
 \r
   ## This PCD defines the times to print hello world string.\r
   # @ValidList  0x80000001 | 0x0\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0x0|UINT64|0x00030001\r
 \r
-  ## This dynamic PCD hold an address to point to the memory of page table. The page table establishes a 1:1\r
-  #  Virtual to Physical mapping according to the processor physical address bits.\r
-  # @Prompt Identify Mapping Page Table pointer.\r
-  # @ValidList  0x80000001 | 0x0\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdIdentifyMappingPageTablePtr|0x0|UINT64|0x00030002\r
-\r
   ## This dynamic PCD holds the information if there is any test key used by the platform.\r
   # @Prompt If there is any test key used by the platform.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE|BOOLEAN|0x00030003\r
   # @Prompt NV Storage Default Value Buffer\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer|{0x0}|VOID*|0x00030005\r
 \r
+  ## VPD type PCD allows a developer to point to an absolute physical address PcdVpdBaseAddress64\r
+  #  to store PCD value. It will be DynamicExDefault only.\r
+  #  It is used to set VPD region base address. So, it can't be DynamicExVpd PCD. Its value is\r
+  #  required to be accessed in PcdDxe driver entry point. So, its value must be set in PEI phase.\r
+  #  It can't depend on EFI variable service, and can't be DynamicExHii PCD.\r
+  # @Prompt 64bit VPD base address.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress64|0x0|UINT64|0x00030006\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   MdeModulePkgExtra.uni\r