]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg: Create PCDs to be used in support of SEV-ES
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 4f44af694862c95e542fea44568ce562e633de93..cb30a7975849b4da9f0fb682118c603326f3aadb 100644 (file)
   ## GUID indicates the capsule is to store Capsule On Disk file names.\r
   gEdkiiCapsuleOnDiskNameGuid = { 0x98c80a4f, 0xe16b, 0x4d11, { 0x93, 0x9a, 0xab, 0xe5, 0x61, 0x26, 0x3, 0x30 } }\r
 \r
+  ## Include/Guid/MigratedFvInfo.h\r
+  gEdkiiMigratedFvInfoGuid = { 0xc1ab12f7, 0x74aa, 0x408d, { 0xa2, 0xf4, 0xc6, 0xce, 0xfd, 0x17, 0x98, 0x71 } }\r
+\r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r
   # @Prompt Enable PCI bridge IO alignment probe.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciBridgeIoAlignmentProbe|FALSE|BOOLEAN|0x0001004e\r
 \r
-  ## Indicates if StatusCode is reported via Serial port.<BR><BR>\r
-  #   TRUE  - Reports StatusCode via Serial port.<BR>\r
-  #   FALSE - Does not report StatusCode via Serial port.<BR>\r
-  # @Prompt Enable StatusCode via Serial port.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022\r
-\r
-  ## Indicates if StatusCode is stored in memory.\r
-  #  The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.<BR><BR>\r
-  #   TRUE  - Stores StatusCode in memory.<BR>\r
-  #   FALSE - Does not store StatusCode in memory.<BR>\r
-  # @Prompt Enable StatusCode via memory.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023\r
-\r
   ## Indicates if PEI phase StatusCode will be replayed in DXE phase.<BR><BR>\r
   #   TRUE  - Replays PEI phase StatusCode in DXE phased.<BR>\r
   #   FALSE - Does not replay PEI phase StatusCode in DXE phase.<BR>\r
   # @Prompt Shadow Peim and PeiCore on boot\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnBoot|TRUE|BOOLEAN|0x30001029\r
 \r
+  ## Enable the feature that evacuate temporary memory to permanent memory or not<BR><BR>\r
+  #  Set FALSE as default, if the developer need this feature to avoid this vulnerability, please\r
+  #  enable it to shadow all PEIMs no matter the behavior controled by PcdShadowPeimOnBoot or\r
+  #  PcdShadowPeimOnS3Boot<BR>\r
+  #  TRUE - Evacuate temporary memory, the actions include copy memory, convert PPI pointers and so on.<BR>\r
+  #  FALSE - Do nothing, for example, no copy memory, no convert PPI pointers and so on.<BR>\r
+  # @Prompt Evacuate temporary memory to permanent memory\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMigrateTemporaryRamFirmwareVolumes|FALSE|BOOLEAN|0x3000102A\r
+\r
   ## The mask is used to control memory profile behavior.<BR><BR>\r
   #  BIT0 - Enable UEFI memory profile.<BR>\r
   #  BIT1 - Enable SMRAM profile.<BR>\r
   # @Prompt TCG Platform Firmware Profile revision.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTcgPfpMeasurementRevision|0|UINT32|0x00010077\r
 \r
+  ## Indicates if StatusCode is reported via Serial port.<BR><BR>\r
+  #   TRUE  - Reports StatusCode via Serial port.<BR>\r
+  #   FALSE - Does not report StatusCode via Serial port.<BR>\r
+  # @Prompt Enable StatusCode via Serial port.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022\r
+\r
+  ## Indicates if StatusCode is stored in memory.\r
+  #  The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.<BR><BR>\r
+  #   TRUE  - Stores StatusCode in memory.<BR>\r
+  #   FALSE - Does not store StatusCode in memory.<BR>\r
+  # @Prompt Enable StatusCode via memory.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023\r
+\r
 [PcdsPatchableInModule]\r
   ## Specify memory size with page number for PEI code when\r
   #  Loading Module at Fixed Address feature is enabled.\r
   # @Prompt If there is any test key used by the platform.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE|BOOLEAN|0x00030003\r
 \r
+  ## This dynamic PCD holds the base address of the Guest-Hypervisor Communication Block (GHCB) pool allocation.\r
+  # @Prompt GHCB Pool Base Address\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0|UINT64|0x00030007\r
+\r
+  ## This dynamic PCD holds the total size of the Guest-Hypervisor Communication Block (GHCB) pool allocation.\r
+  #  The amount of memory allocated for GHCBs is dependent on the number of APs.\r
+  # @Prompt GHCB Pool Size\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0|UINT64|0x00030008\r
+\r
 [PcdsDynamicEx]\r
   ## This dynamic PCD enables the default variable setting.\r
   #  Its value is the default store ID value. The default value is zero as Standard default.\r