2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
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.
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ################################################################################
14 # Defines Section - statements that will be processed to create a Makefile.
16 ################################################################################
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/Ovmf3264
23 SUPPORTED_ARCHITECTURES = IA32|X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf
29 # Defines for default states. These can be changed on the command line.
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SMM_REQUIRE = FALSE
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
36 !include OvmfPkg/OvmfTpmDefines.dsc.inc
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
47 !include NetworkPkg/NetworkDefines.dsc.inc
52 DEFINE PVSCSI_ENABLE = TRUE
53 DEFINE MPT_SCSI_ENABLE = TRUE
54 DEFINE LSI_SCSI_ENABLE = FALSE
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
62 DEFINE FD_SIZE_IN_KB = 1024
65 DEFINE FD_SIZE_IN_KB = 2048
68 DEFINE FD_SIZE_IN_KB = 4096
70 DEFINE FD_SIZE_IN_KB = 4096
76 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
77 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
78 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
80 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
82 !if $(SOURCE_DEBUG_ENABLE) == TRUE
83 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
84 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
85 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
87 RELEASE_*_*_GENFW_FLAGS = --zero
90 # Disable deprecated APIs.
92 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
93 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
94 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
96 !include NetworkPkg/NetworkBuildOptions.dsc.inc
98 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
104 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
105 # protection of DXE_SMM_DRIVER/SMM_CORE modules
106 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
107 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
108 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
109 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
110 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
112 ################################################################################
114 # SKU Identification section - list of all SKU IDs supported by this Platform.
116 ################################################################################
120 ################################################################################
122 # Library Class section - list of all Library Classes needed by this Platform.
124 ################################################################################
126 !include MdePkg/MdeLibs.dsc.inc
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
131 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
132 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
133 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
134 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
135 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
136 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
137 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
138 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
139 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
140 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
141 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
142 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
143 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
144 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
145 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
146 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
147 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
148 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
149 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
150 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
151 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
152 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
154 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
155 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
156 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
157 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
158 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
159 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
160 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
161 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
162 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
163 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
164 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
165 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
166 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
167 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
168 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
169 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
170 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
171 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
172 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
173 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
174 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
175 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
176 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
177 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
178 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
179 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
180 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
181 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
182 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
183 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
184 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLibNull.inf
185 !if $(SMM_REQUIRE) == FALSE
186 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
188 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
189 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
191 !if $(SOURCE_DEBUG_ENABLE) == TRUE
192 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
193 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
195 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
196 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
199 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
200 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
202 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
203 !if $(NETWORK_TLS_ENABLE) == TRUE
204 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
206 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
208 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
210 !if $(SECURE_BOOT_ENABLE) == TRUE
211 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
212 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
213 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
214 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
216 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
218 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
219 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
220 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
221 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
227 !include NetworkPkg/NetworkLibs.dsc.inc
229 !if $(NETWORK_TLS_ENABLE) == TRUE
230 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
233 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
234 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
235 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
236 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
237 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
239 !include OvmfPkg/OvmfTpmLibs.dsc.inc
241 [LibraryClasses.common]
242 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
243 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
244 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
245 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf
247 [LibraryClasses.common.SEC]
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
249 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
250 !ifdef $(DEBUG_ON_SERIAL_PORT)
251 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
253 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
256 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
257 !if $(SOURCE_DEBUG_ENABLE) == TRUE
258 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
260 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
261 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
262 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
263 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
264 !if $(TOOL_CHAIN_TAG) == "XCODE5"
265 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
269 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
271 [LibraryClasses.common.PEI_CORE]
272 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
274 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
275 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
276 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
277 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
278 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
279 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
287 [LibraryClasses.common.PEIM]
288 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
289 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
290 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
291 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
292 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
293 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
294 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
295 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
296 !ifdef $(DEBUG_ON_SERIAL_PORT)
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
301 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
302 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
303 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
304 !if $(SOURCE_DEBUG_ENABLE) == TRUE
305 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
307 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
308 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
309 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
310 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
311 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
312 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
314 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
316 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
318 [LibraryClasses.common.DXE_CORE]
319 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
320 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
321 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
322 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
323 !ifdef $(DEBUG_ON_SERIAL_PORT)
324 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
326 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
328 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
329 !if $(SOURCE_DEBUG_ENABLE) == TRUE
330 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
332 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
333 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
335 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
338 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
339 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
340 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
341 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
342 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
343 !ifdef $(DEBUG_ON_SERIAL_PORT)
344 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
346 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
348 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
349 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
350 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
351 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
352 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
353 !if $(SMM_REQUIRE) == TRUE
354 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
357 [LibraryClasses.common.UEFI_DRIVER]
358 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
359 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
360 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
361 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
362 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
363 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
364 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
365 !ifdef $(DEBUG_ON_SERIAL_PORT)
366 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
368 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
370 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
371 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
373 [LibraryClasses.common.DXE_DRIVER]
374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
375 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
376 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
377 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
378 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
379 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
380 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
381 !ifdef $(DEBUG_ON_SERIAL_PORT)
382 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
384 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
386 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
387 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
388 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
389 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
390 !if $(SMM_REQUIRE) == TRUE
391 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
393 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
395 !if $(SOURCE_DEBUG_ENABLE) == TRUE
396 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
398 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
399 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
400 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
401 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
403 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
405 [LibraryClasses.common.UEFI_APPLICATION]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
408 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
410 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
411 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
412 !ifdef $(DEBUG_ON_SERIAL_PORT)
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419 [LibraryClasses.common.DXE_SMM_DRIVER]
420 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
421 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
422 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
423 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
424 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
425 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
426 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
427 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
428 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
429 !ifdef $(DEBUG_ON_SERIAL_PORT)
430 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
432 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
434 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
435 !if $(SOURCE_DEBUG_ENABLE) == TRUE
436 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
438 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
439 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
440 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
442 [LibraryClasses.common.SMM_CORE]
443 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
444 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
445 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
446 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
447 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
448 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
449 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
450 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
451 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
452 !ifdef $(DEBUG_ON_SERIAL_PORT)
453 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
455 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
457 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
459 ################################################################################
461 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
463 ################################################################################
465 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
470 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
472 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
474 !if $(SMM_REQUIRE) == TRUE
475 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
476 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
477 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
481 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
482 !if $(SMM_REQUIRE) == FALSE
483 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
485 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
486 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
487 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
488 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
489 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
490 !if $(NETWORK_TLS_ENABLE) == FALSE
491 # match PcdFlashNvStorageVariableSize purely for convenience
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
495 !if $(FD_SIZE_IN_KB) == 4096
496 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
497 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
498 !if $(NETWORK_TLS_ENABLE) == FALSE
499 # match PcdFlashNvStorageVariableSize purely for convenience
500 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
503 !if $(NETWORK_TLS_ENABLE) == TRUE
504 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
505 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
508 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
509 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
510 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
512 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
514 # DEBUG_INIT 0x00000001 // Initialization
515 # DEBUG_WARN 0x00000002 // Warnings
516 # DEBUG_LOAD 0x00000004 // Load events
517 # DEBUG_FS 0x00000008 // EFI File system
518 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
519 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
520 # DEBUG_INFO 0x00000040 // Informational debug messages
521 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
522 # DEBUG_VARIABLE 0x00000100 // Variable
523 # DEBUG_BM 0x00000400 // Boot Manager
524 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
525 # DEBUG_NET 0x00004000 // SNP Driver
526 # DEBUG_UNDI 0x00010000 // UNDI Driver
527 # DEBUG_LOADFILE 0x00020000 // LoadFile
528 # DEBUG_EVENT 0x00080000 // Event messages
529 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
530 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
531 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
532 # // significantly impact boot performance
533 # DEBUG_ERROR 0x80000000 // Error
534 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
536 !if $(SOURCE_DEBUG_ENABLE) == TRUE
537 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
539 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
542 # This PCD is used to set the base address of the PCI express hierarchy. It
543 # is only consulted when OVMF runs on Q35. In that case it is programmed into
544 # the PCIEXBAR register.
546 # On Q35 machine types that QEMU intends to support in the long term, QEMU
547 # never lets the RAM below 4 GB exceed 2816 MB.
548 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
550 !if $(SOURCE_DEBUG_ENABLE) == TRUE
551 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
554 [PcdsFixedAtBuild.IA32]
556 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
557 # best (please refer to git-blame for past updates). The values capture a set
558 # of BIN hints that made sense at a particular time, for some (now likely
559 # unknown) workloads / boot paths.
561 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
562 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
563 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
564 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
565 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
567 [PcdsFixedAtBuild.X64]
571 !include NetworkPkg/NetworkPcds.dsc.inc
573 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
575 !if $(SMM_REQUIRE) == TRUE
576 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
579 # IRQs 5, 9, 10, 11 are level-triggered
580 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
582 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
583 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
585 ################################################################################
587 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
589 ################################################################################
593 # ($(SMM_REQUIRE) == FALSE)
594 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
596 !if $(SMM_REQUIRE) == FALSE
597 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
598 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
599 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
600 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
601 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
603 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
604 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
605 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
606 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
607 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
608 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
609 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
610 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
611 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
612 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
613 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
614 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
616 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0
618 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
621 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
623 # Set video resolution for text setup.
624 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
625 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
627 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
628 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
629 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
631 # Noexec settings for DXE.
632 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
634 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
635 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
636 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
638 # Set memory encryption mask
639 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
640 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
642 # Set SEV-ES defaults
643 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
644 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
645 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
647 !if $(SMM_REQUIRE) == TRUE
648 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
649 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
650 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
651 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
654 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
656 !include OvmfPkg/OvmfTpmPcds.dsc.inc
658 # Set ConfidentialComputing defaults
659 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
661 !if $(CSM_ENABLE) == FALSE
662 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
665 [PcdsDynamicDefault.X64]
666 # IPv4 and IPv6 PXE Boot support.
667 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
668 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
671 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
673 ################################################################################
675 # Components Section - list of all EDK II Modules needed by this Platform.
677 ################################################################################
679 OvmfPkg/ResetVector/ResetVector.inf
684 OvmfPkg/Sec/SecMain.inf {
686 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
692 MdeModulePkg/Core/Pei/PeiMain.inf
693 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
695 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
697 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
699 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
701 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
703 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
705 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
707 OvmfPkg/PlatformPei/PlatformPei.inf
708 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
710 !if $(SMM_REQUIRE) == TRUE
711 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
714 !if $(SMM_REQUIRE) == TRUE
715 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
716 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
717 OvmfPkg/SmmAccess/SmmAccessPei.inf
719 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
721 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
727 MdeModulePkg/Core/Dxe/DxeMain.inf {
729 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
730 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
733 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
734 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
735 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
737 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
740 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
742 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
744 !if $(SECURE_BOOT_ENABLE) == TRUE
745 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
747 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
750 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
751 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
752 UefiCpuPkg/CpuDxe/CpuDxe.inf
754 OvmfPkg/8259InterruptControllerDxe/8259.inf
755 OvmfPkg/8254TimerDxe/8254Timer.inf
757 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
759 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
760 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
761 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
763 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
764 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
765 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
767 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
769 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
771 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
772 MdeModulePkg/Universal/Metronome/Metronome.inf
773 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
774 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
775 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
777 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
779 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
780 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
783 MdeModulePkg/Logo/LogoDxe.inf
784 MdeModulePkg/Application/UiApp/UiApp.inf {
786 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
787 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
788 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
790 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
791 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
794 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
796 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
798 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
799 OvmfPkg/Virtio10Dxe/Virtio10.inf
800 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
801 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
802 OvmfPkg/VirtioRngDxe/VirtioRng.inf
803 !if $(PVSCSI_ENABLE) == TRUE
804 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
806 !if $(MPT_SCSI_ENABLE) == TRUE
807 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
809 !if $(LSI_SCSI_ENABLE) == TRUE
810 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
812 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
813 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
814 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
815 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
816 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
817 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
819 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
821 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
822 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
824 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
825 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
827 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
828 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
829 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
830 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
831 FatPkg/EnhancedFatDxe/Fat.inf
832 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
833 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
834 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
835 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
836 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
837 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
838 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
839 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
840 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
841 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
842 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
843 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
845 !ifndef $(CSM_ENABLE)
846 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
848 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
849 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
854 OvmfPkg/SioBusDxe/SioBusDxe.inf
855 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
856 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
861 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
863 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
865 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
870 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
871 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
872 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
873 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
874 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
879 !include NetworkPkg/NetworkComponents.dsc.inc
881 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
883 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
886 !if $(NETWORK_TLS_ENABLE) == TRUE
887 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
889 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
892 OvmfPkg/VirtioNetDxe/VirtioNet.inf
897 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
898 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
899 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
900 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
901 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
902 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
905 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
907 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
909 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
910 OvmfPkg/Csm/Csm16/Csm16.inf
913 !if $(TOOL_CHAIN_TAG) != "XCODE5"
914 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
916 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
918 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
920 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
922 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
924 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
927 ShellPkg/Application/Shell/Shell.inf {
929 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
930 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
931 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
932 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
933 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
934 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
935 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
936 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
937 !if $(NETWORK_IP6_ENABLE) == TRUE
938 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
940 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
941 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
942 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
945 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
946 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
947 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
950 !if $(SECURE_BOOT_ENABLE) == TRUE
951 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
952 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
955 OvmfPkg/PlatformDxe/Platform.inf
956 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
958 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
960 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
962 !if $(SMM_REQUIRE) == TRUE
963 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
964 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
965 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
968 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
970 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
975 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
978 # Privileged drivers (DXE_SMM_DRIVER modules)
980 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
981 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
982 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
984 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
986 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
988 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
989 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
993 # Variable driver stack (SMM)
995 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
997 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
999 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1000 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
1002 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1003 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
1005 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1010 # Variable driver stack (non-SMM)
1012 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
1013 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
1015 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
1017 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1018 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
1020 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1027 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc