]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index b2fab4a65e5662603c2c803aa6020dc82b8368a0..e8058c8bfaecbf481c3520d0f601b434f5440045 100644 (file)
@@ -3,11 +3,13 @@
 # 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 - 2019, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.\r
+# Copyright (c) 2007 - 2021, 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
+# (C) Copyright 2016 - 2019 Hewlett Packard Enterprise Development LP<BR>\r
 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
-# Copyright (c) 2016, Microsoft Corporation<BR>\r
+# Copyright (c) Microsoft Corporation.<BR>\r
+# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 [Includes]\r
   Include\r
 \r
+[Includes.Common.Private]\r
+  Library/BrotliCustomDecompressLib/brotli/c/include\r
 \r
 [LibraryClasses]\r
-  ##  @libraryclass  IpIo layer upon EFI IP4 Protocol.\r
-  #   This library is only intended to be used by UEFI network stack modules.\r
-  IpIoLib|Include/Library/IpIoLib.h\r
-\r
-  ##  @libraryclass  Basic function for UEFI network stack.\r
-  #   This library is only intended to be used by UEFI network stack modules.\r
-  NetLib|Include/Library/NetLib.h\r
-\r
-  ##  @libraryclass  The helper routines to access UDP service.\r
-  #   This library is only intended to be used by UEFI network stack modules.\r
-  UdpIoLib|Include/Library/UdpIoLib.h\r
-\r
-  ##  @libraryclass  The helper routines to access TCP service.\r
-  #   This library is only intended to be used by UEFI network stack modules.\r
-  TcpIoLib|Include/Library/TcpIoLib.h\r
-\r
-  ##  @libraryclass  The helper routines to access HTTP service.\r
-  #   This library is only intended to be used by UEFI network stack modules.\r
-  HttpLib|Include/Library/HttpLib.h\r
-\r
   ##  @libraryclass  Defines a set of methods to reset whole system.\r
   ResetSystemLib|Include/Library/ResetSystemLib.h\r
 \r
+  ##  @libraryclass  Business logic for storing and testing variable policies\r
+  VariablePolicyLib|Include/Library/VariablePolicyLib.h\r
+\r
   ##  @libraryclass  Defines a set of helper functions for resetting the system.\r
   ResetUtilityLib|Include/Library/ResetUtilityLib.h\r
 \r
-  ##  @libraryclass  Defines a set of methods related do S3 mode.\r
-  #   This library class is no longer used and modules using this library should\r
-  #   directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.\r
-  S3Lib|Include/Library/S3Lib.h\r
-\r
-  ##  @libraryclass  Defines a set of methods related recovery mode.\r
-  #   This library class is no longer used and modules using this library should\r
-  #   directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specification.\r
-  RecoveryLib|Include/Library/RecoveryLib.h\r
-\r
   ##  @libraryclass  Provides HII related functions.\r
   HiiLib|Include/Library/HiiLib.h\r
 \r
   ##  @libraryclass  Defines a set of interfaces on how to process capusle image update.\r
   CapsuleLib|Include/Library/CapsuleLib.h\r
 \r
-  ##  @libraryclass  Library for Deferred Procedure Calls.\r
-  DpcLib|Include/Library/DpcLib.h\r
-\r
   ##  @libraryclass    Provides global variables that are pointers\r
   #   to the UEFI HII related protocols.\r
   #\r
   #\r
   IpmiLib|Include/Library/IpmiLib.h\r
 \r
+  ## @libraryclass  Provides interfaces to send/receive IPMI command.\r
+  #\r
+  IpmiCommandLib|Include/Library/IpmiCommandLib.h\r
+\r
   ## @libraryclass  Provides interfaces for platform to return root bridge information to PciHostBridgeDxe driver.\r
   #\r
   PciHostBridgeLib|Include/Library/PciHostBridgeLib.h\r
   #\r
   DisplayUpdateProgressLib|Include/Library/DisplayUpdateProgressLib.h\r
 \r
+  ##  @libraryclass  This library contains helper functions for marshalling and\r
+  #   registering new policies with the VariablePolicy infrastructure.\r
+  #\r
+  VariablePolicyHelperLib|Include/Library/VariablePolicyHelperLib.h\r
+\r
+  ##  @libraryclass  Provides services to access UEFI variable flash information.\r
+  #\r
+  VariableFlashInfoLib|Include/Library/VariableFlashInfoLib.h\r
+\r
 [Guids]\r
   ## MdeModule package token space guid\r
   # Include/Guid/MdeModulePkgTokenSpace.h\r
   #  Include/Guid/SmmVariableCommon.h\r
   gSmmVariableWriteGuid  = { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 }}\r
 \r
+  ## Guid of the variable flash information HOB.\r
+  #  Include/Guid/VariableFlashInfo.h\r
+  gVariableFlashInfoHobGuid = { 0x5d11c653, 0x8154, 0x4ac3, { 0xa8, 0xc2, 0xfb, 0xa2, 0x89, 0x20, 0xfc, 0x90 }}\r
+\r
   ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID\r
   #  Include/Guid/Performance.h\r
   gPerformanceProtocolGuid       = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 } }\r
   ## Include/Guid/PlatDriOverrideHii.h\r
   gPlatformOverridesManagerGuid      = { 0x8614567d, 0x35be, 0x4415, { 0x8d, 0x88, 0xbd, 0x7d, 0xc, 0x9c, 0x70, 0xc0 }}\r
 \r
-  ## Include/Guid/Ip4Config2Hii.h\r
-  gIp4Config2NvDataGuid              = { 0x9b942747, 0x154e, 0x4d29, { 0xa4, 0x36, 0xbf, 0x71, 0x0, 0xc8, 0xb5, 0x3b }}\r
-\r
-  ## Include/Guid/VlanConfigHii.h\r
-  gVlanConfigFormSetGuid             = { 0xd79df6b0, 0xef44, 0x43bd, { 0x97, 0x97, 0x43, 0xe9, 0x3b, 0xcf, 0x5f, 0xa8 }}\r
-\r
-  ## Include/Guid/Ip4IScsiConfigHii.h\r
-  gIp4IScsiConfigGuid                = { 0x6456ed61, 0x3579, 0x41c9, { 0x8a, 0x26, 0x0a, 0x0b, 0xd6, 0x2b, 0x78, 0xfc }}\r
-  gIScsiCHAPAuthInfoGuid             = { 0x786ec0ac, 0x65ae, 0x4d1b, { 0xb1, 0x37, 0xd, 0x11, 0xa, 0x48, 0x37, 0x97 }}\r
-\r
   ## Include/Guid/ZeroGuid.h\r
   gZeroGuid                          = { 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}\r
 \r
   gLzmaCustomDecompressGuid      = { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF }}\r
   gLzmaF86CustomDecompressGuid     = { 0xD42AE6BD, 0x1352, 0x4bfb, { 0x90, 0x9A, 0xCA, 0x72, 0xA6, 0xEA, 0xE8, 0x89 }}\r
 \r
-  ## GUID indicates the tiano custom compress/decompress algorithm.\r
-  #  Include/Guid/TianoDecompress.h\r
-  gTianoCustomDecompressGuid     = { 0xA31280AD, 0x481E, 0x41B6, { 0x95, 0xE8, 0x12, 0x7F, 0x4C, 0x98, 0x47, 0x79 }}\r
-\r
   ## Include/Guid/TtyTerm.h\r
   gEfiTtyTermGuid                = { 0x7d916d80, 0x5bb1, 0x458c, {0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94 }}\r
+  gEdkiiLinuxTermGuid            = { 0xe4364a7f, 0xf825, 0x430e, {0x9d, 0x3a, 0x9c, 0x9b, 0xe6, 0x81, 0x7c, 0xa5 }}\r
+  gEdkiiXtermR6Guid              = { 0xfbfca56b, 0xbb36, 0x4b78, {0xaa, 0xab, 0xbe, 0x1b, 0x97, 0xec, 0x7c, 0xcb }}\r
+  gEdkiiVT400Guid                = { 0x8e46dddd, 0x3d49, 0x4a9d, {0xb8, 0x75, 0x3c, 0x08, 0x6f, 0x6a, 0xa2, 0xbd }}\r
+  gEdkiiSCOTermGuid              = { 0xfc7dd6e0, 0x813c, 0x434d, {0xb4, 0xda, 0x3b, 0xd6, 0x49, 0xe9, 0xe1, 0x5a }}\r
 \r
   ## Include/Guid/HiiBootMaintenanceFormset.h\r
   gEfiIfrBootMaintenanceGuid      = { 0xb2dedc91, 0xd59f, 0x48d2, { 0x89, 0x8a, 0x12, 0x49, 0xc, 0x74, 0xa4, 0xe0 }}\r
   ## Include/Guid/EndofS3Resume.h\r
   gEdkiiEndOfS3ResumeGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }\r
 \r
+  ## Used (similar to Variable Services) to communicate policies to the enforcement engine.\r
+  # {DA1B0D11-D1A7-46C4-9DC9-F3714875C6EB}\r
+  gVarCheckPolicyLibMmiHandlerGuid = { 0xda1b0d11, 0xd1a7, 0x46c4, { 0x9d, 0xc9, 0xf3, 0x71, 0x48, 0x75, 0xc6, 0xeb }}\r
+\r
   ## Include/Guid/S3SmmInitDone.h\r
   gEdkiiS3SmmInitDoneGuid = { 0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } }\r
 \r
   ## Include/Guid/S3StorageDeviceInitList.h\r
   gS3StorageDeviceInitListGuid = { 0x310e9b8c, 0xcf90, 0x421e, { 0x8e, 0x9b, 0x9e, 0xef, 0xb6, 0x17, 0xc8, 0xef } }\r
 \r
+  ## Include/Guid/SerialPortLibVendor.h\r
+  gEdkiiSerialPortLibVendorGuid = { 0xD3987D4B, 0x971A, 0x435F, { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } }\r
+\r
+  ## 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
+  #\r
+  # GUID defined in UniversalPayload\r
+  #\r
+  ## Include/UniversalPayload/PciRootBridges.h\r
+  gUniversalPayloadPciRootBridgeInfoGuid = { 0xec4ebacb, 0x2638, 0x416e, { 0xbe, 0x80, 0xe5, 0xfa, 0x4b, 0x51, 0x19, 0x01 }}\r
+\r
+  ## Include/UniversalPayload/SmbiosTable.h\r
+  gUniversalPayloadSmbios3TableGuid = { 0x92b7896c, 0x3362, 0x46ce, { 0x99, 0xb3, 0x4f, 0x5e, 0x3c, 0x34, 0xeb, 0x42 } }\r
+\r
+  ## Include/UniversalPayload/SmbiosTable.h\r
+  gUniversalPayloadSmbiosTableGuid = { 0x590a0d26, 0x06e5, 0x4d20, { 0x8a, 0x82, 0x59, 0xea, 0x1b, 0x34, 0x98, 0x2d } }\r
+\r
+  ## Include/UniversalPayload/AcpiTable.h\r
+  gUniversalPayloadAcpiTableGuid = { 0x9f9a9506, 0x5597, 0x4515, { 0xba, 0xb6, 0x8b, 0xcd, 0xe7, 0x84, 0xba, 0x87 } }\r
+\r
+  ## Include/UniversalPayload/ExtraData.h\r
+  gUniversalPayloadExtraDataGuid = {0x15a5baf6, 0x1c91, 0x467d, {0x9d, 0xfb, 0x31, 0x9d, 0x17, 0x8d, 0x4b, 0xb4}}\r
+\r
+  ## Include/UniversalPayload/SerialPortInfo.h\r
+  gUniversalPayloadSerialPortInfoGuid = { 0xaa7e190d, 0xbe21, 0x4409, { 0x8e, 0x67, 0xa2, 0xcd, 0xf, 0x61, 0xe1, 0x70 } }\r
+\r
+  ## GUID used for Boot Discovery Policy FormSet guid and related variables.\r
+  gBootDiscoveryPolicyMgrFormsetGuid = { 0x5b6f7107, 0xbb3c, 0x4660, { 0x92, 0xcd, 0x54, 0x26, 0x90, 0x28, 0x0b, 0xbd } }\r
+\r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r
   ## Include/Ppi/Debug.h\r
   gEdkiiDebugPpiGuid                        = { 0x999e699c, 0xb013, 0x475e, { 0xb1, 0x7b, 0xf3, 0xa8, 0xae, 0x5c, 0x48, 0x75 } }\r
 \r
+  ## Include/Ppi/NvmExpressPassThru.h\r
+  gEdkiiPeiNvmExpressPassThruPpiGuid    = { 0x6af31b2c, 0x3be, 0x46c1, { 0xb1, 0x2d, 0xea, 0x4a, 0x36, 0xdf, 0xa7, 0x4c } }\r
+\r
+  ## Include/Ppi/PciDevice.h\r
+  gEdkiiPeiPciDevicePpiGuid                 = { 0x1597ab4f, 0xd542, 0x4efe, { 0x9a, 0xf7, 0xb2, 0x44, 0xec, 0x54, 0x4c, 0x0b } }\r
+\r
+  ## Include/Ppi/CapsuleOnDisk.h\r
+  gEdkiiPeiCapsuleOnDiskPpiGuid             = { 0x71a9ea61, 0x5a35, 0x4a5d, { 0xac, 0xef, 0x9c, 0xf8, 0x6d, 0x6d, 0x67, 0xe0 } }\r
+  gEdkiiPeiBootInCapsuleOnDiskModePpiGuid   = { 0xb08a11e4, 0xe2b7, 0x4b75, { 0xb5, 0x15, 0xaf, 0x61, 0x6, 0x68, 0xbf, 0xd1  } }\r
+\r
 [Protocols]\r
   ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
   #  Include/Protocol/LoadPe32Image.h\r
   # Include/Protocol/DebuggerConfiguration.h\r
   gEfiDebuggerConfigurationProtocolGuid = { 0x577d959c, 0xe967, 0x4546, { 0x86, 0x20, 0xc7, 0x78, 0xfa, 0xe5, 0xda, 0x05 }}\r
 \r
-  ## Include/Protocol/Dpc.h\r
-  gEfiDpcProtocolGuid            = {0x480f8ae9, 0xc46, 0x4aa9,  { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}\r
-\r
   ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.\r
   #  Include/Protocol/FaultTolerantWrite.h\r
   gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}\r
   gEfiLockBoxProtocolGuid        = { 0xbd445d79, 0xb7ad, 0x4f04, { 0x9a, 0xd8, 0x29, 0xbd, 0x20, 0x40, 0xeb, 0x3c }}\r
 \r
   ## Include/Protocol/FormBrowserEx.h\r
-  gEfiFormBrowserExProtocolGuid = { 0x1f73b18d, 0x4630, 0x43c1, { 0xa1, 0xde, 0x6f, 0x80, 0x85, 0x5d, 0x7d, 0xa4 } }\r
   gEdkiiFormBrowserExProtocolGuid = { 0x1f73b18d, 0x4630, 0x43c1, { 0xa1, 0xde, 0x6f, 0x80, 0x85, 0x5d, 0x7d, 0xa4 } }\r
 \r
   ## Include/Protocol/EbcVmTest.h\r
   ## Include/Protocol/UfsHostController.h\r
   gEdkiiUfsHostControllerProtocolGuid = { 0xebc01af5, 0x7a9, 0x489e, { 0xb7, 0xce, 0xdc, 0x8, 0x9e, 0x45, 0x9b, 0x2f } }\r
 \r
+  ## Include/Protocol/UfsHostControllerPlatform.h\r
+  gEdkiiUfsHcPlatformProtocolGuid = { 0x3d18ba13, 0xd9b1, 0x4dd4, {0xb9, 0x16, 0xd3, 0x07, 0x96, 0x53, 0x9e, 0xd8}}\r
+\r
   ## Include/Protocol/EsrtManagement.h\r
   gEsrtManagementProtocolGuid         = { 0xa340c064, 0x723c, 0x4a9c, { 0xa4, 0xdd, 0xd5, 0xb4, 0x7a, 0x26, 0xfb, 0xb0 }}\r
 \r
   ## Include/Protocol/IoMmu.h\r
   gEdkiiIoMmuProtocolGuid = { 0x4e939de9, 0xd948, 0x4b0f, { 0x88, 0xed, 0xe6, 0xe1, 0xce, 0x51, 0x7c, 0x1e } }\r
 \r
+  ## Include/Protocol/DeviceSecurity.h\r
+  gEdkiiDeviceSecurityProtocolGuid  = { 0x5d6b38c8, 0x5510, 0x4458, { 0xb4, 0x8d, 0x95, 0x81, 0xcf, 0xa7, 0xb0, 0xd } }\r
+  gEdkiiDeviceIdentifierTypePciGuid = { 0x2509b2f1, 0xa022, 0x4cca, { 0xaf, 0x70, 0xf9, 0xd3, 0x21, 0xfb, 0x66, 0x49 } }\r
+  gEdkiiDeviceIdentifierTypeUsbGuid = { 0x7394f350, 0x394d, 0x488c, { 0xbb, 0x75, 0xc, 0xab, 0x7b, 0x12, 0xa, 0xc5 } }\r
+\r
   ## Include/Protocol/SmmMemoryAttribute.h\r
   gEdkiiSmmMemoryAttributeProtocolGuid = { 0x69b792ea, 0x39ce, 0x402d, { 0xa2, 0xa6, 0xf7, 0x21, 0xde, 0x35, 0x1d, 0xfe } }\r
 \r
   ## Include/Protocol/PeCoffImageEmulator.h\r
   gEdkiiPeCoffImageEmulatorProtocolGuid = { 0x96f46153, 0x97a7, 0x4793, { 0xac, 0xc1, 0xfa, 0x19, 0xbf, 0x78, 0xea, 0x97 } }\r
 \r
+  ## Include/Protocol/PlatformBootManager.h\r
+  gEdkiiPlatformBootManagerProtocolGuid = { 0xaa17add4, 0x756c, 0x460d, { 0x94, 0xb8, 0x43, 0x88, 0xd7, 0xfb, 0x3e, 0x59 } }\r
+\r
 #\r
 # [Error.gEfiMdeModulePkgTokenSpaceGuid]\r
 #   0x80000001 | Invalid value provided.\r
 #   0x80000006 | Incorrect error code provided.\r
 #\r
 \r
+  ## Include/Protocol/VariablePolicy.h\r
+  gEdkiiVariablePolicyProtocolGuid = { 0x81D1675C, 0x86F6, 0x48DF, { 0xBD, 0x95, 0x9A, 0x6E, 0x4F, 0x09, 0x25, 0xC3 } }\r
+\r
 [PcdsFeatureFlag]\r
   ## Indicates if the platform can support update capsule across a system reset.<BR><BR>\r
   #   TRUE  - Supports update capsule across a system reset.<BR>\r
   # @Prompt Enable Device Path From Text support.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038\r
 \r
+  ## Indicates if the UEFI variable runtime cache should be enabled.\r
+  #  This setting only applies if SMM variables are enabled. When enabled, all variable\r
+  #  data for Runtime Service GetVariable () and GetNextVariableName () calls is retrieved\r
+  #  from a runtime data buffer referred to as the "runtime cache". An SMI is not triggered\r
+  #  at all for these requests. Variables writes still trigger an SMI. This can greatly\r
+  #  reduce overall system SMM usage as most boots tend to issue far more variable reads\r
+  #  than writes.<BR><BR>\r
+  #   TRUE  - The UEFI variable runtime cache is enabled.<BR>\r
+  #   FALSE - The UEFI variable runtime cache is disabled.<BR>\r
+  # @Prompt Enable the UEFI variable runtime cache.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|TRUE|BOOLEAN|0x00010039\r
+\r
   ## Indicates if the statistics about variable usage will be collected. This information is\r
   #  stored as a vendor configuration table into the EFI system table.\r
   #  Set this PCD to TRUE to use VariableInfo application in MdeModulePkg\Application directory to get\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 Degrade 64-bit PCI MMIO BARs for legacy BIOS option ROMs\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|TRUE|BOOLEAN|0x0001003a\r
 \r
-[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64]\r
+  ## Indicates if the platform can support process non-reset capsule image at runtime.<BR><BR>\r
+  #   TRUE  - Supports process non-reset capsule image at runtime.<BR>\r
+  #   FALSE - Does not support process non-reset capsule image at runtime.<BR>\r
+  # @Prompt Enable process non-reset capsule image at runtime.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportProcessCapsuleAtRuntime|FALSE|BOOLEAN|0x00010079\r
+\r
+[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64, PcdsFeatureFlag.LOONGARCH64]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE|BOOLEAN|0x0001003a\r
 \r
 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]\r
   ## Indicates if DxeIpl should switch to long mode to enter DXE phase.\r
-  #  It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore\r
-  #  is built in firmware.<BR><BR>\r
   #   TRUE  - DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.<BR>\r
-  #   FALSE - DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.<BR>\r
+  #   FALSE - DxeIpl will load a 32-bit or 64-bit DxeCore and perform stack switch to hand over to DxeCore.<BR>\r
   # @Prompt DxeIpl switch to long mode.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
 \r
   # @Prompt Variable storage size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005\r
 \r
+  ## Toggle for whether the VariablePolicy engine should allow disabling.\r
+  # The engine is enabled at power-on, but the interface allows the platform to\r
+  # disable enforcement for servicing flexibility. If this PCD is disabled, it will block the ability to\r
+  # disable the enforcement and VariablePolicy enforcement will always be ON.\r
+  #   TRUE - VariablePolicy can be disabled by request through the interface (until interface is locked)\r
+  #   FALSE - VariablePolicy interface will not accept requests to disable and is ALWAYS ON\r
+  # @Prompt Allow VariablePolicy enforcement to be disabled.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable|FALSE|BOOLEAN|0x30000020\r
+\r
   ## FFS filename to find the ACPI tables.\r
   # @Prompt FFS name of ACPI tables storage.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|0x30000016\r
   # @Prompt Maximum number of PEI performance log entries.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16|0|UINT16|0x00010035\r
 \r
-  ## RTC Update Timeout Value(microsecond).\r
-  # @Prompt RTC Update Timeout Value.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034\r
-\r
   ## Indicates the 16550 serial port registers are in MMIO space, or in I/O space. Default is I/O space.<BR><BR>\r
   #   TRUE  - 16550 serial port registers are in MMIO space.<BR>\r
   #   FALSE - 16550 serial port registers are in I/O space.<BR>\r
   # @Expression 0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl & 0xD8) == 0\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07|UINT8|0x00020005\r
 \r
-  ## This setting can override the default TFTP block size. A value of 0 computes\r
-  # the default from MTU information. A non-zero value will be used as block size\r
-  # in bytes.\r
-  # @Prompt TFTP block size.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x30001026\r
-\r
   ## Maximum address that the DXE Core will allocate the EFI_SYSTEM_TABLE_POINTER\r
   #  structure. The default value for this PCD is 0, which means that the DXE Core\r
   #  will allocate the buffer from the EFI_SYSTEM_TABLE_POINTER structure on a 4MB\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
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0x0000000|UINT64|0x00001048\r
 \r
   ## PCI Serial Device Info. It is an array of Device, Function, and Power Management\r
-  #  information that describes the path that contains zero or more PCI to PCI briges\r
+  #  information that describes the path that contains zero or more PCI to PCI bridges\r
   #  followed by a PCI serial device.  Each array entry is 4-bytes in length.  The\r
   #  first byte is the PCI Device Number, then second byte is the PCI Function Number,\r
   #  and the last two bytes are the offset to the PCI power management capabilities\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0xdc, 0x5b, 0xc2, 0xee, 0xf2, 0x67, 0x95, 0x4d, 0xb1, 0xd5, 0xf8, 0x1b, 0x20, 0x39, 0xd1, 0x1d }|VOID*|0x0001006b\r
 \r
   ## This PCD points to the formset GUID of the driver health management form\r
-  #  The form will be popped up by BDS core when there are Configuration Required driver health intances.\r
+  #  The form will be popped up by BDS core when there are Configuration Required driver health instances.\r
   #  Platform can customize the PCD to point to different formset.\r
   # @Prompt Driver Health Management Form\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDriverHealthConfigureForm|{ 0xf4, 0xd9, 0x96, 0x42, 0xfc, 0xf6, 0xde, 0x4d, 0x86, 0x85, 0x8c, 0xe2, 0xd7, 0x9d, 0x90, 0xf0 }|VOID*|0x0001006c\r
   # @Prompt Maximum Number of PEI Reset Filters, Reset Notifications or Reset Handlers.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaximumPeiResetNotifies|0x10|UINT32|0x0000010A\r
 \r
+  ## Capsule On Disk is to deliver capsules via files on Mass Storage device.<BR><BR>\r
+  #  This PCD indicates if the Capsule On Disk is supported.<BR>\r
+  #   TRUE  - Capsule On Disk is supported.<BR>\r
+  #   FALSE - Capsule On Disk is not supported.<BR>\r
+  #  If platform does not use this feature, this PCD should be set to FALSE.<BR><BR>\r
+  #  Two sulotions to deliver Capsule On Disk:<BR>\r
+  #    a) If PcdCapsuleInRamSupport = TRUE, Load Capsule On Disk image out of TCB, and reuse\r
+  #       Capsule In Ram to deliver capsule.<BR>\r
+  #    b) If PcdCapsuleInRamSupport = FALSE, Relocate Capsule On Disk image to RootDir out\r
+  #       of TCB, and reuse FatPei to load capsules from external storage.<BR>\r
+  #  Note:<BR>\r
+  #    If Both Capsule In Ram and Capsule On Disk are provisioned at the same time, the Capsule\r
+  #  On Disk will be bypassed.\r
+  # @Prompt Enable Capsule On Disk support.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleOnDiskSupport|FALSE|BOOLEAN|0x0000002d\r
+\r
+  ## Maximum permitted encapsulation levels of sections in a firmware volume,\r
+  #  in the DXE phase. Minimum value is 1. Sections nested more deeply are\r
+  #  rejected.\r
+  # @Prompt Maximum permitted FwVol section nesting depth (exclusive).\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFwVolDxeMaxEncapsulationDepth|0x10|UINT32|0x00000030\r
+\r
+  ## Indicates the default timeout value for SD/MMC Host Controller operations in microseconds.\r
+  # @Prompt SD/MMC Host Controller Operations Timeout (us).\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|1000000|UINT32|0x00000031\r
+\r
+  ## The Retry Count of AHCI command if there is a failure\r
+  # @Prompt The value of Retry Count,  Default value is 5.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAhciCommandRetryCount|5|UINT32|0x00000032\r
+\r
 [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## This PCD defines the Console output row. The default value is 25 according to UEFI spec.\r
   #  This PCD could be set to 0 then console output would be at max column and max row.\r
   # @Prompt Console Output Row of Text Setup\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e\r
 \r
+  ## Specify the Boot Discovery Policy settings\r
+  # To support configuring from setup page, this PCD should be overridden in DynamicHii type in its platform .dsc:\r
+  # gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy|L"BootDiscoveryPolicy"|gBootDiscoveryPolicyMgrFormsetGuid|0\r
+  # @Prompt Boot Discovery Policy\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy|2|UINT32|0x4000000f\r
+\r
+[PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20|UINT32|0x0001004c\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## UART clock frequency is for the baud rate configuration.\r
   # @Prompt Serial Port Clock Rate.\r
   # @Prompt Reset on memory type information change.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE|BOOLEAN|0x00010056\r
 \r
+  ## Indicates if the BDS supports Platform Recovery.<BR><BR>\r
+  #   TRUE  - BDS supports Platform Recovery.<BR>\r
+  #   FALSE - BDS does not support Platform Recovery.<BR>\r
+  # @Prompt Support Platform Recovery.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformRecoverySupport|TRUE|BOOLEAN|0x00010078\r
+\r
   ## Specify the foreground color for Subtile text in HII Form Browser. The default value is EFI_BLUE.\r
   #  Only following values defined in UEFI specification are valid:<BR><BR>\r
   #  0x00 (EFI_BLACK)<BR>\r
 \r
   ## SMBIOS version.\r
   # @Prompt SMBIOS version.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0302|UINT16|0x00010055\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0303|UINT16|0x00010055\r
 \r
   ## SMBIOS Docrev field in SMBIOS 3.0 (64-bit) Entry Point Structure.\r
   # @Prompt SMBIOS Docrev field in SMBIOS 3.0 (64-bit) Entry Point Structure.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x3|UINT32|0x00010069\r
 \r
   ## This PCD specifies the additional pad size in FPDT Basic Boot Performance Table for\r
-  #  the extension FPDT boot records received after ReadyToBoot and before ExitBootService.\r
+  #  the extension FPDT boot records received after EndOfDxe and before ExitBootService.\r
   # @Prompt Pad size for extension FPDT boot records.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x20000|UINT32|0x0001005F\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x30000|UINT32|0x0001005F\r
 \r
   ## Indicates if ConIn device are connected on demand.<BR><BR>\r
   #   TRUE  - ConIn device are not connected during BDS and ReadKeyStroke/ReadKeyStrokeEx produced\r
   # @Prompt Flag to request system reboot after processing capsule.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag|0x0001|UINT16|0x0000006d\r
 \r
-  ## Publish PropertiesTable or not.\r
-  #\r
-  # If this PCD is TRUE, DxeCore publishs PropertiesTable.\r
-  # DxeCore evaluates if all runtime drivers has 4K aligned PE sections. If all\r
-  # PE sections in runtime drivers are 4K aligned, DxeCore sets BIT0 in\r
-  # PropertiesTable. Or DxeCore clears BIT0 in PropertiesTable.\r
-  # If this PCD is FALSE, DxeCore does not publish PropertiesTable.\r
-  #\r
-  # If PropertiesTable has BIT0 set, DxeCore uses below policy in UEFI memory map:\r
-  #   1) Use EfiRuntimeServicesCode for runtime driver PE image code section and\r
-  #      use EfiRuntimeServicesData for runtime driver PE image header and other section.\r
-  #   2) Set EfiRuntimeServicesCode to be EFI_MEMORY_RO.\r
-  #   3) Set EfiRuntimeServicesData to be EFI_MEMORY_XP.\r
-  #   4) Set EfiMemoryMappedIO and EfiMemoryMappedIOPortSpace to be EFI_MEMORY_XP.\r
-  #\r
-  # NOTE: Platform need gurantee this PCD is set correctly. Platform should set\r
-  # this PCD to be TURE if and only if all runtime driver has seperated Code/Data\r
-  # section. If PE code/data sections are merged, the result is unpredictable.\r
-  #\r
-  # UEFI 2.6 specification does not recommend to use this BIT0 attribute.\r
-  #\r
-  # @Prompt Publish UEFI PropertiesTable.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE|BOOLEAN|0x0000006e\r
-\r
   ## Default OEM ID for ACPI table creation, its length must be 0x6 bytes to follow ACPI specification.\r
   # @Prompt Default OEM ID for ACPI table creation.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId|"INTEL "|VOID*|0x30001034\r
   # @Prompt Recover file name in PEI phase\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"|VOID*|0x30001045\r
 \r
+  ## This is Capsule Temp Relocation file name in PEI phase.\r
+  #  The file must be in the root directory.\r
+  #  The file name must be the 8.3 format.\r
+  #  The PCD data must be in UNICODE format.\r
+  #  CapsuleOnDiskLoadPei PEI module will set value of this PCD to PcdRecoveryFileName, then\r
+  #  leverage recovery to get Capsule On Disk Temp Relocation file.\r
+  #  Note: The file name must be shorter than PcdRecoveryFileName, otherwise CapsuleOnDiskLoadPei\r
+  #  PEI module will fail to get Capsule On Disk Temp Relocation file.\r
+  # @Prompt Capsule On Disk Temp Relocation file name in PEI phase\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCoDRelocationFileName|L"Cod.tmp"|VOID*|0x30001048\r
+\r
   ## This PCD hold a list GUIDs for the ImageTypeId to indicate the\r
   #  FMP capsule is a system FMP.\r
   # @Prompt A list of system FMP ImageTypeId GUIDs\r
   # @Prompt The address mask when memory encryption is enabled.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0|UINT64|0x30001047\r
 \r
+  ## Indicates if 5-Level Paging will be enabled in long mode. 5-Level Paging will not be enabled\r
+  #  when the PCD is TRUE but CPU doesn't support 5-Level Paging.\r
+  #   TRUE  - 5-Level Paging will be enabled.<BR>\r
+  #   FALSE - 5-Level Paging will not be enabled.<BR>\r
+  # @Prompt Enable 5-Level Paging support in long mode.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdUse5LevelPageTable|FALSE|BOOLEAN|0x0001105F\r
+\r
+  ## Capsule In Ram is to use memory to deliver the capsules that will be processed after system\r
+  #  reset.<BR><BR>\r
+  #  This PCD indicates if the Capsule In Ram is supported.<BR>\r
+  #   TRUE  - Capsule In Ram is supported.<BR>\r
+  #   FALSE - Capsule In Ram is not supported.\r
+  # @Prompt Enable Capsule In Ram support.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleInRamSupport|TRUE|BOOLEAN|0x0000002e\r
+\r
+  ## Full device path of platform specific device to store Capsule On Disk temp relocation file.<BR>\r
+  #  If this PCD is set, Capsule On Disk temp relocation file will be stored in the device specified\r
+  #  by this PCD, instead of the EFI System Partition that stores capsule image file.\r
+  # @Prompt Capsule On Disk relocation device path.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCodRelocationDevPath|{0xFF}|VOID*|0x0000002f\r
+\r
+  ## Indicates which TCG Platform Firmware Profile revision the EDKII firmware follows.\r
+  #  The revision number is defined in MdePkg/Include/IndustryStandard/UefiTcgPlatform.h\r
+  #  0:   This is for compatiblity support.\r
+  #  105: This is the first revision to support 800-155 is related event, such as\r
+  #       EV_EFI_PLATFORM_FIRMWARE_BLOB2 and EV_EFI_HANDOFF_TABLES2.\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
+  ## Indicates if the PCIe Resizable BAR Capability Supported.<BR><BR>\r
+  #   TRUE  - PCIe Resizable BAR Capability is supported.<BR>\r
+  #   FALSE - PCIe Resizable BAR Capability is not supported.<BR>\r
+  # @Prompt Enable PCIe Resizable BAR Capability support.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPcieResizableBarSupport|FALSE|BOOLEAN|0x10000024\r
+\r
+  ## This PCD holds the shared bit mask for page table entries when Tdx is enabled.\r
+  # @Prompt The shared bit mask when Intel Tdx is enabled.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0|UINT64|0x10000025\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