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