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 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
129 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
130 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
131 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
132 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
133 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
135 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
136 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
137 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
138 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
139 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
140 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
141 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
142 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
143 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
144 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
145 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
146 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
147 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
148 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
149 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
150 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
151 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
152 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
153 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
154 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
155 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
156 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
157 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
158 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
159 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
160 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
161 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
162 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
163 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
164 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
165 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
166 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
167 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
168 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
169 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
170 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
171 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
172 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
173 !if $(SMM_REQUIRE) == FALSE
174 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
176 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
177 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
179 !if $(SOURCE_DEBUG_ENABLE) == TRUE
180 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
181 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
183 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
184 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
187 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
188 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
190 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
191 !if $(NETWORK_TLS_ENABLE) == TRUE
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
196 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
198 !if $(SECURE_BOOT_ENABLE) == TRUE
199 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
200 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
202 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
204 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
205 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
206 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
212 !include NetworkPkg/NetworkLibs.dsc.inc
214 !if $(NETWORK_TLS_ENABLE) == TRUE
215 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
218 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
219 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
220 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
221 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
222 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
223 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
224 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
226 !if $(TPM_ENABLE) == TRUE
227 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
228 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
229 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
230 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
231 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
233 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
234 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
237 [LibraryClasses.common]
238 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
239 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
241 [LibraryClasses.common.SEC]
242 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
243 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
244 !ifdef $(DEBUG_ON_SERIAL_PORT)
245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
249 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
250 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
251 !if $(SOURCE_DEBUG_ENABLE) == TRUE
252 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
254 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
255 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
258 !if $(TOOL_CHAIN_TAG) == "XCODE5"
259 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
261 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
264 [LibraryClasses.common.PEI_CORE]
265 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
266 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
267 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
268 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
269 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
270 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
271 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
272 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
273 !ifdef $(DEBUG_ON_SERIAL_PORT)
274 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
276 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
278 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
280 [LibraryClasses.common.PEIM]
281 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
282 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
283 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
284 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
285 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
286 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
287 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
288 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
289 !ifdef $(DEBUG_ON_SERIAL_PORT)
290 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
292 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
294 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
295 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
296 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
297 !if $(SOURCE_DEBUG_ENABLE) == TRUE
298 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
300 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
301 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
302 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
303 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
304 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
306 !if $(TPM_ENABLE) == TRUE
307 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
308 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
309 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
312 [LibraryClasses.common.DXE_CORE]
313 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
314 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
315 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
316 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
317 !ifdef $(DEBUG_ON_SERIAL_PORT)
318 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
320 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
322 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
323 !if $(SOURCE_DEBUG_ENABLE) == TRUE
324 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
326 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
327 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
329 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
331 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
332 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
333 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
334 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
335 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
336 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
337 !ifdef $(DEBUG_ON_SERIAL_PORT)
338 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
340 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
342 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
343 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
344 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
345 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
346 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
348 [LibraryClasses.common.UEFI_DRIVER]
349 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
350 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
351 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
352 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
353 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
354 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
355 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
356 !ifdef $(DEBUG_ON_SERIAL_PORT)
357 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
359 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
361 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
362 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
364 [LibraryClasses.common.DXE_DRIVER]
365 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
366 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
367 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
372 !ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
377 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
378 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
379 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
380 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
381 !if $(SMM_REQUIRE) == TRUE
382 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
384 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
386 !if $(SOURCE_DEBUG_ENABLE) == TRUE
387 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
389 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
390 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
391 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
392 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
393 !if $(TPM_ENABLE) == TRUE
394 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
395 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
398 [LibraryClasses.common.UEFI_APPLICATION]
399 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
400 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
401 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
402 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
403 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
404 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
405 !ifdef $(DEBUG_ON_SERIAL_PORT)
406 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
408 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
410 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
412 [LibraryClasses.common.DXE_SMM_DRIVER]
413 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
414 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
415 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
416 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
417 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
418 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
419 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
420 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
421 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
422 !ifdef $(DEBUG_ON_SERIAL_PORT)
423 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
425 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
427 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
428 !if $(SOURCE_DEBUG_ENABLE) == TRUE
429 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
431 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
432 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
434 [LibraryClasses.common.SMM_CORE]
435 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
436 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
437 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
438 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
439 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
440 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
441 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
442 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
443 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
444 !ifdef $(DEBUG_ON_SERIAL_PORT)
445 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
447 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
449 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
451 ################################################################################
453 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
455 ################################################################################
457 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
459 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
460 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
461 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
462 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
464 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
466 !if $(SMM_REQUIRE) == TRUE
467 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
468 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
474 !if $(SMM_REQUIRE) == FALSE
475 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
477 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
478 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
479 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
480 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
481 !if $(NETWORK_TLS_ENABLE) == FALSE
482 # match PcdFlashNvStorageVariableSize purely for convenience
483 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
486 !if $(FD_SIZE_IN_KB) == 4096
487 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
488 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
489 !if $(NETWORK_TLS_ENABLE) == FALSE
490 # match PcdFlashNvStorageVariableSize purely for convenience
491 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
494 !if $(NETWORK_TLS_ENABLE) == TRUE
495 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
496 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
499 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
500 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
501 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
503 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
505 # DEBUG_INIT 0x00000001 // Initialization
506 # DEBUG_WARN 0x00000002 // Warnings
507 # DEBUG_LOAD 0x00000004 // Load events
508 # DEBUG_FS 0x00000008 // EFI File system
509 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
510 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
511 # DEBUG_INFO 0x00000040 // Informational debug messages
512 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
513 # DEBUG_VARIABLE 0x00000100 // Variable
514 # DEBUG_BM 0x00000400 // Boot Manager
515 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
516 # DEBUG_NET 0x00004000 // SNP Driver
517 # DEBUG_UNDI 0x00010000 // UNDI Driver
518 # DEBUG_LOADFILE 0x00020000 // LoadFile
519 # DEBUG_EVENT 0x00080000 // Event messages
520 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
521 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
522 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
523 # // significantly impact boot performance
524 # DEBUG_ERROR 0x80000000 // Error
525 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
527 !if $(SOURCE_DEBUG_ENABLE) == TRUE
528 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
530 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
533 # This PCD is used to set the base address of the PCI express hierarchy. It
534 # is only consulted when OVMF runs on Q35. In that case it is programmed into
535 # the PCIEXBAR register.
537 # On Q35 machine types that QEMU intends to support in the long term, QEMU
538 # never lets the RAM below 4 GB exceed 2816 MB.
539 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
541 !if $(SOURCE_DEBUG_ENABLE) == TRUE
542 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
546 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
547 # best (please refer to git-blame for past updates). The values capture a set
548 # of BIN hints that made sense at a particular time, for some (now likely
549 # unknown) workloads / boot paths.
551 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
552 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
553 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
554 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
555 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
560 !include NetworkPkg/NetworkPcds.dsc.inc
562 !if $(SMM_REQUIRE) == TRUE
563 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
566 # IRQs 5, 9, 10, 11 are level-triggered
567 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
569 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
570 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
572 ################################################################################
574 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
576 ################################################################################
580 # ($(SMM_REQUIRE) == FALSE)
581 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
583 !if $(SMM_REQUIRE) == FALSE
584 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
585 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
586 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
588 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
589 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
590 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
591 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
592 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
593 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
594 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
595 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
598 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
600 # Set video resolution for text setup.
601 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
602 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
604 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
605 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
606 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
608 # Noexec settings for DXE.
609 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
611 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
612 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
613 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
615 # Set memory encryption mask
616 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
618 # Set SEV-ES defaults
619 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
620 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
621 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
623 !if $(SMM_REQUIRE) == TRUE
624 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
625 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
626 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
627 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
630 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
632 !if $(TPM_ENABLE) == TRUE
633 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
636 # IPv4 and IPv6 PXE Boot support.
637 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
638 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
641 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
642 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
643 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
646 ################################################################################
648 # Components Section - list of all EDK II Modules needed by this Platform.
650 ################################################################################
652 OvmfPkg/ResetVector/ResetVector.inf
657 OvmfPkg/Sec/SecMain.inf {
659 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
665 MdeModulePkg/Core/Pei/PeiMain.inf
666 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
668 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
670 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
672 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
674 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
676 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
678 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
680 OvmfPkg/PlatformPei/PlatformPei.inf
681 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
683 !if $(SMM_REQUIRE) == TRUE
684 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
687 !if $(SMM_REQUIRE) == TRUE
688 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
689 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
690 OvmfPkg/SmmAccess/SmmAccessPei.inf
692 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
694 !if $(TPM_ENABLE) == TRUE
695 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
696 SecurityPkg/Tcg/TcgPei/TcgPei.inf
697 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
699 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
700 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
701 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
702 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
703 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
704 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
711 MdeModulePkg/Core/Dxe/DxeMain.inf {
713 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
714 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
717 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
718 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
719 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
721 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
724 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
726 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
728 !if $(SECURE_BOOT_ENABLE) == TRUE
729 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
731 !if $(TPM_ENABLE) == TRUE
732 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
733 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
737 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
738 OvmfPkg/8259InterruptControllerDxe/8259.inf
739 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
740 UefiCpuPkg/CpuDxe/CpuDxe.inf
741 OvmfPkg/8254TimerDxe/8254Timer.inf
742 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
743 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
744 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
746 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
747 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
749 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
751 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
753 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
754 MdeModulePkg/Universal/Metronome/Metronome.inf
755 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
756 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
757 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
760 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
761 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
764 MdeModulePkg/Logo/LogoDxe.inf
765 MdeModulePkg/Application/UiApp/UiApp.inf {
767 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
768 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
769 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
771 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
772 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
775 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
776 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
777 OvmfPkg/Virtio10Dxe/Virtio10.inf
778 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
779 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
780 OvmfPkg/VirtioRngDxe/VirtioRng.inf
781 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
782 OvmfPkg/XenBusDxe/XenBusDxe.inf
783 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
784 !if $(PVSCSI_ENABLE) == TRUE
785 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
787 !if $(MPT_SCSI_ENABLE) == TRUE
788 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
790 !if $(LSI_SCSI_ENABLE) == TRUE
791 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
793 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
794 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
795 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
796 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
797 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
798 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
800 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
802 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
803 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
805 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
806 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
808 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
809 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
810 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
811 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
812 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
813 FatPkg/EnhancedFatDxe/Fat.inf
814 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
815 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
816 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
817 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
818 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
819 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
820 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
821 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
822 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
823 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
824 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
825 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
827 !ifndef $(CSM_ENABLE)
828 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
830 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
831 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
836 OvmfPkg/SioBusDxe/SioBusDxe.inf
837 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
838 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
843 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
845 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
847 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
852 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
853 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
854 OvmfPkg/AcpiTables/AcpiTables.inf
855 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
856 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
857 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
862 !include NetworkPkg/NetworkComponents.dsc.inc
864 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
866 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
869 !if $(NETWORK_TLS_ENABLE) == TRUE
870 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
872 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
875 OvmfPkg/VirtioNetDxe/VirtioNet.inf
880 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
881 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
882 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
883 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
884 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
885 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
888 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
890 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
892 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
893 OvmfPkg/Csm/Csm16/Csm16.inf
896 !if $(TOOL_CHAIN_TAG) != "XCODE5"
897 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
899 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
901 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
903 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
905 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
907 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
910 ShellPkg/Application/Shell/Shell.inf {
912 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
913 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
914 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
915 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
916 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
917 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
918 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
919 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
920 !if $(NETWORK_IP6_ENABLE) == TRUE
921 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
923 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
924 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
925 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
928 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
929 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
930 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
933 !if $(SECURE_BOOT_ENABLE) == TRUE
934 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
935 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
938 OvmfPkg/PlatformDxe/Platform.inf
939 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
941 !if $(SMM_REQUIRE) == TRUE
942 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
943 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
944 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
947 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
949 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
954 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
957 # Privileged drivers (DXE_SMM_DRIVER modules)
959 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
960 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
961 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
963 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
965 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
967 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
968 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
972 # Variable driver stack (SMM)
974 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
975 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
976 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
978 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
979 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
981 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
986 # Variable driver stack (non-SMM)
988 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
989 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
991 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
993 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
994 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
996 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1003 !if $(TPM_ENABLE) == TRUE
1004 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
1006 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
1007 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
1008 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
1009 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1010 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1011 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
1012 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
1013 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
1015 !if $(TPM_CONFIG_ENABLE) == TRUE
1016 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
1018 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1020 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
1024 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1025 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf