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