]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/dec: add PcdImageProtectionPolicy.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index b685132e5d28041beb17fe6072fd54b959003a73..9b7fb6356dd4029cfe62bb92b1026e8e3ccd82b0 100644 (file)
@@ -3,8 +3,9 @@
 # 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 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2017, 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
 # This program and the accompanying materials are licensed and made available under\r
 # the terms and conditions of the BSD License that accompanies this distribution.\r
 # The full text of the license may be found at\r
   #\r
   FileExplorerLib|Include/Library/FileExplorerLib.h\r
 \r
-  ## @libraryclass  Provides image decoding service.\r
-  #\r
-  ImageDecoderLib|Include/Library/ImageDecoderLib.h\r
-\r
   ## @libraryclass  Provides interfaces about logo display.\r
   #\r
   BootLogoLib|Include/Library/BootLogoLib.h\r
   #\r
   PciHostBridgeLib|Include/Library/PciHostBridgeLib.h\r
 \r
+  ## @libraryclass  Provides services to record memory profile of multilevel caller.\r
+  #\r
+  MemoryProfileLib|Include/Library/MemoryProfileLib.h\r
+\r
+  ##  @libraryclass  Provides an interface for performing UEFI Graphics Output Protocol Video blt operations.\r
+  ##\r
+  FrameBufferBltLib|Include/Library/FrameBufferBltLib.h\r
+\r
+  ## @libraryclass  Provides services to authenticate a UEFI defined FMP Capsule.\r
+  #\r
+  FmpAuthenticationLib|Include/Library/FmpAuthenticationLib.h\r
+\r
+  ## @libraryclass   Provides a service to register non-discoverable device\r
+  ##\r
+  NonDiscoverableDeviceRegistrationLib|Include/Library/NonDiscoverableDeviceRegistrationLib.h\r
+\r
 [Guids]\r
   ## MdeModule package token space guid\r
   # Include/Guid/MdeModulePkgTokenSpace.h\r
 \r
   ## Include/Guid/MemoryProfile.h\r
   gEdkiiMemoryProfileGuid              = { 0x821c9a09, 0x541a, 0x40f6, { 0x9f, 0x43, 0xa, 0xd1, 0x93, 0xa1, 0x2c, 0xfe }}\r
+  gEdkiiSmmMemoryProfileGuid           = { 0xe22bbcca, 0x516a, 0x46a8, { 0x80, 0xe2, 0x67, 0x45, 0xe8, 0x36, 0x93, 0xbd }}\r
 \r
   ## Include/Protocol/VarErrorFlag.h\r
   gEdkiiVarErrorFlagGuid               = { 0x4b37fe8, 0xf6ae, 0x480b, { 0xbd, 0xd5, 0x37, 0xd9, 0x8c, 0x5e, 0x89, 0xaa } }\r
   ## Include/Guid/RamDiskHii.h\r
   gRamDiskFormSetGuid            = { 0x2a46715f, 0x3581, 0x4a55, { 0x8e, 0x73, 0x2b, 0x76, 0x9a, 0xaa, 0x30, 0xc5 }}\r
 \r
+  ## Include/Guid/PiSmmCommunicationRegionTable.h\r
+  gEdkiiPiSmmCommunicationRegionTableGuid = { 0x4e28ca50, 0xd582, 0x44ac, {0xa1, 0x1f, 0xe3, 0xd5, 0x65, 0x26, 0xdb, 0x34}}\r
+\r
+  ## Include/Guid/PiSmmMemoryAttributesTable.h\r
+  gEdkiiPiSmmMemoryAttributesTableGuid = { 0x6b9fd3f7, 0x16df, 0x45e8, {0xbd, 0x39, 0xb9, 0x4a, 0x66, 0x54, 0x1a, 0x5d}}\r
+\r
+  ## Include/Guid/NonDiscoverableDevice.h\r
+  gEdkiiNonDiscoverableAhciDeviceGuid = { 0xC7D35798, 0xE4D2, 0x4A93, {0xB1, 0x45, 0x54, 0x88, 0x9F, 0x02, 0x58, 0x4B } }\r
+  gEdkiiNonDiscoverableAmbaDeviceGuid = { 0x94440339, 0xCC93, 0x4506, {0xB4, 0xC6, 0xEE, 0x8D, 0x0F, 0x4C, 0xA1, 0x91 } }\r
+  gEdkiiNonDiscoverableEhciDeviceGuid = { 0xEAEE5615, 0x0CFD, 0x45FC, {0x87, 0x69, 0xA0, 0xD8, 0x56, 0x95, 0xAF, 0x85 } }\r
+  gEdkiiNonDiscoverableNvmeDeviceGuid = { 0xC5F25542, 0x2A79, 0x4A26, {0x81, 0xBB, 0x4E, 0xA6, 0x32, 0x33, 0xB3, 0x09 } }\r
+  gEdkiiNonDiscoverableOhciDeviceGuid = { 0xB20005B0, 0xBB2D, 0x496F, {0x86, 0x9C, 0x23, 0x0B, 0x44, 0x79, 0xE7, 0xD1 } }\r
+  gEdkiiNonDiscoverableSdhciDeviceGuid = { 0x1DD1D619, 0xF9B8, 0x463E, {0x86, 0x81, 0xD1, 0xDC, 0x7C, 0x07, 0xB7, 0x2C } }\r
+  gEdkiiNonDiscoverableUfsDeviceGuid = { 0x2EA77912, 0x80A8, 0x4947, {0xBE, 0x69, 0xCD, 0xD0, 0x0A, 0xFB, 0xE5, 0x56 } }\r
+  gEdkiiNonDiscoverableUhciDeviceGuid = { 0xA8CDA0A2, 0x4F37, 0x4A1B, {0x8E, 0x10, 0x8E, 0xF3, 0xCC, 0x3B, 0xF3, 0xA8 } }\r
+  gEdkiiNonDiscoverableXhciDeviceGuid = { 0xB1BE0BC5, 0x6C28, 0x442D, {0xAA, 0x37, 0x15, 0x1B, 0x42, 0x57, 0xBD, 0x78 } }\r
 \r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   ## Include/Ppi/IpmiPpi.h\r
   gPeiIpmiPpiGuid               =  { 0xa9731431, 0xd968, 0x4277, { 0xb7, 0x52, 0xa3, 0xa9, 0xa6, 0xae, 0x18, 0x98 }}\r
 \r
+  ## Include/Ppi/SdMmcHostController.h\r
+  gEdkiiPeiSdMmcHostControllerPpiGuid = { 0xb30dfeed, 0x947f, 0x4396, { 0xb1, 0x5a, 0xdf, 0xbd, 0xb9, 0x16, 0xdc, 0x24 }}\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
   #  If developer need implement such functionality, they should use BasePeCoffLib.\r
   gEfiLoadPeImageProtocolGuid    = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}\r
 \r
-  ## Print protocol defines basic print functions to print the format unicode and ascii string.\r
+  ## Print protocols define basic print functions to print the format unicode and ascii string.\r
   # Include/Protocol/Print2.h\r
   gEfiPrint2ProtocolGuid          = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }\r
+  gEfiPrint2SProtocolGuid         = { 0xcc252d2, 0xc106, 0x4661, { 0xb5, 0xbd, 0x31, 0x47, 0xa4, 0xf8, 0x1f, 0x92 } }\r
 \r
   ## This protocol defines the generic memory test interfaces in Dxe phase.\r
   # Include/Protocol/GenericMemoryTest.h\r
   gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}\r
 \r
+  ## This protocol defines the Debugger Configuration interface.\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
 \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
   gEfiEbcVmTestProtocolGuid = { 0xAAEACCFD, 0xF27B, 0x4C17, { 0xB6, 0x10, 0x75, 0xCA, 0x1F, 0x2D, 0xFB, 0x52 } }\r
   gEdkiiSmmReadyToBootProtocolGuid = { 0x6e057ecf, 0xfa99, 0x4f39, { 0x95, 0xbc, 0x59, 0xf9, 0x92, 0x1d, 0x17, 0xe4 } }\r
 \r
   ## Include/Protocol/PlatformLogo.h\r
-  gEdkiiPlatformLogoProtocolGuid = { 0x9b517978, 0xeba1, 0x44e7, { 0xba, 0x65, 0x7c, 0x2c, 0xd0, 0x8b, 0xf8, 0xe9 } }\r
+  gEdkiiPlatformLogoProtocolGuid = { 0x53cd299f, 0x2bc1, 0x40c0, { 0x8c, 0x07, 0x23, 0xf6, 0x4f, 0xdb, 0x30, 0xe0 } }\r
 \r
   ## Include/Protocol/FileExplorer.h\r
   gEfiFileExplorerProtocolGuid = { 0x2C03C536, 0x4594, 0x4515, { 0x9E, 0x7A, 0xD3, 0xD2, 0x04, 0xFE, 0x13, 0x63 } }\r
   gIpmiProtocolGuid    = { 0xdbc6381f, 0x5554, 0x4d14, { 0x8f, 0xfd, 0x76, 0xd7, 0x87, 0xb8, 0xac, 0xbf } }\r
   gSmmIpmiProtocolGuid = { 0x5169af60, 0x8c5a, 0x4243, { 0xb3, 0xe9, 0x56, 0xc5, 0x6d, 0x18, 0xee, 0x26 } }\r
 \r
+  ## PS/2 policy protocol abstracts the specific platform initialization and setting.\r
+  #  Include/Protocol/Ps2Policy.h\r
+  gEfiPs2PolicyProtocolGuid = { 0x4DF19259, 0xDC71, 0x4D46, { 0xBE, 0xF1, 0x35, 0x7B, 0xB5, 0x78, 0xC4, 0x18 } }\r
+\r
+  ## Include/Protocol/NonDiscoverableDevice.h\r
+  gEdkiiNonDiscoverableDeviceProtocolGuid = { 0x0d51905b, 0xb77e, 0x452a, {0xa2, 0xc0, 0xec, 0xa0, 0xcc, 0x8d, 0x51, 0x4a } }\r
+\r
 #\r
 # [Error.gEfiMdeModulePkgTokenSpaceGuid]\r
 #   0x80000001 | Invalid value provided.\r
   # @Prompt Enable S3 performance data support.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support|TRUE|BOOLEAN|0x00010064\r
 \r
+  ## Indicates if PS2 keyboard does a extended verification during start.\r
+  #  Add this PCD mainly consider the use case of simulator. This PCD maybe set to FALSE for\r
+  #  Extended verification will take some performance. It can be set to FALSE for boot performance.<BR><BR>\r
+  #   TRUE  - Turn on PS2 keyboard extended verification.<BR>\r
+  #   FALSE - Turn off PS2 keyboard extended verification.<BR>\r
+  # @Prompt Turn on PS2 Keyboard Extended Verification\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|TRUE|BOOLEAN|0x00010072\r
+\r
   ## Indicates if Serial device uses half hand shake.<BR><BR>\r
   #   TRUE  - Serial device uses half hand shake.<BR>\r
   #   FALSE - Serial device doesn't use half hand shake.<BR>\r
   # @Prompt Enable Serial device Half Hand Shake\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHalfHandshake|FALSE|BOOLEAN|0x00010073\r
 \r
+  ## Indicates if HII data and configuration has been exported.<BR><BR>\r
+  #  Add this PCD mainly consider the use case of simulator. This PCD maybe set to FALSE for\r
+  #  simulator platform because the performance cost for this feature.\r
+  #   TRUE  - Export HII data and configuration data.<BR>\r
+  #   FALSE - Does not export HII data and configuration.<BR>\r
+  # @Prompt Enable export HII data and configuration to be used in OS runtime.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|TRUE|BOOLEAN|0x00010074\r
+\r
+  ## Indicates if PS2 mouse does a extended verification during start.\r
+  #  Extended verification will take some performance. It can be set to FALSE for boot performance.<BR><BR>\r
+  #   TRUE  - Turn on PS2 mouse extended verification. <BR>\r
+  #   FALSE - Turn off PS2 mouse extended verification. <BR>\r
+  # @Prompt Turn on PS2 Mouse Extended Verification\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|TRUE|BOOLEAN|0x00010075\r
+\r
+  ## Indicates whether 64-bit PCI MMIO BARs should degrade to 32-bit in the presence of an option ROM\r
+  #  On X64 platforms, Option ROMs may contain code that executes in the context of a legacy BIOS (CSM),\r
+  #  which requires that all PCI MMIO BARs are located below 4 GB\r
+  #   TRUE  - All PCI MMIO BARs of a device will be located below 4 GB if it has an option ROM\r
+  #   FALSE - PCI MMIO BARs of a device may be located above 4 GB even if it has an option ROM\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
+  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
   gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile|{ 0xA6, 0xE4, 0xFD, 0xF7, 0x4C, 0x29, 0x3c, 0x49, 0xB5, 0x0F, 0x97, 0x34, 0x55, 0x3B, 0xB7, 0x57 }|VOID*|0x30000017\r
 \r
   ## Maximum number of performance log entries during PEI phase.\r
+  # Use PcdMaxPeiPerformanceLogEntries16 if the number of entries required is\r
+  # more than 255.\r
   # @Prompt Maximum number of PEI performance log entries.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
 \r
+  ## Maximum number of performance log entries during PEI phase.\r
+  # If set to 0, then PcdMaxPeiPerformanceLogEntries determines the number of\r
+  # entries. If greater than 0, then this PCD determines the number of entries,\r
+  # and PcdMaxPeiPerformanceLogEntries is ignored.\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
   ## 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
+  #  BIT7 - Disable recording at the start.<BR>\r
   # @Prompt Memory Profile Property.\r
-  # @Expression  0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask & 0xFC) == 0\r
+  # @Expression  0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask & 0x7C) == 0\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask|0x0|UINT8|0x30001041\r
 \r
   ## This flag is to control which memory types of alloc info will be recorded by DxeCore & SmmCore.<BR><BR>\r
   # @Prompt Memory profile memory type.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType|0x0|UINT64|0x30001042\r
 \r
+  ## This PCD is to control which drivers need memory profile data.<BR><BR>\r
+  # For example:<BR>\r
+  # One image only (Shell):<BR>\r
+  #     Header                    GUID<BR>\r
+  #     {0x04, 0x06, 0x14, 0x00,  0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1,<BR>\r
+  #      0x7F, 0xFF, 0x04, 0x00}<BR>\r
+  # Two or more images (Shell + WinNtSimpleFileSystem):<BR>\r
+  #     {0x04, 0x06, 0x14, 0x00,  0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1,<BR>\r
+  #      0x7F, 0x01, 0x04, 0x00,<BR>\r
+  #      0x04, 0x06, 0x14, 0x00,  0x8B, 0xE1, 0x25, 0x9C, 0xBA, 0x76, 0xDA, 0x43, 0xA1, 0x32, 0xDB, 0xB0, 0x99, 0x7C, 0xEF, 0xEF,<BR>\r
+  #      0x7F, 0xFF, 0x04, 0x00}<BR>\r
+  # @Prompt Memory profile driver path.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileDriverPath|{0x0}|VOID*|0x00001043\r
+\r
+  ## Set image protection policy. The policy is bitwise.\r
+  #  If a bit is set, the image will be protected by DxeCore if it is aligned.\r
+  #   The code section becomes read-only, and the data section becomes non-executable.\r
+  #  If a bit is clear, the image will not be protected.<BR><BR>\r
+  #    BIT0       - Image from unknown device. <BR>\r
+  #    BIT1       - Image from firmware volume.<BR>\r
+  # @Prompt Set image protection policy.\r
+  # @ValidRange 0x80000002 | 0x00000000 - 0x0000001F\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000002|UINT32|0x00001047\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
   #  followed by a PCI serial device.  Each array entry is 4-bytes in length.  The\r
   # @Prompt Exposed ACPI table versions.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x3E|UINT32|0x0001004c\r
 \r
+  ## This PCD defines the MAX repair count.\r
+  #  The default value is 0 that means infinite.\r
+  # @Prompt MAX repair count\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxRepairCount|0x00|UINT32|0x00010076\r
+\r
+  ## Status Code for Capsule subclass definitions.<BR><BR>\r
+  #  EFI_OEM_SPECIFIC_SUBCLASS_CAPSULE  = 0x00810000<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule subclass definitions\r
+  # @ValidList  0x80000003 | 0x00810000\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule|0x00810000|UINT32|0x00000100\r
+\r
+  ## Status Code for Capsule Process Begin.<BR><BR>\r
+  #  EFI_CAPSULE_PROCESS_CAPSULES_BEGIN  = (EFI_OEM_SPECIFIC | 0x00000001) = 0x00008001<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Process Begin\r
+  # @ValidList  0x80000003 | 0x00008001\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin|0x00008001|UINT32|0x00000101\r
+\r
+  ## Status Code for Capsule Process End.<BR><BR>\r
+  #  EFI_CAPSULE_PROCESS_CAPSULES_END    = (EFI_OEM_SPECIFIC | 0x00000002) = 0x00008002<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Process End\r
+  # @ValidList  0x80000003 | 0x00008002\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd|0x00008002|UINT32|0x00000102\r
+\r
+  ## Status Code for Capsule Process Updating Firmware.<BR><BR>\r
+  #  EFI_CAPSULE_UPDATING_FIRMWARE       = (EFI_OEM_SPECIFIC | 0x00000003) = 0x00008003<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Process Updating Firmware\r
+  # @ValidList  0x80000003 | 0x00008003\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware|0x00008003|UINT32|0x00000103\r
+\r
+  ## Status Code for Capsule Process Update Firmware Success.<BR><BR>\r
+  #  EFI_CAPSULE_UPDATE_FIRMWARE_SUCCESS = (EFI_OEM_SPECIFIC | 0x00000004) = 0x00008004<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Process Update Firmware Success\r
+  # @ValidList  0x80000003 | 0x00008004\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess|0x00008004|UINT32|0x00000104\r
+\r
+  ## Status Code for Capsule Process Update Firmware Failed.<BR><BR>\r
+  #  EFI_CAPSULE_UPDATE_FIRMWARE_FAILED  = (EFI_OEM_SPECIFIC | 0x00000005) = 0x00008005<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Process Update Firmware Failed\r
+  # @ValidList  0x80000003 | 0x00008005\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed|0x00008005|UINT32|0x00000105\r
+\r
+  ## Status Code for Capsule Resetting System.<BR><BR>\r
+  #  EFI_CAPSULE_RESETTING_SYSTEM        = (EFI_OEM_SPECIFIC | 0x00000006) = 0x00008006<BR>\r
+  #  NOTE: The default value of this PCD may collide with other OEM specific status codes.\r
+  #        Override the value of this PCD in the platform DSC file as needed.\r
+  # @Prompt Status Code for Capsule Resetting System\r
+  # @ValidList  0x80000003 | 0x00008006\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem|0x00008006|UINT32|0x00000106\r
+\r
+  ## CapsuleMax value in capsule report variable.\r
+  # @Prompt CapsuleMax value in capsule report variable.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax|0xFFFF|UINT16|0x00000107\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
 \r
   ## SMBIOS version.\r
   # @Prompt SMBIOS version.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300|UINT16|0x00010055\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0301|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.PcdSmbiosDocRev|0x0|UINT8|0x0001006A\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x1|UINT8|0x0001006A\r
 \r
   ## SMBIOS produce method.\r
   #  BIT0 set indicates 32-bit entry point and table are produced.<BR>\r
   # @Prompt Set NX for stack.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE|BOOLEAN|0x0001006f\r
 \r
+  ## This PCD specifies the PCI-based SD/MMC host controller mmio base address.\r
+  # Define the mmio base address of the pci-based SD/MMC host controller. If there are multiple SD/MMC\r
+  # host controllers, their mmio base addresses are calculated one by one from this base address.\r
+  # @Prompt Mmio base address of pci-based SD/MMC host controller.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcPciHostControllerMmioBase|0xd0000000|UINT32|0x30001043\r
+\r
+  ## Indicates if ACPI S3 will be enabled.<BR><BR>\r
+  #   TRUE  - ACPI S3 will be enabled.<BR>\r
+  #   FALSE - ACPI S3 will be disabled.<BR>\r
+  # @Prompt ACPI S3 Enable.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|TRUE|BOOLEAN|0x01100000\r
+\r
+  ## Specify memory size for boot script executor stack usage in S3 phase.\r
+  #  The default size 32K. When changing the value make sure the memory size is large enough \r
+  #  to meet boot script executor requirement in the S3 phase.\r
+  # @Prompt Reserved S3 Boot Script Stack ACPI Memory Size\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptStackSize|0x8000|UINT32|0x02000000\r
+\r
+  ## Indicates if to use the optimized timing for best PS2 detection performance.\r
+  #  Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.<BR><BR>\r
+  #   TRUE  - Use the optimized timing for best PS2 detection performance.<BR>\r
+  #   FALSE - Use the normal timing to detect PS2.<BR>\r
+  # @Prompt Enable fast PS2 detection\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|FALSE|BOOLEAN|0x30001044\r
+\r
+  ## This is recover 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
+  # @Prompt Recover file name in PEI phase\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"|VOID*|0x30001045\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
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0x0}|VOID*|0x30001046\r
+\r
 [PcdsPatchableInModule]\r
   ## Specify memory size with page number for PEI code when\r
   #  Loading Module at Fixed Address feature is enabled.\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
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   MdeModulePkgExtra.uni\r