]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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!if $(TOOL_CHAIN_TAG) == "XCODE5"\r
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r
255!else\r
256 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
257!endif\r
258\r
259[LibraryClasses.common.PEI_CORE]\r
260 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
261 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
262 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
263 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
264 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
265 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
266 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
267 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
268!ifdef $(DEBUG_ON_SERIAL_PORT)\r
269 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
270!else\r
271 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
272!endif\r
273 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
274\r
275[LibraryClasses.common.PEIM]\r
276 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
277 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
278 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
279 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
280 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
281 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
282 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
283 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
284!ifdef $(DEBUG_ON_SERIAL_PORT)\r
285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
286!else\r
287 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
288!endif\r
289 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
290 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
291 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
292!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
293 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
294!endif\r
295 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
296 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
297 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
298 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
299 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
300\r
301!if $(TPM_ENABLE) == TRUE\r
302 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
303 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
304 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
305!endif\r
306\r
307[LibraryClasses.common.DXE_CORE]\r
308 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
309 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
310 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
311 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
312!ifdef $(DEBUG_ON_SERIAL_PORT)\r
313 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
314!else\r
315 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
316!endif\r
317 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
318!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
319 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
320!endif\r
321 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
323\r
324[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
325 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
326 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
327 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
328 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
329 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
330 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
331 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
332!ifdef $(DEBUG_ON_SERIAL_PORT)\r
333 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
334!else\r
335 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
336!endif\r
337 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
338 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
339 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
340 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
341\r
342[LibraryClasses.common.UEFI_DRIVER]\r
343 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
344 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
345 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
346 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
347 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
348 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
349 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
350!ifdef $(DEBUG_ON_SERIAL_PORT)\r
351 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
352!else\r
353 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
354!endif\r
355 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
356 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
357\r
358[LibraryClasses.common.DXE_DRIVER]\r
359 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
360 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
361 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
362 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
363 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
364 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
365 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
366!ifdef $(DEBUG_ON_SERIAL_PORT)\r
367 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
368!else\r
369 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
370!endif\r
371 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
372 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
373 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
374 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
375!if $(SMM_REQUIRE) == TRUE\r
376 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
377!else\r
378 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
379!endif\r
380!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
381 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
382!endif\r
383 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
384 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
385 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
386!if $(SECURE_BOOT_ENABLE) == TRUE\r
387 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf\r
388!else\r
389 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r
390!endif\r
391!if $(TPM_ENABLE) == TRUE\r
392 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
393 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
394!endif\r
395\r
396[LibraryClasses.common.UEFI_APPLICATION]\r
397 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
398 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
399 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
400 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
401 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
402 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
403!ifdef $(DEBUG_ON_SERIAL_PORT)\r
404 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
405!else\r
406 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
407!endif\r
408 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
409\r
410[LibraryClasses.common.DXE_SMM_DRIVER]\r
411 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
412 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
413 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
414 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
415 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
416 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
417 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
418 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
419 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
420!ifdef $(DEBUG_ON_SERIAL_PORT)\r
421 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
422!else\r
423 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
424!endif\r
425 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
426!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
427 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
428!endif\r
429 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
430 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
431\r
432[LibraryClasses.common.SMM_CORE]\r
433 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
434 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
435 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
436 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
437 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
438 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
439 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
440 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
441 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
442!ifdef $(DEBUG_ON_SERIAL_PORT)\r
443 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
444!else\r
445 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
446!endif\r
447 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
448\r
449################################################################################\r
450#\r
451# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
452#\r
453################################################################################\r
454[PcdsFeatureFlag]\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
456 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
457 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
458 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
459 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
460 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
461 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
462 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
463!ifdef $(CSM_ENABLE)\r
464 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
465!endif\r
466!if $(SMM_REQUIRE) == TRUE\r
467 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
468 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE\r
469 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE\r
470!endif\r
471\r
472[PcdsFixedAtBuild]\r
473 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
474!if $(SMM_REQUIRE) == FALSE\r
475 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
476!endif\r
477 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
478!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
479 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
480 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
481!if $(NETWORK_TLS_ENABLE) == FALSE\r
482 # match PcdFlashNvStorageVariableSize purely for convenience\r
483 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
484!endif\r
485!endif\r
486!if $(FD_SIZE_IN_KB) == 4096\r
487 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
488 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
489!if $(NETWORK_TLS_ENABLE) == FALSE\r
490 # match PcdFlashNvStorageVariableSize purely for convenience\r
491 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
492!endif\r
493!endif\r
494!if $(NETWORK_TLS_ENABLE) == TRUE\r
495 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
496 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
497!endif\r
498\r
499 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
500\r
501 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
502\r
503 # DEBUG_INIT 0x00000001 // Initialization\r
504 # DEBUG_WARN 0x00000002 // Warnings\r
505 # DEBUG_LOAD 0x00000004 // Load events\r
506 # DEBUG_FS 0x00000008 // EFI File system\r
507 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
508 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
509 # DEBUG_INFO 0x00000040 // Informational debug messages\r
510 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
511 # DEBUG_VARIABLE 0x00000100 // Variable\r
512 # DEBUG_BM 0x00000400 // Boot Manager\r
513 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
514 # DEBUG_NET 0x00004000 // SNP Driver\r
515 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
516 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
517 # DEBUG_EVENT 0x00080000 // Event messages\r
518 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
519 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
520 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
521 # // significantly impact boot performance\r
522 # DEBUG_ERROR 0x80000000 // Error\r
523 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
524\r
525!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
526 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
527!else\r
528 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
529!endif\r
530\r
531 # This PCD is used to set the base address of the PCI express hierarchy. It\r
532 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
533 # the PCIEXBAR register.\r
534 #\r
535 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
536 # never lets the RAM below 4 GB exceed 2816 MB.\r
537 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
538\r
539!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
540 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
541!endif\r
542\r
543[PcdsFixedAtBuild.IA32]\r
544 #\r
545 # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r
546 # best (please refer to git-blame for past updates). The values capture a set\r
547 # of BIN hints that made sense at a particular time, for some (now likely\r
548 # unknown) workloads / boot paths.\r
549 #\r
550 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r
551 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10\r
552 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r
553 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r
554 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r
555\r
556[PcdsFixedAtBuild.X64]\r
557 #\r
558 # Network Pcds\r
559 #\r
560!include NetworkPkg/NetworkPcds.dsc.inc\r
561\r
562!if $(SMM_REQUIRE) == TRUE\r
563 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
564!endif\r
565\r
566 # IRQs 5, 9, 10, 11 are level-triggered\r
567 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
568\r
569 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
570 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
571\r
572################################################################################\r
573#\r
574# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
575#\r
576################################################################################\r
577\r
578[PcdsDynamicDefault]\r
579 # only set when\r
580 # ($(SMM_REQUIRE) == FALSE)\r
581 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
582\r
583!if $(SMM_REQUIRE) == FALSE\r
584 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
585 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
586 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
587!endif\r
588 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
589 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
590 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
591 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
592 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
593 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
594 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
595 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
597 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
598!ifdef $(CSM_ENABLE)\r
599 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0\r
600!else\r
601 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
602!endif\r
603\r
604 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
605\r
606 # Set video resolution for text setup.\r
607 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
608 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
609\r
610 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
611 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
612 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
613\r
614 # Noexec settings for DXE.\r
615 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
616\r
617 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
618 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
619 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r
620\r
621 # Set memory encryption mask\r
622 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
623\r
624!if $(SMM_REQUIRE) == TRUE\r
625 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
626 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE\r
627 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
628 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
629!endif\r
630\r
631 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
632\r
633!if $(TPM_ENABLE) == TRUE\r
634 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
635!endif\r
636\r
637[PcdsDynamicDefault.X64]\r
638 # IPv4 and IPv6 PXE Boot support.\r
639 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r
640 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r
641\r
642[PcdsDynamicHii]\r
643!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE\r
644 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
645 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
646!endif\r
647\r
648################################################################################\r
649#\r
650# Components Section - list of all EDK II Modules needed by this Platform.\r
651#\r
652################################################################################\r
653[Components.IA32]\r
654 OvmfPkg/ResetVector/ResetVector.inf\r
655\r
656 #\r
657 # SEC Phase modules\r
658 #\r
659 OvmfPkg/Sec/SecMain.inf {\r
660 <LibraryClasses>\r
661 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
662 }\r
663\r
664 #\r
665 # PEI Phase modules\r
666 #\r
667 MdeModulePkg/Core/Pei/PeiMain.inf\r
668 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
669 <LibraryClasses>\r
670 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
671 }\r
672 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
673 <LibraryClasses>\r
674 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
675 }\r
676 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
677 <LibraryClasses>\r
678 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
679 }\r
680 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
681\r
682 OvmfPkg/PlatformPei/PlatformPei.inf\r
683 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
684 <LibraryClasses>\r
685!if $(SMM_REQUIRE) == TRUE\r
686 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
687!endif\r
688 }\r
689!if $(SMM_REQUIRE) == TRUE\r
690 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
691 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
692 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
693!endif\r
694 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
695\r
696!if $(TPM_ENABLE) == TRUE\r
697 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
698 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
699 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
700 <LibraryClasses>\r
701 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
702 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
703 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
704 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
705 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
706 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
707 }\r
708!endif\r
709\r
710[Components.X64]\r
711 #\r
712 # DXE Phase modules\r
713 #\r
714 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
715 <LibraryClasses>\r
716 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
717 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
718 }\r
719\r
720 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
721 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
722 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
723 <LibraryClasses>\r
724 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
725 }\r
726\r
727 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
728\r
729 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
730 <LibraryClasses>\r
731!if $(SECURE_BOOT_ENABLE) == TRUE\r
732 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
733!endif\r
734!if $(TPM_ENABLE) == TRUE\r
735 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
736 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
737!endif\r
738 }\r
739\r
740 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
741 OvmfPkg/8259InterruptControllerDxe/8259.inf\r
742 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
743 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
744 OvmfPkg/8254TimerDxe/8254Timer.inf\r
745 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
746 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
747 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
748 <LibraryClasses>\r
749 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
750 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
751 }\r
752 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
753 <LibraryClasses>\r
754 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
755 }\r
756 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
757 MdeModulePkg/Universal/Metronome/Metronome.inf\r
758 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
759 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
760 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
761 <LibraryClasses>\r
762!ifdef $(CSM_ENABLE)\r
763 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
764 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
765!endif\r
766 }\r
767 MdeModulePkg/Logo/LogoDxe.inf\r
768 MdeModulePkg/Application/UiApp/UiApp.inf {\r
769 <LibraryClasses>\r
770 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
771 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
772 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
773!ifdef $(CSM_ENABLE)\r
774 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
775 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
776!endif\r
777 }\r
778 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf\r
779 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
780 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
781 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
782 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
783 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
784 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
785 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
786 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
787!if $(PVSCSI_ENABLE) == TRUE\r
788 OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r
789!endif\r
790!if $(MPT_SCSI_ENABLE) == TRUE\r
791 OvmfPkg/MptScsiDxe/MptScsiDxe.inf\r
792!endif\r
793 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
794 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
795 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
796 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
797 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
798 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
799 <LibraryClasses>\r
800 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
801 }\r
802 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
803 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
804 <LibraryClasses>\r
805 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
806 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
807 }\r
808 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
809 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
810 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
811 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
812 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
813 FatPkg/EnhancedFatDxe/Fat.inf\r
814 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
815 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
816 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
817 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
818 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
819 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
820 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
821 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
822 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
823 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
824 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
825\r
826!ifndef $(CSM_ENABLE)\r
827 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
828!endif\r
829 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
830 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
831\r
832 #\r
833 # ISA Support\r
834 #\r
835 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
836 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
837 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
838\r
839 #\r
840 # SMBIOS Support\r
841 #\r
842 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
843 <LibraryClasses>\r
844 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
845 }\r
846 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
847\r
848 #\r
849 # ACPI Support\r
850 #\r
851 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
852 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
853 OvmfPkg/AcpiTables/AcpiTables.inf\r
854 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
855 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
856 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
857\r
858 #\r
859 # Network Support\r
860 #\r
861!include NetworkPkg/NetworkComponents.dsc.inc\r
862\r
863 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {\r
864 <LibraryClasses>\r
865 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf\r
866 }\r
867\r
868!if $(NETWORK_TLS_ENABLE) == TRUE\r
869 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
870 <LibraryClasses>\r
871 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
872 }\r
873!endif\r
874 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
875\r
876 #\r
877 # Usb Support\r
878 #\r
879 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
880 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
881 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
882 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
883 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
884 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
885\r
886!ifdef $(CSM_ENABLE)\r
887 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
888 <LibraryClasses>\r
889 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
890 }\r
891 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
892 OvmfPkg/Csm/Csm16/Csm16.inf\r
893!endif\r
894\r
895!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
896 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
897 <PcdsFixedAtBuild>\r
898 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
899 }\r
900 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
901 <PcdsFixedAtBuild>\r
902 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
903 }\r
904!endif\r
905 ShellPkg/Application/Shell/Shell.inf {\r
906 <LibraryClasses>\r
907 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
908 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
909 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
910 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
911 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
912 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
913 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
914 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
915!if $(NETWORK_IP6_ENABLE) == TRUE\r
916 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
917!endif\r
918 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
919 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
920 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
921\r
922 <PcdsFixedAtBuild>\r
923 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
924 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
925 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
926 }\r
927\r
928!if $(SECURE_BOOT_ENABLE) == TRUE\r
929 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
930 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
931!endif\r
932\r
933 OvmfPkg/PlatformDxe/Platform.inf\r
934 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
935 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
936\r
937!if $(SMM_REQUIRE) == TRUE\r
938 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
939 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
940 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
941\r
942 #\r
943 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
944 #\r
945 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
946\r
947 #\r
948 # SMM_CORE\r
949 #\r
950 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
951\r
952 #\r
953 # Privileged drivers (DXE_SMM_DRIVER modules)\r
954 #\r
955 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf\r
956 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
957 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
958 <LibraryClasses>\r
959 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
960 }\r
961 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
962 <LibraryClasses>\r
963 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf\r
964 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
965 }\r
966\r
967 #\r
968 # Variable driver stack (SMM)\r
969 #\r
970 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
971 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
972 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
973 <LibraryClasses>\r
974 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
975 }\r
976 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
977\r
978!else\r
979\r
980 #\r
981 # Variable driver stack (non-SMM)\r
982 #\r
983 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
984 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
985 <LibraryClasses>\r
986 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
987 }\r
988 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
989 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
990 <LibraryClasses>\r
991 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
992 }\r
993!endif\r
994\r
995 #\r
996 # TPM support\r
997 #\r
998!if $(TPM_ENABLE) == TRUE\r
999 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
1000 <LibraryClasses>\r
1001 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
1002 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
1003 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
1004 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
1005 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
1006 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
1007 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
1008 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1009 }\r
1010!if $(TPM_CONFIG_ENABLE) == TRUE\r
1011 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
1012!endif\r
1013 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {\r
1014 <LibraryClasses>\r
1015 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
1016 }\r
1017!endif\r