OvmfPkg: annotate "PcdVariableStoreSize := PcdFlashNvStorageVariableSize"
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4a64cbda 4# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
a6d594c5 5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
49ba9447 6#\r
56d7640a 7# This program and the accompanying materials\r
49ba9447 8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
7b202cb0 15##\r
49ba9447 16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Ovmf\r
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
25 PLATFORM_VERSION = 0.1\r
713b7b5e 26 DSC_SPECIFICATION = 0x00010005\r
49ba9447 27 OUTPUT_DIRECTORY = Build/OvmfX64\r
28 SUPPORTED_ARCHITECTURES = X64\r
27214228 29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
49ba9447 30 SKUID_IDENTIFIER = DEFAULT\r
7416f4eb 31 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf\r
49ba9447 32\r
e05061c5 33 #\r
34 # Defines for default states. These can be changed on the command line.\r
35 # -D FLAG=VALUE\r
36 #\r
37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
36c6413f 38 DEFINE NETWORK_IP6_ENABLE = FALSE\r
ab44a6e8 39 DEFINE HTTP_BOOT_ENABLE = FALSE\r
1f695483 40 DEFINE SMM_REQUIRE = FALSE\r
315d9d08 41 DEFINE TLS_ENABLE = FALSE\r
6cf1880f 42 DEFINE TPM2_ENABLE = FALSE\r
e05061c5 43\r
21027073
LE
44 #\r
45 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
46 # one of the supported values, in place of any of the convenience macros, is\r
47 # permitted.\r
48 #\r
49!ifdef $(FD_SIZE_1MB)\r
50 DEFINE FD_SIZE_IN_KB = 1024\r
51!else\r
52!ifdef $(FD_SIZE_2MB)\r
53 DEFINE FD_SIZE_IN_KB = 2048\r
b24fca05
LE
54!else\r
55!ifdef $(FD_SIZE_4MB)\r
56 DEFINE FD_SIZE_IN_KB = 4096\r
21027073 57!else\r
1c47fcd4 58 DEFINE FD_SIZE_IN_KB = 4096\r
21027073
LE
59!endif\r
60!endif\r
b24fca05 61!endif\r
21027073 62\r
0bc7e56d 63[BuildOptions]\r
0b5a5022 64 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
152d9a6b 65 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
66 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
67 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
4a64cbda 68!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
4a8266f5 69 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
4a64cbda 70!endif\r
bbcafc44 71!ifdef $(SOURCE_DEBUG_ENABLE)\r
72 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
73 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
74 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
75!endif\r
0bc7e56d 76\r
b78736bd
LE
77 #\r
78 # Disable deprecated APIs.\r
79 #\r
80 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
81 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
82 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
83\r
ddd89cd5
AB
84[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
85 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
01e95975 86 XCODE:*_*_*_DLINK_FLAGS =\r
ddd89cd5 87\r
2f790bcb
JY
88# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
89# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
90[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
01e95975 92 XCODE:*_*_*_DLINK_FLAGS =\r
2f790bcb 93\r
49ba9447 94################################################################################\r
95#\r
96# SKU Identification section - list of all SKU IDs supported by this Platform.\r
97#\r
98################################################################################\r
99[SkuIds]\r
100 0|DEFAULT\r
101\r
102################################################################################\r
103#\r
104# Library Class section - list of all Library Classes needed by this Platform.\r
105#\r
106################################################################################\r
7b202cb0 107[LibraryClasses]\r
49ba9447 108 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170ef2d9 109 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
49ba9447 110 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
4a8266f5 111 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
49ba9447 112 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
7fc21c29
MK
113 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
114 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
49ba9447 115 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
116 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
117 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
118 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
49ba9447 119 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
120 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
121 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
122 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
79c098b6 123 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
79c098b6 124 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
a3cd5cd5 125 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
79c098b6 126 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
49ba9447 127 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
128 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
cd455669 129 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
49ba9447 130 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
131 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
c47ed6fc 132 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
49ba9447 133 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
75f45331 134 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
97353a9c 135 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
1630c6df 136 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 137 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
138 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
86fef5b4 139 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
140 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
141 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
142 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
143 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
5c3481b0 144 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
14b21de9 145 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
ae591c14 146 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
284af948 147 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
8273af4e 148 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
7416f4eb 149 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
150 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
151 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
152 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
689562cd 153 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
b043ebc2 154 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
fee47a26 155 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
263559b8 156 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
3c0a051f 157 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
a1f22614 158 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf\r
67d86594 159!if $(SMM_REQUIRE) == FALSE\r
6a7cba79 160 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
67d86594 161!endif\r
56af21cb 162 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
ead94b1f 163 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
c6efcc2a 164\r
165!ifdef $(SOURCE_DEBUG_ENABLE)\r
166 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
167 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
168!else\r
42a83e80 169 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
170 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
c6efcc2a 171!endif\r
152d9a6b 172\r
7ca30a6a 173 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
decb365b 174 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
8cee3de7 175 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
176\r
8cee3de7 177 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
df453e1b 178!if $(TLS_ENABLE) == TRUE\r
8cee3de7 179 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
df453e1b
LE
180!else\r
181 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
182!endif\r
6d0f8941
GL
183\r
184!if $(SECURE_BOOT_ENABLE) == TRUE\r
185 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
0d28d286 186 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
285542eb 187 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
285542eb
SZ
188!else\r
189 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
190 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
8cee3de7 191!endif\r
68ef1ad7 192 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
8cee3de7 193\r
32e22f20
GL
194!if $(NETWORK_IP6_ENABLE) == TRUE\r
195 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
196!endif\r
197\r
ab44a6e8
GCPL
198!if $(HTTP_BOOT_ENABLE) == TRUE\r
199 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
200!endif\r
201\r
315d9d08
GL
202!if $(TLS_ENABLE) == TRUE\r
203 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
204!endif\r
205\r
984ba6a4 206 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
b017b1b2
LE
207 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
208 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
48cc4d0c 209 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
df040c00 210 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
b017b1b2 211\r
6cf1880f
MAL
212!if $(TPM2_ENABLE) == TRUE\r
213 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
0c0a50d6
MAL
214 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
215 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
6cf1880f
MAL
216!endif\r
217\r
8cee3de7 218[LibraryClasses.common]\r
8cee3de7 219 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
152d9a6b 220\r
49ba9447 221[LibraryClasses.common.SEC]\r
170ef2d9 222 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
c90decb9 223 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
b90aefa9 224!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 225 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 226!else\r
c9eb56e5 227 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
b90aefa9 228!endif\r
abec2e51 229 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
fcd7e677 230 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
c6efcc2a 231!ifdef $(SOURCE_DEBUG_ENABLE)\r
232 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
233!endif\r
42a83e80 234 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
235 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
236 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
237 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
85a32c71 238 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
49ba9447 239\r
240[LibraryClasses.common.PEI_CORE]\r
49ba9447 241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
242 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
243 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
245 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
abec2e51 246 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 247 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 248 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 249!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 251!else\r
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
253!endif\r
49ba9447 254 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
255\r
256[LibraryClasses.common.PEIM]\r
49ba9447 257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
261 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
abec2e51 262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 265!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 267!else\r
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
269!endif\r
49ba9447 270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
271 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
272 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
c6efcc2a 273!ifdef $(SOURCE_DEBUG_ENABLE)\r
274 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
275!endif\r
f0e6a56a 276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
f4c59f42 277 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
b7f2e82c 278 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
639c7dd8 279 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
fee47a26 280 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
49ba9447 281\r
6cf1880f 282!if $(TPM2_ENABLE) == TRUE\r
4672a489 283 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
6cf1880f
MAL
284 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
285!endif\r
286\r
49ba9447 287[LibraryClasses.common.DXE_CORE]\r
49ba9447 288 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
289 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
290 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
abec2e51 291 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 292!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 293 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 294!else\r
295 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
296!endif\r
49ba9447 297 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
c6efcc2a 298!ifdef $(SOURCE_DEBUG_ENABLE)\r
299 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
300!endif\r
85a32c71 301 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c075d250 302 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
49ba9447 303\r
304[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
988e5986 305 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 306 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
309 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 310 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
b90aefa9 311!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 312 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 313!else\r
314 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
315!endif\r
49ba9447 316 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8cee3de7 317 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
c47ed6fc 318 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
b7f2e82c 319 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
49ba9447 320\r
321[LibraryClasses.common.UEFI_DRIVER]\r
988e5986
GS
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 324 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
325 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
326 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 327 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 328!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 329 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 330!else\r
331 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
332!endif\r
49ba9447 333 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
c47ed6fc 334 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
49ba9447 335\r
336[LibraryClasses.common.DXE_DRIVER]\r
988e5986 337 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 338 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 339 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49ba9447 340 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 341 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
49ba9447 342 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b90aefa9 343!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 344 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 345!else\r
346 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
347!endif\r
49ba9447 348 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
349 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
350 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
351 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
79c098b6 352 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
d85c5e31 353 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
85a32c71 354 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
67d86594
LE
355!if $(SMM_REQUIRE) == TRUE\r
356 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
357!else\r
6a7cba79 358 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
67d86594 359!endif\r
34511266
JJ
360!ifdef $(SOURCE_DEBUG_ENABLE)\r
361 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
362!endif\r
c47ed6fc 363 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
f4c59f42 364 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7f2e82c 365 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
0c0a50d6
MAL
366!if $(TPM2_ENABLE) == TRUE\r
367 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
368!endif\r
49ba9447 369\r
86fef5b4 370[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
371 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
372 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
86fef5b4 373 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
374 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
79c098b6 375 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 376!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 377 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 378!else\r
379 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
380!endif\r
c47ed6fc 381 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
86fef5b4 382\r
988e5986
GS
383[LibraryClasses.common.DXE_SMM_DRIVER]\r
384 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
385 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
67d86594 386 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
388 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
389 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8dbe742d
LE
390 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
391!ifdef $(DEBUG_ON_SERIAL_PORT)\r
392 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
393!else\r
394 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
395!endif\r
c30ff8f4 396 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
cbd5d723
MK
397!ifdef $(SOURCE_DEBUG_ENABLE)\r
398 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
399!endif\r
46df0216 400 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
c47ed6fc 401 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986
GS
402\r
403[LibraryClasses.common.SMM_CORE]\r
404 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
405 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
f25cb158
LE
406 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
407 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
408 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
410 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
411 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
412!ifdef $(DEBUG_ON_SERIAL_PORT)\r
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
414!else\r
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
416!endif\r
c47ed6fc 417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986 418\r
49ba9447 419################################################################################\r
420#\r
421# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
422#\r
423################################################################################\r
7b202cb0 424[PcdsFeatureFlag]\r
eccc28bf 425 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
e8d1b8d8 426 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
427 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
8fa729a8
LG
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
429 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
8fa729a8
LG
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
431 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
259d8714 432 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
1f695483
LE
433!if $(SMM_REQUIRE) == TRUE\r
434 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
896d3dcf 435 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
1f695483 436!endif\r
8fa729a8 437\r
7b202cb0 438[PcdsFixedAtBuild]\r
e6d3b270 439 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
670a64e7 440 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
49ba9447 441 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
442 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
443 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
88a30bbc 444!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
fd4ba547 445 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
f5404a3e 446 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
c95e6d09 447 # match PcdFlashNvStorageVariableSize purely for convenience\r
62f43f7c 448 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
88a30bbc
LE
449!endif\r
450!if $(FD_SIZE_IN_KB) == 4096\r
451 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
c95e6d09 453 # match PcdFlashNvStorageVariableSize purely for convenience\r
62f43f7c 454 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
88a30bbc 455!endif\r
49ba9447 456\r
49ba9447 457 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
458\r
49ba9447 459 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
cf23c02a
LE
460\r
461 # DEBUG_INIT 0x00000001 // Initialization\r
462 # DEBUG_WARN 0x00000002 // Warnings\r
463 # DEBUG_LOAD 0x00000004 // Load events\r
464 # DEBUG_FS 0x00000008 // EFI File system\r
465 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
466 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
467 # DEBUG_INFO 0x00000040 // Informational debug messages\r
468 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
469 # DEBUG_VARIABLE 0x00000100 // Variable\r
470 # DEBUG_BM 0x00000400 // Boot Manager\r
471 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
472 # DEBUG_NET 0x00004000 // SNP Driver\r
473 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
474 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
475 # DEBUG_EVENT 0x00080000 // Event messages\r
476 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
477 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
478 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
479 # // significantly impact boot performance\r
480 # DEBUG_ERROR 0x80000000 // Error\r
49ba9447 481 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
cf23c02a 482\r
c6efcc2a 483!ifdef $(SOURCE_DEBUG_ENABLE)\r
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
485!else\r
49ba9447 486 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 487!endif\r
488\r
7b8fe635
LE
489 # This PCD is used to set the base address of the PCI express hierarchy. It\r
490 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
491 # the PCIEXBAR register.\r
492 #\r
493 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
494 # never lets the RAM below 4 GB exceed 2 GB.\r
495 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
496\r
670a64e7 497!ifdef $(SOURCE_DEBUG_ENABLE)\r
c6efcc2a 498 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 499!endif\r
49ba9447 500\r
4b2fb798
JW
501!if $(HTTP_BOOT_ENABLE) == TRUE\r
502 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
503!endif\r
504\r
9bef3cdc 505!ifndef $(USE_OLD_SHELL)\r
345a0c8f 506 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
345a0c8f 507!endif\r
508\r
9b1e3788 509!if $(SMM_REQUIRE) == TRUE\r
0d0c245d 510 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
9b1e3788
PB
511!endif\r
512\r
7ca126ff 513 # IRQs 5, 9, 10, 11 are level-triggered\r
514 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
515\r
79c098b6
RN
516 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
517 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
518\r
49ba9447 519################################################################################\r
520#\r
521# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
522#\r
523################################################################################\r
524\r
7b202cb0 525[PcdsDynamicDefault]\r
5e167d7e
LE
526 # only set when\r
527 # ($(SMM_REQUIRE) == FALSE)\r
77ba993c 528 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
5e167d7e 529\r
e3130268 530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
27f58ea1 531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
532 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447d2641 533 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
c4341e3a
LE
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
535 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
a1726e30 536 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
d55004da 537 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
c4df7fd0
LE
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
03845e90
LE
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
7e5b1b67
LE
542 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
543 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
27f58ea1 544\r
86a9c7a7 545 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 546\r
848834cb 547 # Set video resolution for text setup.\r
86a9c7a7
RN
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 550\r
37baf06b 551 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 552 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 553 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 554\r
d26753f8 555 # Noexec settings for DXE.\r
d20b06a3 556 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
c075d250 557 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
d26753f8 558\r
45a70db3
LE
559 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
560 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
561 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
562\r
13b5d743
BS
563 # Set memory encryption mask\r
564 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
565\r
22d7be69 566!if $(SMM_REQUIRE) == TRUE\r
966dbaf4 567 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
22d7be69
LE
568 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
569 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
570!endif\r
571\r
6041ac65 572 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
6041ac65 573\r
6cf1880f
MAL
574!if $(TPM2_ENABLE) == TRUE\r
575 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
576!endif\r
577\r
49ba9447 578################################################################################\r
579#\r
580# Components Section - list of all EDK II Modules needed by this Platform.\r
581#\r
582################################################################################\r
7b202cb0 583[Components]\r
497cbb53
JJ
584 OvmfPkg/ResetVector/ResetVector.inf\r
585\r
49ba9447 586 #\r
587 # SEC Phase modules\r
588 #\r
c1c2669c 589 OvmfPkg/Sec/SecMain.inf {\r
590 <LibraryClasses>\r
d2daa3db 591 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
c1c2669c 592 }\r
49ba9447 593\r
594 #\r
595 # PEI Phase modules\r
596 #\r
597 MdeModulePkg/Core/Pei/PeiMain.inf\r
598 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
599 <LibraryClasses>\r
600 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
601 }\r
fbce1fe9
LE
602 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
603 <LibraryClasses>\r
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
605 }\r
606 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
607 <LibraryClasses>\r
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
609 }\r
639c7dd8 610 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
77ba993c 611\r
639c7dd8 612 OvmfPkg/PlatformPei/PlatformPei.inf\r
5fb6fc0f
LE
613 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
614 <LibraryClasses>\r
67d86594
LE
615!if $(SMM_REQUIRE) == TRUE\r
616 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
617!endif\r
5fb6fc0f 618 }\r
9d560947 619!if $(SMM_REQUIRE) == TRUE\r
639c7dd8 620 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
9d560947 621!endif\r
639c7dd8 622 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
49ba9447 623\r
6cf1880f
MAL
624!if $(TPM2_ENABLE) == TRUE\r
625 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
4672a489
MAL
626 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
627 <LibraryClasses>\r
628 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
629 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
630 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
631 }\r
6cf1880f
MAL
632!endif\r
633\r
49ba9447 634 #\r
635 # DXE Phase modules\r
636 #\r
637 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
638 <LibraryClasses>\r
d2daa3db 639 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5c3481b0 640 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 641 }\r
642\r
a6d594c5
CS
643 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
644 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 645 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
646 <LibraryClasses>\r
647 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
648 }\r
c1c2669c 649\r
49ba9447 650 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 651\r
8cee3de7 652 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
653 <LibraryClasses>\r
5487d002 654!if $(SECURE_BOOT_ENABLE) == TRUE\r
8cee3de7 655 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
d5a002ab
MAL
656!endif\r
657!if $(TPM2_ENABLE) == TRUE\r
658 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
8cee3de7 659!endif\r
5487d002 660 }\r
8cee3de7 661\r
e6d3b270 662 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
49ba9447 663 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
73cbc580 664 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 665 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
666 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
855743f7 667 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 668 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f
LE
669 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
670 <LibraryClasses>\r
671 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
c6ab9aec 672 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
4014885f 673 }\r
447d2641
WL
674 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
675 <LibraryClasses>\r
676 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
677 }\r
f90472e1 678 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
170ef2d9
GS
679 MdeModulePkg/Universal/Metronome/Metronome.inf\r
680 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
ba502ef4 681 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
682 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
683 <LibraryClasses>\r
684!ifdef $(CSM_ENABLE)\r
685 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
686 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
687!endif\r
688 }\r
ab970515 689 MdeModulePkg/Logo/LogoDxe.inf\r
79c098b6
RN
690 MdeModulePkg/Application/UiApp/UiApp.inf {\r
691 <LibraryClasses>\r
692 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
693 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
694 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
695!ifdef $(CSM_ENABLE)\r
696 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
697 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
698!endif\r
699 }\r
efd82c57 700 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
56f65ed8 701 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 702 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 703 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 704 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 705 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 706 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 707 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 708 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
49ba9447 709 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
710 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
711 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
712 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
713 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
714 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
715 <LibraryClasses>\r
716 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
717 }\r
49ba9447 718 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
5c3481b0
RN
719 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
720 <LibraryClasses>\r
721 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
722 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
723 }\r
86fef5b4 724 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 725 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
726 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 727 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 728 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
aa47e529 729 FatPkg/EnhancedFatDxe/Fat.inf\r
f5566d15 730 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
49ba9447 731 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
732 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
733 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
734 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
735 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 736 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 737 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
738 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 739 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 740 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 741\r
bd52d4ff 742 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
b3eab015 743 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
49ba9447 744\r
745 #\r
746 # ISA Support\r
747 #\r
748 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
749 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
750 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
751 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
752 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
753\r
fb511817 754 #\r
755 # SMBIOS Support\r
756 #\r
98937dc2
LE
757 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
758 <LibraryClasses>\r
759 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
760 }\r
fb511817 761 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
762\r
49ba9447 763 #\r
764 # ACPI Support\r
765 #\r
766 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 767 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 768 OvmfPkg/AcpiTables/AcpiTables.inf\r
b017b1b2 769 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 770 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
6e5e544f 771 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
7416f4eb 772\r
773 #\r
774 # Network Support\r
775 #\r
7416f4eb 776 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
777 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
778 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
779 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
780 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
781 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
7416f4eb 782 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
783 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
7416f4eb 784 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
36c6413f
GL
785!if $(NETWORK_IP6_ENABLE) == TRUE\r
786 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
787 NetworkPkg/TcpDxe/TcpDxe.inf\r
788 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
789 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
790 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
791 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
36c6413f 792 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
36c6413f
GL
793!else\r
794 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
7416f4eb 795 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
796 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
ab44a6e8
GCPL
797!endif\r
798!if $(HTTP_BOOT_ENABLE) == TRUE\r
799 NetworkPkg/DnsDxe/DnsDxe.inf\r
1a85139d 800 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
ab44a6e8
GCPL
801 NetworkPkg/HttpDxe/HttpDxe.inf\r
802 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
315d9d08
GL
803!endif\r
804!if $(TLS_ENABLE) == TRUE\r
805 NetworkPkg/TlsDxe/TlsDxe.inf\r
806 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
36c6413f 807!endif\r
7a1f5947 808 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 809\r
689562cd 810 #\r
811 # Usb Support\r
812 #\r
813 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
814 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 815 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 816 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
817 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
818 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
819\r
4b3d663f 820!ifdef $(CSM_ENABLE)\r
e04cca1d
PB
821 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
822 <LibraryClasses>\r
823 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
824 }\r
4b3d663f 825 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
826 OvmfPkg/Csm/Csm16/Csm16.inf\r
827!endif\r
828\r
9bef3cdc 829!ifndef $(USE_OLD_SHELL)\r
984ba6a4
RN
830 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
831 <PcdsFixedAtBuild>\r
832 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
833 }\r
345a0c8f 834 ShellPkg/Application/Shell/Shell.inf {\r
835 <LibraryClasses>\r
836 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
837 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
838 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
839 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
840 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
841 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
842 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
843 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
96302b80
GL
844!if $(NETWORK_IP6_ENABLE) == TRUE\r
845 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
846!endif\r
345a0c8f 847 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 848 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
9fc9f4d8 849 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 850\r
851 <PcdsFixedAtBuild>\r
852 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
853 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
854 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
855 }\r
856!endif\r
857\r
8cee3de7 858!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 859 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 860!endif\r
d945a8ba
LE
861\r
862 OvmfPkg/PlatformDxe/Platform.inf\r
24e4ad75 863 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
f9d129e6 864 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
c5b7c805
LE
865\r
866!if $(SMM_REQUIRE) == TRUE\r
867 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 868 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 869 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
870\r
871 #\r
872 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
873 #\r
874 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
875\r
876 #\r
877 # SMM_CORE\r
878 #\r
879 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
880\r
881 #\r
882 # Privileged drivers (DXE_SMM_DRIVER modules)\r
883 #\r
884 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
885 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
886 <LibraryClasses>\r
887 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
888 }\r
0d5d4205
LE
889 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
890 <LibraryClasses>\r
891 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
892 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
893 }\r
1b0a8e62
LE
894\r
895 #\r
46df0216
LE
896 # Variable driver stack (SMM)\r
897 #\r
898 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
899 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
900 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
901 <LibraryClasses>\r
902 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
903 }\r
904 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
905\r
906!else\r
907\r
908 #\r
909 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
910 #\r
911 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
912 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
913 <LibraryClasses>\r
914 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
915 }\r
916 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
917 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
918 <LibraryClasses>\r
919 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
920 }\r
46df0216 921!endif\r
0c0a50d6
MAL
922\r
923!if $(TPM2_ENABLE) == TRUE\r
924 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
925 <LibraryClasses>\r
926 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
927 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
928 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
929 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
930 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
931 }\r
932!endif\r