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