blob: 7a167ac61959201cd5c8ffced1c2873fa8bb9f99 [file] [log] [blame]
eric_tian4f57ff12008-10-20 10:24:18 +00001## @file MdeModulePkg.dec
2#
vanjeffbf314e62008-10-28 02:51:12 +00003# This package provides the modules that conform to EFI/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#
qhuang84e17cc92009-03-10 14:37:30 +00007# Copyright (c) 2007 - 2009, Intel Corporation.
vanjeffb7d286b2007-06-22 09:15:22 +00008#
9# All rights reserved.
eric_tian4f57ff12008-10-20 10:24:18 +000010# This program and the accompanying materials are licensed and made available under
11# the terms and conditions of the BSD License which accompanies this distribution.
12# The full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
vanjeffed838d02007-07-12 17:31:28 +000014#
eric_tian4f57ff12008-10-20 10:24:18 +000015# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
vanjeffb7d286b2007-06-22 09:15:22 +000017#
eric_tian4f57ff12008-10-20 10:24:18 +000018##
vanjeffb7d286b2007-06-22 09:15:22 +000019
20
vanjeffb7d286b2007-06-22 09:15:22 +000021[Defines]
22 DEC_SPECIFICATION = 0x00010005
klu284e20852007-06-26 06:11:37 +000023 PACKAGE_NAME = MdeModulePkg
vanjeffb7d286b2007-06-22 09:15:22 +000024 PACKAGE_GUID = BA0D78D6-2CAF-414b-BD4D-B6762A894288
vanjeff73850862009-07-29 14:33:45 +000025 PACKAGE_VERSION = 0.90
vanjeffb7d286b2007-06-22 09:15:22 +000026
AJFISH3a98b772007-06-28 20:26:24 +000027[Includes.common]
vanjeffed838d02007-07-12 17:31:28 +000028 Include
vanjeffb7d286b2007-06-22 09:15:22 +000029
yshang130143b12007-08-28 03:01:58 +000030
31[LibraryClasses.common]
eric_tian4f57ff12008-10-20 10:24:18 +000032 ## @libraryclass IpIo layer upon EFI IP4 Protocol.
eric_tian93367602009-03-12 05:10:53 +000033 # This library is only intended to be used by UEFI network stack modules.
yshang130143b12007-08-28 03:01:58 +000034 IpIoLib|Include/Library/IpIoLib.h
vanjeff73850862009-07-29 14:33:45 +000035
eric_tian4f57ff12008-10-20 10:24:18 +000036 ## @libraryclass Basic function for UEFI network stack.
eric_tian93367602009-03-12 05:10:53 +000037 # This library is only intended to be used by UEFI network stack modules.
gtian518d3952007-11-05 16:11:50 +000038 NetLib|Include/Library/NetLib.h
vanjeff73850862009-07-29 14:33:45 +000039
eric_tian4f57ff12008-10-20 10:24:18 +000040 ## @libraryclass The helper routines to access UDP service.
eric_tian93367602009-03-12 05:10:53 +000041 # This library is only intended to be used by UEFI network stack modules.
yshang130143b12007-08-28 03:01:58 +000042 UdpIoLib|Include/Library/UdpIoLib.h
vanjeff73850862009-07-29 14:33:45 +000043
lgao497b2c9b2009-03-05 05:05:57 +000044 ## @libraryclass Defines a set of methods to reset whole system.
45 ResetSystemLib|Include/Library/ResetSystemLib.h
46
eric_tian4f57ff12008-10-20 10:24:18 +000047 ## @libraryclass Defines a set of methods related do S3 mode.
qhuang805d71052009-08-11 15:52:20 +000048 # This library class is no longer used and modules using this library should
49 # directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.
klu24fb31c22007-09-26 09:35:36 +000050 S3Lib|Include/Library/S3Lib.h
vanjeff73850862009-07-29 14:33:45 +000051
eric_tian4f57ff12008-10-20 10:24:18 +000052 ## @libraryclass Defines a set of methods related recovery mode.
qhuang805d71052009-08-11 15:52:20 +000053 # This library class is no longer used and modules using this library should
54 # directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specification.
klu24fb31c22007-09-26 09:35:36 +000055 RecoveryLib|Include/Library/RecoveryLib.h
vanjeff73850862009-07-29 14:33:45 +000056
qhuang8804dbc32008-11-13 08:42:57 +000057 ## @libraryclass Provides HII related functions.
58 HiiLib|Include/Library/HiiLib.h
vanjeff73850862009-07-29 14:33:45 +000059
eric_tian4f57ff12008-10-20 10:24:18 +000060 ## @libraryclass Defines a set of interfaces on how to process capusle image update.
klu230d3be32008-04-21 03:42:38 +000061 CapsuleLib|Include/Library/CapsuleLib.h
vanjeff73850862009-07-29 14:33:45 +000062
eric_tian4f57ff12008-10-20 10:24:18 +000063 ## @libraryclass Library for Deferred Procedure Calls.
lgao4f02d0c02008-07-28 05:51:09 +000064 DpcLib|Include/Library/DpcLib.h
65
vanjeff73850862009-07-29 14:33:45 +000066 ## @libraryclass Provides global variables that are pointers
lgao4a90ccab2009-08-07 02:20:01 +000067 # to the UEFI HII related protocols.
68 #
klu2da801a62009-05-07 02:46:03 +000069 UefiHiiServicesLib|Include/Library/UefiHiiServicesLib.h
lgao49a6dcbf2009-04-09 15:18:19 +000070
vanjeffb7d286b2007-06-22 09:15:22 +000071[Guids.common]
lgao4f02d0c02008-07-28 05:51:09 +000072 ## MdeModule package token space guid
lgao4a90ccab2009-08-07 02:20:01 +000073 # Include/Guid/MdeModulePkgTokenSpace.h
yshang1351986a2007-07-23 06:43:10 +000074 gEfiMdeModulePkgTokenSpaceGuid = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}
lgao4f02d0c02008-07-28 05:51:09 +000075
76 ## Hob guid for Pcd DataBase
lgao4a90ccab2009-08-07 02:20:01 +000077 # Include/Guid/PcdDataBaseHobGuid.h
lgao4f02d0c02008-07-28 05:51:09 +000078 gPcdDataBaseHobGuid = { 0xEA296D92, 0x0B69, 0x423C, { 0x8C, 0x28, 0x33, 0xB4, 0xE0, 0xA9, 0x12, 0x68 }}
vanjeff73850862009-07-29 14:33:45 +000079
lgao45c526732009-02-23 15:18:48 +000080 ## Guid for EDKII implementation GUIDed opcodes
lgao497b2c9b2009-03-05 05:05:57 +000081 # Include/Guid/MdeModuleHii.h
lgao45c526732009-02-23 15:18:48 +000082 gEfiIfrTianoGuid = { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce }}
vanjeff73850862009-07-29 14:33:45 +000083
lgao45c526732009-02-23 15:18:48 +000084 ## Guid for Framework vfr GUIDed opcodes.
lgao497b2c9b2009-03-05 05:05:57 +000085 # Include/Guid/MdeModuleHii.h
lgao45c526732009-02-23 15:18:48 +000086 gEfiIfrFrameworkGuid = { 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 }}
vanjeff73850862009-07-29 14:33:45 +000087
lgao4f02d0c02008-07-28 05:51:09 +000088 ## Guid to specify the System Non Volatile FV
lgao4a90ccab2009-08-07 02:20:01 +000089 # Include/Guid/SystemNvDataGuid.h
yshang1351986a2007-07-23 06:43:10 +000090 gEfiSystemNvDataFvGuid = { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
vanjeff73850862009-07-29 14:33:45 +000091
lgao4f02d0c02008-07-28 05:51:09 +000092 ## Guid specify the device is the console out device.
lgao4a90ccab2009-08-07 02:20:01 +000093 # Include/Guid/ConsoleOutDevice.h
yshang1351986a2007-07-23 06:43:10 +000094 gEfiConsoleOutDeviceGuid = { 0xD3B36F2C, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
yshang1351986a2007-07-23 06:43:10 +000095
lgao4f02d0c02008-07-28 05:51:09 +000096 ## Guid specify the device is the console in device.
lgao4a90ccab2009-08-07 02:20:01 +000097 # Include/Guid/ConsoleInDevice.h
lgao4f02d0c02008-07-28 05:51:09 +000098 gEfiConsoleInDeviceGuid = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
vanjeff73850862009-07-29 14:33:45 +000099
lgao4f02d0c02008-07-28 05:51:09 +0000100 ## Hob and Variable guid specify the platform memory type information.
lgao4a90ccab2009-08-07 02:20:01 +0000101 # Include/Guid/MemoryTypeInformation.h
yshang1351986a2007-07-23 06:43:10 +0000102 gEfiMemoryTypeInformationGuid = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}
vanjeff73850862009-07-29 14:33:45 +0000103
lgao4f02d0c02008-07-28 05:51:09 +0000104 ## Capsule update hob and variable guid
lgao4a90ccab2009-08-07 02:20:01 +0000105 # Include/Guid/CapsuleVendor.h
yshang1351986a2007-07-23 06:43:10 +0000106 gEfiCapsuleVendorGuid = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }}
vanjeff73850862009-07-29 14:33:45 +0000107
lgao4f02d0c02008-07-28 05:51:09 +0000108 ## Guid specifiy the device is the StdErr device.
lgao4a90ccab2009-08-07 02:20:01 +0000109 # Include/Guid/StandardErrorDevice.h
yshang1351986a2007-07-23 06:43:10 +0000110 gEfiStandardErrorDeviceGuid = { 0xD3B36F2D, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
vanjeff73850862009-07-29 14:33:45 +0000111
eric_tian3709c4c2009-02-27 05:35:08 +0000112 ## 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 +0000113 # Include/Guid/VariableFormat.h
eric_tian3709c4c2009-02-27 05:35:08 +0000114 gEfiVariableGuid = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
vanjeff73850862009-07-29 14:33:45 +0000115
qhuang82db4a772009-02-23 03:09:14 +0000116 ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID
lgao4a90ccab2009-08-07 02:20:01 +0000117 # Include/Guid/Performance.h
qhuang82db4a772009-02-23 03:09:14 +0000118 gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }}
yshang11df7a022007-07-20 14:05:54 +0000119
lgao476f1dde2009-02-24 07:53:20 +0000120 ## Guid is defined for CRC32 encapsulation scheme.
lgao4a90ccab2009-08-07 02:20:01 +0000121 # Include/Guid/Crc32GuidedSectionExtraction.h
lgao476f1dde2009-02-24 07:53:20 +0000122 gEfiCrc32GuidedSectionExtractionGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } }
123
vanjeff63886842009-05-13 09:29:44 +0000124 ## Include/Guid/NicIp4ConfigNvData.h
125 gEfiNicIp4ConfigVariableGuid = {0xd8944553, 0xc4dd, 0x41f4, { 0x9b, 0x30, 0xe1, 0x39, 0x7c, 0xfb, 0x26, 0x7b }}
126
vanjeff73850862009-07-29 14:33:45 +0000127[Protocols.common]
eric_tian023c0fe2009-04-17 04:47:55 +0000128 ## Load File protocol provides capability to load and unload EFI image into memory and execute it.
lgao4a90ccab2009-08-07 02:20:01 +0000129 # Include/Protocol/LoadPe32Image.h
130 # This protocol is deprecated. Native EDKII module should NOT use this protocol to load/unload image.
131 # If developer need implement such functionality, they should use BasePeCoffLib.
eric_tian023c0fe2009-04-17 04:47:55 +0000132 gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }}
vanjeff73850862009-07-29 14:33:45 +0000133
mdkinney504dcb02009-05-30 23:49:35 +0000134 ## Print protocol defines basic print functions to print the format unicode and ascii string.
lgao4a90ccab2009-08-07 02:20:01 +0000135 # Include/Protocol/Print2.h
mdkinney504dcb02009-05-30 23:49:35 +0000136 gEfiPrint2ProtocolGuid = { 0xf05976ef, 0x83f1, 0x4f3d, { 0x86, 0x19, 0xf7, 0x59, 0x5d, 0x41, 0xe5, 0x38 } }
qwang122dd4c602008-09-02 01:19:59 +0000137
lgao4346cf9a2008-12-03 08:55:36 +0000138 ## This protocol defines the generic memory test interfaces in Dxe phase.
lgao4a90ccab2009-08-07 02:20:01 +0000139 # Include/Protocol/GenericMemoryTest.h
yshang1351986a2007-07-23 06:43:10 +0000140 gEfiGenericMemTestProtocolGuid = { 0x309DE7F1, 0x7F5E, 0x4ACE, { 0xB4, 0x9C, 0x53, 0x1B, 0xE5, 0xAA, 0x95, 0xEF }}
vanjeff73850862009-07-29 14:33:45 +0000141
gikidy55e4e172009-02-20 05:07:14 +0000142 ## Include/Protocol/Dpc.h
vanjeff36ee91c2007-11-20 05:42:23 +0000143 gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}
vanjeff73850862009-07-29 14:33:45 +0000144
lgao485e923a2009-03-04 01:05:31 +0000145 ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.
146 # Include/Protocol/FaultTolerantWrite.h
147 gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}
vanjeff73850862009-07-29 14:33:45 +0000148
lgao485e923a2009-03-04 01:05:31 +0000149 ## This protocol is used to abstract the swap operation of boot block and backup block of boot FV.
150 # Include/Protocol/SwapAddressRange.h
151 gEfiSwapAddressRangeProtocolGuid = { 0x1259F60D, 0xB754, 0x468E, { 0xA7, 0x89, 0x4D, 0xB8, 0x5D, 0x55, 0xE8, 0x7E }}
vanjeff73850862009-07-29 14:33:45 +0000152
gikidya86ae182009-03-03 02:54:56 +0000153[PcdsFeatureFlag]
lgao4f02d0c02008-07-28 05:51:09 +0000154 ## Indicate whether platform can support update capsule across a system reset
lgao4109e9a62009-01-04 03:20:55 +0000155 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d
vanjeff73850862009-07-29 14:33:45 +0000156
lgao4f806dd22009-02-25 09:04:47 +0000157 ## This feature flag can be used to enable or disable all PCD PEIM services.
lgao4aa19fa52009-02-27 04:55:17 +0000158 # If TRUE, all PCD PPI services will be produced.
lgao4a90ccab2009-08-07 02:20:01 +0000159 # If FALSE, the minimal PCD PEIM services (only GetService) will be produced.
lgao4f806dd22009-02-25 09:04:47 +0000160 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiFullPcdDatabaseEnable|TRUE|BOOLEAN|0x00010020
161
lgao4f02d0c02008-07-28 05:51:09 +0000162 ## If TRUE, then the Device Path To Text Protocol should be produced by the platform.
163 # It can be disabled to save size.
qhuang8348c8132007-12-05 06:32:21 +0000164 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE|BOOLEAN|0x00010037
vanjeff73850862009-07-29 14:33:45 +0000165
lgao4f02d0c02008-07-28 05:51:09 +0000166 ## If TRUE, then the Device Path From Text Protocol should be produced by the platform.
167 # It can be disabled to save size.
qhuang8348c8132007-12-05 06:32:21 +0000168 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE|BOOLEAN|0x00010038
vanjeff73850862009-07-29 14:33:45 +0000169
eric_tianfc9da5a2009-03-04 08:26:34 +0000170 ## If TRUE, enable the statistic functionality about variable usage. Such information is
171 # stored as a vendor configuration table into the EFI system table.
eric_tian5e895e62009-06-18 08:23:57 +0000172 # If user wants to use VariableInfo application in MdeModulePkg\Application directory to get
vanjeff73850862009-07-29 14:33:45 +0000173 # variable usage info, this pcd should be set as TRUE. Otherwise VariableInfo application can
eric_tian5e895e62009-06-18 08:23:57 +0000174 # not output useful info.
AJFISH33a5a662007-10-04 21:01:21 +0000175 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE|BOOLEAN|0x0001003f
vanjeff73850862009-07-29 14:33:45 +0000176
lgao4f02d0c02008-07-28 05:51:09 +0000177 ## If TRUE, Unicode Collation Protocol will be installed.
qhuang8ac12a162007-10-09 03:16:39 +0000178 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE|BOOLEAN|0x00010040
vanjeff73850862009-07-29 14:33:45 +0000179
lgao4f02d0c02008-07-28 05:51:09 +0000180 ## If TRUE, Unicode Collation 2 Protocol will be installed.
qhuang8ac12a162007-10-09 03:16:39 +0000181 gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE|BOOLEAN|0x00010041
vanjeff73850862009-07-29 14:33:45 +0000182
vanjeffcebfa892009-02-23 06:19:05 +0000183 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
184 # It could be set FALSE to save size.
vanjeffd0c64722007-10-16 05:30:18 +0000185 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE|BOOLEAN|0x00010042
vanjeff73850862009-07-29 14:33:45 +0000186
vanjeffcebfa892009-02-23 06:19:05 +0000187 ## If TRUE, UGA Draw Protocol will be installed on virtual handle created by ConsplitterDxe.
188 # It could be set FALSE to save size.
vanjeffd0c64722007-10-16 05:30:18 +0000189 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE|BOOLEAN|0x00010043
vanjeff73850862009-07-29 14:33:45 +0000190
lgao4aa19fa52009-02-27 04:55:17 +0000191 ## If TRUE, when PeiCore dispatches a PEI module, PeiCore will first search TE section from this PEIM to load the image.
192 # If TE section is not found, then PeiCore will search PE section.
193 # If FALSE, PeiCore will first search PE section from PEIM to load the image.
194 # This PCD is used to tune Pei phase performance to reduce the search image time.
195 # It can be set according to the generated image section type.
qwang1230763972007-11-15 09:00:14 +0000196 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044
vanjeff73850862009-07-29 14:33:45 +0000197
eric_tianfc9da5a2009-03-04 08:26:34 +0000198 ## If TRUE, force to switch off the support of legacy usb. So legacy usb device driver can not make use of SMI
199 # interrupt to access usb device in the case of absence of usb stack.
qhuang8cc582cf2008-05-06 09:34:46 +0000200 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047
qwang12aa103f42008-07-17 03:23:14 +0000201
lgao4f02d0c02008-07-28 05:51:09 +0000202 ## If TRUE, HiiImageProtocol will be installed.
203 # FALSE is for size reduction.
qwang12813acf32008-06-23 09:41:33 +0000204 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
vanjeff73850862009-07-29 14:33:45 +0000205
xli24a8e1ed52009-02-23 05:15:48 +0000206 ## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
207 # The default keyboard layout serves as the backup when no keyboard layout can be retrieved
208 # from HII database.
qwang12813acf32008-06-23 09:41:33 +0000209 gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver|FALSE|BOOLEAN|0x00010200
vanjeff88f20122007-06-26 08:03:14 +0000210
vanjeff73850862009-07-29 14:33:45 +0000211 ## If TRUE, Setup Browser supports GUID opcodes generated from Framework HII VFR file by VFR compiler.
lgao4f806dd22009-02-25 09:04:47 +0000212 # If TRUE, the PeiCore will handle the framework FvHob and install FvInfo PPI for it.
lgao4a90ccab2009-08-07 02:20:01 +0000213 # This is used to provide backward compatibility support to Framework HII and Framework FvHob.
lgao4f806dd22009-02-25 09:04:47 +0000214 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|FALSE|BOOLEAN|0x00012009
vanjeff73850862009-07-29 14:33:45 +0000215
lgao4a90ccab2009-08-07 02:20:01 +0000216 ## If TRUE, HelloWorld Application will print the verbose information.
lgao4223c22d2008-09-19 05:05:40 +0000217 # This PCD is a sample to explain FeatureFlag PCD usage.
lgao4223c22d2008-09-19 05:05:40 +0000218 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable|TRUE|BOOLEAN|0x0001200a
qwang1241ad45c2008-08-18 08:12:32 +0000219
lgao4a90ccab2009-08-07 02:20:01 +0000220 ## If TRUE, FULL FTW protocol services (total six APIs) will be produced.
lgao485e923a2009-03-04 01:05:31 +0000221 # If FASLE, only FTW Write service is available.
jljusten72670d32009-04-27 18:26:12 +0000222 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200b
223
lgao4a90ccab2009-08-07 02:20:01 +0000224 ## If TRUE, DXE IPL must support the UEFI decompression algorithm.
jljusten72670d32009-04-27 18:26:12 +0000225 # If FALSE, DXE IPL will not support UEFI decompression to save space.
226 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE|BOOLEAN|0x0001200c
lgao485e923a2009-03-04 01:05:31 +0000227
qhuang84e17cc92009-03-10 14:37:30 +0000228[PcdsFeatureFlag.IA32]
vanjeff73850862009-07-29 14:33:45 +0000229 ##
qhuang84e17cc92009-03-10 14:37:30 +0000230 # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.
231 # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;
232 # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.
233 # It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore
234 # is built in firmware.
235 #
236 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b
237
gikidya86ae182009-03-03 02:54:56 +0000238[PcdsFixedAtBuild]
klu21cedc892008-07-28 03:09:46 +0000239 ## Dynamic type PCD can be registered callback function for Pcd setting action.
240 # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function
241 # for a dynamic PCD used in PEI phase.
qhuang8b3af5df2007-08-30 09:11:54 +0000242 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f
eric_tian9dddc0f2008-11-05 17:05:38 +0000243
klu21cedc892008-07-28 03:09:46 +0000244 ## VPD type PCD allow developer point an absoluted physical address PcdVpdBaseAddress
vanjeff73850862009-07-29 14:33:45 +0000245 # to store PCD value.
klu21cedc892008-07-28 03:09:46 +0000246 #
qhuang8b3af5df2007-08-30 09:11:54 +0000247 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0|UINT32|0x00010010
vanjeff73850862009-07-29 14:33:45 +0000248
klu21cedc892008-07-28 03:09:46 +0000249 ## Maximum number of FV is supported by PeiCore's dispatching.
qwang12177aabe2007-10-15 11:15:39 +0000250 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6|UINT32|0x00010030
lgao4f02d0c02008-07-28 05:51:09 +0000251
klu21cedc892008-07-28 03:09:46 +0000252 ## Maximum PEIM count in every FV is supported by PeiCore's dispatching.
qwang12177aabe2007-10-15 11:15:39 +0000253 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32|UINT32|0x00010031
lgao4f02d0c02008-07-28 05:51:09 +0000254
klu21cedc892008-07-28 03:09:46 +0000255 ## Maximum stack size for PeiCore.
klu258dcdad2008-02-29 18:24:43 +0000256 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x20000|UINT32|0x00010032
lgao4f02d0c02008-07-28 05:51:09 +0000257
klu21cedc892008-07-28 03:09:46 +0000258 ## Maximum PPI count is supported by PeiCore's PPI database.
lgao4eaf539d2008-04-14 05:39:13 +0000259 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033
vanjeff73850862009-07-29 14:33:45 +0000260
eric_tian2fcdca12009-04-07 06:42:12 +0000261 ## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize
lgao4a90ccab2009-08-07 02:20:01 +0000262 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
263 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
264 # be reflushed through the manner of fault tolerant write.
qhuang8b3af5df2007-08-30 09:11:54 +0000265 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002
vanjeff73850862009-07-29 14:33:45 +0000266
eric_tian2fcdca12009-04-07 06:42:12 +0000267 ## The maximum size of single common variable, that is non-HwErr type varible.
gtian518d3952007-11-05 16:11:50 +0000268 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003
vanjeff73850862009-07-29 14:33:45 +0000269
eric_tian2fcdca12009-04-07 06:42:12 +0000270 ## The maximum size of single hardware error record variable.
271 # In IA32/X64 platforms, this value should be larger than 1KB.
272 # In IA64 platforms, this value should be larger than 128KB.
gtian518d3952007-11-05 16:11:50 +0000273 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000|UINT32|0x30000004
vanjeff73850862009-07-29 14:33:45 +0000274
eric_tian48cd9922009-08-26 02:59:28 +0000275 ## The size of reserved HwErr variable space. Note that this value must be less than or equal to PcdFlashNvStorageVariableSize
276 # In EdkII implementation, HwErr type variable is stored with common non-volatile variables in the same NV region.
277 # so the platform integrator should ensure this value is less than or equal to PcdFlashNvStorageVariableSize.
eric_tian2fcdca12009-04-07 06:42:12 +0000278 # 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 +0000279 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0000|UINT32|0x30000006
eric_tian2fcdca12009-04-07 06:42:12 +0000280
281 ## The size of volatile buffer. This buffer is used to store VOLATILE attribute variable.
gtian518d3952007-11-05 16:11:50 +0000282 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000|UINT32|0x30000005
eric_tian2fcdca12009-04-07 06:42:12 +0000283
284 ## Size of the FTW spare block range. Note that this value should larger than PcdFlashNvStorageVariableSize
285 # The root cause is that variable driver will use FTW protocol to reclaim variable region.
286 # If the length of variable region is larger than FTW spare size, it means the whole variable region can not
287 # be reflushed through the manner of fault tolerant write.
qhuang8b3af5df2007-08-30 09:11:54 +0000288 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014
vanjeff73850862009-07-29 14:33:45 +0000289
lgao4f02d0c02008-07-28 05:51:09 +0000290 ## Size of the FTW working block range.
qhuang8b3af5df2007-08-30 09:11:54 +0000291 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011
jljusten3c506dd2009-03-20 18:35:25 +0000292
293 ## FFS filename to find the ACPI tables
294 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|16
295
gikidya86ae182009-03-03 02:54:56 +0000296[PcdsFixedAtBuild,PcdsPatchableInModule]
lgao4f02d0c02008-07-28 05:51:09 +0000297 ## Maximun number of performance log entries during PEI phase.
qhuang8348c8132007-12-05 06:32:21 +0000298 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f
qhuang84e17cc92009-03-10 14:37:30 +0000299
300 ## RTC Update Timeout Value
301 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034
vanjeff73850862009-07-29 14:33:45 +0000302
gikidya86ae182009-03-03 02:54:56 +0000303[PcdsPatchableInModule,PcdsDynamic]
lgao4a90ccab2009-08-07 02:20:01 +0000304 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec
qhuang84bfa7dc2009-02-24 09:17:58 +0000305 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006
vanjeff73850862009-07-29 14:33:45 +0000306
lgao4a90ccab2009-08-07 02:20:01 +0000307 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec
qhuang84e17cc92009-03-10 14:37:30 +0000308 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007
vanjeff73850862009-07-29 14:33:45 +0000309
gikidya86ae182009-03-03 02:54:56 +0000310[PcdsFixedAtBuild,PcdsDynamic]
vanjeff73850862009-07-29 14:33:45 +0000311 ## Base address of the NV variable range in flash device
gikidya86ae182009-03-03 02:54:56 +0000312 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001
vanjeff73850862009-07-29 14:33:45 +0000313
gikidya86ae182009-03-03 02:54:56 +0000314 ## Base address of the FTW spare block range in flash device.
vanjeff73850862009-07-29 14:33:45 +0000315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0|UINT32|0x30000013
316
gikidya86ae182009-03-03 02:54:56 +0000317 ## Base address of the FTW working block range in flash device.
vanjeff73850862009-07-29 14:33:45 +0000318 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010
319
lgao4a90ccab2009-08-07 02:20:01 +0000320 ## This PCD defines the print string.
qhuang84e17cc92009-03-10 14:37:30 +0000321 # This PCD is a sample to explain String typed PCD usage.
vanjeff73850862009-07-29 14:33:45 +0000322 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004
323
jljusten02328a52009-09-07 20:18:14 +0000324 ## This PCD defines a reserved memory range for the EMU Variable driver's NV Variable Store
325 # The range is valid if non-zero. The memory range size must be PcdVariableStoreSize.
326 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0|UINT64|0x40000008
327
qhuang84e17cc92009-03-10 14:37:30 +0000328[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
lgao4a90ccab2009-08-07 02:20:01 +0000329 ## This PCD defines the times to print hello world string.
qhuang84e17cc92009-03-10 14:37:30 +0000330 # This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.
qhuang84e17cc92009-03-10 14:37:30 +0000331 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005
vanjeffb7d286b2007-06-22 09:15:22 +0000332
qhuang84e17cc92009-03-10 14:37:30 +0000333 ## Indicate the max size of the populated capsule image that the platform can support.
vanjeff73850862009-07-29 14:33:45 +0000334 # The default max size is 100MB (0x6400000) for more than one large capsule images.
qhuang84e17cc92009-03-10 14:37:30 +0000335 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e
vanjeff73850862009-07-29 14:33:45 +0000336
qhuang84e17cc92009-03-10 14:37:30 +0000337 ## Indicate the max size of the non-populated capsule image that the platform can support.
338 # The default max size is 10MB (0xa00000) for the casule image without populated flag setting.
339 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f
mdkinney6144e7a2009-07-09 23:48:54 +0000340
341 ## Null-terminated Unicode string of the firmware vendor name that is default name filled into the EFI System Table
342 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK II"|VOID*|0xx00010050
vanjeff73850862009-07-29 14:33:45 +0000343
mdkinney6144e7a2009-07-09 23:48:54 +0000344 ## Firmware revision that is default value filled into the EFI System Table
345 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|0x00010000|UINT32|0x00010051
346
347 ## Null-terminated Unicode string that described the firmware version
vanjeff73850862009-07-29 14:33:45 +0000348 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L""|VOID*|0x00010052
349
mdkinney6144e7a2009-07-09 23:48:54 +0000350 ## Null-terminated Unicode string that contains the date the formware was released
351 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareReleaseDateString|L""|VOID*|0x00010053
352