blob: b3ada524e363b4842cbbffc9c56683e3b7207a1a [file] [log] [blame]
qhuang8e3e134e2010-05-13 01:04:21 +00001## @file MdeModulePkg.dec
eric_tian4f57ff12008-10-20 10:24:18 +00002#
rsun3a9141952010-03-09 08:18:12 +00003# This package provides the modules that conform to UEFI/PI Industry standards.
vanjeff73850862009-07-29 14:33:45 +00004# It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes)
vanjeffbf314e62008-10-28 02:51:12 +00005# and libraries instances, which are used for those modules.
vanjeffb7d286b2007-06-22 09:15:22 +00006#
hhtiancd5ebaa2010-04-24 09:49:11 +00007# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
myronporter64a80542010-03-17 20:48:52 +00008# This program and the accompanying materials are licensed and made available under
9# the terms and conditions of the BSD License that accompanies this distribution.
eric_tian4f57ff12008-10-20 10:24:18 +000010# The full text of the license may be found at
myronporter64a80542010-03-17 20:48:52 +000011# http://opensource.org/licenses/bsd-license.php.
12#
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
vanjeffb7d286b2007-06-22 09:15:22 +000015#
eric_tian4f57ff12008-10-20 10:24:18 +000016##
vanjeffb7d286b2007-06-22 09:15:22 +000017
18
vanjeffb7d286b2007-06-22 09:15:22 +000019[Defines]
20 DEC_SPECIFICATION = 0x00010005
klu284e20852007-06-26 06:11:37 +000021 PACKAGE_NAME = MdeModulePkg
vanjeffb7d286b2007-06-22 09:15:22 +000022 PACKAGE_GUID = BA0D78D6-2CAF-414b-BD4D-B6762A894288
rsun3a9141952010-03-09 08:18:12 +000023 PACKAGE_VERSION = 0.91
vanjeffb7d286b2007-06-22 09:15:22 +000024
lgao46bfbb5f2010-02-24 00:21:16 +000025[Includes]
vanjeffed838d02007-07-12 17:31:28 +000026 Include
vanjeffb7d286b2007-06-22 09:15:22 +000027
yshang130143b12007-08-28 03:01:58 +000028
lgao46bfbb5f2010-02-24 00:21:16 +000029[LibraryClasses]
eric_tian4f57ff12008-10-20 10:24:18 +000030 ## @libraryclass IpIo layer upon EFI IP4 Protocol.
eric_tian93367602009-03-12 05:10:53 +000031 # This library is only intended to be used by UEFI network stack modules.
yshang130143b12007-08-28 03:01:58 +000032 IpIoLib|Include/Library/IpIoLib.h
vanjeff73850862009-07-29 14:33:45 +000033
eric_tian4f57ff12008-10-20 10:24:18 +000034 ## @libraryclass Basic function for UEFI network stack.
eric_tian93367602009-03-12 05:10:53 +000035 # This library is only intended to be used by UEFI network stack modules.
gtian518d3952007-11-05 16:11:50 +000036 NetLib|Include/Library/NetLib.h
vanjeff73850862009-07-29 14:33:45 +000037
eric_tian4f57ff12008-10-20 10:24:18 +000038 ## @libraryclass The helper routines to access UDP service.
eric_tian93367602009-03-12 05:10:53 +000039 # This library is only intended to be used by UEFI network stack modules.
yshang130143b12007-08-28 03:01:58 +000040 UdpIoLib|Include/Library/UdpIoLib.h
vanjeff73850862009-07-29 14:33:45 +000041
lgao497b2c9b2009-03-05 05:05:57 +000042 ## @libraryclass Defines a set of methods to reset whole system.
43 ResetSystemLib|Include/Library/ResetSystemLib.h
44
eric_tian4f57ff12008-10-20 10:24:18 +000045 ## @libraryclass Defines a set of methods related do S3 mode.
qhuang805d71052009-08-11 15:52:20 +000046 # This library class is no longer used and modules using this library should
47 # directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.
klu24fb31c22007-09-26 09:35:36 +000048 S3Lib|Include/Library/S3Lib.h
vanjeff73850862009-07-29 14:33:45 +000049
eric_tian4f57ff12008-10-20 10:24:18 +000050 ## @libraryclass Defines a set of methods related recovery mode.
qhuang805d71052009-08-11 15:52:20 +000051 # This library class is no longer used and modules using this library should
52 # directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specification.
klu24fb31c22007-09-26 09:35:36 +000053 RecoveryLib|Include/Library/RecoveryLib.h
vanjeff73850862009-07-29 14:33:45 +000054
qhuang8804dbc32008-11-13 08:42:57 +000055 ## @libraryclass Provides HII related functions.
56 HiiLib|Include/Library/HiiLib.h
vanjeff73850862009-07-29 14:33:45 +000057
eric_tian4f57ff12008-10-20 10:24:18 +000058 ## @libraryclass Defines a set of interfaces on how to process capusle image update.
klu230d3be32008-04-21 03:42:38 +000059 CapsuleLib|Include/Library/CapsuleLib.h
vanjeff73850862009-07-29 14:33:45 +000060
eric_tian4f57ff12008-10-20 10:24:18 +000061 ## @libraryclass Library for Deferred Procedure Calls.
lgao4f02d0c02008-07-28 05:51:09 +000062 DpcLib|Include/Library/DpcLib.h
63
vanjeff73850862009-07-29 14:33:45 +000064 ## @libraryclass Provides global variables that are pointers
lgao4a90ccab2009-08-07 02:20:01 +000065 # to the UEFI HII related protocols.
66 #
klu2da801a62009-05-07 02:46:03 +000067 UefiHiiServicesLib|Include/Library/UefiHiiServicesLib.h
lgao49a6dcbf2009-04-09 15:18:19 +000068
lgao4cd98f302009-11-26 01:31:48 +000069 ## @libraryclass Provides a set of interfaces to abstract the policy of security measurement.
70 #
71 SecurityManagementLib|MdeModulePkg/Include/Library/SecurityManagementLib.h
72
xli2475dea6b2009-12-29 07:39:14 +000073 ## @libraryclass OEM status code libary is used to report status code to OEM device.
74 #
75 OemHookStatusCodeLib|Include/Library/OemHookStatusCodeLib.h
76
vanjefffe92ab22010-02-26 05:38:04 +000077 ## @libraryclass Debug Agent is used to provide soft debug capability.
78 #
79 DebugAgentLib|Include/Library/DebugAgentLib.h
lgao46bfbb5f2010-02-24 00:21:16 +000080[Guids]
lgao4f02d0c02008-07-28 05:51:09 +000081 ## MdeModule package token space guid
lgao4a90ccab2009-08-07 02:20:01 +000082 # Include/Guid/MdeModulePkgTokenSpace.h
yshang1351986a2007-07-23 06:43:10 +000083 gEfiMdeModulePkgTokenSpaceGuid = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}
lgao4f02d0c02008-07-28 05:51:09 +000084
85 ## Hob guid for Pcd DataBase
lgao4a90ccab2009-08-07 02:20:01 +000086 # Include/Guid/PcdDataBaseHobGuid.h
lgao4f02d0c02008-07-28 05:51:09 +000087 gPcdDataBaseHobGuid = { 0xEA296D92, 0x0B69, 0x423C, { 0x8C, 0x28, 0x33, 0xB4, 0xE0, 0xA9, 0x12, 0x68 }}
vanjeff73850862009-07-29 14:33:45 +000088
lgao45c526732009-02-23 15:18:48 +000089 ## Guid for EDKII implementation GUIDed opcodes
lgao497b2c9b2009-03-05 05:05:57 +000090 # Include/Guid/MdeModuleHii.h
lgao45c526732009-02-23 15:18:48 +000091 gEfiIfrTianoGuid = { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce }}
vanjeff73850862009-07-29 14:33:45 +000092
lgao45c526732009-02-23 15:18:48 +000093 ## Guid for Framework vfr GUIDed opcodes.
lgao497b2c9b2009-03-05 05:05:57 +000094 # Include/Guid/MdeModuleHii.h
lgao45c526732009-02-23 15:18:48 +000095 gEfiIfrFrameworkGuid = { 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 }}
vanjeff73850862009-07-29 14:33:45 +000096
lgao4f02d0c02008-07-28 05:51:09 +000097 ## Guid to specify the System Non Volatile FV
lgao4a90ccab2009-08-07 02:20:01 +000098 # Include/Guid/SystemNvDataGuid.h
yshang1351986a2007-07-23 06:43:10 +000099 gEfiSystemNvDataFvGuid = { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
vanjeff73850862009-07-29 14:33:45 +0000100
lgao4f02d0c02008-07-28 05:51:09 +0000101 ## Guid specify the device is the console out device.
lgao4a90ccab2009-08-07 02:20:01 +0000102 # Include/Guid/ConsoleOutDevice.h
yshang1351986a2007-07-23 06:43:10 +0000103 gEfiConsoleOutDeviceGuid = { 0xD3B36F2C, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
yshang1351986a2007-07-23 06:43:10 +0000104
lgao4f02d0c02008-07-28 05:51:09 +0000105 ## Guid specify the device is the console in device.
lgao4a90ccab2009-08-07 02:20:01 +0000106 # Include/Guid/ConsoleInDevice.h
lgao4f02d0c02008-07-28 05:51:09 +0000107 gEfiConsoleInDeviceGuid = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
vanjeff73850862009-07-29 14:33:45 +0000108
lgao4f02d0c02008-07-28 05:51:09 +0000109 ## Hob and Variable guid specify the platform memory type information.
lgao4a90ccab2009-08-07 02:20:01 +0000110 # Include/Guid/MemoryTypeInformation.h
yshang1351986a2007-07-23 06:43:10 +0000111 gEfiMemoryTypeInformationGuid = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}
vanjeff73850862009-07-29 14:33:45 +0000112
lgao4f02d0c02008-07-28 05:51:09 +0000113 ## Capsule update hob and variable guid
lgao4a90ccab2009-08-07 02:20:01 +0000114 # Include/Guid/CapsuleVendor.h
yshang1351986a2007-07-23 06:43:10 +0000115 gEfiCapsuleVendorGuid = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }}
vanjeff73850862009-07-29 14:33:45 +0000116
lgao4f02d0c02008-07-28 05:51:09 +0000117 ## Guid specifiy the device is the StdErr device.
lgao4a90ccab2009-08-07 02:20:01 +0000118 # Include/Guid/StandardErrorDevice.h
yshang1351986a2007-07-23 06:43:10 +0000119 gEfiStandardErrorDeviceGuid = { 0xD3B36F2D, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
vanjeff73850862009-07-29 14:33:45 +0000120
eric_tian3709c4c2009-02-27 05:35:08 +0000121 ## Guid acted as variable store header's signature and to specify the variable list entries put in the EFI system table.
lgao4a90ccab2009-08-07 02:20:01 +0000122 # Include/Guid/VariableFormat.h
eric_tian3709c4c2009-02-27 05:35:08 +0000123 gEfiVariableGuid = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
vanjeff73850862009-07-29 14:33:45 +0000124
qhuang82db4a772009-02-23 03:09:14 +0000125 ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID
lgao4a90ccab2009-08-07 02:20:01 +0000126 # Include/Guid/Performance.h
qhuang82db4a772009-02-23 03:09:14 +0000127 gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }}
yshang11df7a022007-07-20 14:05:54 +0000128
lgao476f1dde2009-02-24 07:53:20 +0000129 ## Guid is defined for CRC32 encapsulation scheme.
lgao4a90ccab2009-08-07 02:20:01 +0000130 # Include/Guid/Crc32GuidedSectionExtraction.h
lgao476f1dde2009-02-24 07:53:20 +0000131 gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }
132
vanjeff63886842009-05-13 09:29:44 +0000133 ## Include/Guid/NicIp4ConfigNvData.h
134 gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}
135
xli2425126a02009-11-03 02:39:10 +0000136 ## Include/Guid/StatusCodeCallbackGuid.h
137 gStatusCodeCallbackGuid = {0xe701458c, 0x4900, 0x4ca5, {0xb7, 0x72, 0x3d, 0x37, 0x94, 0x9f, 0x79, 0x27}}
138
xli2410c5d872009-12-25 06:33:46 +0000139 ## GUID identifies status code records HOB that originate from the PEI status code
140 # Include/Guid/MemoryStatusCodeRecord.h
141 gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}
142
143 ## GUID used to pass DEBUG() macro information through the Status Code Protocol and Status Code PPI
144 # Include/Guid/StatusCodeDataTypeDebug.h
145 gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
146
jchen2054ea99a2010-02-05 07:54:16 +0000147 ## A configuration Table Guid for Load module at fixed address
148 # Include/Guid/LoadModuleAtFixedAddress.h
149 gLoadFixedAddressConfigurationTableGuid = { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9 } }
150
lgao46bfbb5f2010-02-24 00:21:16 +0000151[Protocols]
eric_tian023c0fe2009-04-17 04:47:55 +0000152 ## Load File protocol provides capability to load and unload EFI image into memory and execute it.
lgao4a90ccab2009-08-07 02:20:01 +0000153 # Include/Protocol/LoadPe32Image.h
154 # This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image.
155 # If developer need implement such functionality, they should use BasePeCoffLib.
eric_tian023c0fe2009-04-17 04:47:55 +0000156 gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}
vanjeff73850862009-07-29 14:33:45 +0000157
mdkinney504dcb02009-05-30 23:49:35 +0000158 ## Print protocol defines basic print functions to print the format unicode and ascii string.
lgao4a90ccab2009-08-07 02:20:01 +0000159 # Include/Protocol/Print2.h
mdkinney504dcb02009-05-30 23:49:35 +0000160 gEfiPrint2ProtocolGuid = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }
qwang122dd4c602008-09-02 01:19:59 +0000161
lgao4346cf9a2008-12-03 08:55:36 +0000162 ## This protocol defines the generic memory test interfaces in Dxe phase.
lgao4a90ccab2009-08-07 02:20:01 +0000163 # Include/Protocol/GenericMemoryTest.h
yshang1351986a2007-07-23 06:43:10 +0000164 gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}
vanjeff73850862009-07-29 14:33:45 +0000165
gikidy55e4e172009-02-20 05:07:14 +0000166 ## Include/Protocol/Dpc.h
vanjeff36ee91c2007-11-20 05:42:23 +0000167 gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}
vanjeff73850862009-07-29 14:33:45 +0000168
lgao485e923a2009-03-04 01:05:31 +0000169 ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.
170 # Include/Protocol/FaultTolerantWrite.h
171 gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}
vanjeff73850862009-07-29 14:33:45 +0000172
lgao485e923a2009-03-04 01:05:31 +0000173 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV.
174 # Include/Protocol/SwapAddressRange.h
175 gEfiSwapAddressRangeProtocolGuid = { 0x1259F60D, 0xB754, 0x468E, { 0xA7, 0x89, 0x4D, 0xB8, 0x5D, 0x55, 0xE8, 0x7E }}
vanjeff73850862009-07-29 14:33:45 +0000176
gikidya86ae182009-03-03 02:54:56 +0000177[PcdsFeatureFlag]
lgao4f02d0c02008-07-28 05:51:09 +0000178 ## Indicate whether platform can support update capsule across a system reset
lgao4109e9a62009-01-04 03:20:55 +0000179 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d
vanjeff73850862009-07-29 14:33:45 +0000180
lgao4f806dd22009-02-25 09:04:47 +0000181 ## This feature flag can be used to enable or disable all PCD PEIM services.
lgao4aa19fa52009-02-27 04:55:17 +0000182 # If TRUE, all PCD PPI services will be produced.
lgao4a90ccab2009-08-07 02:20:01 +0000183 # If FALSE, the minimal PCD PEIM services (only GetService) will be produced.
lgao4f806dd22009-02-25 09:04:47 +0000184 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiFullPcdDatabaseEnable|TRUE|BOOLEAN|0x00010020
185
lgao4f02d0c02008-07-28 05:51:09 +0000186 ## If TRUE, then the Device Path To Text Protocol should be produced by the platform.
187 # It can be disabled to save size.
qhuang8348c8132007-12-05 06:32:21 +0000188 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037
vanjeff73850862009-07-29 14:33:45 +0000189
lgao4f02d0c02008-07-28 05:51:09 +0000190 ## If TRUE, then the Device Path From Text Protocol should be produced by the platform.
191 # It can be disabled to save size.
qhuang8348c8132007-12-05 06:32:21 +0000192 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038
vanjeff73850862009-07-29 14:33:45 +0000193
eric_tianfc9da5a2009-03-04 08:26:34 +0000194 ## If TRUE, enable the statistic functionality about variable usage. Such information is
195 # stored as a vendor configuration table into the EFI system table.
eric_tian5e895e62009-06-18 08:23:57 +0000196 # If user wants to use VariableInfo application in MdeModulePkg\Application directory to get
vanjeff73850862009-07-29 14:33:45 +0000197 # variable usage info, this pcd should be set as TRUE. Otherwise VariableInfo application can
eric_tian5e895e62009-06-18 08:23:57 +0000198 # not output useful info.
AJFISH33a5a662007-10-04 21:01:21 +0000199 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE|BOOLEAN|0x0001003f
vanjeff73850862009-07-29 14:33:45 +0000200
lgao4f02d0c02008-07-28 05:51:09 +0000201 ## If TRUE, Unicode Collation Protocol will be installed.
qhuang8ac12a162007-10-09 03:16:39 +0000202 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE|BOOLEAN|0x00010040
vanjeff73850862009-07-29 14:33:45 +0000203
lgao4f02d0c02008-07-28 05:51:09 +0000204 ## If TRUE, Unicode Collation 2 Protocol will be installed.
qhuang8ac12a162007-10-09 03:16:39 +0000205 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE|BOOLEAN|0x00010041
vanjeff73850862009-07-29 14:33:45 +0000206
vanjeffcebfa892009-02-23 06:19:05 +0000207 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
208 # It could be set FALSE to save size.
vanjeffd0c64722007-10-16 05:30:18 +0000209 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE|BOOLEAN|0x00010042
vanjeff73850862009-07-29 14:33:45 +0000210
vanjeffcebfa892009-02-23 06:19:05 +0000211 ## If TRUE, UGA Draw Protocol will be installed on virtual handle created by ConsplitterDxe.
212 # It could be set FALSE to save size.
vanjeffd0c64722007-10-16 05:30:18 +0000213 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE|BOOLEAN|0x00010043
vanjeff73850862009-07-29 14:33:45 +0000214
lgao4aa19fa52009-02-27 04:55:17 +0000215 ## If TRUE, when PeiCore dispatches a PEI module, PeiCore will first search TE section from this PEIM to load the image.
216 # If TE section is not found, then PeiCore will search PE section.
217 # If FALSE, PeiCore will first search PE section from PEIM to load the image.
218 # This PCD is used to tune Pei phase performance to reduce the search image time.
219 # It can be set according to the generated image section type.
qwang1230763972007-11-15 09:00:14 +0000220 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044
vanjeff73850862009-07-29 14:33:45 +0000221
eric_tianfc9da5a2009-03-04 08:26:34 +0000222 ## If TRUE, force to switch off the support of legacy usb. So legacy usb device driver can not make use of SMI
niruiyuc39c3e22010-02-20 07:11:13 +0000223 # interrupt to access usb device in the case of absence of usb stack.
224 # DUET platform requires the token to be TRUE.
qhuang8cc582cf2008-05-06 09:34:46 +0000225 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047
qwang12aa103f42008-07-17 03:23:14 +0000226
lgao4f02d0c02008-07-28 05:51:09 +0000227 ## If TRUE, HiiImageProtocol will be installed.
228 # FALSE is for size reduction.
qwang12813acf32008-06-23 09:41:33 +0000229 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
vanjeff73850862009-07-29 14:33:45 +0000230
xli24a8e1ed52009-02-23 05:15:48 +0000231 ## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
232 # The default keyboard layout serves as the backup when no keyboard layout can be retrieved
233 # from HII database.
qwang12813acf32008-06-23 09:41:33 +0000234 gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200
vanjeff88f20122007-06-26 08:03:14 +0000235
vanjeff73850862009-07-29 14:33:45 +0000236 ## If TRUE, Setup Browser supports GUID opcodes generated from Framework HII VFR file by VFR compiler.
lgao4f806dd22009-02-25 09:04:47 +0000237 # If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it.
lgao4a90ccab2009-08-07 02:20:01 +0000238 # This is used to provide backward compatibility support to Framework HII and Framework FvHob.
lgao4f806dd22009-02-25 09:04:47 +0000239 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|FALSE|BOOLEAN|0x00012009
vanjeff73850862009-07-29 14:33:45 +0000240
lgao4a90ccab2009-08-07 02:20:01 +0000241 ## If TRUE, HelloWorld Application will print the verbose information.
lgao4223c22d2008-09-19 05:05:40 +0000242 # This PCD is a sample to explain FeatureFlag PCD usage.
lgao4223c22d2008-09-19 05:05:40 +0000243 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a
qwang1241ad45c2008-08-18 08:12:32 +0000244
lgao4a90ccab2009-08-07 02:20:01 +0000245 ## If TRUE, FULL FTW protocol services (total six APIs) will be produced.
lgao485e923a2009-03-04 01:05:31 +0000246 # If FASLE, only FTW Write service is available.
jljusten72670d32009-04-27 18:26:12 +0000247 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b
248
lgao4a90ccab2009-08-07 02:20:01 +0000249 ## If TRUE, DXE IPL must support the UEFI decompression algorithm.
jljusten72670d32009-04-27 18:26:12 +0000250 # If FALSE, DXE IPL will not support UEFI decompression to save space.
251 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c
lgao485e923a2009-03-04 01:05:31 +0000252
davidhuang9060e3e2009-10-20 03:43:40 +0000253 ## This PCD specifies whether PciBus supports the hot plug device.
254 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE|BOOLEAN|0x0001003d
255
rsun31ef26782009-12-24 11:58:04 +0000256 ## This PCD specifies whether the PCI bus driver probes non-standard,
257 # such as 2K/1K/512, granularity for PCI to PCI bridge I/O window.
258 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBridgeIoAlignmentProbe|FALSE|BOOLEAN|0x10000047
xli2410c5d872009-12-25 06:33:46 +0000259 ## This PCD specifies whether StatusCode is reported via Serial port.
260 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
261
262 ## This PCD specifies whether StatusCode is stored in memory.
263 # The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.
264 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
265
266 ## This PCD specifies whether Peiphase StatusCode is replayed in DxePhase.
267 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE|BOOLEAN|0x0001002d
davidhuang9060e3e2009-10-20 03:43:40 +0000268
jyao13dc85852010-05-18 02:26:49 +0000269 ## This PCD specified whether ACPI SDT protocol is installed.
270 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|FALSE|BOOLEAN|0x0001004d
271
jchen205d2311b2010-01-25 09:15:21 +0000272[PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
vanjeff73850862009-07-29 14:33:45 +0000273 ##
qhuang84e17cc92009-03-10 14:37:30 +0000274 # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.
275 # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;
276 # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.
277 # It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore
278 # is built in firmware.
279 #
280 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b
281
gikidya86ae182009-03-03 02:54:56 +0000282[PcdsFixedAtBuild]
klu21cedc892008-07-28 03:09:46 +0000283 ## Dynamic type PCD can be registered callback function for Pcd setting action.
284 # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function
285 # for a dynamic PCD used in PEI phase.
qhuang8b3af5df2007-08-30 09:11:54 +0000286 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f
eric_tian9dddc0f2008-11-05 17:05:38 +0000287
klu21cedc892008-07-28 03:09:46 +0000288 ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress
vanjeff73850862009-07-29 14:33:45 +0000289 # to store PCD value.
klu21cedc892008-07-28 03:09:46 +0000290 #
qhuang8b3af5df2007-08-30 09:11:54 +0000291 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010
vanjeff73850862009-07-29 14:33:45 +0000292
klu21cedc892008-07-28 03:09:46 +0000293 ## Maximum number of FV is supported by PeiCore's dispatching.
qwang12177aabe2007-10-15 11:15:39 +0000294 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030
lgao4f02d0c02008-07-28 05:51:09 +0000295
klu21cedc892008-07-28 03:09:46 +0000296 ## Maximum PEIM count in every FV is supported by PeiCore's dispatching.
qwang12177aabe2007-10-15 11:15:39 +0000297 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031
lgao4f02d0c02008-07-28 05:51:09 +0000298
klu21cedc892008-07-28 03:09:46 +0000299 ## Maximum stack size for PeiCore.
klu258dcdad2008-02-29 18:24:43 +0000300 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032
lgao4f02d0c02008-07-28 05:51:09 +0000301
klu21cedc892008-07-28 03:09:46 +0000302 ## Maximum PPI count is supported by PeiCore's PPI database.
lgao4eaf539d2008-04-14 05:39:13 +0000303 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033
vanjeff73850862009-07-29 14:33:45 +0000304
eric_tian2fcdca12009-04-07 06:42:12 +0000305 ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize
lgao4a90ccab2009-08-07 02:20:01 +0000306 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
307 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
308 # be reflushed through the manner of fault tolerant write.
qhuang8b3af5df2007-08-30 09:11:54 +0000309 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002
vanjeff73850862009-07-29 14:33:45 +0000310
eric_tian2fcdca12009-04-07 06:42:12 +0000311 ## The maximum size of single common variable, that is non-HwErr type varible.
gtian518d3952007-11-05 16:11:50 +0000312 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003
vanjeff73850862009-07-29 14:33:45 +0000313
eric_tian2fcdca12009-04-07 06:42:12 +0000314 ## The maximum size of single hardware error record variable.
315 # In IA32/X64 platforms, this value should be larger than 1KB.
316 # In IA64 platforms, this value should be larger than 128KB.
gtian518d3952007-11-05 16:11:50 +0000317 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004
vanjeff73850862009-07-29 14:33:45 +0000318
eric_tian48cd9922009-08-26 02:59:28 +0000319 ## The size of reserved HwErr variable space. Note that this value must be less than or equal to PcdFlashNvStorageVariableSize
320 # In EdkII implementation, HwErr type variable is stored with common non-volatile variables in the same NV region.
321 # so the platform integrator should ensure this value is less than or equal to PcdFlashNvStorageVariableSize.
eric_tian2fcdca12009-04-07 06:42:12 +0000322 # this value is used to guarantee the space of HwErr type variable and not populated by common variable.
eric_tian48cd9922009-08-26 02:59:28 +0000323 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0000|UINT32|0x30000006
eric_tian2fcdca12009-04-07 06:42:12 +0000324
325 ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable.
gtian518d3952007-11-05 16:11:50 +0000326 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005
eric_tian2fcdca12009-04-07 06:42:12 +0000327
328 ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize
329 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
330 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
331 # be reflushed through the manner of fault tolerant write.
qhuang8b3af5df2007-08-30 09:11:54 +0000332 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014
vanjeff73850862009-07-29 14:33:45 +0000333
lgao4f02d0c02008-07-28 05:51:09 +0000334 ## Size of the FTW working block range.
qhuang8b3af5df2007-08-30 09:11:54 +0000335 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011
jljusten3c506dd2009-03-20 18:35:25 +0000336
337 ## FFS filename to find the ACPI tables
338 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|16
339
davidhuang9060e3e2009-10-20 03:43:40 +0000340 ## Single root I/O virtualization virtual function memory BAR alignment
341 # BITN set indicates 2 of n+12 power
342 # BIT0 set indicates 4KB alignment
343 # BIT1 set indicates 8KB alignment
344 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1|UINT32|0x10000047
li-elvin9f7d5b42010-02-01 02:54:22 +0000345
jchen2054ea99a2010-02-05 07:54:16 +0000346 ## Flag of enabling/disabling the feature of Loading Module at Fixed Address
347 # -1: Enable the feature as fixed offset to TOLM
348 # 0: Disable the feature.
349 # Positive Value: Enable the feature as fixed absolute address, and the value is the top memory address
350 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015
351
li-elvin9f7d5b42010-02-01 02:54:22 +0000352 ## Smbios version
353 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0206|UINT16|0x00010055
davidhuang9060e3e2009-10-20 03:43:40 +0000354
hhuan13cfbc1a72010-08-18 00:47:26 +0000355 ## TFTP BlockSize. Initial value 0 means using default block size which is (MTU-IP_HEADER-UDP_HEADER-TFTP_HEADER)
356 # to handle all link layers. If the value is non zero, the PCD value will be used as block size.
357 #
358 gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x30001026
359
gikidya86ae182009-03-03 02:54:56 +0000360[PcdsFixedAtBuild,PcdsPatchableInModule]
lgao4f02d0c02008-07-28 05:51:09 +0000361 ## Maximun number of performance log entries during PEI phase.
qhuang8348c8132007-12-05 06:32:21 +0000362 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f
qhuang84e17cc92009-03-10 14:37:30 +0000363
364 ## RTC Update Timeout Value
365 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034
vanjeff73850862009-07-29 14:33:45 +0000366
gikidya86ae182009-03-03 02:54:56 +0000367[PcdsPatchableInModule,PcdsDynamic]
lgao4a90ccab2009-08-07 02:20:01 +0000368 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec
qhuang84bfa7dc2009-02-24 09:17:58 +0000369 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006
vanjeff73850862009-07-29 14:33:45 +0000370
lgao4a90ccab2009-08-07 02:20:01 +0000371 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec
qhuang84e17cc92009-03-10 14:37:30 +0000372 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007
vanjeff73850862009-07-29 14:33:45 +0000373
gikidya86ae182009-03-03 02:54:56 +0000374[PcdsFixedAtBuild,PcdsDynamic]
vanjeff73850862009-07-29 14:33:45 +0000375 ## Base address of the NV variable range in flash device
gikidya86ae182009-03-03 02:54:56 +0000376 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001
vanjeff73850862009-07-29 14:33:45 +0000377
gikidya86ae182009-03-03 02:54:56 +0000378 ## Base address of the FTW spare block range in flash device.
vanjeff73850862009-07-29 14:33:45 +0000379 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013
380
gikidya86ae182009-03-03 02:54:56 +0000381 ## Base address of the FTW working block range in flash device.
vanjeff73850862009-07-29 14:33:45 +0000382 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010
383
andrewfish92a4f6f2010-07-22 21:18:25 +0000384 ## 64-bit Base address of the NV variable range in flash device
385 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0|UINT64|0x80000001
386
387 ## 64-bit Base address of the FTW spare block range in flash device.
388 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0|UINT64|0x80000013
389
390 ## 64-bit Base address of the FTW working block range in flash device.
391 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0|UINT64|0x80000010
392
lgao4a90ccab2009-08-07 02:20:01 +0000393 ## This PCD defines the print string.
qhuang84e17cc92009-03-10 14:37:30 +0000394 # This PCD is a sample to explain String typed PCD usage.
vanjeff73850862009-07-29 14:33:45 +0000395 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004
396
jljusten02328a52009-09-07 20:18:14 +0000397 ## This PCD defines a reserved memory range for the EMU Variable driver's NV Variable Store
398 # The range is valid if non-zero. The memory range size must be PcdVariableStoreSize.
399 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0|UINT64|0x40000008
400
rsun3099f2b12010-07-13 02:23:27 +0000401 ## This PCD specifies whether the Single Root I/O virtualization support.
402 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE|BOOLEAN|0x10000044
403
404 ## This PCD specifies whether the Alternative Routing-ID support.
405 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE|BOOLEAN|0x10000045
406
407 ## This PCD specifies whether the Multi Root I/O virtualization support.
408 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE|BOOLEAN|0x10000046
409
qhuang84e17cc92009-03-10 14:37:30 +0000410[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
lgao4a90ccab2009-08-07 02:20:01 +0000411 ## This PCD defines the times to print hello world string.
qhuang84e17cc92009-03-10 14:37:30 +0000412 # This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.
qhuang84e17cc92009-03-10 14:37:30 +0000413 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005
vanjeffb7d286b2007-06-22 09:15:22 +0000414
li-elvin0ef42f82010-05-19 02:31:41 +0000415 ## Indicate the max size of the capsule image with reset flag that the platform can support.
vanjeff73850862009-07-29 14:33:45 +0000416 # The default max size is 100MB (0x6400000) for more than one large capsule images.
qhuang84e17cc92009-03-10 14:37:30 +0000417 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e
vanjeff73850862009-07-29 14:33:45 +0000418
li-elvin0ef42f82010-05-19 02:31:41 +0000419 ## Indicate the max size of the capsule image without reset flag that the platform can support.
420 # The default max size is 10MB (0xa00000) for the casule image without reset flag setting.
qhuang84e17cc92009-03-10 14:37:30 +0000421 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f
mdkinney6144e7a2009-07-09 23:48:54 +0000422
423 ## Null-terminated Unicode string of the firmware vendor name that is default name filled into the EFI System Table
424 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK II"|VOID*|0xx00010050
vanjeff73850862009-07-29 14:33:45 +0000425
mdkinney6144e7a2009-07-09 23:48:54 +0000426 ## Firmware revision that is default value filled into the EFI System Table
427 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|0x00010000|UINT32|0x00010051
428
429 ## Null-terminated Unicode string that described the firmware version
vanjeff73850862009-07-29 14:33:45 +0000430 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L""|VOID*|0x00010052
431
mdkinney6144e7a2009-07-09 23:48:54 +0000432 ## Null-terminated Unicode string that contains the date the formware was released
433 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L""|VOID*|0x00010053
434
xli2410c5d872009-12-25 06:33:46 +0000435 ## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to true
436 # (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.
437 # The default value in PeiPhase is 1 KBytes.
438 # The default value in DxePhase is 128 KBytes.
439 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010054
440
jchen2054ea99a2010-02-05 07:54:16 +0000441[PcdsPatchableInModule]
442 ## Specify memory size with page number for PEI code when
443 # the feature of Loading Module at Fixed Address is enabled
444 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber|0|UINT32|0x00000029
445
446 ## Specify memory size with page number for DXE boot time code when
447 # the feature of Loading Module at Fixed Address is enabled
448 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber|0|UINT32|0x0000002a
449
450 ## Specify memory size with page number for DXE runtime code when
451 # the feature of Loading Module at Fixed Address is enabled
452 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber|0|UINT32|0x0000002b
453
454 ## Specify memory size with page number for SMM code when
455 # the feature of Loading Module at Fixed Address is enabled
456 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c
457