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