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