X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FMdeModulePkg.dec;h=fb9f8532c8ab05666b3e4734e31ef6e6a947b0b3;hb=4058e906c15600ee6229335c316cb85fcbd687b3;hp=c046b3e3638c9d2ab1e6500acaea63e16772131a;hpb=f02d0c0fe9057be143dc5054e90c53d44c4b2edd;p=mirror_edk2.git diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index c046b3e363..fb9f8532c8 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1,19 +1,21 @@ -#/** @file -# Mde Module Package Reference Implementations +## @file MdeModulePkg.dec +# +# This package provides the modules that conform to EFI/PI Industry standards. +# It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes) +# and libraries instances, which are used for those modules. # -# This module provides headers and libraries that conform to EFI/PI Industry standards. # Copyright (c) 2007 - 2008, Intel Corporation. # # All rights reserved. -# This program and the accompanying materials are licensed and made available under -# the terms and conditions of the BSD License which accompanies this distribution. -# The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php +# This program and the accompanying materials are licensed and made available under +# the terms and conditions of the BSD License which accompanies this distribution. +# The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php # -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # -#**/ +## [Defines] @@ -27,46 +29,60 @@ [LibraryClasses.common] - ## IpIo layer upon EFI IP4 Protocol. + ## @libraryclass IpIo layer upon EFI IP4 Protocol. IpIoLib|Include/Library/IpIoLib.h - ## Basic function for UEFI network stack. + ## @libraryclass Basic function for UEFI network stack. NetLib|Include/Library/NetLib.h - ## Defines a set of methods to reset whole system. + ## @libraryclass Defines a set of methods to reset whole system. ResetSystemLib|Include/Library/ResetSystemLib.h - ## The helper routines to access UDP service. + ## @libraryclass The helper routines to access UDP service. UdpIoLib|Include/Library/UdpIoLib.h - ## Defines a set of methods related do S3 mode. + ## @libraryclass Defines a set of methods related do S3 mode. S3Lib|Include/Library/S3Lib.h - ## Defines a set of methods related recovery mode. + ## @libraryclass Defines a set of methods related recovery mode. RecoveryLib|Include/Library/RecoveryLib.h - ## Basic platform driver override functions. + ## @libraryclass Basic platform driver override functions. PlatDriOverLib|Include/Library/PlatDriOverLib.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 - ## Includes two extended HII functions to create and destory Hii Package - # by create the virtual Driver Handle. + ## @libraryclass Includes two extended HII functions to create and destory Hii Package + # by create the virtual Driver Handle. + ## ExtendedHiiLib|Include/Library/ExtendedHiiLib.h - ## Defines APIs that is related to IFR operations but specific to EDK II implementation. + ## @libraryclass Defines APIs that is related to IFR operations but specific to EDK II + # implementation. + ## ExtendedIfrSupportLib|Include/Library/ExtendedIfrSupportLib.h - ## Defines a set of interfaces on how to process capusle image update. + ## @libraryclass Defines a set of interfaces on how to process capusle image update. CapsuleLib|Include/Library/CapsuleLib.h - ## Platform BDS library definition about platform specific behavior. + ## @libraryclass Platform BDS library definition about platform specific behavior. PlatformBdsLib|Include/Library/PlatformBdsLib.h - ## Generic BDS library definition, include the data structure and function. + ## @libraryclass Generic BDS library definition, include the data structure and function. GenericBdsLib|Include/Library/GenericBdsLib.h - ## Library for Deferred Procedure Calls. + ## @libraryclass Library for Deferred Procedure Calls. DpcLib|Include/Library/DpcLib.h + ## @libraryclass Provides all FVB runtime services defined in PI specification FVB protocol to provide + # low level control interfaces over block-oriented firmware devices. + ## + FvbServiceLib|Include/Library/FvbServiceLib.h + [Guids.common] ## MdeModule package token space guid gEfiMdeModulePkgTokenSpaceGuid = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }} @@ -160,9 +176,12 @@ ## Load File protocol provides capability to load and unload EFI image into memory and execute it. gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }} + ## Print protocol defines only one basic print function. + gEfiPrintProtocolGuid = { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0} } + ## Print protocol defines six basic print functions to print the format unicode and ascii string. - gEfiPrintProtocolGuid = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }} - + gEfiPrint2ProtocolGuid = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }} + ## This protocol defines the EFI generic memory test interfaces in Dxe phase. gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }} @@ -236,19 +255,7 @@ ## This feature flag can be used to enable or disable the PCD service PEIM to handle DynamicEX PCD. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseExEnabled|TRUE|BOOLEAN|0x00010033 - - ## If this feature is enabled, then the DXE IPL must support decompressing files compressed with the EFI Compression algorithm. - # This feature flag is deprecated. - gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportEfiDecompress|TRUE|BOOLEAN|0x00010034 - - ## If this feature is enabled, then the DXE IPL must support decompressing files compressed with the Tiano Compression algorithm. - # This feature flag is deprecated. - gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportTianoDecompress|TRUE|BOOLEAN|0x00010035 - - ## If this feature is enabled, then the DXE IPL must support decompressing files compressed with the Custom Compression algorithm. - # This feature flag is deprecated. - gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportCustomDecompress|TRUE|BOOLEAN|0x00010036 - + ## If TRUE, then the Device Path To Text Protocol should be produced by the platform. # It can be disabled to save size. gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037 @@ -256,10 +263,7 @@ ## If TRUE, then the Device Path From Text Protocol should be produced by the platform. # It can be disabled to save size. gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038 - - ## If this feature is enabled, DXE IPL will build a series of HOBs to share code with DXE Core. - gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildShareCodeHobs|FALSE|BOOLEAN|0x0001003c - + ## If this PCD is set as TRUE, the code specific to NT emulator will be endabled. gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable|FALSE|BOOLEAN|0x0001003e @@ -285,9 +289,6 @@ ## If PcdSupportHardwareErrorRecord is TRUE, support hardware error record via variable in BDS. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHardwareErrorRecord|FALSE|BOOLEAN|0x00010045 - ## If TRUE, UGA Draw Protocol is still consumed in platform. - gEfiMdeModulePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE|BOOLEAN|0x00010046 - ## If TRUE, Robustnesss improvement such as for DUET. Default is not required. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047 @@ -295,19 +296,31 @@ # FALSE is for size reduction. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100 - ## IF TRUE, Full UEFI Config Routing Protocol will be installed. + ## If TRUE, Full UEFI Config Routing Protocol will be installed. # FALSE is for size reduction. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol|TRUE|BOOLEAN|0x00010101 - ## IF TRUE, Default Keyboard Layout is disabled in Usb KeyBoard device. + ## If TRUE, Default Keyboard Layout is disabled in Usb KeyBoard device. gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200 + ## If TRUE, Framework Hii is supported to provide backward compatibility + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkHiiCompatibilitySupport|TRUE|BOOLEAN|0x00012008 + + ## If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it. + gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport|FALSE|BOOLEAN|0x00012009 + + ## + # If TRUE, HelloWorld Application will print the verbose information. + # This PCD is a sample to explain FeatureFlag PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a + [PcdsFixedAtBuild.common] ## Dynamic type PCD can be registered callback function for Pcd setting action. # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function # for a dynamic PCD used in PEI phase. - gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f + ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress # to store PCD value. # @@ -366,10 +379,22 @@ ## Default timeout value for displaying progressing bar in before boot OS. # This value can be changed in BDS. - gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001 + gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001 ## Error level for hardware recorder. gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002 + + ## + # This PCD defines the print string. + # This PCD is a sample to explain FixedAtBuild String PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004 + + ## + # This PCD defines the times to print hello world string. + # This PCD is a sample to explain FixedAtBuild UINT32 PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005 [PcdsFixedAtBuild.IA32] ## Default EFI boot path name for IA32 architecture, this path is relative to @@ -412,11 +437,23 @@ ## Default timeout value for displaying progressing bar in before boot OS. # This value can be changed in BDS. - gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001 + gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001 ## Error level for hardware recorder. gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002 + ## + # This PCD defines the print string. + # This PCD is a sample to explain Dynamic PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004 + + ## + # This PCD defines the times to print hello world string. + # This PCD is a sample to explain Dynamic UINT32 PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005 + [PcdsPatchableInModule.common] ## Maximun number of performance log entries during PEI phase. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f @@ -441,11 +478,17 @@ ## Default timeout value for displaying progressing bar in before boot OS. # This value can be changed in BDS. - gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|10|UINT16|0x40000001 + gEfiMdeModulePkgTokenSpaceGuid.PcdPlatformBootTimeOutDefault|0xffff|UINT16|0x40000001 ## Error level for hardware recorder. gEfiMdeModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|1|UINT16|0x40000002 + ## + # This PCD defines the times to print hello world string. + # This PCD is a sample to explain Patchable UINT32 PCD usage. + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005 + [PcdsFeatureFlag.IA32] ## If TRUE, the DXE IPL will load a 64-bit DxeCore. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b