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