X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FMdeModulePkg.dec;h=d4905a8c9a1aa37360edc055598295431538b089;hp=5abd9b8aa21efe7a4bececfc4e8b18007e2a82a7;hb=f324bf4dbeda4d64b769bd005331e8f9404b692d;hpb=c40aa22af055aa55e3200cc7befd07d1e82a9fdd diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 5abd9b8aa2..d4905a8c9a 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -50,26 +50,9 @@ ## @libraryclass Defines a set of methods related recovery mode. RecoveryLib|Include/Library/RecoveryLib.h - ## @libraryclass Basic platform driver override functions. - # This library is only intended to be used by Platform Driver Override Dxe Driver and Application. - PlatformDriverOverrideLib|Include/Library/PlatformDriverOverrideLib.h - ## @libraryclass Provides HII related functions. HiiLib|Include/Library/HiiLib.h - - ## @libraryclass Provides a set of interfaces to do IFR opcode creation and interact with a UEFI Form Browser. - IfrSupportLib|Include/Library/IfrSupportLib.h - - ## @libraryclass Includes two extended HII functions to create and destory Hii Package - # by create the virtual Driver Handle. - ## - ExtendedHiiLib|Include/Library/ExtendedHiiLib.h - - ## @libraryclass Defines APIs that is related to IFR operations but specific to EDK II - # implementation. - ## - ExtendedIfrSupportLib|Include/Library/ExtendedIfrSupportLib.h - + ## @libraryclass Defines a set of interfaces on how to process capusle image update. CapsuleLib|Include/Library/CapsuleLib.h @@ -80,6 +63,11 @@ ## MemoryTestLib|Include/Library/MemoryTestLib.h + ## @libraryclass Provides global variables that are pointers + ## to the UEFI HII related protocols. + ## + UefiHiiServicesLib|Include/Library/UefiHiiServicesLib.h + [Guids.common] ## MdeModule package token space guid ## Include/Guid/MdeModulePkgTokenSpace.h @@ -125,10 +113,6 @@ ## Include/Guid/VariableFormat.h gEfiVariableGuid = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }} - ## Platform Override Variable guid - ## Include/Guid/OverrideVariable.h - gEfiOverrideVariableGuid = { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }} - ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID ## Include/Guid/Performance.h gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }} @@ -137,9 +121,14 @@ ## Include/Guid/Crc32GuidedSectionExtraction.h gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } } + ## Include/Guid/NicIp4ConfigNvData.h + gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }} + [Protocols.common] ## Load File protocol provides capability to load and unload EFI image into memory and execute it. ## Include/Protocol/LoadPe32Image.h + ## This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image. + ## If developer need implement such functionality, they should use BasePeCoffLib. gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }} ## Print protocol defines six basic print functions to print the format unicode and ascii string. @@ -150,25 +139,6 @@ ## Include/Protocol/GenericMemoryTest.h gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }} - ## This protocol provides the interfaces to Get/Set the current video mode for GOP/UGA screen - ## Include/Protocol/ConsoleControl.h - gEfiConsoleControlProtocolGuid = { 0xF42F7782, 0x012E, 0x4C12, { 0x99, 0x56, 0x49, 0xF9, 0x43, 0x04, 0xF7, 0x21 }} - - ## Include/Protocol/NicIp4Config.h - gEfiNicIp4ConfigProtocolGuid = {0xdca3d4d, 0x12da, 0x4728, { 0xbf, 0x7e, 0x86, 0xce, 0xb9, 0x28, 0xd0, 0x67 }} - - ## Include/Protocol/NicIp4Config.h - gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }} - - ## Include/Protocol/Tcp.h - gEfiTcpProtocolGuid = {0x02b3d5f2, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d }} - - ## Include/Protocol/PxeDhcp4CallBack.h - gEfiPxeDhcp4CallbackProtocolGuid = {0xc1544c01, 0x92a4, 0x4198, {0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 }} - - ## Include/Protocol/PxeDhcp4.h - gEfiPxeDhcp4ProtocolGuid = {0x03c4e624, 0xac28, 0x11d3, { 0x9a, 0x2d, 0x00, 0x90, 0x29, 0x3f, 0xc1, 0x4d }} - ## Include/Protocol/Dpc.h gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }} @@ -251,7 +221,12 @@ ## # If TRUE, FULL FTW protocol services (total six APIs) will be produced. # If FASLE, only FTW Write service is available. - gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200a + gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b + + ## + # If TRUE, DXE IPL must support the UEFI decompression algorithm. + # If FALSE, DXE IPL will not support UEFI decompression to save space. + gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c [PcdsFeatureFlag.IA32] ## @@ -286,26 +261,40 @@ ## Maximum PPI count is supported by PeiCore's PPI database. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033 - ## Size of the NV variable range. + ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize + # The root cause is that variable driver will use FTW protocol to reclaim variable region. + # If the length of variable region is larger than FTW spare size, it means the whole variable region can not + # be reflushed through the manner of fault tolerant write. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002 - ## Maximum allowable size of a common type variable, that is, non-hardware error type variable. + ## The maximum size of single common variable, that is non-HwErr type varible. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003 - ## Maximum allowable size of a single hardware error record variable. + ## The maximum size of single hardware error record variable. + # In IA32/X64 platforms, this value should be larger than 1KB. + # In IA64 platforms, this value should be larger than 128KB. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004 - ## Size of allocated memory for volatile variable store. Variables are stored in such region and - # total length of all variables should not larger than this value. - ## + ## The size of reserved HwErr variable space. This space is located at NV variable range. + # HwErr type variable is stored with common non-volatile variables in NV region. + # this value is used to guarantee the space of HwErr type variable and not populated by common variable. + gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x8000|UINT32|0x30000006 + + ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005 - - ## Size of the FTW spare block range. + + ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize + # The root cause is that variable driver will use FTW protocol to reclaim variable region. + # If the length of variable region is larger than FTW spare size, it means the whole variable region can not + # be reflushed through the manner of fault tolerant write. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014 ## Size of the FTW working block range. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011 - + + ## FFS filename to find the ACPI tables + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|16 + [PcdsFixedAtBuild,PcdsPatchableInModule] ## Maximun number of performance log entries during PEI phase. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f