]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg: Add PEI USB drivers and related PPIs
[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|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 # Include/Guid/VariableIndexTable.h
135 gEfiVariableIndexTableGuid = { 0x8cfdb8c8, 0xd6b2, 0x40f3, { 0x8e, 0x97, 0x02, 0x30, 0x7c, 0xc9, 0x8b, 0x7c }}
136
137 ## Guid is defined for SMM variable module to notify SMM variable wrapper module when variable write service was ready.
138 # Include/Guid/SmmVariableCommon.h
139 gSmmVariableWriteGuid = { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 }}
140
141 ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID
142 # Include/Guid/Performance.h
143 gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }}
144 gSmmPerformanceProtocolGuid = { 0xf866226a, 0xeaa5, 0x4f5a, { 0xa9, 0xa, 0x6c, 0xfb, 0xa5, 0x7c, 0x58, 0x8e } }
145
146 ## Guid is defined for CRC32 encapsulation scheme.
147 # Include/Guid/Crc32GuidedSectionExtraction.h
148 gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }
149
150 ## Include/Guid/NicIp4ConfigNvData.h
151 gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}
152
153 ## Include/Guid/StatusCodeCallbackGuid.h
154 gStatusCodeCallbackGuid = {0xe701458c, 0x4900, 0x4ca5, {0xb7, 0x72, 0x3d, 0x37, 0x94, 0x9f, 0x79, 0x27}}
155
156 ## GUID identifies status code records HOB that originate from the PEI status code
157 # Include/Guid/MemoryStatusCodeRecord.h
158 gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}
159
160 ## GUID used to pass DEBUG() macro information through the Status Code Protocol and Status Code PPI
161 # Include/Guid/StatusCodeDataTypeDebug.h
162 gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
163
164 ## A configuration Table Guid for Load module at fixed address
165 # Include/Guid/LoadModuleAtFixedAddress.h
166 gLoadFixedAddressConfigurationTableGuid = { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9 } }
167
168 ## GUID used to store the global debug mask value into an EFI Variable
169 # Include/Guid/DebugMask.h
170 gEfiGenericVariableGuid = { 0x59d1c24f, 0x50f1, 0x401a, {0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43} }
171
172 ## Event for the DXE Core to signal idle events
173 # Include/Guid/EventIdle.h
174 gIdleLoopEventGuid = { 0x3c8d294c, 0x5fc3, 0x4451, { 0xbb, 0x31, 0xc4, 0xc0, 0x32, 0x29, 0x5e, 0x6c } }
175
176 [Ppis]
177 ## Include/Ppi/UsbHostController.h
178 gPeiUsbHostControllerPpiGuid = { 0x652B38A9, 0x77F4, 0x453F, { 0x89, 0xD5, 0xE7, 0xBD, 0xC3, 0x52, 0xFC, 0x53 }}
179
180 ## Include/Ppi/Usb2HostController.h
181 gPeiUsb2HostControllerPpiGuid = { 0xfedd6305, 0xe2d7, 0x4ed5, { 0x9f, 0xaa, 0xda, 0x8, 0xe, 0x33, 0x6c, 0x22 }}
182
183 ## Include/Ppi/UsbController.h
184 gPeiUsbControllerPpiGuid = { 0x3BC1F6DE, 0x693E, 0x4547, { 0xA3, 0x00, 0x21, 0x82, 0x3C, 0xA4, 0x20, 0xB2 }}
185
186 ## Include/Ppi/UsbIo.h
187 gPeiUsbIoPpiGuid = { 0x7C29785C, 0x66B9, 0x49FC, { 0xB7, 0x97, 0x1C, 0xA5, 0x55, 0x0E, 0xF2, 0x83 }}
188
189 [Protocols]
190 ## Load File protocol provides capability to load and unload EFI image into memory and execute it.
191 # Include/Protocol/LoadPe32Image.h
192 # This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image.
193 # If developer need implement such functionality, they should use BasePeCoffLib.
194 gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}
195
196 ## Print protocol defines basic print functions to print the format unicode and ascii string.
197 # Include/Protocol/Print2.h
198 gEfiPrint2ProtocolGuid = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }
199
200 ## This protocol defines the generic memory test interfaces in Dxe phase.
201 # Include/Protocol/GenericMemoryTest.h
202 gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}
203
204 ## Include/Protocol/Dpc.h
205 gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}
206
207 ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.
208 # Include/Protocol/FaultTolerantWrite.h
209 gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}
210
211 ## This protocol provides boot-time service to do fault tolerant write capability for block devices in SMM environment.
212 # Include/Protocol/SmmFaultTolerantWrite.h
213 gEfiSmmFaultTolerantWriteProtocolGuid = { 0x3868fc3b, 0x7e45, 0x43a7, { 0x90, 0x6c, 0x4b, 0xa4, 0x7d, 0xe1, 0x75, 0x4d }}
214
215 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV.
216 # Include/Protocol/SwapAddressRange.h
217 gEfiSwapAddressRangeProtocolGuid = { 0x1259F60D, 0xB754, 0x468E, { 0xA7, 0x89, 0x4D, 0xB8, 0x5D, 0x55, 0xE8, 0x7E }}
218
219 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV in SMM environment.
220 # Include/Protocol/SmmSwapAddressRange.h
221 gEfiSmmSwapAddressRangeProtocolGuid = { 0x67c4f112, 0x3385, 0x4e55, { 0x9c, 0x5b, 0xc0, 0x5b, 0x71, 0x7c, 0x42, 0x28 }}
222
223 ## This protocol is intended for use as a means to store data in the EFI SMM environment.
224 # Include/Protocol/SmmVariableProtocol.h
225 gEfiSmmVariableProtocolGuid = { 0xed32d533, 0x99e6, 0x4209, { 0x9c, 0xc0, 0x2d, 0x72, 0xcd, 0xd9, 0x98, 0xa7 }}
226
227 ## This protocol is similar with DXE FVB protocol and used in the UEFI SMM evvironment.
228 # Include/Protocol/SmmFirmwareVolumeBlock.h
229 gEfiSmmFirmwareVolumeBlockProtocolGuid = { 0xd326d041, 0xbd31, 0x4c01, { 0xb5, 0xa8, 0x62, 0x8b, 0xe8, 0x7f, 0x6, 0x53 }}
230
231 ## This protocol allows the error level mask for DEBUG() macros to be adjusted for DXE Phase modules
232 # Include/Guid/DebugMask.h
233 gEfiDebugMaskProtocolGuid = { 0x4c8a2451, 0xc207, 0x405b, {0x96, 0x94, 0x99, 0xea, 0x13, 0x25, 0x13, 0x41} }
234 [PcdsFeatureFlag]
235 ## Indicate whether platform can support update capsule across a system reset
236 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d
237
238 ## This feature flag can be used to enable or disable all PCD PEIM services.
239 # If TRUE, all PCD PPI services will be produced.
240 # If FALSE, the minimal PCD PEIM services (only GetService) will be produced.
241 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiFullPcdDatabaseEnable|TRUE|BOOLEAN|0x00010020
242
243 ## If TRUE, then the Device Path To Text Protocol should be produced by the platform.
244 # It can be disabled to save size.
245 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037
246
247 ## If TRUE, then the Device Path From Text Protocol should be produced by the platform.
248 # It can be disabled to save size.
249 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038
250
251 ## If TRUE, enable the statistic functionality about variable usage. Such information is
252 # stored as a vendor configuration table into the EFI system table.
253 # If user wants to use VariableInfo application in MdeModulePkg\Application directory to get
254 # variable usage info, this pcd should be set as TRUE. Otherwise VariableInfo application can
255 # not output useful info.
256 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE|BOOLEAN|0x0001003f
257
258 ## If TRUE, Unicode Collation Protocol will be installed.
259 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE|BOOLEAN|0x00010040
260
261 ## If TRUE, Unicode Collation 2 Protocol will be installed.
262 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE|BOOLEAN|0x00010041
263
264 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
265 # It could be set FALSE to save size.
266 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE|BOOLEAN|0x00010042
267
268 ## If TRUE, UGA Draw Protocol will be installed on virtual handle created by ConsplitterDxe.
269 # It could be set FALSE to save size.
270 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE|BOOLEAN|0x00010043
271
272 ## If TRUE, when PeiCore dispatches a PEI module, PeiCore will first search TE section from this PEIM to load the image.
273 # If TE section is not found, then PeiCore will search PE section.
274 # If FALSE, PeiCore will first search PE section from PEIM to load the image.
275 # This PCD is used to tune Pei phase performance to reduce the search image time.
276 # It can be set according to the generated image section type.
277 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044
278
279 ## If TRUE, force to switch off the support of legacy usb. So legacy usb device driver can not make use of SMI
280 # interrupt to access usb device in the case of absence of usb stack.
281 # DUET platform requires the token to be TRUE.
282 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047
283
284 ## If TRUE, HiiImageProtocol will be installed.
285 # FALSE is for size reduction.
286 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
287
288 ## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
289 # The default keyboard layout serves as the backup when no keyboard layout can be retrieved
290 # from HII database.
291 gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200
292
293 ## If TRUE, Setup Browser supports GUID opcodes generated from Framework HII VFR file by VFR compiler.
294 # If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it.
295 # This is used to provide backward compatibility support to Framework HII and Framework FvHob.
296 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|FALSE|BOOLEAN|0x00012009
297
298 ## If TRUE, HelloWorld Application will print the verbose information.
299 # This PCD is a sample to explain FeatureFlag PCD usage.
300 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a
301
302 ## If TRUE, FULL FTW protocol services (total six APIs) will be produced.
303 # If FASLE, only FTW Write service is available.
304 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b
305
306 ## If TRUE, DXE IPL must support the UEFI decompression algorithm.
307 # If FALSE, DXE IPL will not support UEFI decompression to save space.
308 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c
309
310 ## This PCD specifies whether PciBus supports the hot plug device.
311 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE|BOOLEAN|0x0001003d
312
313 ## This PCD specifies whether the PCI bus driver probes non-standard,
314 # such as 2K/1K/512, granularity for PCI to PCI bridge I/O window.
315 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBridgeIoAlignmentProbe|FALSE|BOOLEAN|0x0001004e
316 ## This PCD specifies whether StatusCode is reported via Serial port.
317 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
318
319 ## This PCD specifies whether StatusCode is stored in memory.
320 # The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.
321 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
322
323 ## This PCD specifies whether Peiphase StatusCode is replayed in DxePhase.
324 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE|BOOLEAN|0x0001002d
325
326 ## This PCD specified whether ACPI SDT protocol is installed.
327 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|FALSE|BOOLEAN|0x0001004d
328
329 ## If TRUE, then unaligned I/O, MMIO, and PCI Configuration cycles through the PCI I/O Protocol are enabled.
330 # If FALSE, then unaligned I/O, MMIO, and PCI Configuration cycles through the PCI I/O Protocol are disabled.
331 # The default value for this PCD is to disable support for unaligned PCI I/O Protocol requests.
332 gEfiMdeModulePkgTokenSpaceGuid.PcdUnalignedPciIoEnable|FALSE|BOOLEAN|0x0001003e
333
334 ## This PCD specifies whether TEXT statement is always set to GrayOut statement in HII Form Browser.
335 # If TRUE, TEXT statement will always be set to GrayOut.
336 # If FALSE, TEXT statement will be set to GrayOut only when GrayOut condition is TRUE.
337 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|FALSE|BOOLEAN|0x0001004f
338
339 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
340 ##
341 # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.
342 # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;
343 # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.
344 # It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore
345 # is built in firmware.
346 #
347 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b
348
349 [PcdsFixedAtBuild]
350 ## Dynamic type PCD can be registered callback function for Pcd setting action.
351 # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function
352 # for a dynamic PCD used in PEI phase.
353 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f
354
355 ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress
356 # to store PCD value.
357 #
358 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010
359
360 ## Maximum number of FV is supported by PeiCore's dispatching.
361 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030
362
363 ## Maximum PEIM count in every FV is supported by PeiCore's dispatching.
364 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031
365
366 ## Maximum stack size for PeiCore.
367 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032
368
369 ## Maximum PPI count is supported by PeiCore's PPI database.
370 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033
371
372 ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize
373 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
374 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
375 # be reflushed through the manner of fault tolerant write.
376 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002
377
378 ## The maximum size of single common variable, that is non-HwErr type varible.
379 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003
380
381 ## The maximum size of single hardware error record variable.
382 # In IA32/X64 platforms, this value should be larger than 1KB.
383 # In IA64 platforms, this value should be larger than 128KB.
384 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004
385
386 ## The size of reserved HwErr variable space. Note that this value must be less than or equal to PcdFlashNvStorageVariableSize
387 # In EdkII implementation, HwErr type variable is stored with common non-volatile variables in the same NV region.
388 # so the platform integrator should ensure this value is less than or equal to PcdFlashNvStorageVariableSize.
389 # this value is used to guarantee the space of HwErr type variable and not populated by common variable.
390 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0000|UINT32|0x30000006
391
392 ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable.
393 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005
394
395 ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize
396 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
397 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
398 # be reflushed through the manner of fault tolerant write.
399 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014
400
401 ## Size of the FTW working block range.
402 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011
403
404 ## FFS filename to find the ACPI tables
405 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|0x30000016
406
407 ## Single root I/O virtualization virtual function memory BAR alignment
408 # BITN set indicates 2 of n+12 power
409 # BIT0 set indicates 4KB alignment
410 # BIT1 set indicates 8KB alignment
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1|UINT32|0x10000047
412
413 ## Flag of enabling/disabling the feature of Loading Module at Fixed Address
414 # -1: Enable the feature as fixed offset to TOLM
415 # 0: Disable the feature.
416 # Positive Value: Enable the feature as fixed absolute address, and the value is the top memory address
417 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015
418
419 ## Smbios version
420 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0207|UINT16|0x00010055
421
422 ## TFTP BlockSize. Initial value 0 means using default block size which is (MTU-IP_HEADER-UDP_HEADER-TFTP_HEADER)
423 # to handle all link layers. If the value is non zero, the PCD value will be used as block size.
424 #
425 gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x30001026
426
427 [PcdsFixedAtBuild,PcdsPatchableInModule]
428 ## Maximun number of performance log entries during PEI phase.
429 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f
430
431 ## RTC Update Timeout Value
432 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034
433
434 ## If TRUE, then 16550 serial port registers are in MMIO space.
435 # If FALSE, then 16550 serial port registers are in I/O space. Default value.
436 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE|BOOLEAN|0x00020000
437
438 ## If TRUE, then the 16550 serial port hardware flow control is enabled.
439 # If FALSE, then the 16550 serial port hardware flow control is disabled. Default value.
440 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE|BOOLEAN|0x00020001
441
442 ## If TRUE, then 16550 serial Tx operations will block if DSR is not asserted (no cable).
443 # If FALSE, then the 16550 serial Tx operations will not be blocked if DSR is not asserted. Default value.
444 # This PCD is ignored if PcdSerialUseHardwareFlowControl is FALSE.
445 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE|BOOLEAN|0x00020006
446
447 ## Base address of 16550 serial port registers in MMIO or I/O space. Default is 0x3F8.
448 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x03F8|UINT64|0x00020002
449
450 ## Baud rate for the 16550 serial port. Default is 115200 baud.
451 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|115200|UINT32|0x00020003
452
453 ## Line Control Register (LCR) for the 16550 serial port. This encodes data bits, parity, and stop bits.
454 # BIT1..BIT0 - Data bits. 00b = 5 bits, 01b = 6 bits, 10b = 7 bits, 11b = 8 bits
455 # BIT2 - Stop Bits. 0 = 1 stop bit. 1 = 1.5 stop bits if 5 data bits selected, otherwise 2 stop bits.
456 # BIT5..BIT2 - Parity. xx0b = No Parity, 001b = Odd Parity, 011b = Even Parity, 101b = Mark Parity, 111b=Stick Parity
457 # BIT7..BIT6 - Reserved. Must be 0.
458 #
459 # Default is No Parity, 8 Data Bits, 1 Stop Bit.
460 #
461 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03|UINT8|0x00020004
462
463 ## FIFO Control Register (FCR) for the 16550 serial port.
464 # BIT0 - FIFO Enable. 0 = Disable FIFOs. 1 = Enable FIFOs.
465 # BIT1 - Clear receive FIFO. 1 = Clear FIFO.
466 # BIT2 - Clear transmit FIFO. 1 = Clear FIFO.
467 # BIT4..BIT3 - Reserved. Must be 0.
468 # BIT5 - Enable 64-byte FIFO. 0 = Disable 64-byte FIFO. 1 = Enable 64-byte FIFO
469 # BIT7..BIT6 - Reserved. Must be 0.
470 #
471 # Default is to enable and clear all FIFOs.
472 #
473 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07|UINT8|0x00020005
474
475 ## Maximum address that the DXE Core will allocate the EFI_SYSTEM_TABLE_POINTER
476 # structure. The default value for this PCD is 0, which means that the DXE Core
477 # will allocate the buffer from the EFI_SYSTEM_TABLE_POINTER structure on a 4MB
478 # boundary as close to the top of memory as feasible. If this PCD is set to a
479 # value other than 0, then the DXE Core will first attempt to allocate the
480 # EFI_SYSTEM_TABLE_POINTER structure on a 4MB boundary below the address specified
481 # by this PCD, and if that allocation fails, retry the allocation on a 4MB
482 # boundary as close to the top of memory as feasible.
483 #
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress|0x0|UINT64|0x30001027
485
486 [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
487 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec
488 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006
489
490 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec
491 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007
492
493 [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx]
494 ## Base address of the NV variable range in flash device
495 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001
496
497 ## Base address of the FTW spare block range in flash device.
498 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013
499
500 ## Base address of the FTW working block range in flash device.
501 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010
502
503 ## 64-bit Base address of the NV variable range in flash device
504 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0|UINT64|0x80000001
505
506 ## 64-bit Base address of the FTW spare block range in flash device.
507 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0|UINT64|0x80000013
508
509 ## 64-bit Base address of the FTW working block range in flash device.
510 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0|UINT64|0x80000010
511
512 ## This PCD defines the print string.
513 # This PCD is a sample to explain String typed PCD usage.
514 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004
515
516 ## This PCD defines a reserved memory range for the EMU Variable driver's NV Variable Store
517 # The range is valid if non-zero. The memory range size must be PcdVariableStoreSize.
518 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0|UINT64|0x40000008
519
520 ## This PCD specifies whether the Single Root I/O virtualization support.
521 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE|BOOLEAN|0x10000044
522
523 ## This PCD specifies whether the Alternative Routing-ID support.
524 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE|BOOLEAN|0x10000045
525
526 ## This PCD specifies whether the Multi Root I/O virtualization support.
527 gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE|BOOLEAN|0x10000046
528
529 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
530 ## This PCD defines the times to print hello world string.
531 # This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.
532 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005
533
534 ## Indicate the max size of the capsule image with reset flag that the platform can support.
535 # The default max size is 100MB (0x6400000) for more than one large capsule images.
536 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e
537
538 ## Indicate the max size of the capsule image without reset flag that the platform can support.
539 # The default max size is 10MB (0xa00000) for the casule image without reset flag setting.
540 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f
541
542 ## Null-terminated Unicode string of the firmware vendor name that is default name filled into the EFI System Table
543 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK II"|VOID*|0x00010050
544
545 ## Firmware revision that is default value filled into the EFI System Table
546 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|0x00010000|UINT32|0x00010051
547
548 ## Null-terminated Unicode string that described the firmware version
549 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L""|VOID*|0x00010052
550
551 ## Null-terminated Unicode string that contains the date the formware was released
552 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L""|VOID*|0x00010053
553
554 ## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to true
555 # (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.
556 # The default value in PeiPhase is 1 KBytes.
557 # The default value in DxePhase is 128 KBytes.
558 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010054
559
560 ## This PCD specifies whether to reset system when memory type information changes.
561 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE|BOOLEAN|0x00010056
562
563 ## Specify the foreground color for Subtile text in HII Form Browser. The default value is EFI_BLUE.
564 # Only following values defined in UEFI specification are valid:
565 # 0x00 (EFI_BLACK)
566 # 0x01 (EFI_BLUE)
567 # 0x02 (EFI_GREEN)
568 # 0x03 (EFI_CYAN)
569 # 0x04 (EFI_RED)
570 # 0x05 (EFI_MAGENTA)
571 # 0x06 (EFI_BROWN)
572 # 0x07 (EFI_LIGHTGRAY)
573 # 0x08 (EFI_DARKGRAY)
574 # 0x09 (EFI_LIGHTBLUE)
575 # 0x0A (EFI_LIGHTGREEN)
576 # 0x0B (EFI_LIGHTCYAN)
577 # 0x0C (EFI_LIGHTRED)
578 # 0x0D (EFI_LIGHTMAGENTA)
579 # 0x0E (EFI_YELLOW)
580 # 0x0F (EFI_WHITE)
581 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x01|UINT8|0x00010057
582
583 ## Specify the foreground color for prompt and Question value text in HII Form Browser. The default value is EFI_BLACK.
584 # Only following values defined in UEFI specification are valid:
585 # 0x00 (EFI_BLACK)
586 # 0x01 (EFI_BLUE)
587 # 0x02 (EFI_GREEN)
588 # 0x03 (EFI_CYAN)
589 # 0x04 (EFI_RED)
590 # 0x05 (EFI_MAGENTA)
591 # 0x06 (EFI_BROWN)
592 # 0x07 (EFI_LIGHTGRAY)
593 # 0x08 (EFI_DARKGRAY)
594 # 0x09 (EFI_LIGHTBLUE)
595 # 0x0A (EFI_LIGHTGREEN)
596 # 0x0B (EFI_LIGHTCYAN)
597 # 0x0C (EFI_LIGHTRED)
598 # 0x0D (EFI_LIGHTMAGENTA)
599 # 0x0E (EFI_YELLOW)
600 # 0x0F (EFI_WHITE)
601 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x00|UINT8|0x00010058
602
603 ## Specify the foreground color for highlighted prompt and Question value text in HII Form Browser.
604 # The default value is EFI_LIGHTGRAY. Only following values defined in UEFI specification are valid:
605 # 0x00 (EFI_BLACK)
606 # 0x01 (EFI_BLUE)
607 # 0x02 (EFI_GREEN)
608 # 0x03 (EFI_CYAN)
609 # 0x04 (EFI_RED)
610 # 0x05 (EFI_MAGENTA)
611 # 0x06 (EFI_BROWN)
612 # 0x07 (EFI_LIGHTGRAY)
613 # 0x08 (EFI_DARKGRAY)
614 # 0x09 (EFI_LIGHTBLUE)
615 # 0x0A (EFI_LIGHTGREEN)
616 # 0x0B (EFI_LIGHTCYAN)
617 # 0x0C (EFI_LIGHTRED)
618 # 0x0D (EFI_LIGHTMAGENTA)
619 # 0x0E (EFI_YELLOW)
620 # 0x0F (EFI_WHITE)
621 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextHighlightColor|0x07|UINT8|0x00010059
622
623 ## Specify the background color for highlighted prompt and Question value text in HII Form Browser.
624 # The default value is EFI_BACKGROUND_BLACK. Only following values defined in UEFI specification are valid:
625 # 0x00 (EFI_BACKGROUND_BLACK)
626 # 0x10 (EFI_BACKGROUND_BLUE)
627 # 0x20 (EFI_BACKGROUND_GREEN)
628 # 0x30 (EFI_BACKGROUND_CYAN)
629 # 0x40 (EFI_BACKGROUND_RED)
630 # 0x50 (EFI_BACKGROUND_MAGENTA)
631 # 0x60 (EFI_BACKGROUND_BROWN)
632 # 0x70 (EFI_BACKGROUND_LIGHTGRAY)
633 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldBackgroundHighlightColor|0x00|UINT8|0x0001005A
634
635 [PcdsPatchableInModule]
636 ## Specify memory size with page number for PEI code when
637 # the feature of Loading Module at Fixed Address is enabled
638 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber|0|UINT32|0x00000029
639
640 ## Specify memory size with page number for DXE boot time code when
641 # the feature of Loading Module at Fixed Address is enabled
642 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber|0|UINT32|0x0000002a
643
644 ## Specify memory size with page number for DXE runtime code when
645 # the feature of Loading Module at Fixed Address is enabled
646 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber|0|UINT32|0x0000002b
647
648 ## Specify memory size with page number for SMM code when
649 # the feature of Loading Module at Fixed Address is enabled
650 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c
651