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