2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 ################################################################################
13 # Defines Section - statements that will be processed to create a Makefile.
15 ################################################################################
18 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/OvmfIa32
22 SUPPORTED_ARCHITECTURES = IA32
23 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
28 # Defines for default states. These can be changed on the command line.
31 DEFINE SECURE_BOOT_ENABLE = FALSE
32 DEFINE SMM_REQUIRE = FALSE
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE
34 DEFINE TPM2_ENABLE = FALSE
35 DEFINE TPM2_CONFIG_ENABLE = FALSE
40 DEFINE NETWORK_TLS_ENABLE = FALSE
41 DEFINE NETWORK_IP6_ENABLE = FALSE
42 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
43 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
45 !include NetworkPkg/NetworkDefines.dsc.inc
48 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
49 # one of the supported values, in place of any of the convenience macros, is
53 DEFINE FD_SIZE_IN_KB = 1024
56 DEFINE FD_SIZE_IN_KB = 2048
59 DEFINE FD_SIZE_IN_KB = 4096
61 DEFINE FD_SIZE_IN_KB = 4096
67 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
68 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
69 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
70 !if $(TOOL_CHAIN_TAG) != "XCODE5"
71 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
75 # Disable deprecated APIs.
77 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
78 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
79 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
81 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
82 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
83 XCODE:*_*_*_DLINK_FLAGS =
85 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
86 # protection of DXE_SMM_DRIVER/SMM_CORE modules
87 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
88 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
89 XCODE:*_*_*_DLINK_FLAGS =
91 ################################################################################
93 # SKU Identification section - list of all SKU IDs supported by this Platform.
95 ################################################################################
99 ################################################################################
101 # Library Class section - list of all Library Classes needed by this Platform.
103 ################################################################################
105 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
106 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
107 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
108 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
109 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
110 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
111 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
112 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
114 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
115 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
116 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
117 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
118 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
119 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
120 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
121 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
122 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
123 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
124 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
125 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
126 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
127 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
128 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
129 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
130 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
131 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
132 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
133 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
134 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
135 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
136 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
137 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
138 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
139 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
140 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
141 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
142 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
143 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
144 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
145 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
146 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
147 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
148 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
149 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
150 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
151 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
152 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
153 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
154 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
155 !if $(SMM_REQUIRE) == FALSE
156 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
158 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
159 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
161 !if $(SOURCE_DEBUG_ENABLE) == TRUE
162 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
163 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
165 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
166 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
169 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
170 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
171 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
173 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
174 !if $(NETWORK_TLS_ENABLE) == TRUE
175 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
177 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
180 !if $(SECURE_BOOT_ENABLE) == TRUE
181 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
182 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
184 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
186 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
192 !include NetworkPkg/NetworkLibs.dsc.inc
194 !if $(NETWORK_TLS_ENABLE) == TRUE
195 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
198 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
199 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
200 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
201 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
202 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
203 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
204 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
206 !if $(TPM2_ENABLE) == TRUE
207 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
208 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
209 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
210 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
212 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
213 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
216 [LibraryClasses.common]
217 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
219 [LibraryClasses.common.SEC]
220 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
221 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
222 !ifdef $(DEBUG_ON_SERIAL_PORT)
223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
227 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
228 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
229 !if $(SOURCE_DEBUG_ENABLE) == TRUE
230 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
232 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
233 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
234 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
235 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
236 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
238 [LibraryClasses.common.PEI_CORE]
239 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
240 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
241 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
242 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
243 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
245 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
246 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
247 !ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
254 [LibraryClasses.common.PEIM]
255 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
258 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
259 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
260 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
261 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
262 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
263 !ifdef $(DEBUG_ON_SERIAL_PORT)
264 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
269 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
270 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
271 !if $(SOURCE_DEBUG_ENABLE) == TRUE
272 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
275 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
276 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
277 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
278 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
280 !if $(TPM2_ENABLE) == TRUE
281 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
282 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
285 [LibraryClasses.common.DXE_CORE]
286 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
287 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
288 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
289 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
290 !ifdef $(DEBUG_ON_SERIAL_PORT)
291 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
296 !if $(SOURCE_DEBUG_ENABLE) == TRUE
297 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
299 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
300 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
302 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
304 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
305 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
306 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
307 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
308 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
309 !ifdef $(DEBUG_ON_SERIAL_PORT)
310 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
312 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
314 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
315 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
316 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
317 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
319 [LibraryClasses.common.UEFI_DRIVER]
320 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
321 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
322 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
323 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
324 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.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 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
334 [LibraryClasses.common.DXE_DRIVER]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
341 !ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
346 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
347 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
348 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
349 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
350 !if $(SMM_REQUIRE) == TRUE
351 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
353 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
355 !if $(SOURCE_DEBUG_ENABLE) == TRUE
356 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
358 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
359 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
360 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
361 !if $(TPM2_ENABLE) == TRUE
362 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
365 [LibraryClasses.common.UEFI_APPLICATION]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 !ifdef $(DEBUG_ON_SERIAL_PORT)
372 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
374 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
378 [LibraryClasses.common.DXE_SMM_DRIVER]
379 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
380 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
381 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
382 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
383 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
384 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
385 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
386 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
387 !ifdef $(DEBUG_ON_SERIAL_PORT)
388 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
390 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
392 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
393 !if $(SOURCE_DEBUG_ENABLE) == TRUE
394 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
396 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
397 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
399 [LibraryClasses.common.SMM_CORE]
400 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
401 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
402 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
403 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
404 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
405 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
406 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
407 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
408 !ifdef $(DEBUG_ON_SERIAL_PORT)
409 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
411 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
413 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
415 ################################################################################
417 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
419 ################################################################################
421 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
424 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
425 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
429 !if $(SMM_REQUIRE) == TRUE
430 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
431 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
438 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
439 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
441 !if $(NETWORK_TLS_ENABLE) == FALSE
442 # match PcdFlashNvStorageVariableSize purely for convenience
443 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
446 !if $(FD_SIZE_IN_KB) == 4096
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
448 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
449 !if $(NETWORK_TLS_ENABLE) == FALSE
450 # match PcdFlashNvStorageVariableSize purely for convenience
451 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
454 !if $(NETWORK_TLS_ENABLE) == TRUE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
456 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
459 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
461 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
463 # DEBUG_INIT 0x00000001 // Initialization
464 # DEBUG_WARN 0x00000002 // Warnings
465 # DEBUG_LOAD 0x00000004 // Load events
466 # DEBUG_FS 0x00000008 // EFI File system
467 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
468 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
469 # DEBUG_INFO 0x00000040 // Informational debug messages
470 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
471 # DEBUG_VARIABLE 0x00000100 // Variable
472 # DEBUG_BM 0x00000400 // Boot Manager
473 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
474 # DEBUG_NET 0x00004000 // SNP Driver
475 # DEBUG_UNDI 0x00010000 // UNDI Driver
476 # DEBUG_LOADFILE 0x00020000 // LoadFile
477 # DEBUG_EVENT 0x00080000 // Event messages
478 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
479 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
480 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
481 # // significantly impact boot performance
482 # DEBUG_ERROR 0x80000000 // Error
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
485 !if $(SOURCE_DEBUG_ENABLE) == TRUE
486 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
488 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
491 # This PCD is used to set the base address of the PCI express hierarchy. It
492 # is only consulted when OVMF runs on Q35. In that case it is programmed into
493 # the PCIEXBAR register.
495 # On Q35 machine types that QEMU intends to support in the long term, QEMU
496 # never lets the RAM below 4 GB exceed 2816 MB.
497 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
499 !if $(SOURCE_DEBUG_ENABLE) == TRUE
500 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
506 !include NetworkPkg/NetworkPcds.dsc.inc
508 !if $(SMM_REQUIRE) == TRUE
509 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
512 # IRQs 5, 9, 10, 11 are level-triggered
513 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
515 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
516 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
518 ################################################################################
520 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
522 ################################################################################
526 # ($(SMM_REQUIRE) == FALSE)
527 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
532 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
535 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
536 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
542 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
544 # Set video resolution for text setup.
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
550 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
552 # Noexec settings for DXE.
553 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
554 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560 # Set memory encryption mask
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563 !if $(SMM_REQUIRE) == TRUE
564 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
565 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
566 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
569 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
571 !if $(TPM2_ENABLE) == TRUE
572 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
575 ################################################################################
577 # Components Section - list of all EDK II Modules needed by this Platform.
579 ################################################################################
581 OvmfPkg/ResetVector/ResetVector.inf
586 OvmfPkg/Sec/SecMain.inf {
588 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
594 MdeModulePkg/Core/Pei/PeiMain.inf
595 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
597 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
599 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
601 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
603 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
605 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
607 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
609 OvmfPkg/PlatformPei/PlatformPei.inf
610 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
612 !if $(SMM_REQUIRE) == TRUE
613 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
616 !if $(SMM_REQUIRE) == TRUE
617 OvmfPkg/SmmAccess/SmmAccessPei.inf
619 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
621 !if $(TPM2_ENABLE) == TRUE
622 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
623 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
625 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
630 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
632 !if $(TPM2_CONFIG_ENABLE) == TRUE
633 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
640 MdeModulePkg/Core/Dxe/DxeMain.inf {
642 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
643 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
646 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
647 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
648 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
650 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
653 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
655 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
657 !if $(SECURE_BOOT_ENABLE) == TRUE
658 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
660 !if $(TPM2_ENABLE) == TRUE
661 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
665 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
666 OvmfPkg/8259InterruptControllerDxe/8259.inf
667 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
668 UefiCpuPkg/CpuDxe/CpuDxe.inf
669 OvmfPkg/8254TimerDxe/8254Timer.inf
670 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
671 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
672 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
674 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
675 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
677 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
679 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
681 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
682 MdeModulePkg/Universal/Metronome/Metronome.inf
683 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
684 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
685 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
688 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
689 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
692 MdeModulePkg/Logo/LogoDxe.inf
693 MdeModulePkg/Application/UiApp/UiApp.inf {
695 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
696 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
697 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
699 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
700 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
703 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
704 OvmfPkg/Virtio10Dxe/Virtio10.inf
705 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
706 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
707 OvmfPkg/VirtioRngDxe/VirtioRng.inf
708 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
709 OvmfPkg/XenBusDxe/XenBusDxe.inf
710 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
711 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
712 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
713 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
714 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
715 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
716 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
718 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
720 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
721 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
723 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
724 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
726 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
727 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
728 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
729 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
730 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
731 FatPkg/EnhancedFatDxe/Fat.inf
732 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
733 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
734 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
735 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
736 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
737 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
738 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
739 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
740 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
741 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
742 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
744 !ifndef $(CSM_ENABLE)
745 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
747 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
748 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
753 OvmfPkg/SioBusDxe/SioBusDxe.inf
754 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
755 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
760 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
762 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
764 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
769 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
770 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
771 OvmfPkg/AcpiTables/AcpiTables.inf
772 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
773 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
774 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
779 !include NetworkPkg/NetworkComponents.dsc.inc
781 !if $(NETWORK_TLS_ENABLE) == TRUE
782 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
784 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
787 OvmfPkg/VirtioNetDxe/VirtioNet.inf
792 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
793 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
794 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
795 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
796 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
797 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
800 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
802 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
804 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
805 OvmfPkg/Csm/Csm16/Csm16.inf
808 !if $(TOOL_CHAIN_TAG) != "XCODE5"
809 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
811 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
814 ShellPkg/Application/Shell/Shell.inf {
816 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
817 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
818 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
819 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
820 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
821 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
822 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
823 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
824 !if $(NETWORK_IP6_ENABLE) == TRUE
825 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
827 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
828 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
829 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
832 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
833 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
834 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
837 !if $(SECURE_BOOT_ENABLE) == TRUE
838 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
839 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
842 OvmfPkg/PlatformDxe/Platform.inf
843 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
845 !if $(SMM_REQUIRE) == TRUE
846 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
847 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
848 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
851 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
853 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
858 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
861 # Privileged drivers (DXE_SMM_DRIVER modules)
863 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
864 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
866 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
868 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
870 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
871 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
875 # Variable driver stack (SMM)
877 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
878 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
879 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
881 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
883 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
888 # Variable driver stack (non-SMM)
890 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
891 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
893 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
895 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
896 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
898 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
902 !if $(TPM2_ENABLE) == TRUE
903 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
905 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
906 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
907 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
908 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
909 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
910 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
911 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
912 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf