]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
sync comments, fix function header, rename variable name to follow coding style.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 907a06d3f498ba32a373149fe5a1183de19a5a1e..267d970f06503f3a7a1c52e6f8c2b182b05b70e3 100644 (file)
@@ -1,19 +1,21 @@
-#/** @file\r
-# Mde Module Package Reference Implementations\r
+##  @file  MdeModulePkg.dec\r
+#\r
+# This package provides the modules that conform to EFI/PI Industry standards.\r
+# It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes) \r
+# and libraries instances, which are used for those modules.\r
 #\r
-# This module provides headers and libraries that conform to EFI/PI Industry standards.\r
 # Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\r
 # All rights reserved.\r
-#    This program and the accompanying materials are licensed and made available under\r
-#    the terms and conditions of the BSD License which accompanies this distribution.\r
-#    The full text of the license may be found at\r
-#    http://opensource.org/licenses/bsd-license.php\r
+# This program and the accompanying materials are licensed and made available under\r
+# the terms and conditions of the BSD License which accompanies this distribution.\r
+# The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
 #\r
-#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-#**/\r
+##\r
 \r
 \r
 [Defines]\r
 \r
 \r
 [LibraryClasses.common]\r
+  ##  @libraryclass  IpIo layer upon EFI IP4 Protocol.\r
   IpIoLib|Include/Library/IpIoLib.h\r
+  \r
+  ##  @libraryclass  Basic function for UEFI network stack.\r
   NetLib|Include/Library/NetLib.h\r
+\r
+  ##  @libraryclass  Defines a set of methods to reset whole system.\r
   ResetSystemLib|Include/Library/ResetSystemLib.h\r
+  \r
+  ##  @libraryclass  The helper routines to access UDP service.\r
   UdpIoLib|Include/Library/UdpIoLib.h\r
+  \r
+  ##  @libraryclass  Defines a set of methods related do S3 mode.\r
   S3Lib|Include/Library/S3Lib.h\r
+  \r
+  ##  @libraryclass  Defines a set of methods related recovery mode.\r
   RecoveryLib|Include/Library/RecoveryLib.h\r
-  GenericBdsLib.h|Include/Library/GenericBdsLib.h\r
+  \r
+  ##  @libraryclass  Basic platform driver override functions.\r
   PlatDriOverLib|Include/Library/PlatDriOverLib.h\r
+  \r
+  ##  @libraryclass  Includes two extended HII functions to create and destory Hii Package \r
+  #                  by create the virtual Driver Handle.\r
+  ##\r
+  ExtendedHiiLib|Include/Library/ExtendedHiiLib.h\r
+  \r
+  ##  @libraryclass  Defines APIs that is related to IFR operations but specific to EDK II\r
+  #                  implementation.\r
+  ##\r
+  ExtendedIfrSupportLib|Include/Library/ExtendedIfrSupportLib.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  Platform BDS library definition about platform specific behavior.\r
+  PlatformBdsLib|Include/Library/PlatformBdsLib.h\r
+  \r
+  ##  @libraryclass  Generic BDS library definition, include the data structure and function.\r
+  GenericBdsLib|Include/Library/GenericBdsLib.h\r
+  \r
+  ##  @libraryclass  Library for Deferred Procedure Calls.\r
+  DpcLib|Include/Library/DpcLib.h\r
 \r
 [Guids.common]\r
+  ## MdeModule package token space guid\r
+  gEfiMdeModulePkgTokenSpaceGuid       = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}\r
 \r
+  ## Hob guid for Pcd DataBase\r
   gPcdDataBaseHobGuid            = { 0xEA296D92, 0x0B69, 0x423C, { 0x8C, 0x28, 0x33, 0xB4, 0xE0, 0xA9, 0x12, 0x68 }}\r
-  gEfiMdeModulePkgTokenSpaceGuid       = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}\r
+  \r
+  ## Hob guid for Pcd Pei Callback Function Table\r
   gPcdPeiCallbackFnTableHobGuid  = { 0xC625F4B2, 0xEA09, 0x4675, { 0x82, 0xD7, 0xBA, 0x36, 0x82, 0x15, 0x7A, 0x14 }}\r
+  \r
+  ## Guid to specify the System Non Volatile FV\r
   gEfiSystemNvDataFvGuid         = { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}\r
+  \r
+  ## Hob guid for the System Non Volatile HOB entries in the HOB list\r
   gEfiSystemNvDataHobGuid        = { 0xD6E5092D, 0xC7B2, 0x4872, { 0xAF, 0x66, 0xFD, 0xC0, 0xE6, 0xF9, 0x5E, 0x78 }}\r
-\r
+  \r
+  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Usb interface.\r
   gEfiDiskInfoUsbInterfaceGuid   = { 0xCB871572, 0xC11A, 0x47B5, { 0xB4, 0x92, 0x67, 0x5E, 0xAF, 0xA7, 0x77, 0x27 }}\r
+  \r
+  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Scsi interface.\r
   gEfiDiskInfoScsiInterfaceGuid  = { 0x08F74BAA, 0xEA36, 0x41D9, { 0x95, 0x21, 0x21, 0xA7, 0x0F, 0x87, 0x80, 0xBC }}\r
+  \r
+  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Ide interface.\r
   gEfiDiskInfoIdeInterfaceGuid   = { 0x5E948FE3, 0x26D3, 0x42B5, { 0xAF, 0x17, 0x61, 0x02, 0x87, 0x18, 0x8D, 0xEC }}\r
+  \r
+  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Ahci interface.\r
+  gEfiDiskInfoAhciInterfaceGuid  = { 0x9e498932, 0x4abc, 0x45af, { 0xa3, 0x4d, 0x02, 0x47, 0x78, 0x7b, 0xe7, 0xc6 }}\r
+  \r
+  ## Alternate Firmware Volume Block Guid specify that the additional \r
+  #  FVB protocol is installed into FVB handle\r
   gEfiAlternateFvBlockGuid       = { 0xF496922D, 0x172F, 0x4BBC, { 0xA1, 0xEB, 0x0E, 0xEB, 0x94, 0x9C, 0x34, 0x86 }}\r
+  \r
+  ## Guid specify the device is the console out device.\r
   gEfiConsoleOutDeviceGuid       = { 0xD3B36F2C, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
+\r
+  ## Guid specify the device is the console in device.\r
   gEfiConsoleInDeviceGuid        = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
+\r
+  ## Guid specify the device is the hot plug device.\r
   gEfiHotPlugDeviceGuid          = { 0x220AC432, 0x1D43, 0x49E5, { 0xA7, 0x4F, 0x4C, 0x9D, 0xA6, 0x7A, 0xD2, 0x3B }}\r
+  \r
+  ## Guid specify the primary console out device.\r
   gEfiPrimaryConsoleOutDeviceGuid = { 0x62BDF38A, 0xE3D5, 0x492C, { 0x95, 0x0C, 0x23, 0xA7, 0xF6, 0x6E, 0x67, 0x2E }}\r
+  \r
+  ## Guid specify the primary console in device.\r
   gEfiPrimaryConsoleInDeviceGuid = { 0xE451DCBE, 0x96A1, 0x4729, { 0xA5, 0xCF, 0x6B, 0x9C, 0x2C, 0xFF, 0x47, 0xFD }}\r
+  \r
+  ## Guid specify the primary StdErr device.\r
   gEfiPrimaryStandardErrorDeviceGuid = { 0x5A68191B, 0x9B97, 0x4752, { 0x99, 0x46, 0xE3, 0x6A, 0x5D, 0xA9, 0x42, 0xB1 }}\r
-\r
+  \r
+  ## Guid specify the default BMP logo file.\r
   gEfiDefaultBmpLogoGuid         = { 0x7BB28B99, 0x61BB, 0x11D5, { 0x9A, 0x5D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
+  \r
+  ## Variale guid specify boot state.\r
   gEfiBootStateGuid              = { 0x60B5E939, 0x0FCF, 0x4227, { 0xBA, 0x83, 0x6B, 0xBE, 0xD4, 0x5B, 0xC0, 0xE3 }}\r
+  \r
+  ## Hob and Variable guid specify the platform memory type information.\r
   gEfiMemoryTypeInformationGuid  = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}\r
+  \r
+  ## Capsule update hob and variable guid\r
   gEfiCapsuleVendorGuid          = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }}\r
+  \r
+  ## Performance guid for the performance entry in the HOB list\r
   gPeiPerformanceHobGuid         = { 0xEC4DF5AF, 0x4395, 0x4CC9, { 0x94, 0xDE, 0x77, 0x50, 0x6D, 0x12, 0xC7, 0xB8 }}\r
+  \r
+  ## The genenic platform guid for EFI variable.\r
   gEfiGenericPlatformVariableGuid = { 0x59d1c24f, 0x50f1, 0x401a, { 0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43 }}\r
+  \r
+  ## Guid specify the Shell application.\r
   gEfiShellFileGuid              = { 0xC57AD6B7, 0x0515, 0x40A8, { 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }}\r
+  \r
+  ## Guid specifiy the device is the StdErr device.\r
   gEfiStandardErrorDeviceGuid    = { 0xD3B36F2D, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
+  \r
+  ## PeCoffLoader guid for PeCoffLoader entry in the HOB list.\r
   gEfiPeiPeCoffLoaderGuid        = { 0xD8117CFF, 0x94A6, 0x11D4, { 0x9A, 0x3A, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
+  \r
+  ## Guid specify the variable list entries put in the EFI system table.\r
   gEfiVariableInfoGuid           = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}\r
+  \r
+  ## Guid specify the Simple TextIn Notify handle.\r
   gSimpleTextInExNotifyGuid      = { 0x856f2def, 0x4e93, 0x4d6b, { 0x94, 0xce, 0x1c, 0xfe, 0x47, 0x01, 0x3e, 0xa5 }}\r
+  \r
+  ## Platform Override Variable guid\r
   gEfiOverrideVariableGuid       = { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }}\r
 \r
 [Protocols.common]\r
-\r
+  ## Capsule Arch protocol specify capsule runtime services are installed.  \r
   gEfiCapsuleArchProtocolGuid    = { 0x5053697E, 0x2CBC, 0x4819, { 0x90, 0xD9, 0x05, 0x80, 0xDE, 0xEE, 0x57, 0x54 }}\r
+  \r
+  ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
   gEfiLoadPeImageProtocolGuid    = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}\r
-  gEfiPrintProtocolGuid          = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }}\r
+  \r
+  ## Print protocol defines only one basic print function.\r
+  gEfiPrintProtocolGuid       = { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0} }\r
+\r
+  ## Print protocol defines six basic print functions to print the format unicode and ascii string.\r
+  gEfiPrint2ProtocolGuid          = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }}\r
+\r
+  ## This protocol defines the EFI generic memory test interfaces in Dxe phase.\r
   gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}\r
+  \r
+  ## Disk Info protocol is used to export Inquiry Data for a drive.\r
   gEfiDiskInfoProtocolGuid       = { 0xD432A67F, 0x14DC, 0x484B, { 0xB3, 0xBB, 0x3F, 0x02, 0x91, 0x84, 0x93, 0x27 }}\r
+  \r
+  ## FVB Extension protocol that extends the FVB Class in a component fashion.\r
   gEfiFvbExtensionProtocolGuid   = { 0x53A4C71B, 0xB581, 0x4170, { 0x91, 0xB3, 0x8D, 0xB8, 0x7A, 0x4B, 0x5C, 0x46 }}\r
+  \r
+  ## Fault tolerant write lite protocol defines only one interface to write \r
+  #  the buffer to the fault tolerant storage.\r
   gEfiFaultTolerantWriteLiteProtocolGuid = { 0x3F557189, 0x8DAE, 0x45AE, { 0xA0, 0xB3, 0x2B, 0x99, 0xCA, 0x7A, 0xA7, 0xA0 }}\r
+  \r
+  ## This protocol provides the interfaces to Get/Set the current video mode for GOP/UGA screen\r
   gEfiConsoleControlProtocolGuid = { 0xF42F7782, 0x012E, 0x4C12, { 0x99, 0x56, 0x49, 0xF9, 0x43, 0x04, 0xF7, 0x21 }}\r
+  \r
+  ## EFI OEM Badging Protocol defines the interface to get the OEM badging image with the dispaly attribute.\r
   gEfiOEMBadgingProtocolGuid     = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }}\r
-  gEfiUsbAtapiProtocolGuid       = { 0x2B2F68DA, 0x0CD2, 0x44CF, { 0x8E, 0x8B, 0xBB, 0xA2, 0x0B, 0x1B, 0x5B, 0x75 }}\r
+  \r
+  ## Performance protocol interfaces to support cross module performance logging.\r
   gPerformanceProtocolGuid       = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }}\r
+  \r
+  ## Protocol guid is defined for CRC32 encapsulation scheme.\r
   gEfiCrc32GuidedSectionExtractionProtocolGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }\r
+  \r
+  ## Protocol guid tells the core dispatcher to dispatch this Firmware Volume.\r
   gEfiFirmwareVolumeDispatchProtocolGuid = { 0x7AA35A69, 0x506C, 0x444F, { 0xA7, 0xAF, 0x69, 0x4B, 0xF5, 0x6F, 0x71, 0xC8 }}\r
 \r
-  gEfiTianoDecompressProtocolGuid = { 0xE84CF29C, 0x191F, 0x4EAE, { 0x96, 0xE1, 0xF4, 0x6A, 0xEC, 0xEA, 0xEA, 0x0B }}\r
-  gEfiCustomizedDecompressProtocolGuid = { 0x9A44198E, 0xA4A2, 0x44E6, { 0x8A, 0x1F, 0x39, 0xBE, 0xFD, 0xAC, 0x89, 0x6F }}\r
-\r
   gEfiNicIp4ConfigProtocolGuid   = {0xdca3d4d, 0x12da, 0x4728,  { 0xbf, 0x7e, 0x86, 0xce, 0xb9, 0x28, 0xd0, 0x67 }}\r
   gEfiNicIp4ConfigVariableGuid   = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}\r
   gEfiTcpProtocolGuid            = {0x02b3d5f2, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}\r
   gEfiPxeDhcp4CallbackProtocolGuid = {0xc1544c01, 0x92a4, 0x4198, {0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 }}\r
   gEfiPxeDhcp4ProtocolGuid       = {0x03c4e624, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x29, 0x3f, 0xc1, 0x4d }}\r
   gEfiDpcProtocolGuid            = {0x480f8ae9, 0xc46, 0x4aa9,  { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}\r
+  \r
+  ## Tcg addtional services to measure PeImage and ActionString.\r
   gEfiTcgPlatformProtocolGuid    = { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c }}\r
 \r
 [Ppis.common]\r
+  ## Pei memory test PPI used to Perform memory test in PEI phase.\r
   gPeiBaseMemoryTestPpiGuid      = { 0xB6EC423C, 0x21D2, 0x490D, { 0x85, 0xC6, 0xDD, 0x58, 0x64, 0xEA, 0xA6, 0x74 }}\r
 \r
-  ##gPeiFlashMapPpiGuid will be removed in future\r
+  ## FlashMap PPI abstracts access to FlashMap information.\r
+  #  gPeiFlashMapPpiGuid will be removed in future.\r
   gPeiFlashMapPpiGuid            = { 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } }\r
-\r
+  \r
+  ## OperatorPresent PPI responsible for detecting TPM operator presence.\r
   gPeiOperatorPresencePpiGuid    = { 0x20a7378c, 0xaa83, 0x4ce1, {0x82, 0x1f, 0x47, 0x40, 0xee, 0x1b, 0x3f, 0x9f } }\r
 \r
 [PcdsFeatureFlag.common]\r
+  ## Indicate whether platform can support update capsule across a system reset\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleRest|FALSE|BOOLEAN|0x0001001d\r
+  \r
+  ## This feature flag can be used to enable or disable the Pcd PEIM database \r
+  #  traverse capability. Disable it can reduce the size of final image generated.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseTraverseEnabled|TRUE|BOOLEAN|0x00010020\r
+  \r
+  ## This feature flag can be used to enable or disable the Pcd DXE database \r
+  #  traverse capability. Disable it can reduce the size of final image generated.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled|TRUE|BOOLEAN|0x00010021\r
+  \r
+  ## This feature flag can be used to enable or disable the SET capability of PCD service PEIM.\r
+  #  If a platform does not do PCD SET operation in PEI phase. This flag can be set to DISABLE to save size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseSetEnabled|TRUE|BOOLEAN|0x00010030\r
+  \r
+  ## This feature flag can be used to enable or disable the GET size capability of PCD service PEIM.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseGetSizeEnabled|TRUE|BOOLEAN|0x00010031\r
+  \r
+  ## This feature flag can be used to enable or disable the Callback On SET capability of PCD service PEIM. \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseCallbackOnSetEnabled|TRUE|BOOLEAN|0x00010032\r
+  \r
+  ## This feature flag can be used to enable or disable the PCD service PEIM to handle DynamicEX PCD. \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseExEnabled|TRUE|BOOLEAN|0x00010033\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportEfiDecompress|TRUE|BOOLEAN|0x00010034\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportTianoDecompress|TRUE|BOOLEAN|0x00010035\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportCustomDecompress|TRUE|BOOLEAN|0x00010036\r
\r
+  ## If TRUE, then the Device Path To Text Protocol should be produced by the platform.\r
+  #  It can be disabled to save size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037\r
+  \r
+  ## If TRUE, then the Device Path From Text Protocol should be produced by the platform.\r
+  #  It can be disabled to save size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildShareCodeHobs|FALSE|BOOLEAN|0x0001003c\r
+    \r
+  ## If this PCD is set as TRUE, the code specific to NT emulator will be endabled.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable|FALSE|BOOLEAN|0x0001003e\r
+  \r
+  ## If TRUE, track statistical information about variable usage stored in the EFI system table.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE|BOOLEAN|0x0001003f\r
+  \r
+  ## If TRUE, Unicode Collation Protocol will be installed.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE|BOOLEAN|0x00010040\r
+  \r
+  ## If TRUE, Unicode Collation 2 Protocol will be installed.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE|BOOLEAN|0x00010041\r
+  \r
+  ## If TRUE, GOP device is supported in graphics mode.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE|BOOLEAN|0x00010042\r
+  \r
+  ## If TRUE, UGA device is supported in graphics mode.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE|BOOLEAN|0x00010043\r
+  \r
+  ## If TRUE, TE image will first be searched in PeiCore dispatcher. \r
+  #  If FALSE, PE image will first be searched.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHardwareErrorRecord|FALSE|BOOLEAN|0x00010044\r
+  \r
+  ## If PcdSupportHardwareErrorRecord is TRUE, support hardware error record via variable in BDS.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHardwareErrorRecord|FALSE|BOOLEAN|0x00010045\r
+  \r
+  ## If TRUE, UGA Draw Protocol is still consumed in platform.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE|BOOLEAN|0x00010046\r
+  \r
+  ## If TRUE, Robustnesss improvement such as for DUET. Default is not required.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047\r
+\r
+  ## If TRUE, HiiImageProtocol will be installed.\r
+  #  FALSE is for size reduction.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100\r
+  \r
+  ## If TRUE, Full UEFI Config Routing Protocol will be installed.\r
+  #  FALSE is for size reduction.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol|TRUE|BOOLEAN|0x00010101\r
+  \r
+  ## If TRUE, Default Keyboard Layout is disabled in Usb KeyBoard device.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200\r
+\r
+  ## If TRUE, Framework Hii is supported to provide backward compatibility\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkHiiCompatibilitySupport|TRUE|BOOLEAN|0x00012008\r
+  \r
+  ## If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport|FALSE|BOOLEAN|0x00012009\r
+  \r
+  ##\r
+  #  If TRUE, HelloWorld Application will print the verbose information.\r
+  #  This PCD is a sample to explain FeatureFlag PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a\r
 \r
 [PcdsFixedAtBuild.common]\r
+  ## Dynamic type PCD can be registered callback function for Pcd setting action.\r
+  #  PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function\r
+  #  for a dynamic PCD used in PEI phase.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f\r
+\r
+  ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress\r
+  #  to store PCD value. \r
+  #\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010\r
+  \r
+  ## Indicate the max size the platform can support in case of populated capsules.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e\r
+  \r
+  ## Indicate the max size the platform can support in case of non-populated capsules.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f\r
+  \r
+  ## Maximun number of performance log entries during PEI phase.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
+  \r
+  ## Maximum number of FV is supported by PeiCore's dispatching.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030\r
+\r
+  ## Maximum PEIM count in every FV is supported by PeiCore's dispatching.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031\r
+\r
+  ## Maximum stack size for PeiCore.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032\r
+\r
+  ## Maximum PPI count is supported by PeiCore's PPI database.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033\r
+  \r
+  ## RTC Update Timeout Value\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034\r
+  \r
+  ## Base address of the NV variable range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r
+  \r
+  ## Size of the NV variable range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002\r
+  \r
+  ## Maximum buffer for the single variable.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003\r
+  \r
+  ## The hardware error record maximum variable size.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004\r
+  \r
+  ## Maximum buffer for the total variable store.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005\r
+  \r
+  ## Base address of the FTW spare block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013\r
+  \r
+  ## Size of the FTW spare block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
+  \r
+  ## Base address of the FTW working block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010\r
+  \r
+  ## Size of the FTW working block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001\r
+\r
+  ## Default timeout value for displaying progressing bar in before boot OS.\r
+  #  This value can be changed in BDS.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001\r
+\r
+  ## Error level for hardware recorder.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002\r
+  \r
+  ##\r
+  #  This PCD defines the print string.\r
+  #  This PCD is a sample to explain FixedAtBuild String PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004\r
 \r
+  ##\r
+  #  This PCD defines the times to print hello world string.\r
+  #  This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005\r
+\r
+[PcdsFixedAtBuild.IA32]\r
+  ## Default EFI boot path name for IA32 architecture, this path is relative to \r
+  #  EFI boot disk.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDefaultBootFileName|L"\EFI\BOOT\BOOTIA32.EFI"|VOID*|0x40000003\r
+\r
+[PcdsFixedAtBuild.X64]\r
+  ## Default EFI boot path name for X64 architecture, this path is relative to \r
+  #  EFI boot disk.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDefaultBootFileName|L"\EFI\BOOT\BOOTX64.EFI"|VOID*|0x40000003\r
+\r
+[PcdsFixedAtBuild.IPF]\r
+  ## Default EFI boot path name for IPF architecture, this path is relative to \r
+  #  EFI boot disk.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDefaultBootFileName|L"\EFI\BOOT\BOOTIA64.EFI"|VOID*|0x40000003\r
+\r
+[PcdsFixedAtBuild.EBC]\r
+  ## Default EFI boot path name for EBC architecture, this path is relative to \r
+  #  EFI boot disk.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDefaultBootFileName|L"\EFI\BOOT\BOOTEBC.EFI"|VOID*|0x40000003\r
+  \r
 [PcdsDynamic.common]\r
+  ## Base address of the NV variable range in flash device \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r
+  \r
+  ## Size of the NV variable range.  \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002\r
+\r
+  ## Base address of the FTW spare block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013\r
+\r
+  ## Size of the FTW spare block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
+\r
+  ## Base address of the FTW working block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010\r
+\r
+  ## Size of the FTW working block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001\r
+\r
+  ## Default timeout value for displaying progressing bar in before boot OS.\r
+  #  This value can be changed in BDS.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001\r
+\r
+  ## Error level for hardware recorder.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002\r
 \r
+  ##\r
+  #  This PCD defines the print string.\r
+  #  This PCD is a sample to explain Dynamic PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004\r
+\r
+  ##\r
+  #  This PCD defines the times to print hello world string.\r
+  #  This PCD is a sample to explain Dynamic UINT32 PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005\r
+\r
 [PcdsPatchableInModule.common]\r
+  ## Maximun number of performance log entries during PEI phase.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
+\r
+  ## Base address of the NV variable range in flash device \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r
+  \r
+  ## Size of the NV variable range.  \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002\r
+\r
+  ## Base address of the FTW spare block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013\r
+\r
+  ## Size of the FTW spare block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
+\r
+  ## Base address of the FTW working block range in flash device.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010\r
+\r
+  ## Size of the FTW working block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001\r
+\r
+  ## Default timeout value for displaying progressing bar in before boot OS.\r
+  #  This value can be changed in BDS.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001\r
+\r
+  ## Error level for hardware recorder.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002\r
 \r
+  ##\r
+  #  This PCD defines the times to print hello world string.\r
+  #  This PCD is a sample to explain Patchable UINT32 PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005\r
+\r
 [PcdsFeatureFlag.IA32]\r
+  ## If TRUE, the DXE IPL will load a 64-bit DxeCore.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
+  \r
+  ## If TRUE, the DXE IPL will create the default IDT table.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplEnableIdt|TRUE|BOOLEAN|0x0001003d\r
 \r
 \r