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