]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/MdeModulePkg.dec
045fd4152a7f5c91605917a0312c7ac6957d943a
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
1 ## @file MdeModulePkg.dec
2 #
3 # This package provides the modules that conform to UEFI/PI Industry standards.
4 # It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes)
5 # and libraries instances, which are used for those modules.
6 #
7 # Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
8 # 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.
10 # The full text of the license may be found at
11 # 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.
15 #
16 ##
17
18
19 [Defines]
20 DEC_SPECIFICATION = 0x00010005
21 PACKAGE_NAME = MdeModulePkg
22 PACKAGE_GUID = BA0D78D6-2CAF-414b-BD4D-B6762A894288
23 PACKAGE_VERSION = 0.91
24
25 [Includes]
26 Include
27
28
29 [LibraryClasses]
30 ## @libraryclass IpIo layer upon EFI IP4 Protocol.
31 # This library is only intended to be used by UEFI network stack modules.
32 IpIoLib|Include/Library/IpIoLib.h
33
34 ## @libraryclass Basic function for UEFI network stack.
35 # This library is only intended to be used by UEFI network stack modules.
36 NetLib|Include/Library/NetLib.h
37
38 ## @libraryclass The helper routines to access UDP service.
39 # This library is only intended to be used by UEFI network stack modules.
40 UdpIoLib|Include/Library/UdpIoLib.h
41
42 ## @libraryclass The helper routines to access TCP service.
43 # This library is only intended to be used by UEFI network stack modules.
44 TcpIoLib|Include/Library/TcpIoLib.h
45
46 ## @libraryclass Defines a set of methods to reset whole system.
47 ResetSystemLib|Include/Library/ResetSystemLib.h
48
49 ## @libraryclass Defines a set of methods related do S3 mode.
50 # This library class is no longer used and modules using this library should
51 # directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.
52 S3Lib|Include/Library/S3Lib.h
53
54 ## @libraryclass Defines a set of methods related recovery mode.
55 # This library class is no longer used and modules using this library should
56 # directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specification.
57 RecoveryLib|Include/Library/RecoveryLib.h
58
59 ## @libraryclass Provides HII related functions.
60 HiiLib|Include/Library/HiiLib.h
61
62 ## @libraryclass Defines a set of interfaces on how to process capusle image update.
63 CapsuleLib|Include/Library/CapsuleLib.h
64
65 ## @libraryclass Library for Deferred Procedure Calls.
66 DpcLib|Include/Library/DpcLib.h
67
68 ## @libraryclass Provides global variables that are pointers
69 # to the UEFI HII related protocols.
70 #
71 UefiHiiServicesLib|Include/Library/UefiHiiServicesLib.h
72
73 ## @libraryclass Provides a set of interfaces to abstract the policy of security measurement.
74 #
75 SecurityManagementLib|MdeModulePkg/Include/Library/SecurityManagementLib.h
76
77 ## @libraryclass OEM status code libary is used to report status code to OEM device.
78 #
79 OemHookStatusCodeLib|Include/Library/OemHookStatusCodeLib.h
80
81 ## @libraryclass Debug Agent is used to provide soft debug capability.
82 #
83 DebugAgentLib|Include/Library/DebugAgentLib.h
84
85 ## @libraryclass Provide platform specific hooks.
86 #
87 PlatformHookLib|Include/Library/PlatformHookLib.h
88
89 [Guids]
90 ## MdeModule package token space guid
91 # Include/Guid/MdeModulePkgTokenSpace.h
92 gEfiMdeModulePkgTokenSpaceGuid = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}
93
94 ## Hob guid for Pcd DataBase
95 # Include/Guid/PcdDataBaseHobGuid.h
96 gPcdDataBaseHobGuid = { 0xEA296D92, 0x0B69, 0x423C, { 0x8C, 0x28, 0x33, 0xB4, 0xE0, 0xA9, 0x12, 0x68 }}
97
98 ## Guid for EDKII implementation GUIDed opcodes
99 # Include/Guid/MdeModuleHii.h
100 gEfiIfrTianoGuid = { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce }}
101
102 ## Guid for Framework vfr GUIDed opcodes.
103 # Include/Guid/MdeModuleHii.h
104 gEfiIfrFrameworkGuid = { 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 }}
105
106 ## Guid to specify the System Non Volatile FV
107 # Include/Guid/SystemNvDataGuid.h
108 gEfiSystemNvDataFvGuid = { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
109
110 ## Guid specify the device is the console out device.
111 # Include/Guid/ConsoleOutDevice.h
112 gEfiConsoleOutDeviceGuid = { 0xD3B36F2C, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
113
114 ## Guid specify the device is the console in device.
115 # Include/Guid/ConsoleInDevice.h
116 gEfiConsoleInDeviceGuid = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
117
118 ## Hob and Variable guid specify the platform memory type information.
119 # Include/Guid/MemoryTypeInformation.h
120 gEfiMemoryTypeInformationGuid = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}
121
122 ## Capsule update hob and variable guid
123 # Include/Guid/CapsuleVendor.h
124 gEfiCapsuleVendorGuid = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }}
125
126 ## Guid specifiy the device is the StdErr device.
127 # Include/Guid/StandardErrorDevice.h
128 gEfiStandardErrorDeviceGuid = { 0xD3B36F2D, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
129
130 ## Guid acted as variable store header's signature and to specify the variable list entries put in the EFI system table.
131 # Include/Guid/VariableFormat.h
132 gEfiVariableGuid = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
133
134 ## Guid is defined for SMM variable module to notify SMM variable wrapper module when variable write service was ready.
135 # Include/Guid/SmmVariableCommon.h
136 gSmmVariableWriteGuid = { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 }}
137
138 ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID
139 # Include/Guid/Performance.h
140 gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }}
141 gSmmPerformanceProtocolGuid = { 0xf866226a, 0xeaa5, 0x4f5a, { 0xa9, 0xa, 0x6c, 0xfb, 0xa5, 0x7c, 0x58, 0x8e } }
142
143 ## Guid is defined for CRC32 encapsulation scheme.
144 # Include/Guid/Crc32GuidedSectionExtraction.h
145 gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }
146
147 ## Include/Guid/NicIp4ConfigNvData.h
148 gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}
149
150 ## Include/Guid/StatusCodeCallbackGuid.h
151 gStatusCodeCallbackGuid = {0xe701458c, 0x4900, 0x4ca5, {0xb7, 0x72, 0x3d, 0x37, 0x94, 0x9f, 0x79, 0x27}}
152
153 ## GUID identifies status code records HOB that originate from the PEI status code
154 # Include/Guid/MemoryStatusCodeRecord.h
155 gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}
156
157 ## GUID used to pass DEBUG() macro information through the Status Code Protocol and Status Code PPI
158 # Include/Guid/StatusCodeDataTypeDebug.h
159 gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
160
161 ## A configuration Table Guid for Load module at fixed address
162 # Include/Guid/LoadModuleAtFixedAddress.h
163 gLoadFixedAddressConfigurationTableGuid = { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9 } }
164
165 [Protocols]
166 ## Load File protocol provides capability to load and unload EFI image into memory and execute it.
167 # Include/Protocol/LoadPe32Image.h
168 # This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image.
169 # If developer need implement such functionality, they should use BasePeCoffLib.
170 gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}
171
172 ## Print protocol defines basic print functions to print the format unicode and ascii string.
173 # Include/Protocol/Print2.h
174 gEfiPrint2ProtocolGuid = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }
175
176 ## This protocol defines the generic memory test interfaces in Dxe phase.
177 # Include/Protocol/GenericMemoryTest.h
178 gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}
179
180 ## Include/Protocol/Dpc.h
181 gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}
182
183 ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.
184 # Include/Protocol/FaultTolerantWrite.h
185 gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}
186
187 ## This protocol provides boot-time service to do fault tolerant write capability for block devices in SMM environment.
188 # Include/Protocol/SmmFaultTolerantWrite.h
189 gEfiSmmFaultTolerantWriteProtocolGuid = { 0x3868fc3b, 0x7e45, 0x43a7, { 0x90, 0x6c, 0x4b, 0xa4, 0x7d, 0xe1, 0x75, 0x4d }}
190
191 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV.
192 # Include/Protocol/SwapAddressRange.h
193 gEfiSwapAddressRangeProtocolGuid = { 0x1259F60D, 0xB754, 0x468E, { 0xA7, 0x89, 0x4D, 0xB8, 0x5D, 0x55, 0xE8, 0x7E }}
194
195 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV in SMM environment.
196 # Include/Protocol/SmmSwapAddressRange.h
197 gEfiSmmSwapAddressRangeProtocolGuid = { 0x67c4f112, 0x3385, 0x4e55, { 0x9c, 0x5b, 0xc0, 0x5b, 0x71, 0x7c, 0x42, 0x28 }}
198
199 ## This protocol is intended for use as a means to store data in the EFI SMM environment.
200 # Include/Protocol/SmmVariableProtocol.h
201 gEfiSmmVariableProtocolGuid = { 0xed32d533, 0x99e6, 0x4209, { 0x9c, 0xc0, 0x2d, 0x72, 0xcd, 0xd9, 0x98, 0xa7 }}
202
203 ## This protocol is similar with DXE FVB protocol and used in the UEFI SMM evvironment.
204 # Include/Protocol/SmmFirmwareVolumeBlock.h
205 gEfiSmmFirmwareVolumeBlockProtocolGuid = { 0xd326d041, 0xbd31, 0x4c01, { 0xb5, 0xa8, 0x62, 0x8b, 0xe8, 0x7f, 0x6, 0x53 }}
206
207 [PcdsFeatureFlag]
208 ## Indicate whether platform can support update capsule across a system reset
209 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d
210
211 ## This feature flag can be used to enable or disable all PCD PEIM services.
212 # If TRUE, all PCD PPI services will be produced.
213 # If FALSE, the minimal PCD PEIM services (only GetService) will be produced.
214 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiFullPcdDatabaseEnable|TRUE|BOOLEAN|0x00010020
215
216 ## If TRUE, then the Device Path To Text Protocol should be produced by the platform.
217 # It can be disabled to save size.
218 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037
219
220 ## If TRUE, then the Device Path From Text Protocol should be produced by the platform.
221 # It can be disabled to save size.
222 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038
223
224 ## If TRUE, enable the statistic functionality about variable usage. Such information is
225 # stored as a vendor configuration table into the EFI system table.
226 # If user wants to use VariableInfo application in MdeModulePkg\Application directory to get
227 # variable usage info, this pcd should be set as TRUE. Otherwise VariableInfo application can
228 # not output useful info.
229 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE|BOOLEAN|0x0001003f
230
231 ## If TRUE, Unicode Collation Protocol will be installed.
232 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE|BOOLEAN|0x00010040
233
234 ## If TRUE, Unicode Collation 2 Protocol will be installed.
235 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE|BOOLEAN|0x00010041
236
237 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
238 # It could be set FALSE to save size.
239 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE|BOOLEAN|0x00010042
240
241 ## If TRUE, UGA Draw Protocol will be installed on virtual handle created by ConsplitterDxe.
242 # It could be set FALSE to save size.
243 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE|BOOLEAN|0x00010043
244
245 ## If TRUE, when PeiCore dispatches a PEI module, PeiCore will first search TE section from this PEIM to load the image.
246 # If TE section is not found, then PeiCore will search PE section.
247 # If FALSE, PeiCore will first search PE section from PEIM to load the image.
248 # This PCD is used to tune Pei phase performance to reduce the search image time.
249 # It can be set according to the generated image section type.
250 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044
251
252 ## If TRUE, force to switch off the support of legacy usb. So legacy usb device driver can not make use of SMI
253 # interrupt to access usb device in the case of absence of usb stack.
254 # DUET platform requires the token to be TRUE.
255 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047
256
257 ## If TRUE, HiiImageProtocol will be installed.
258 # FALSE is for size reduction.
259 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
260
261 ## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
262 # The default keyboard layout serves as the backup when no keyboard layout can be retrieved
263 # from HII database.
264 gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200
265
266 ## If TRUE, Setup Browser supports GUID opcodes generated from Framework HII VFR file by VFR compiler.
267 # If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it.
268 # This is used to provide backward compatibility support to Framework HII and Framework FvHob.
269 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|FALSE|BOOLEAN|0x00012009
270
271 ## If TRUE, HelloWorld Application will print the verbose information.
272 # This PCD is a sample to explain FeatureFlag PCD usage.
273 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a
274
275 ## If TRUE, FULL FTW protocol services (total six APIs) will be produced.
276 # If FASLE, only FTW Write service is available.
277 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b
278
279 ## If TRUE, DXE IPL must support the UEFI decompression algorithm.
280 # If FALSE, DXE IPL will not support UEFI decompression to save space.
281 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c
282
283 ## This PCD specifies whether PciBus supports the hot plug device.
284 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE|BOOLEAN|0x0001003d
285
286 ## This PCD specifies whether the PCI bus driver probes non-standard,
287 # such as 2K/1K/512, granularity for PCI to PCI bridge I/O window.
288 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBridgeIoAlignmentProbe|FALSE|BOOLEAN|0x0001004e
289 ## This PCD specifies whether StatusCode is reported via Serial port.
290 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
291
292 ## This PCD specifies whether StatusCode is stored in memory.
293 # The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.
294 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
295
296 ## This PCD specifies whether Peiphase StatusCode is replayed in DxePhase.
297 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE|BOOLEAN|0x0001002d
298
299 ## This PCD specified whether ACPI SDT protocol is installed.
300 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|FALSE|BOOLEAN|0x0001004d
301
302 ## If TRUE, then unaligned I/O, MMIO, and PCI Configuration cycles through the PCI I/O Protocol are enabled.
303 # If FALSE, then unaligned I/O, MMIO, and PCI Configuration cycles through the PCI I/O Protocol are disabled.
304 # The default value for this PCD is to disable support for unaligned PCI I/O Protocol requests.
305 gEfiMdeModulePkgTokenSpaceGuid.PcdUnalignedPciIoEnable|FALSE|BOOLEAN|0x0001003e
306
307 ## This PCD specifies whether TEXT statement is always set to GrayOut statement in HII Form Browser.
308 # If TRUE, TEXT statement will always be set to GrayOut.
309 # If FALSE, TEXT statement will be set to GrayOut only when GrayOut condition is TRUE.
310 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|FALSE|BOOLEAN|0x0001004f
311
312 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
313 ##
314 # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.
315 # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;
316 # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.
317 # It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore
318 # is built in firmware.
319 #
320 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b
321
322 [PcdsFixedAtBuild]
323 ## Dynamic type PCD can be registered callback function for Pcd setting action.
324 # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function
325 # for a dynamic PCD used in PEI phase.
326 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f
327
328 ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress
329 # to store PCD value.
330 #
331 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010
332
333 ## Maximum number of FV is supported by PeiCore's dispatching.
334 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030
335
336 ## Maximum PEIM count in every FV is supported by PeiCore's dispatching.
337 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031
338
339 ## Maximum stack size for PeiCore.
340 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032
341
342 ## Maximum PPI count is supported by PeiCore's PPI database.
343 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033
344
345 ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize
346 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
347 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
348 # be reflushed through the manner of fault tolerant write.
349 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002
350
351 ## The maximum size of single common variable, that is non-HwErr type varible.
352 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003
353
354 ## The maximum size of single hardware error record variable.
355 # In IA32/X64 platforms, this value should be larger than 1KB.
356 # In IA64 platforms, this value should be larger than 128KB.
357 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004
358
359 ## The size of reserved HwErr variable space. Note that this value must be less than or equal to PcdFlashNvStorageVariableSize
360 # In EdkII implementation, HwErr type variable is stored with common non-volatile variables in the same NV region.
361 # so the platform integrator should ensure this value is less than or equal to PcdFlashNvStorageVariableSize.
362 # this value is used to guarantee the space of HwErr type variable and not populated by common variable.
363 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0000|UINT32|0x30000006
364
365 ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable.
366 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005
367
368 ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize
369 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
370 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
371 # be reflushed through the manner of fault tolerant write.
372 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014
373
374 ## Size of the FTW working block range.
375 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011
376
377 ## FFS filename to find the ACPI tables
378 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|16
379
380 ## Single root I/O virtualization virtual function memory BAR alignment
381 # BITN set indicates 2 of n+12 power
382 # BIT0 set indicates 4KB alignment
383 # BIT1 set indicates 8KB alignment
384 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1|UINT32|0x10000047
385
386 ## Flag of enabling/disabling the feature of Loading Module at Fixed Address
387 # -1: Enable the feature as fixed offset to TOLM
388 # 0: Disable the feature.
389 # Positive Value: Enable the feature as fixed absolute address, and the value is the top memory address
390 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015
391
392 ## Smbios version
393 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0206|UINT16|0x00010055
394
395 ## TFTP BlockSize. Initial value 0 means using default block size which is (MTU-IP_HEADER-UDP_HEADER-TFTP_HEADER)
396 # to handle all link layers. If the value is non zero, the PCD value will be used as block size.
397 #
398 gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x30001026
399
400 [PcdsFixedAtBuild,PcdsPatchableInModule]
401 ## Maximun number of performance log entries during PEI phase.
402 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f
403
404 ## RTC Update Timeout Value
405 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034
406
407 ## If TRUE, then 16550 serial port registers are in MMIO space.
408 # If FALSE, then 16550 serial port registers are in I/O space. Default value.
409 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE|BOOLEAN|0x00020000
410
411 ## If TRUE, then the 16550 serial port hardware flow control is enabled.
412 # If FALSE, then the 16550 serial port hardware flow control is disabled. Default value.
413 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE|BOOLEAN|0x00020001
414
415 ## If TRUE, then 16550 serial Tx operations will block if DSR is not asserted (no cable).
416 # If FALSE, then the 16550 serial Tx operations will not be blocked if DSR is not asserted. Default value.
417 # This PCD is ignored if PcdSerialUseHardwareFlowControl is FALSE.
418 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE|BOOLEAN|0x00020006
419
420 ## Base address of 16550 serial port registers in MMIO or I/O space. Default is 0x3F8.
421 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x03F8|UINT64|0x00020002
422
423 ## Baud rate for the 16550 serial port. Default is 115200 baud.
424 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|115200|UINT32|0x00020003
425
426 ## Line Control Register (LCR) for the 16550 serial port. This encodes data bits, parity, and stop bits.
427 # BIT1..BIT0 - Data bits. 00b = 5 bits, 01b = 6 bits, 10b = 7 bits, 11b = 8 bits
428 # BIT2 - Stop Bits. 0 = 1 stop bit. 1 = 1.5 stop bits if 5 data bits selected, otherwise 2 stop bits.
429 # BIT5..BIT2 - Parity. xx0b = No Parity, 001b = Odd Parity, 011b = Even Parity, 101b = Mark Parity, 111b=Stick Parity
430 # BIT7..BIT6 - Reserved. Must be 0.
431 #
432 # Default is No Parity, 8 Data Bits, 1 Stop Bit.
433 #
434 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03|UINT8|0x00020004
435
436 ## FIFO Control Register (FCR) for the 16550 serial port.
437 # BIT0 - FIFO Enable. 0 = Disable FIFOs. 1 = Enable FIFOs.
438 # BIT1 - Clear receive FIFO. 1 = Clear FIFO.
439 # BIT2 - Clear transmit FIFO. 1 = Clear FIFO.
440 # BIT7..BIT3 - Reserved. Must be 0.
441 #
442 # Default is to enable and clear all FIFOs.
443 #
444 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07|UINT8|0x00020005
445
446 ## Maximum address that the DXE Core will allocate the EFI_SYSTEM_TABLE_POINTER
447 # structure. The default value for this PCD is 0, which means that the DXE Core
448 # will allocate the buffer from the EFI_SYSTEM_TABLE_POINTER structure on a 4MB
449 # boundary as close to the top of memory as feasible. If this PCD is set to a
450 # value other than 0, then the DXE Core will first attempt to allocate the
451 # EFI_SYSTEM_TABLE_POINTER structure on a 4MB boundary below the address specified
452 # by this PCD, and if that allocation fails, retry the allocation on a 4MB
453 # boundary as close to the top of memory as feasible.
454 #
455 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress|0x0|UINT64|0x30001027
456
457 [PcdsPatchableInModule,PcdsDynamic]
458 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec
459 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006
460
461 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec
462 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007
463
464 [PcdsFixedAtBuild,PcdsDynamic]
465 ## Base address of the NV variable range in flash device
466 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001
467
468 ## Base address of the FTW spare block range in flash device.
469 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013
470
471 ## Base address of the FTW working block range in flash device.
472 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010
473
474 ## 64-bit Base address of the NV variable range in flash device
475 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0|UINT64|0x80000001
476
477 ## 64-bit Base address of the FTW spare block range in flash device.
478 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0|UINT64|0x80000013
479
480 ## 64-bit Base address of the FTW working block range in flash device.
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0|UINT64|0x80000010
482
483 ## This PCD defines the print string.
484 # This PCD is a sample to explain String typed PCD usage.
485 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004
486
487 ## This PCD defines a reserved memory range for the EMU Variable driver's NV Variable Store
488 # The range is valid if non-zero. The memory range size must be PcdVariableStoreSize.
489 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0|UINT64|0x40000008
490
491 ## This PCD specifies whether the Single Root I/O virtualization support.
492 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE|BOOLEAN|0x10000044
493
494 ## This PCD specifies whether the Alternative Routing-ID support.
495 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE|BOOLEAN|0x10000045
496
497 ## This PCD specifies whether the Multi Root I/O virtualization support.
498 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE|BOOLEAN|0x10000046
499
500 [PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
501 ## This PCD defines the times to print hello world string.
502 # This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.
503 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005
504
505 ## Indicate the max size of the capsule image with reset flag that the platform can support.
506 # The default max size is 100MB (0x6400000) for more than one large capsule images.
507 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e
508
509 ## Indicate the max size of the capsule image without reset flag that the platform can support.
510 # The default max size is 10MB (0xa00000) for the casule image without reset flag setting.
511 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f
512
513 ## Null-terminated Unicode string of the firmware vendor name that is default name filled into the EFI System Table
514 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK II"|VOID*|0x00010050
515
516 ## Firmware revision that is default value filled into the EFI System Table
517 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|0x00010000|UINT32|0x00010051
518
519 ## Null-terminated Unicode string that described the firmware version
520 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L""|VOID*|0x00010052
521
522 ## Null-terminated Unicode string that contains the date the formware was released
523 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L""|VOID*|0x00010053
524
525 ## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to true
526 # (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.
527 # The default value in PeiPhase is 1 KBytes.
528 # The default value in DxePhase is 128 KBytes.
529 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010054
530
531 ## This PCD specifies whether to reset system when memory type information changes.
532 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE|BOOLEAN|0x00010056
533
534 ## Specify the foreground color for Subtile text in HII Form Browser. The default value is EFI_BLUE.
535 # Only following values defined in UEFI specification are valid:
536 # 0x00 (EFI_BLACK)
537 # 0x01 (EFI_BLUE)
538 # 0x02 (EFI_GREEN)
539 # 0x03 (EFI_CYAN)
540 # 0x04 (EFI_RED)
541 # 0x05 (EFI_MAGENTA)
542 # 0x06 (EFI_BROWN)
543 # 0x07 (EFI_LIGHTGRAY)
544 # 0x08 (EFI_DARKGRAY)
545 # 0x09 (EFI_LIGHTBLUE)
546 # 0x0A (EFI_LIGHTGREEN)
547 # 0x0B (EFI_LIGHTCYAN)
548 # 0x0C (EFI_LIGHTRED)
549 # 0x0D (EFI_LIGHTMAGENTA)
550 # 0x0E (EFI_YELLOW)
551 # 0x0F (EFI_WHITE)
552 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x01|UINT8|0x00010057
553
554 ## Specify the foreground color for prompt and Question value text in HII Form Browser. The default value is EFI_BLACK.
555 # Only following values defined in UEFI specification are valid:
556 # 0x00 (EFI_BLACK)
557 # 0x01 (EFI_BLUE)
558 # 0x02 (EFI_GREEN)
559 # 0x03 (EFI_CYAN)
560 # 0x04 (EFI_RED)
561 # 0x05 (EFI_MAGENTA)
562 # 0x06 (EFI_BROWN)
563 # 0x07 (EFI_LIGHTGRAY)
564 # 0x08 (EFI_DARKGRAY)
565 # 0x09 (EFI_LIGHTBLUE)
566 # 0x0A (EFI_LIGHTGREEN)
567 # 0x0B (EFI_LIGHTCYAN)
568 # 0x0C (EFI_LIGHTRED)
569 # 0x0D (EFI_LIGHTMAGENTA)
570 # 0x0E (EFI_YELLOW)
571 # 0x0F (EFI_WHITE)
572 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x00|UINT8|0x00010058
573
574 ## Specify the foreground color for highlighted prompt and Question value text in HII Form Browser.
575 # The default value is EFI_LIGHTGRAY. Only following values defined in UEFI specification are valid:
576 # 0x00 (EFI_BLACK)
577 # 0x01 (EFI_BLUE)
578 # 0x02 (EFI_GREEN)
579 # 0x03 (EFI_CYAN)
580 # 0x04 (EFI_RED)
581 # 0x05 (EFI_MAGENTA)
582 # 0x06 (EFI_BROWN)
583 # 0x07 (EFI_LIGHTGRAY)
584 # 0x08 (EFI_DARKGRAY)
585 # 0x09 (EFI_LIGHTBLUE)
586 # 0x0A (EFI_LIGHTGREEN)
587 # 0x0B (EFI_LIGHTCYAN)
588 # 0x0C (EFI_LIGHTRED)
589 # 0x0D (EFI_LIGHTMAGENTA)
590 # 0x0E (EFI_YELLOW)
591 # 0x0F (EFI_WHITE)
592 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextHighlightColor|0x07|UINT8|0x00010059
593
594 ## Specify the background color for highlighted prompt and Question value text in HII Form Browser.
595 # The default value is EFI_BACKGROUND_BLACK. Only following values defined in UEFI specification are valid:
596 # 0x00 (EFI_BACKGROUND_BLACK)
597 # 0x10 (EFI_BACKGROUND_BLUE)
598 # 0x20 (EFI_BACKGROUND_GREEN)
599 # 0x30 (EFI_BACKGROUND_CYAN)
600 # 0x40 (EFI_BACKGROUND_RED)
601 # 0x50 (EFI_BACKGROUND_MAGENTA)
602 # 0x60 (EFI_BACKGROUND_BROWN)
603 # 0x70 (EFI_BACKGROUND_LIGHTGRAY)
604 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldBackgroundHighlightColor|0x00|UINT8|0x0001005A
605
606 [PcdsPatchableInModule]
607 ## Specify memory size with page number for PEI code when
608 # the feature of Loading Module at Fixed Address is enabled
609 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber|0|UINT32|0x00000029
610
611 ## Specify memory size with page number for DXE boot time code when
612 # the feature of Loading Module at Fixed Address is enabled
613 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber|0|UINT32|0x0000002a
614
615 ## Specify memory size with page number for DXE runtime code when
616 # the feature of Loading Module at Fixed Address is enabled
617 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber|0|UINT32|0x0000002b
618
619 ## Specify memory size with page number for SMM code when
620 # the feature of Loading Module at Fixed Address is enabled
621 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c
622