2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2020, 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 TPM_ENABLE = FALSE
36 DEFINE TPM_CONFIG_ENABLE = FALSE
37 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
42 DEFINE NETWORK_TLS_ENABLE = FALSE
43 DEFINE NETWORK_IP6_ENABLE = FALSE
44 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
45 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
46 DEFINE NETWORK_ISCSI_ENABLE = TRUE
48 !include NetworkPkg/NetworkDefines.dsc.inc
53 DEFINE PVSCSI_ENABLE = TRUE
54 DEFINE MPT_SCSI_ENABLE = TRUE
55 DEFINE LSI_SCSI_ENABLE = FALSE
58 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
59 # one of the supported values, in place of any of the convenience macros, is
63 DEFINE FD_SIZE_IN_KB = 1024
66 DEFINE FD_SIZE_IN_KB = 2048
69 DEFINE FD_SIZE_IN_KB = 4096
71 DEFINE FD_SIZE_IN_KB = 4096
77 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
78 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
80 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
81 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
85 # Disable deprecated APIs.
87 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
88 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
89 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
91 !include NetworkPkg/NetworkBuildOptions.dsc.inc
93 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
94 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
95 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
96 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
97 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
99 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
100 # protection of DXE_SMM_DRIVER/SMM_CORE modules
101 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
102 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
103 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
104 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
105 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
107 ################################################################################
109 # SKU Identification section - list of all SKU IDs supported by this Platform.
111 ################################################################################
115 ################################################################################
117 # Library Class section - list of all Library Classes needed by this Platform.
119 ################################################################################
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
122 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
123 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
124 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
125 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
126 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
127 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
128 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
129 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
130 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
131 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
132 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
133 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
134 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
135 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
136 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
137 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
138 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
139 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
140 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
141 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
142 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
143 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
144 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
145 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
146 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
147 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
148 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
149 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
150 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
151 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
152 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
153 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
156 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
157 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
158 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
159 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
160 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
161 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
162 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
163 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
164 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
165 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
166 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
167 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
168 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
169 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
170 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
171 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
172 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
173 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
174 !if $(SMM_REQUIRE) == FALSE
175 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
177 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
178 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
180 !if $(SOURCE_DEBUG_ENABLE) == TRUE
181 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
182 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
184 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
185 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
188 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
189 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
191 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
192 !if $(NETWORK_TLS_ENABLE) == TRUE
193 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
195 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
197 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
199 !if $(SECURE_BOOT_ENABLE) == TRUE
200 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
201 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
203 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
205 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
206 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
207 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
213 !include NetworkPkg/NetworkLibs.dsc.inc
215 !if $(NETWORK_TLS_ENABLE) == TRUE
216 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
219 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
220 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
221 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
222 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
223 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
224 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
225 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
227 !if $(TPM_ENABLE) == TRUE
228 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
229 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
231 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
232 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
234 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
235 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
238 [LibraryClasses.common]
239 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
240 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
242 [LibraryClasses.common.SEC]
243 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
244 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
245 !ifdef $(DEBUG_ON_SERIAL_PORT)
246 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
248 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
250 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
251 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
252 !if $(SOURCE_DEBUG_ENABLE) == TRUE
253 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
255 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
256 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
257 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
258 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
259 !if $(TOOL_CHAIN_TAG) == "XCODE5"
260 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
262 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
265 [LibraryClasses.common.PEI_CORE]
266 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
267 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
268 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
269 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
270 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
271 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
272 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
273 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
274 !ifdef $(DEBUG_ON_SERIAL_PORT)
275 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
277 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
279 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
281 [LibraryClasses.common.PEIM]
282 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
283 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
284 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
285 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
286 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
287 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
288 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
289 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
290 !ifdef $(DEBUG_ON_SERIAL_PORT)
291 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
296 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
297 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
298 !if $(SOURCE_DEBUG_ENABLE) == TRUE
299 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
301 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
302 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
303 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
304 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
305 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
307 !if $(TPM_ENABLE) == TRUE
308 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
309 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
310 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
313 [LibraryClasses.common.DXE_CORE]
314 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
315 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
316 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
317 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
318 !ifdef $(DEBUG_ON_SERIAL_PORT)
319 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
321 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
323 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
324 !if $(SOURCE_DEBUG_ENABLE) == TRUE
325 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
327 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
328 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
330 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
332 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
333 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
334 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
335 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
336 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
337 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
338 !ifdef $(DEBUG_ON_SERIAL_PORT)
339 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
341 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
343 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
344 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
345 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
346 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
347 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
349 [LibraryClasses.common.UEFI_DRIVER]
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
352 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
353 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
354 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
355 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
356 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
357 !ifdef $(DEBUG_ON_SERIAL_PORT)
358 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
360 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
362 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
363 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
365 [LibraryClasses.common.DXE_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
369 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
373 !ifdef $(DEBUG_ON_SERIAL_PORT)
374 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
376 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
378 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
379 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
380 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
381 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
382 !if $(SMM_REQUIRE) == TRUE
383 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
385 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
387 !if $(SOURCE_DEBUG_ENABLE) == TRUE
388 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
390 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
391 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
392 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
393 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
394 !if $(TPM_ENABLE) == TRUE
395 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
396 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
399 [LibraryClasses.common.UEFI_APPLICATION]
400 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
401 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
402 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
403 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
404 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
405 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
406 !ifdef $(DEBUG_ON_SERIAL_PORT)
407 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
409 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
411 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
413 [LibraryClasses.common.DXE_SMM_DRIVER]
414 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
415 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
416 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
417 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
418 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
419 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
420 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
421 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
422 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
423 !ifdef $(DEBUG_ON_SERIAL_PORT)
424 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
426 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
428 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
429 !if $(SOURCE_DEBUG_ENABLE) == TRUE
430 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
432 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
433 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
435 [LibraryClasses.common.SMM_CORE]
436 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
437 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
438 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
439 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
440 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
441 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
442 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
443 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
444 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
445 !ifdef $(DEBUG_ON_SERIAL_PORT)
446 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
448 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
450 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
452 ################################################################################
454 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
456 ################################################################################
458 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
459 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
460 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
461 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
462 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
463 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
465 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
467 !if $(SMM_REQUIRE) == TRUE
468 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
469 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
470 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
474 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
475 !if $(SMM_REQUIRE) == FALSE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
478 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
479 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
480 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
481 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
482 !if $(NETWORK_TLS_ENABLE) == FALSE
483 # match PcdFlashNvStorageVariableSize purely for convenience
484 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
487 !if $(FD_SIZE_IN_KB) == 4096
488 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
489 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
490 !if $(NETWORK_TLS_ENABLE) == FALSE
491 # match PcdFlashNvStorageVariableSize purely for convenience
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
495 !if $(NETWORK_TLS_ENABLE) == TRUE
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
497 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
500 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
501 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
502 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
504 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
506 # DEBUG_INIT 0x00000001 // Initialization
507 # DEBUG_WARN 0x00000002 // Warnings
508 # DEBUG_LOAD 0x00000004 // Load events
509 # DEBUG_FS 0x00000008 // EFI File system
510 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
511 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
512 # DEBUG_INFO 0x00000040 // Informational debug messages
513 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
514 # DEBUG_VARIABLE 0x00000100 // Variable
515 # DEBUG_BM 0x00000400 // Boot Manager
516 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
517 # DEBUG_NET 0x00004000 // SNP Driver
518 # DEBUG_UNDI 0x00010000 // UNDI Driver
519 # DEBUG_LOADFILE 0x00020000 // LoadFile
520 # DEBUG_EVENT 0x00080000 // Event messages
521 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
522 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
523 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
524 # // significantly impact boot performance
525 # DEBUG_ERROR 0x80000000 // Error
526 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
528 !if $(SOURCE_DEBUG_ENABLE) == TRUE
529 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
531 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
534 # This PCD is used to set the base address of the PCI express hierarchy. It
535 # is only consulted when OVMF runs on Q35. In that case it is programmed into
536 # the PCIEXBAR register.
538 # On Q35 machine types that QEMU intends to support in the long term, QEMU
539 # never lets the RAM below 4 GB exceed 2816 MB.
540 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
542 !if $(SOURCE_DEBUG_ENABLE) == TRUE
543 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
547 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
548 # best (please refer to git-blame for past updates). The values capture a set
549 # of BIN hints that made sense at a particular time, for some (now likely
550 # unknown) workloads / boot paths.
552 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
553 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
554 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
555 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
556 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
561 !include NetworkPkg/NetworkPcds.dsc.inc
563 !if $(SMM_REQUIRE) == TRUE
564 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
567 # IRQs 5, 9, 10, 11 are level-triggered
568 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
570 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
571 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
573 ################################################################################
575 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
577 ################################################################################
581 # ($(SMM_REQUIRE) == FALSE)
582 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
584 !if $(SMM_REQUIRE) == FALSE
585 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
586 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
587 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
589 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
590 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
591 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
592 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
593 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
594 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
595 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
597 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
599 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
601 # Set video resolution for text setup.
602 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
603 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
605 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
606 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
607 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
609 # Noexec settings for DXE.
610 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
612 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
613 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
614 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
616 # Set memory encryption mask
617 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
619 # Set SEV-ES defaults
620 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
621 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
622 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
624 !if $(SMM_REQUIRE) == TRUE
625 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
626 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
627 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
628 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
631 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
633 !if $(TPM_ENABLE) == TRUE
634 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
637 # IPv4 and IPv6 PXE Boot support.
638 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
639 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
642 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
643 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
644 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
647 ################################################################################
649 # Components Section - list of all EDK II Modules needed by this Platform.
651 ################################################################################
653 OvmfPkg/ResetVector/ResetVector.inf
658 OvmfPkg/Sec/SecMain.inf {
660 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
666 MdeModulePkg/Core/Pei/PeiMain.inf
667 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
669 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
671 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
673 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
675 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
677 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
679 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
681 OvmfPkg/PlatformPei/PlatformPei.inf
682 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
684 !if $(SMM_REQUIRE) == TRUE
685 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
688 !if $(SMM_REQUIRE) == TRUE
689 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
690 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
691 OvmfPkg/SmmAccess/SmmAccessPei.inf
693 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
695 !if $(TPM_ENABLE) == TRUE
696 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
697 SecurityPkg/Tcg/TcgPei/TcgPei.inf
698 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
700 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
701 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
702 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
703 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
704 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
705 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
712 MdeModulePkg/Core/Dxe/DxeMain.inf {
714 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
715 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
718 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
719 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
720 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
722 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
725 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
727 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
729 !if $(SECURE_BOOT_ENABLE) == TRUE
730 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
732 !if $(TPM_ENABLE) == TRUE
733 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
734 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
738 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
739 OvmfPkg/8259InterruptControllerDxe/8259.inf
740 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
741 UefiCpuPkg/CpuDxe/CpuDxe.inf
742 OvmfPkg/8254TimerDxe/8254Timer.inf
743 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
744 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
745 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
747 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
748 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
750 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
752 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
754 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
755 MdeModulePkg/Universal/Metronome/Metronome.inf
756 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
757 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
758 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
761 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
762 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
765 MdeModulePkg/Logo/LogoDxe.inf
766 MdeModulePkg/Application/UiApp/UiApp.inf {
768 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
769 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
770 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
772 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
773 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
776 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
777 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
778 OvmfPkg/Virtio10Dxe/Virtio10.inf
779 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
780 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
781 OvmfPkg/VirtioRngDxe/VirtioRng.inf
782 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
783 OvmfPkg/XenBusDxe/XenBusDxe.inf
784 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
785 !if $(PVSCSI_ENABLE) == TRUE
786 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
788 !if $(MPT_SCSI_ENABLE) == TRUE
789 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
791 !if $(LSI_SCSI_ENABLE) == TRUE
792 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
794 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
795 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
796 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
797 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
798 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
799 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
801 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
803 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
804 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
806 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
807 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
809 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
810 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
811 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
812 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
813 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
814 FatPkg/EnhancedFatDxe/Fat.inf
815 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
816 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
817 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
818 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
819 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
820 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
821 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
822 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
823 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
824 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
825 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
826 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
828 !ifndef $(CSM_ENABLE)
829 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
831 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
832 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
837 OvmfPkg/SioBusDxe/SioBusDxe.inf
838 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
839 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
844 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
846 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
848 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
853 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
854 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
855 OvmfPkg/AcpiTables/AcpiTables.inf
856 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
857 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
858 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
863 !include NetworkPkg/NetworkComponents.dsc.inc
865 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
867 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
870 !if $(NETWORK_TLS_ENABLE) == TRUE
871 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
873 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
876 OvmfPkg/VirtioNetDxe/VirtioNet.inf
881 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
882 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
883 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
884 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
885 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
886 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
889 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
891 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
893 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
894 OvmfPkg/Csm/Csm16/Csm16.inf
897 !if $(TOOL_CHAIN_TAG) != "XCODE5"
898 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
900 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
902 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
904 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
906 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
908 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
911 ShellPkg/Application/Shell/Shell.inf {
913 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
914 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
915 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
916 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
917 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
918 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
919 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
920 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
921 !if $(NETWORK_IP6_ENABLE) == TRUE
922 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
924 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
925 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
926 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
929 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
930 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
931 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
934 !if $(SECURE_BOOT_ENABLE) == TRUE
935 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
936 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
939 OvmfPkg/PlatformDxe/Platform.inf
940 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
942 !if $(SMM_REQUIRE) == TRUE
943 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
944 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
945 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
948 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
950 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
955 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
958 # Privileged drivers (DXE_SMM_DRIVER modules)
960 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
961 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
962 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
964 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
966 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
968 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
969 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
973 # Variable driver stack (SMM)
975 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
976 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
977 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
979 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
980 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
982 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
987 # Variable driver stack (non-SMM)
989 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
990 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
992 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
994 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
995 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
997 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1004 !if $(TPM_ENABLE) == TRUE
1005 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
1007 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
1008 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
1009 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
1010 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1011 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1012 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
1013 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
1014 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
1016 !if $(TPM_CONFIG_ENABLE) == TRUE
1017 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
1019 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1021 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
1025 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1026 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf