X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FMdeModulePkg.dec;h=6de965214d1b022ea857ca39a05ec44e5a65167c;hb=a86d0e2ca7613cee5434845c269c8aef937b81c9;hp=c046b3e3638c9d2ab1e6500acaea63e16772131a;hpb=f02d0c0fe9057be143dc5054e90c53d44c4b2edd;p=mirror_edk2.git diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index c046b3e363..6de965214d 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1,19 +1,20 @@ -#/** @file +## @file MdeModulePkg.dec +# # Mde Module Package Reference Implementations # # 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,44 +28,47 @@ [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 - ## 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 [Guids.common] @@ -160,9 +164,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 +243,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 +251,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 @@ -302,6 +294,17 @@ ## IF TRUE, Default Keyboard Layout is disabled in Usb KeyBoard device. gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200 + 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 @@ -366,10 +369,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 +427,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 +468,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