]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
Roll back changes to apply GetBestLanguage() in HiiDataBase. Exact language match...
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 18dc6cf3812448956f4782a27c7772b82b3e36a6..d4905a8c9a1aa37360edc055598295431538b089 100644 (file)
@@ -4,7 +4,7 @@
 # It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes) \r
 # and libraries instances, which are used for those modules.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+# Copyright (c) 2007 - 2009, Intel Corporation.\r
 #\r
 # All rights reserved.\r
 # This program and the accompanying materials are licensed and made available under\r
 \r
 [LibraryClasses.common]\r
   ##  @libraryclass  IpIo layer upon EFI IP4 Protocol.\r
-  #   Ihis library is only intended to be used by UEFI network stack modules.\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
-  #   Ihis library is only intended to be used by UEFI network stack modules.\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
-  #   Ihis library is only intended to be used by UEFI network stack modules.\r
+  #   This library is only intended to be used by UEFI network stack modules.\r
   UdpIoLib|Include/Library/UdpIoLib.h\r
   \r
   ##  @libraryclass  Defines a set of methods to reset whole system.\r
   ##  @libraryclass  Defines a set of methods related recovery mode.\r
   RecoveryLib|Include/Library/RecoveryLib.h\r
   \r
-  ##  @libraryclass  Basic platform driver override functions.\r
-  #   Ihis library is only intended to be used by Platform Driver Override Dxe Driver and Application.\r
-  PlatformDriverOverrideLib|Include/Library/PlatformDriverOverrideLib.h\r
-\r
   ##  @libraryclass  Provides HII related functions.\r
   HiiLib|Include/Library/HiiLib.h\r
-\r
-  ##  @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
-  ExtendedIfrSupportLib|Include/Library/ExtendedIfrSupportLib.h\r
-  \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 all FVB runtime services defined in PI specification FVB protocol to provide\r
-  #                  low level control interfaces over block-oriented firmware devices.\r
+  ##  @libraryclass  Provides APIs for system memory test.\r
   ##\r
-  FvbServiceLib|Include/Library/FvbServiceLib.h\r
+  MemoryTestLib|Include/Library/MemoryTestLib.h\r
 \r
-  ##  @libraryclass  Provides APIs for system memory test.\r
+  ##  @libraryclass    Provides global variables that are pointers \r
+  ##  to the UEFI HII related protocols. \r
   ##\r
-  MemoryTestLib|Include/Library/BaseMemoryTestLib.h\r
+  UefiHiiServicesLib|Include/Library/UefiHiiServicesLib.h\r
 \r
 [Guids.common]\r
   ## MdeModule package token space guid\r
   ## Include/Guid/SystemNvDataGuid.h\r
   gEfiSystemNvDataFvGuid         = { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}\r
   \r
-  ## Alternate Firmware Volume Block Guid specify that the additional \r
-  #  FVB protocol is installed into FVB handle\r
-  ## Include/Guid/AlternateFvBlock.h\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
   ## Include/Guid/ConsoleOutDevice.h\r
   gEfiConsoleOutDeviceGuid       = { 0xD3B36F2C, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
   ## Include/Guid/ConsoleInDevice.h\r
   gEfiConsoleInDeviceGuid        = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
   \r
-  ## Guid specify the primary console out device.\r
-  ## Include/Guid/PrimaryConsoleOutDevice.h\r
-  gEfiPrimaryConsoleOutDeviceGuid = { 0x62BDF38A, 0xE3D5, 0x492C, { 0x95, 0x0C, 0x23, 0xA7, 0xF6, 0x6E, 0x67, 0x2E }}\r
-  \r
-  ## Guid specify the primary console in device.\r
-  ## Include/Guid/PrimaryConsoleInDevice.h\r
-  gEfiPrimaryConsoleInDeviceGuid = { 0xE451DCBE, 0x96A1, 0x4729, { 0xA5, 0xCF, 0x6B, 0x9C, 0x2C, 0xFF, 0x47, 0xFD }}\r
-  \r
-  ## Guid specify the primary StdErr device.\r
-  ## Include/Guid/PrimaryStandardErrorDevice.h\r
-  gEfiPrimaryStandardErrorDeviceGuid = { 0x5A68191B, 0x9B97, 0x4752, { 0x99, 0x46, 0xE3, 0x6A, 0x5D, 0xA9, 0x42, 0xB1 }}\r
-  \r
   ## Hob and Variable guid specify the platform memory type information.\r
   ## Include/Guid/MemoryTypeInformation.h\r
   gEfiMemoryTypeInformationGuid  = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}\r
   ## Capsule update hob and variable guid\r
   ## Include/Guid/CapsuleVendor.h\r
   gEfiCapsuleVendorGuid          = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }}\r
\r
+  \r
   ## Guid specifiy the device is the StdErr device.\r
   ## Include/Guid/StandardErrorDevice.h\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
-  ## Include/Guid/PeiPeCoffLoader.h\r
-  gEfiPeiPeCoffLoaderGuid        = { 0xD8117CFF, 0x94A6, 0x11D4, { 0x9A, 0x3A, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
-  \r
   ## Guid acted as variable store header's signature and to specify the variable list entries put in the EFI system table.\r
   ## Include/Guid/VariableFormat.h\r
   gEfiVariableGuid           = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}\r
   \r
-  ## Platform Override Variable guid\r
-  ## Include/Guid/OverrideVariable.h\r
-  gEfiOverrideVariableGuid       = { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }}\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/Crc32GuidedSectionExtraction.h\r
   gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }\r
 \r
+  ## Include/Guid/NicIp4ConfigNvData.h\r
+  gEfiNicIp4ConfigVariableGuid   = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}\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
+  ## This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image.\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 six basic print functions to print the format unicode and ascii string.\r
   ## Include/Protocol/GenericMemoryTest.h\r
   gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}\r
   \r
-  ## This protocol provides the interfaces to Get/Set the current video mode for GOP/UGA screen\r
-  ## Include/Protocol/ConsoleControl.h\r
-  gEfiConsoleControlProtocolGuid = { 0xF42F7782, 0x012E, 0x4C12, { 0x99, 0x56, 0x49, 0xF9, 0x43, 0x04, 0xF7, 0x21 }}\r
-      \r
-  ## Include/Protocol/NicIp4Config.h\r
-  gEfiNicIp4ConfigProtocolGuid   = {0xdca3d4d, 0x12da, 0x4728,  { 0xbf, 0x7e, 0x86, 0xce, 0xb9, 0x28, 0xd0, 0x67 }}\r
-  \r
-  ## Include/Protocol/NicIp4Config.h\r
-  gEfiNicIp4ConfigVariableGuid   = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}\r
-  \r
-  ## Include/Protocol/Tcp.h\r
-  gEfiTcpProtocolGuid            = {0x02b3d5f2, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}\r
-  \r
-  ## Include/Protocol/PxeDhcp4CallBack.h\r
-  gEfiPxeDhcp4CallbackProtocolGuid = {0xc1544c01, 0x92a4, 0x4198, {0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 }}\r
-  \r
-  ## Include/Protocol/PxeDhcp4.h\r
-  gEfiPxeDhcp4ProtocolGuid       = {0x03c4e624, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x29, 0x3f, 0xc1, 0x4d }}\r
-  \r
   ## Include/Protocol/Dpc.h\r
   gEfiDpcProtocolGuid            = {0x480f8ae9, 0xc46, 0x4aa9,  { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}\r
   \r
-  ## Tcg addtional services to measure PeImage and ActionString.\r
-  ## Include/Protocol/TcgPlatform.h\r
-  gEfiTcgPlatformProtocolGuid    = { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c }}\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
   #  FALSE is for size reduction.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100\r
   \r
-  ## If TRUE, these interface in EFI_HII_CONFIG_ROUTING_PROTOCOL will be supported: ExtractConfig, ExportConfig, RouteConfig \r
-  # and GetAltCfg will be supported. Otherwise, these interfaces will return EFI_UNSUPPORTED.\r
-  # FALSE is for size reduction.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol|TRUE|BOOLEAN|0x00010101\r
-  \r
   ## If TRUE, USB KeyBoard Driver disables the default keyboard layout.\r
   #  The default keyboard layout serves as the backup when no keyboard layout can be retrieved\r
   #  from HII database.\r
   ##\r
   #  If TRUE, FULL FTW protocol services (total six APIs) will be produced.\r
   #  If FASLE, only FTW Write service is available.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200a\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b\r
+\r
+  ##\r
+  #  If TRUE, DXE IPL must support the UEFI decompression algorithm.\r
+  #  If FALSE, DXE IPL will not support UEFI decompression to save space.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c\r
+\r
+[PcdsFeatureFlag.IA32]\r
+  ## \r
+  # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.\r
+  # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;\r
+  # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.\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.\r
+  #\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
 \r
 [PcdsFixedAtBuild]\r
   ## Dynamic type PCD can be registered callback function for Pcd setting action.\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
-  ## 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
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
\r
-[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]  \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
-  ## Indicate the max size of the populated capsule image that the platform can support.\r
-  #  The default max size is 100MB (0x6400000) for more than one large capsule images. \r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e\r
-  \r
-  ## Indicate the max size of the non-populated capsule image that the platform can support.\r
-  #  The default max size is 10MB (0xa00000) for the casule image without populated flag setting.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f\r
+  ## FFS filename to find the ACPI tables\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|16\r
 \r
 [PcdsFixedAtBuild,PcdsPatchableInModule]\r
   ## Maximun number of performance log entries during PEI phase.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
+\r
+  ## RTC Update Timeout Value\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034\r
   \r
 [PcdsPatchableInModule,PcdsDynamic]\r
   ##\r
   ##\r
   #  This PCD defines the Console output row and the default value is 80 according to UEFI spec\r
   ##\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007  \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007\r
   \r
 [PcdsFixedAtBuild,PcdsDynamic]\r
   ## Base address of the NV variable range in flash device \r
   \r
   ##\r
   #  This PCD defines the print string.\r
-  #  This PCD is a sample to explain FixedAtBuild String PCD usage.\r
+  #  This PCD is a sample to explain String typed PCD usage.\r
   ##\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004 \r
   \r
-[PcdsFeatureFlag.IA32]\r
-  ## If TRUE, the DXE IPL will load a 64-bit DxeCore.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
+[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]\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
+  ## Indicate the max size of the populated capsule image that the platform can support.\r
+  #  The default max size is 100MB (0x6400000) for more than one large capsule images. \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e\r
+  \r
+  ## Indicate the max size of the non-populated capsule image that the platform can support.\r
+  #  The default max size is 10MB (0xa00000) for the casule image without populated flag setting.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f\r