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/OvmfIa32
23 SUPPORTED_ARCHITECTURES = IA32
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.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
35 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
37 !include OvmfPkg/OvmfTpmDefines.dsc.inc
40 # Shell can be useful for debugging but should not be enabled for production
42 DEFINE BUILD_SHELL = TRUE
47 DEFINE NETWORK_TLS_ENABLE = FALSE
48 DEFINE NETWORK_IP6_ENABLE = FALSE
49 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
50 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
51 DEFINE NETWORK_ISCSI_ENABLE = TRUE
53 !include NetworkPkg/NetworkDefines.dsc.inc
58 DEFINE PVSCSI_ENABLE = FALSE
59 DEFINE MPT_SCSI_ENABLE = FALSE
60 DEFINE LSI_SCSI_ENABLE = FALSE
63 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
64 # one of the supported values, in place of any of the convenience macros, is
68 DEFINE FD_SIZE_IN_KB = 1024
71 DEFINE FD_SIZE_IN_KB = 2048
74 DEFINE FD_SIZE_IN_KB = 4096
76 DEFINE FD_SIZE_IN_KB = 4096
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
88 RELEASE_*_*_GENFW_FLAGS = --zero
91 # Disable deprecated APIs.
93 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
94 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
95 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
97 !include NetworkPkg/NetworkBuildOptions.dsc.inc
99 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
100 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
101 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
102 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
103 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
105 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
106 # protection of DXE_SMM_DRIVER/SMM_CORE modules
107 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
108 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
109 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
110 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
111 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
113 ################################################################################
115 # SKU Identification section - list of all SKU IDs supported by this Platform.
117 ################################################################################
121 ################################################################################
123 # Library Class section - list of all Library Classes needed by this Platform.
125 ################################################################################
127 !include MdePkg/MdeLibs.dsc.inc
130 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
131 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
132 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
133 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
134 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
135 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
136 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
137 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
138 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
139 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
140 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
141 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
142 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
143 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
144 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
145 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
146 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
147 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
148 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
149 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
150 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
151 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
152 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
153 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
154 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
155 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
156 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
157 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
158 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
159 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
160 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
161 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
162 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
163 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
164 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
165 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
166 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
167 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
168 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
169 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
170 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
171 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
172 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
173 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
174 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
175 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
176 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
177 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
178 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
179 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
180 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
181 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
182 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
183 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
184 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
185 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLibNull.inf
186 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
187 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
188 !if $(SMM_REQUIRE) == FALSE
189 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
191 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
192 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
194 !if $(SOURCE_DEBUG_ENABLE) == TRUE
195 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
196 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
198 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
199 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
202 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
203 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
205 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
206 !if $(NETWORK_TLS_ENABLE) == TRUE
207 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
209 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
211 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
213 !if $(SECURE_BOOT_ENABLE) == TRUE
214 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
215 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
216 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
217 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
218 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
220 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
222 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
223 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
224 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
225 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
231 !include NetworkPkg/NetworkLibs.dsc.inc
233 !if $(NETWORK_TLS_ENABLE) == TRUE
234 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
237 !if $(BUILD_SHELL) == TRUE
238 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
240 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
242 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
243 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
244 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
246 !include OvmfPkg/OvmfTpmLibs.dsc.inc
248 [LibraryClasses.common]
249 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
250 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
252 [LibraryClasses.common.SEC]
253 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
254 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
255 !ifdef $(DEBUG_ON_SERIAL_PORT)
256 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
258 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
260 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
261 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
262 !if $(SOURCE_DEBUG_ENABLE) == TRUE
263 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
265 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
266 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
267 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
268 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
269 !if $(TOOL_CHAIN_TAG) == "XCODE5"
270 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
272 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
274 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
276 [LibraryClasses.common.PEI_CORE]
277 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
278 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
279 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
280 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
281 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
282 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
283 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
284 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
285 !ifdef $(DEBUG_ON_SERIAL_PORT)
286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
290 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
292 [LibraryClasses.common.PEIM]
293 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
294 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
295 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
296 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
297 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
298 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
299 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
300 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
301 !ifdef $(DEBUG_ON_SERIAL_PORT)
302 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
304 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
306 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
307 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
308 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
309 !if $(SOURCE_DEBUG_ENABLE) == TRUE
310 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
312 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
313 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
314 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
315 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
316 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
317 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
319 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
321 [LibraryClasses.common.DXE_CORE]
322 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
323 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
324 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326 !ifdef $(DEBUG_ON_SERIAL_PORT)
327 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
329 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
331 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
332 !if $(SOURCE_DEBUG_ENABLE) == TRUE
333 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
335 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
338 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
345 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
346 !ifdef $(DEBUG_ON_SERIAL_PORT)
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
351 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
352 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
353 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
354 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
355 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
356 !if $(SMM_REQUIRE) == TRUE
357 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
360 [LibraryClasses.common.UEFI_DRIVER]
361 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
362 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
363 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
364 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
365 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
366 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
367 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
368 !ifdef $(DEBUG_ON_SERIAL_PORT)
369 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
371 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
373 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
374 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
376 [LibraryClasses.common.DXE_DRIVER]
377 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
378 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
379 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
380 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
381 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
382 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
383 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
384 !ifdef $(DEBUG_ON_SERIAL_PORT)
385 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
387 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
389 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
390 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
391 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
392 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
393 !if $(SMM_REQUIRE) == TRUE
394 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
396 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
398 !if $(SOURCE_DEBUG_ENABLE) == TRUE
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
401 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
402 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
403 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
404 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
406 [LibraryClasses.common.UEFI_APPLICATION]
407 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
408 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
409 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
410 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
411 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
412 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
413 !ifdef $(DEBUG_ON_SERIAL_PORT)
414 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
416 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
418 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
420 [LibraryClasses.common.DXE_SMM_DRIVER]
421 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
422 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
423 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
424 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
425 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
426 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
427 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
428 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
429 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
430 !ifdef $(DEBUG_ON_SERIAL_PORT)
431 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
433 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
435 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
436 !if $(SOURCE_DEBUG_ENABLE) == TRUE
437 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
439 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
440 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
441 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
443 [LibraryClasses.common.SMM_CORE]
444 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
445 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
446 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
447 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
448 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
449 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
450 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
451 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
452 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
453 !ifdef $(DEBUG_ON_SERIAL_PORT)
454 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
456 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
458 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
460 ################################################################################
462 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
464 ################################################################################
466 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
470 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
473 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
475 !if $(SMM_REQUIRE) == TRUE
476 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
477 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
478 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
482 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
483 !if $(SMM_REQUIRE) == FALSE
484 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
486 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
487 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
488 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
489 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
490 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
491 !if $(NETWORK_TLS_ENABLE) == FALSE
492 # match PcdFlashNvStorageVariableSize purely for convenience
493 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
496 !if $(FD_SIZE_IN_KB) == 4096
497 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
498 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
499 !if $(NETWORK_TLS_ENABLE) == FALSE
500 # match PcdFlashNvStorageVariableSize purely for convenience
501 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
504 !if $(NETWORK_TLS_ENABLE) == TRUE
505 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
506 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
509 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
510 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
511 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
513 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
515 # DEBUG_INIT 0x00000001 // Initialization
516 # DEBUG_WARN 0x00000002 // Warnings
517 # DEBUG_LOAD 0x00000004 // Load events
518 # DEBUG_FS 0x00000008 // EFI File system
519 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
520 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
521 # DEBUG_INFO 0x00000040 // Informational debug messages
522 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
523 # DEBUG_VARIABLE 0x00000100 // Variable
524 # DEBUG_BM 0x00000400 // Boot Manager
525 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
526 # DEBUG_NET 0x00004000 // SNP Driver
527 # DEBUG_UNDI 0x00010000 // UNDI Driver
528 # DEBUG_LOADFILE 0x00020000 // LoadFile
529 # DEBUG_EVENT 0x00080000 // Event messages
530 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
531 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
532 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
533 # // significantly impact boot performance
534 # DEBUG_ERROR 0x80000000 // Error
535 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
537 !if $(SOURCE_DEBUG_ENABLE) == TRUE
538 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
540 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
543 # This PCD is used to set the base address of the PCI express hierarchy. It
544 # is only consulted when OVMF runs on Q35. In that case it is programmed into
545 # the PCIEXBAR register.
547 # On Q35 machine types that QEMU intends to support in the long term, QEMU
548 # never lets the RAM below 4 GB exceed 2816 MB.
549 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
551 !if $(SOURCE_DEBUG_ENABLE) == TRUE
552 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
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
570 !include NetworkPkg/NetworkPcds.dsc.inc
572 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
574 !if $(SMM_REQUIRE) == TRUE
575 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
578 # IRQs 5, 9, 10, 11 are level-triggered
579 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
581 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
582 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
584 ################################################################################
586 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
588 ################################################################################
592 # ($(SMM_REQUIRE) == FALSE)
593 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
595 !if $(SMM_REQUIRE) == FALSE
596 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
597 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
598 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
599 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
600 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
602 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
603 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
604 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
605 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
606 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
607 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
608 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
609 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
610 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
611 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
612 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
614 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
616 # Set video resolution for text setup.
617 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
618 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
620 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
621 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
622 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
624 # Noexec settings for DXE.
625 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
627 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
628 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
629 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
631 # Set memory encryption mask
632 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
634 # Set Tdx shared bit mask
635 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
637 # Set SEV-ES defaults
638 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
639 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
640 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
642 !if $(SMM_REQUIRE) == TRUE
643 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
644 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
645 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
646 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
649 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
651 !include OvmfPkg/OvmfTpmPcds.dsc.inc
653 # IPv4 and IPv6 PXE Boot support.
654 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
655 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
657 # Set ConfidentialComputing defaults
658 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
660 !if $(CSM_ENABLE) == FALSE
661 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
665 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
667 ################################################################################
669 # Components Section - list of all EDK II Modules needed by this Platform.
671 ################################################################################
673 OvmfPkg/ResetVector/ResetVector.inf
678 OvmfPkg/Sec/SecMain.inf {
680 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
686 MdeModulePkg/Core/Pei/PeiMain.inf
687 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
689 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
691 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
693 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
695 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
697 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
699 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
701 OvmfPkg/PlatformPei/PlatformPei.inf
702 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
704 !if $(SMM_REQUIRE) == TRUE
705 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
708 !if $(SMM_REQUIRE) == TRUE
709 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
710 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
711 OvmfPkg/SmmAccess/SmmAccessPei.inf
713 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
715 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
720 MdeModulePkg/Core/Dxe/DxeMain.inf {
722 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
723 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
726 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
727 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
728 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
730 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
733 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
735 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
737 !if $(SECURE_BOOT_ENABLE) == TRUE
738 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
740 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
743 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
744 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
745 UefiCpuPkg/CpuDxe/CpuDxe.inf
747 OvmfPkg/8259InterruptControllerDxe/8259.inf
748 OvmfPkg/8254TimerDxe/8254Timer.inf
750 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
752 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
753 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
754 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
756 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
757 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
758 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
760 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
762 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
764 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
765 MdeModulePkg/Universal/Metronome/Metronome.inf
766 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
767 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
768 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
770 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
772 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
773 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
776 MdeModulePkg/Logo/LogoDxe.inf
777 MdeModulePkg/Application/UiApp/UiApp.inf {
779 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
780 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
781 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
783 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
784 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
787 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
789 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
791 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
792 OvmfPkg/Virtio10Dxe/Virtio10.inf
793 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
794 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
795 OvmfPkg/VirtioRngDxe/VirtioRng.inf
796 !if $(PVSCSI_ENABLE) == TRUE
797 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
799 !if $(MPT_SCSI_ENABLE) == TRUE
800 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
802 !if $(LSI_SCSI_ENABLE) == TRUE
803 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
805 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
806 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
807 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
808 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
809 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
810 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
812 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
814 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
815 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
817 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
818 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
820 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
821 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
822 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
823 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
824 FatPkg/EnhancedFatDxe/Fat.inf
825 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
826 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
827 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
828 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
829 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
830 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
831 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
832 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
833 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
834 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
835 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
836 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
838 !ifndef $(CSM_ENABLE)
839 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
841 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
842 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
847 OvmfPkg/SioBusDxe/SioBusDxe.inf
848 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
849 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
854 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
856 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
858 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
863 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
864 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
865 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
866 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
867 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
872 !include NetworkPkg/NetworkComponents.dsc.inc
874 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
876 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
879 !if $(NETWORK_TLS_ENABLE) == TRUE
880 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
882 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
885 OvmfPkg/VirtioNetDxe/VirtioNet.inf
890 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
891 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
892 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
893 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
894 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
895 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
898 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
900 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
902 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
903 OvmfPkg/Csm/Csm16/Csm16.inf
906 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
907 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
909 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
911 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
913 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
915 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
917 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
920 !if $(BUILD_SHELL) == TRUE
921 ShellPkg/Application/Shell/Shell.inf {
923 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
924 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
925 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
926 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
927 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
928 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
929 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
930 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
931 !if $(NETWORK_IP6_ENABLE) == TRUE
932 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
934 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
935 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
936 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
939 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
940 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
941 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
945 !if $(SECURE_BOOT_ENABLE) == TRUE
946 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
947 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
950 OvmfPkg/PlatformDxe/Platform.inf
951 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
953 !if $(SMM_REQUIRE) == TRUE
954 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
955 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
956 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
959 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
961 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
966 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
969 # Privileged drivers (DXE_SMM_DRIVER modules)
971 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
972 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
973 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
975 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
977 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
979 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
980 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
984 # Variable driver stack (SMM)
986 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
988 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
990 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
991 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
993 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
994 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
996 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1001 # Variable driver stack (non-SMM)
1003 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
1004 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
1006 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
1008 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1009 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
1011 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1018 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc
1020 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1021 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf