]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
Add UEFI2.1d HiiPlatformSetupFormset Guid
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 95c7e7a5836e092f00c6c1e287f0bcd35f11fa01..a6d223d1d361902acbf7bd87433fc25afb17b696 100644 (file)
   ##  @libraryclass  Provides a set of interfaces to do IFR opcode creation and interact with a UEFI Form Browser.\r
   IfrSupportLib|Include/Library/IfrSupportLib.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
   ##\r
   MemoryTestLib|Include/Library/MemoryTestLib.h\r
 \r
+  ##  @libraryclass  Provides APIs for HII related functions.\r
+  ##\r
+  NewHiiLib|MdeModulePkg/Include/Library/NewHiiLib.h\r
+\r
+  ##  @libraryclass    Provides global variables that are pointers \r
+  ##  to the UEFI HII related protocols. \r
+  ##\r
+  UefiHiiServicesLib|MdeModulePkg/Include/Library/UefiHiiServicesLib.h\r
+\r
 [Guids.common]\r
   ## MdeModule package token space guid\r
   ## Include/Guid/MdeModulePkgTokenSpace.h\r
   gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }\r
 \r
 [Protocols.common] \r
-  ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
-  ## Include/Protocol/LoadPe32Image.h\r
-  gEfiLoadPeImageProtocolGuid    = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}\r
-  \r
   ## Print protocol defines six basic print functions to print the format unicode and ascii string.\r
   ## Include/Protocol/Print2.h\r
   gEfiPrint2ProtocolGuid          = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }}\r
   ## Maximum PPI count is supported by PeiCore's PPI database.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033\r
   \r
-  ## Size of the NV variable range.\r
+  ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize\r
+  # The root cause is that variable driver will use FTW protocol to reclaim variable region.\r
+  # If the length of variable region is larger than FTW spare size, it means the whole variable region can not\r
+  # be reflushed through the manner of fault tolerant write. \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002\r
   \r
-  ## Maximum allowable size of a common type variable, that is, non-hardware error type variable.\r
+  ## The maximum size of single common variable, that is non-HwErr type varible.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003\r
   \r
-  ## Maximum allowable size of a single hardware error record variable.\r
+  ## The maximum size of single hardware error record variable.\r
+  # In IA32/X64 platforms, this value should be larger than 1KB.\r
+  # In IA64 platforms, this value should be larger than 128KB.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004\r
   \r
-  ## Size of allocated memory for volatile variable store. Variables are stored in such region and \r
-  #  total length of all variables should not larger than this value.\r
-  ##\r
+  ## The size of reserved HwErr variable space. This space is located at NV variable range.\r
+  # HwErr type variable is stored with common non-volatile variables in NV region.\r
+  # this value is used to guarantee the space of HwErr type variable and not populated by common variable.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x8000|UINT32|0x30000006\r
+\r
+  ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005\r
-   \r
-  ## Size of the FTW spare block range.\r
+\r
+  ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize\r
+  # The root cause is that variable driver will use FTW protocol to reclaim variable region.\r
+  # If the length of variable region is larger than FTW spare size, it means the whole variable region can not\r
+  # be reflushed through the manner of fault tolerant write.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
     \r
   ## Size of the FTW working block range.\r