]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/Bhyve: add MemEncryptSevLib
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) Microsoft Corporation.
7 #
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 ################################################################################
13 #
14 # Defines Section - statements that will be processed to create a Makefile.
15 #
16 ################################################################################
17 [Defines]
18 PLATFORM_NAME = Ovmf
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/OvmfIa32
23 SUPPORTED_ARCHITECTURES = IA32
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
27
28 #
29 # Defines for default states. These can be changed on the command line.
30 # -D FLAG=VALUE
31 #
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SMM_REQUIRE = FALSE
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35 DEFINE TPM_ENABLE = FALSE
36 DEFINE TPM_CONFIG_ENABLE = FALSE
37 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
38
39 #
40 # Network definition
41 #
42 DEFINE NETWORK_TLS_ENABLE = FALSE
43 DEFINE NETWORK_IP6_ENABLE = FALSE
44 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
45 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
46 DEFINE NETWORK_ISCSI_ENABLE = TRUE
47
48 !include NetworkPkg/NetworkDefines.dsc.inc
49
50 #
51 # Device drivers
52 #
53 DEFINE PVSCSI_ENABLE = TRUE
54 DEFINE MPT_SCSI_ENABLE = TRUE
55 DEFINE LSI_SCSI_ENABLE = FALSE
56
57 #
58 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
59 # one of the supported values, in place of any of the convenience macros, is
60 # permitted.
61 #
62 !ifdef $(FD_SIZE_1MB)
63 DEFINE FD_SIZE_IN_KB = 1024
64 !else
65 !ifdef $(FD_SIZE_2MB)
66 DEFINE FD_SIZE_IN_KB = 2048
67 !else
68 !ifdef $(FD_SIZE_4MB)
69 DEFINE FD_SIZE_IN_KB = 4096
70 !else
71 DEFINE FD_SIZE_IN_KB = 4096
72 !endif
73 !endif
74 !endif
75
76 [BuildOptions]
77 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
78 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
80 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
81 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
82 !endif
83 RELEASE_*_*_GENFW_FLAGS = --zero
84
85 #
86 # Disable deprecated APIs.
87 #
88 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
89 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
90 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
91
92 !include NetworkPkg/NetworkBuildOptions.dsc.inc
93
94 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
95 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
96 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
97 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
98 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
99
100 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
101 # protection of DXE_SMM_DRIVER/SMM_CORE modules
102 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
103 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
104 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
105 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
106 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
107
108 ################################################################################
109 #
110 # SKU Identification section - list of all SKU IDs supported by this Platform.
111 #
112 ################################################################################
113 [SkuIds]
114 0|DEFAULT
115
116 ################################################################################
117 #
118 # Library Class section - list of all Library Classes needed by this Platform.
119 #
120 ################################################################################
121
122 !include MdePkg/MdeLibs.dsc.inc
123
124 [LibraryClasses]
125 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
126 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
127 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
128 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
129 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
130 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
131 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
132 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
133 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
134 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
135 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
136 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
137 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
138 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
139 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
140 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
141 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
142 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
143 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
144 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
145 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
146 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
147 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
148 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
149 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
150 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
151 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
152 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
153 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
154 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
155 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
156 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
157 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
158 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
159 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
160 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
161 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
162 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
163 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
164 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
165 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
166 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
167 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
168 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
169 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
170 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
171 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
172 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
173 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
174 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
175 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
176 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
177 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
178 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
179 !if $(SMM_REQUIRE) == FALSE
180 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
181 !endif
182 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
183 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
184
185 !if $(SOURCE_DEBUG_ENABLE) == TRUE
186 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
187 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
188 !else
189 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
190 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
191 !endif
192
193 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
194 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
195
196 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
197 !if $(NETWORK_TLS_ENABLE) == TRUE
198 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
199 !else
200 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
201 !endif
202 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
203
204 !if $(SECURE_BOOT_ENABLE) == TRUE
205 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
206 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
207 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
208 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
209 !else
210 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
211 !endif
212 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
213 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
214 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
215
216
217 #
218 # Network libraries
219 #
220 !include NetworkPkg/NetworkLibs.dsc.inc
221
222 !if $(NETWORK_TLS_ENABLE) == TRUE
223 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
224 !endif
225
226 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
227 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
228 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
229 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
230 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
231
232 !if $(TPM_ENABLE) == TRUE
233 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
234 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
235 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
236 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
237 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
238 !else
239 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
240 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
241 !endif
242
243 [LibraryClasses.common]
244 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
245 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
246
247 [LibraryClasses.common.SEC]
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
249 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
250 !ifdef $(DEBUG_ON_SERIAL_PORT)
251 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
252 !else
253 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
254 !endif
255 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
256 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
257 !if $(SOURCE_DEBUG_ENABLE) == TRUE
258 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
259 !endif
260 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
261 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
262 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
263 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
264 !if $(TOOL_CHAIN_TAG) == "XCODE5"
265 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
266 !else
267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
268 !endif
269 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
270
271 [LibraryClasses.common.PEI_CORE]
272 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
274 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
275 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
276 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
277 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
278 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
279 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
282 !else
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
284 !endif
285 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
286
287 [LibraryClasses.common.PEIM]
288 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
289 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
290 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
291 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
292 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
293 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
294 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
295 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
296 !ifdef $(DEBUG_ON_SERIAL_PORT)
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
298 !else
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
300 !endif
301 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
302 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
303 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
304 !if $(SOURCE_DEBUG_ENABLE) == TRUE
305 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
306 !endif
307 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
308 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
309 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
310 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
311 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
312
313 !if $(TPM_ENABLE) == TRUE
314 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
315 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
316 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
317 !endif
318
319 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
320
321 [LibraryClasses.common.DXE_CORE]
322 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
323 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
324 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326 !ifdef $(DEBUG_ON_SERIAL_PORT)
327 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 !else
329 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330 !endif
331 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
332 !if $(SOURCE_DEBUG_ENABLE) == TRUE
333 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
334 !endif
335 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337
338 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
345 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
346 !ifdef $(DEBUG_ON_SERIAL_PORT)
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
348 !else
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
350 !endif
351 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
352 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
353 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
354 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
355 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
356 !if $(SMM_REQUIRE) == TRUE
357 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
358 !endif
359
360 [LibraryClasses.common.UEFI_DRIVER]
361 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
362 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
363 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
364 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
365 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
366 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
367 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
368 !ifdef $(DEBUG_ON_SERIAL_PORT)
369 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
370 !else
371 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
372 !endif
373 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
374 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
375
376 [LibraryClasses.common.DXE_DRIVER]
377 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
378 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
379 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
380 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
381 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
382 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
383 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
384 !ifdef $(DEBUG_ON_SERIAL_PORT)
385 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
386 !else
387 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
388 !endif
389 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
390 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
391 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
392 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
393 !if $(SMM_REQUIRE) == TRUE
394 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
395 !else
396 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
397 !endif
398 !if $(SOURCE_DEBUG_ENABLE) == TRUE
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
400 !endif
401 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
402 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
403 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
404 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
405 !if $(TPM_ENABLE) == TRUE
406 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
407 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
408 !endif
409
410 [LibraryClasses.common.UEFI_APPLICATION]
411 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
412 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
413 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
414 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
415 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
416 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
417 !ifdef $(DEBUG_ON_SERIAL_PORT)
418 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
419 !else
420 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
421 !endif
422 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
423
424 [LibraryClasses.common.DXE_SMM_DRIVER]
425 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
427 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
428 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
429 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
430 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
431 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
432 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
433 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
434 !ifdef $(DEBUG_ON_SERIAL_PORT)
435 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
436 !else
437 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
438 !endif
439 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
440 !if $(SOURCE_DEBUG_ENABLE) == TRUE
441 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
442 !endif
443 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
444 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
445
446 [LibraryClasses.common.SMM_CORE]
447 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
448 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
449 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
450 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
451 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
452 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
453 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
454 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
455 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
456 !ifdef $(DEBUG_ON_SERIAL_PORT)
457 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
458 !else
459 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
460 !endif
461 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
462
463 ################################################################################
464 #
465 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
466 #
467 ################################################################################
468 [PcdsFeatureFlag]
469 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
470 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
472 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
474 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
475 !ifdef $(CSM_ENABLE)
476 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
477 !endif
478 !if $(SMM_REQUIRE) == TRUE
479 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
480 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
481 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
482 !endif
483
484 [PcdsFixedAtBuild]
485 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
486 !if $(SMM_REQUIRE) == FALSE
487 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
488 !endif
489 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
490 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
491 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
492 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
494 !if $(NETWORK_TLS_ENABLE) == FALSE
495 # match PcdFlashNvStorageVariableSize purely for convenience
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
497 !endif
498 !endif
499 !if $(FD_SIZE_IN_KB) == 4096
500 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
501 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
502 !if $(NETWORK_TLS_ENABLE) == FALSE
503 # match PcdFlashNvStorageVariableSize purely for convenience
504 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
505 !endif
506 !endif
507 !if $(NETWORK_TLS_ENABLE) == TRUE
508 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
509 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
510 !endif
511
512 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
513 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
514 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
515
516 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
517
518 # DEBUG_INIT 0x00000001 // Initialization
519 # DEBUG_WARN 0x00000002 // Warnings
520 # DEBUG_LOAD 0x00000004 // Load events
521 # DEBUG_FS 0x00000008 // EFI File system
522 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
523 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
524 # DEBUG_INFO 0x00000040 // Informational debug messages
525 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
526 # DEBUG_VARIABLE 0x00000100 // Variable
527 # DEBUG_BM 0x00000400 // Boot Manager
528 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
529 # DEBUG_NET 0x00004000 // SNP Driver
530 # DEBUG_UNDI 0x00010000 // UNDI Driver
531 # DEBUG_LOADFILE 0x00020000 // LoadFile
532 # DEBUG_EVENT 0x00080000 // Event messages
533 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
534 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
535 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
536 # // significantly impact boot performance
537 # DEBUG_ERROR 0x80000000 // Error
538 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
539
540 !if $(SOURCE_DEBUG_ENABLE) == TRUE
541 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
542 !else
543 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
544 !endif
545
546 # This PCD is used to set the base address of the PCI express hierarchy. It
547 # is only consulted when OVMF runs on Q35. In that case it is programmed into
548 # the PCIEXBAR register.
549 #
550 # On Q35 machine types that QEMU intends to support in the long term, QEMU
551 # never lets the RAM below 4 GB exceed 2816 MB.
552 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
553
554 !if $(SOURCE_DEBUG_ENABLE) == TRUE
555 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
556 !endif
557
558 #
559 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
560 # best (please refer to git-blame for past updates). The values capture a set
561 # of BIN hints that made sense at a particular time, for some (now likely
562 # unknown) workloads / boot paths.
563 #
564 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
565 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
566 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
567 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
568 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
569
570 #
571 # Network Pcds
572 #
573 !include NetworkPkg/NetworkPcds.dsc.inc
574
575 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
576
577 !if $(SMM_REQUIRE) == TRUE
578 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
579 !endif
580
581 # IRQs 5, 9, 10, 11 are level-triggered
582 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
583
584 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
585 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
586
587 ################################################################################
588 #
589 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
590 #
591 ################################################################################
592
593 [PcdsDynamicDefault]
594 # only set when
595 # ($(SMM_REQUIRE) == FALSE)
596 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
597
598 !if $(SMM_REQUIRE) == FALSE
599 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
600 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
601 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
602 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
603 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
604 !endif
605 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
606 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
607 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
608 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
609 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
610 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
611 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
612 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
613
614 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
615
616 # Set video resolution for text setup.
617 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
618 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
619
620 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
621 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
622 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
623
624 # Noexec settings for DXE.
625 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
626
627 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
628 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
629 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
630
631 # Set memory encryption mask
632 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
633
634 # Set SEV-ES defaults
635 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
636 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
637 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
638
639 !if $(SMM_REQUIRE) == TRUE
640 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
641 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
642 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
643 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
644 !endif
645
646 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
647
648 !if $(TPM_ENABLE) == TRUE
649 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
650 !endif
651
652 # IPv4 and IPv6 PXE Boot support.
653 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
654 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
655
656 # Set ConfidentialComputing defaults
657 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
658
659 [PcdsDynamicHii]
660 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
661 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
662 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
663 !endif
664
665 ################################################################################
666 #
667 # Components Section - list of all EDK II Modules needed by this Platform.
668 #
669 ################################################################################
670 [Components]
671 OvmfPkg/ResetVector/ResetVector.inf
672
673 #
674 # SEC Phase modules
675 #
676 OvmfPkg/Sec/SecMain.inf {
677 <LibraryClasses>
678 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
679 }
680
681 #
682 # PEI Phase modules
683 #
684 MdeModulePkg/Core/Pei/PeiMain.inf
685 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
686 <LibraryClasses>
687 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
688 }
689 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
690 <LibraryClasses>
691 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
692 }
693 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
694 <LibraryClasses>
695 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
696 }
697 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
698
699 OvmfPkg/PlatformPei/PlatformPei.inf
700 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
701 <LibraryClasses>
702 !if $(SMM_REQUIRE) == TRUE
703 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
704 !endif
705 }
706 !if $(SMM_REQUIRE) == TRUE
707 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
708 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
709 OvmfPkg/SmmAccess/SmmAccessPei.inf
710 !endif
711 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
712
713 !if $(TPM_ENABLE) == TRUE
714 OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
715 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
716 SecurityPkg/Tcg/TcgPei/TcgPei.inf
717 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
718 <LibraryClasses>
719 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
720 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
721 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
722 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
723 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
724 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
725 }
726 SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
727 <LibraryClasses>
728 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
729 }
730 !endif
731
732 #
733 # DXE Phase modules
734 #
735 MdeModulePkg/Core/Dxe/DxeMain.inf {
736 <LibraryClasses>
737 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
738 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
739 }
740
741 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
742 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
743 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
744 <LibraryClasses>
745 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
746 }
747
748 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
749
750 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
751 <LibraryClasses>
752 !if $(SECURE_BOOT_ENABLE) == TRUE
753 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
754 !endif
755 !if $(TPM_ENABLE) == TRUE
756 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
757 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
758 !endif
759 }
760
761 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
762 OvmfPkg/8259InterruptControllerDxe/8259.inf
763 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
764 UefiCpuPkg/CpuDxe/CpuDxe.inf
765 OvmfPkg/8254TimerDxe/8254Timer.inf
766 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
767 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
768 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
769 <LibraryClasses>
770 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
771 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
772 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
773 }
774 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
775 <LibraryClasses>
776 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
777 }
778 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
779 MdeModulePkg/Universal/Metronome/Metronome.inf
780 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
781 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
782 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
783 <LibraryClasses>
784 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
785 !ifdef $(CSM_ENABLE)
786 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
787 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
788 !endif
789 }
790 MdeModulePkg/Logo/LogoDxe.inf
791 MdeModulePkg/Application/UiApp/UiApp.inf {
792 <LibraryClasses>
793 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
794 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
795 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
796 !ifdef $(CSM_ENABLE)
797 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
798 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
799 !endif
800 }
801 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
802 <LibraryClasses>
803 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
804 }
805 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
806 OvmfPkg/Virtio10Dxe/Virtio10.inf
807 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
808 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
809 OvmfPkg/VirtioRngDxe/VirtioRng.inf
810 !if $(PVSCSI_ENABLE) == TRUE
811 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
812 !endif
813 !if $(MPT_SCSI_ENABLE) == TRUE
814 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
815 !endif
816 !if $(LSI_SCSI_ENABLE) == TRUE
817 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
818 !endif
819 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
820 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
821 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
822 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
823 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
824 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
825 <LibraryClasses>
826 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
827 }
828 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
829 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
830 <LibraryClasses>
831 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
832 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
833 }
834 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
835 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
836 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
837 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
838 FatPkg/EnhancedFatDxe/Fat.inf
839 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
840 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
841 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
842 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
843 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
844 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
845 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
846 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
847 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
848 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
849 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
850 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
851
852 !ifndef $(CSM_ENABLE)
853 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
854 !endif
855 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
856 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
857
858 #
859 # ISA Support
860 #
861 OvmfPkg/SioBusDxe/SioBusDxe.inf
862 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
863 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
864
865 #
866 # SMBIOS Support
867 #
868 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
869 <LibraryClasses>
870 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
871 }
872 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
873
874 #
875 # ACPI Support
876 #
877 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
878 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
879 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
880 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
881 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
882
883 #
884 # Network Support
885 #
886 !include NetworkPkg/NetworkComponents.dsc.inc
887
888 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
889 <LibraryClasses>
890 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
891 }
892
893 !if $(NETWORK_TLS_ENABLE) == TRUE
894 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
895 <LibraryClasses>
896 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
897 }
898 !endif
899 OvmfPkg/VirtioNetDxe/VirtioNet.inf
900
901 #
902 # Usb Support
903 #
904 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
905 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
906 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
907 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
908 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
909 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
910
911 !ifdef $(CSM_ENABLE)
912 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
913 <LibraryClasses>
914 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
915 }
916 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
917 OvmfPkg/Csm/Csm16/Csm16.inf
918 !endif
919
920 !if $(TOOL_CHAIN_TAG) != "XCODE5"
921 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
922 <PcdsFixedAtBuild>
923 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
924 }
925 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
926 <PcdsFixedAtBuild>
927 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
928 }
929 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
930 <PcdsFixedAtBuild>
931 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
932 }
933 !endif
934 ShellPkg/Application/Shell/Shell.inf {
935 <LibraryClasses>
936 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
937 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
938 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
939 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
940 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
941 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
942 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
943 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
944 !if $(NETWORK_IP6_ENABLE) == TRUE
945 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
946 !endif
947 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
948 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
949 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
950
951 <PcdsFixedAtBuild>
952 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
953 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
954 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
955 }
956
957 !if $(SECURE_BOOT_ENABLE) == TRUE
958 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
959 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
960 !endif
961
962 OvmfPkg/PlatformDxe/Platform.inf
963 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
964
965 !if $(SMM_REQUIRE) == TRUE
966 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
967 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
968 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
969
970 #
971 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
972 #
973 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
974
975 #
976 # SMM_CORE
977 #
978 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
979
980 #
981 # Privileged drivers (DXE_SMM_DRIVER modules)
982 #
983 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
984 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
985 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
986 <LibraryClasses>
987 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
988 }
989 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
990 <LibraryClasses>
991 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
992 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
993 }
994
995 #
996 # Variable driver stack (SMM)
997 #
998 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
999 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1000 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
1001 <LibraryClasses>
1002 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1003 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
1004 }
1005 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1006
1007 !else
1008
1009 #
1010 # Variable driver stack (non-SMM)
1011 #
1012 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
1013 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
1014 <LibraryClasses>
1015 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
1016 }
1017 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1018 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
1019 <LibraryClasses>
1020 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1021 }
1022 !endif
1023
1024 #
1025 # TPM support
1026 #
1027 !if $(TPM_ENABLE) == TRUE
1028 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
1029 <LibraryClasses>
1030 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
1031 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
1032 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
1033 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1034 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1035 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
1036 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
1037 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
1038 }
1039 !if $(TPM_CONFIG_ENABLE) == TRUE
1040 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
1041 !endif
1042 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1043 <LibraryClasses>
1044 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
1045 }
1046 SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {
1047 <LibraryClasses>
1048 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
1049 }
1050 !endif
1051
1052 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1053 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
1054 !endif