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>
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 TPM_ENABLE = FALSE
35 DEFINE TPM_CONFIG_ENABLE = FALSE
36 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
41 DEFINE NETWORK_TLS_ENABLE = FALSE
42 DEFINE NETWORK_IP6_ENABLE = FALSE
43 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
44 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
46 !include NetworkPkg/NetworkDefines.dsc.inc
51 DEFINE PVSCSI_ENABLE = TRUE
52 DEFINE MPT_SCSI_ENABLE = TRUE
53 DEFINE LSI_SCSI_ENABLE = FALSE
56 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
57 # one of the supported values, in place of any of the convenience macros, is
61 DEFINE FD_SIZE_IN_KB = 1024
64 DEFINE FD_SIZE_IN_KB = 2048
67 DEFINE FD_SIZE_IN_KB = 4096
69 DEFINE FD_SIZE_IN_KB = 4096
75 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
76 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
77 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
78 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
79 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
83 # Disable deprecated APIs.
85 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
86 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
87 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
89 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
90 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
91 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
92 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
93 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
95 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
96 # protection of DXE_SMM_DRIVER/SMM_CORE modules
97 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
98 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
99 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
100 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
101 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
103 ################################################################################
105 # SKU Identification section - list of all SKU IDs supported by this Platform.
107 ################################################################################
111 ################################################################################
113 # Library Class section - list of all Library Classes needed by this Platform.
115 ################################################################################
117 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
118 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
119 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
120 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
121 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
122 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
123 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
124 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
125 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
126 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
127 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
128 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
129 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
130 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
131 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
132 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
133 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
134 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
135 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
136 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
137 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
138 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
139 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
140 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
141 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
142 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
143 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
144 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
145 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
146 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
147 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
148 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
149 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
150 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
151 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
152 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
153 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
154 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
155 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
156 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
157 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
158 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
159 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
160 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
161 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
162 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
163 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
164 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
165 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
166 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
167 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
168 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
169 !if $(SMM_REQUIRE) == FALSE
170 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
172 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
173 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
175 !if $(SOURCE_DEBUG_ENABLE) == TRUE
176 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
177 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
179 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
180 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
183 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
184 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
186 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
187 !if $(NETWORK_TLS_ENABLE) == TRUE
188 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
190 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
192 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
194 !if $(SECURE_BOOT_ENABLE) == TRUE
195 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
196 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
198 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
200 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
206 !include NetworkPkg/NetworkLibs.dsc.inc
208 !if $(NETWORK_TLS_ENABLE) == TRUE
209 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
212 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
213 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
214 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
215 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
216 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
217 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
218 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
220 !if $(TPM_ENABLE) == TRUE
221 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
222 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
223 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
224 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
225 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
227 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
228 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
231 [LibraryClasses.common]
232 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
233 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
235 [LibraryClasses.common.SEC]
236 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
237 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
238 !ifdef $(DEBUG_ON_SERIAL_PORT)
239 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
241 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
243 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
244 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
245 !if $(SOURCE_DEBUG_ENABLE) == TRUE
246 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
248 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
249 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
250 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
252 !if $(TOOL_CHAIN_TAG) == "XCODE5"
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
255 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
258 [LibraryClasses.common.PEI_CORE]
259 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
260 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
261 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
262 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
263 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
265 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
266 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
267 !ifdef $(DEBUG_ON_SERIAL_PORT)
268 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
270 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
272 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
274 [LibraryClasses.common.PEIM]
275 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
276 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
277 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
278 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
279 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
280 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
281 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
282 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
283 !ifdef $(DEBUG_ON_SERIAL_PORT)
284 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
286 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
288 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
289 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
290 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
291 !if $(SOURCE_DEBUG_ENABLE) == TRUE
292 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
294 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
295 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
296 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
297 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
298 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
300 !if $(TPM_ENABLE) == TRUE
301 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
302 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
303 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
306 [LibraryClasses.common.DXE_CORE]
307 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
309 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
311 !ifdef $(DEBUG_ON_SERIAL_PORT)
312 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
314 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
316 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
317 !if $(SOURCE_DEBUG_ENABLE) == TRUE
318 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
320 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
324 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
325 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
326 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
327 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
328 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
329 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
330 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
331 !ifdef $(DEBUG_ON_SERIAL_PORT)
332 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
334 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
336 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
337 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
338 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
339 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
341 [LibraryClasses.common.UEFI_DRIVER]
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
343 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
344 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
345 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
346 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
347 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
348 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
349 !ifdef $(DEBUG_ON_SERIAL_PORT)
350 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
352 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
354 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
355 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
357 [LibraryClasses.common.DXE_DRIVER]
358 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
359 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
360 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
361 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
362 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
363 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
364 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
365 !ifdef $(DEBUG_ON_SERIAL_PORT)
366 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
368 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
370 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
371 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
372 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
373 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
374 !if $(SMM_REQUIRE) == TRUE
375 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
377 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
379 !if $(SOURCE_DEBUG_ENABLE) == TRUE
380 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
382 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
383 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
384 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
385 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
386 !if $(TPM_ENABLE) == TRUE
387 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
388 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
391 [LibraryClasses.common.UEFI_APPLICATION]
392 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
393 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
394 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
395 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
396 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
397 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
398 !ifdef $(DEBUG_ON_SERIAL_PORT)
399 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
401 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
405 [LibraryClasses.common.DXE_SMM_DRIVER]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
408 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
409 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
410 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
411 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
412 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
413 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
414 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
415 !ifdef $(DEBUG_ON_SERIAL_PORT)
416 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
418 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
420 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
421 !if $(SOURCE_DEBUG_ENABLE) == TRUE
422 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
424 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
425 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
427 [LibraryClasses.common.SMM_CORE]
428 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
429 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
430 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
431 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
432 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
433 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
434 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
435 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
436 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
437 !ifdef $(DEBUG_ON_SERIAL_PORT)
438 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
440 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
442 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
444 ################################################################################
446 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
448 ################################################################################
450 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
451 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
452 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
453 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
457 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
459 !if $(SMM_REQUIRE) == TRUE
460 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
461 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
462 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
467 !if $(SMM_REQUIRE) == FALSE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
470 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
471 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
472 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
473 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
474 !if $(NETWORK_TLS_ENABLE) == FALSE
475 # match PcdFlashNvStorageVariableSize purely for convenience
476 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
479 !if $(FD_SIZE_IN_KB) == 4096
480 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
481 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
482 !if $(NETWORK_TLS_ENABLE) == FALSE
483 # match PcdFlashNvStorageVariableSize purely for convenience
484 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
487 !if $(NETWORK_TLS_ENABLE) == TRUE
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
489 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
493 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
494 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
496 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
498 # DEBUG_INIT 0x00000001 // Initialization
499 # DEBUG_WARN 0x00000002 // Warnings
500 # DEBUG_LOAD 0x00000004 // Load events
501 # DEBUG_FS 0x00000008 // EFI File system
502 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
503 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
504 # DEBUG_INFO 0x00000040 // Informational debug messages
505 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
506 # DEBUG_VARIABLE 0x00000100 // Variable
507 # DEBUG_BM 0x00000400 // Boot Manager
508 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
509 # DEBUG_NET 0x00004000 // SNP Driver
510 # DEBUG_UNDI 0x00010000 // UNDI Driver
511 # DEBUG_LOADFILE 0x00020000 // LoadFile
512 # DEBUG_EVENT 0x00080000 // Event messages
513 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
514 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
515 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
516 # // significantly impact boot performance
517 # DEBUG_ERROR 0x80000000 // Error
518 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
520 !if $(SOURCE_DEBUG_ENABLE) == TRUE
521 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
523 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
526 # This PCD is used to set the base address of the PCI express hierarchy. It
527 # is only consulted when OVMF runs on Q35. In that case it is programmed into
528 # the PCIEXBAR register.
530 # On Q35 machine types that QEMU intends to support in the long term, QEMU
531 # never lets the RAM below 4 GB exceed 2816 MB.
532 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
534 !if $(SOURCE_DEBUG_ENABLE) == TRUE
535 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
539 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
540 # best (please refer to git-blame for past updates). The values capture a set
541 # of BIN hints that made sense at a particular time, for some (now likely
542 # unknown) workloads / boot paths.
544 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
545 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
546 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
547 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
548 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
553 !include NetworkPkg/NetworkPcds.dsc.inc
555 !if $(SMM_REQUIRE) == TRUE
556 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
559 # IRQs 5, 9, 10, 11 are level-triggered
560 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
562 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
563 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
565 ################################################################################
567 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
569 ################################################################################
573 # ($(SMM_REQUIRE) == FALSE)
574 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
576 !if $(SMM_REQUIRE) == FALSE
577 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
578 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
579 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
581 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
582 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
583 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
584 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
585 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
586 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
587 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
588 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
589 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
591 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
593 # Set video resolution for text setup.
594 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
595 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
597 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
598 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
599 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
601 # Noexec settings for DXE.
602 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
604 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
605 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
606 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
608 # Set memory encryption mask
609 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
611 # Set SEV-ES defaults
612 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
613 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
614 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
616 !if $(SMM_REQUIRE) == TRUE
617 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
618 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
619 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
620 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
623 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
625 !if $(TPM_ENABLE) == TRUE
626 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
629 # IPv4 and IPv6 PXE Boot support.
630 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
631 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
634 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
635 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
636 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
639 ################################################################################
641 # Components Section - list of all EDK II Modules needed by this Platform.
643 ################################################################################
645 OvmfPkg/ResetVector/ResetVector.inf
650 OvmfPkg/Sec/SecMain.inf {
652 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
658 MdeModulePkg/Core/Pei/PeiMain.inf
659 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
661 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
663 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
665 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
667 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
669 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
671 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
673 OvmfPkg/PlatformPei/PlatformPei.inf
674 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
676 !if $(SMM_REQUIRE) == TRUE
677 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
680 !if $(SMM_REQUIRE) == TRUE
681 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
682 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
683 OvmfPkg/SmmAccess/SmmAccessPei.inf
685 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
687 !if $(TPM_ENABLE) == TRUE
688 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
689 SecurityPkg/Tcg/TcgPei/TcgPei.inf
690 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
692 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
693 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
694 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
695 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
696 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
697 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
704 MdeModulePkg/Core/Dxe/DxeMain.inf {
706 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
707 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
710 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
711 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
712 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
714 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
717 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
719 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
721 !if $(SECURE_BOOT_ENABLE) == TRUE
722 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
724 !if $(TPM_ENABLE) == TRUE
725 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
726 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
730 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
731 OvmfPkg/8259InterruptControllerDxe/8259.inf
732 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
733 UefiCpuPkg/CpuDxe/CpuDxe.inf
734 OvmfPkg/8254TimerDxe/8254Timer.inf
735 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
736 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
737 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
739 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
740 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
742 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
744 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
746 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
747 MdeModulePkg/Universal/Metronome/Metronome.inf
748 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
749 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
750 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
753 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
754 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
757 MdeModulePkg/Logo/LogoDxe.inf
758 MdeModulePkg/Application/UiApp/UiApp.inf {
760 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
761 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
762 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
764 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
765 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
768 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
769 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
770 OvmfPkg/Virtio10Dxe/Virtio10.inf
771 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
772 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
773 OvmfPkg/VirtioRngDxe/VirtioRng.inf
774 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
775 OvmfPkg/XenBusDxe/XenBusDxe.inf
776 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
777 !if $(PVSCSI_ENABLE) == TRUE
778 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
780 !if $(MPT_SCSI_ENABLE) == TRUE
781 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
783 !if $(LSI_SCSI_ENABLE) == TRUE
784 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
786 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
787 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
788 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
789 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
790 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
791 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
793 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
795 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
796 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
798 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
799 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
801 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
802 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
803 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
804 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
805 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
806 FatPkg/EnhancedFatDxe/Fat.inf
807 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
808 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
809 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
810 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
811 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
812 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
813 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
814 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
815 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
816 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
817 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
819 !ifndef $(CSM_ENABLE)
820 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
822 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
823 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
828 OvmfPkg/SioBusDxe/SioBusDxe.inf
829 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
830 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
835 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
837 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
839 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
844 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
845 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
846 OvmfPkg/AcpiTables/AcpiTables.inf
847 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
848 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
849 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
854 !include NetworkPkg/NetworkComponents.dsc.inc
856 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
858 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
861 !if $(NETWORK_TLS_ENABLE) == TRUE
862 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
864 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
867 OvmfPkg/VirtioNetDxe/VirtioNet.inf
872 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
873 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
874 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
875 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
876 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
877 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
880 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
882 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
884 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
885 OvmfPkg/Csm/Csm16/Csm16.inf
888 !if $(TOOL_CHAIN_TAG) != "XCODE5"
889 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
891 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
893 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
895 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
897 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
899 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
902 ShellPkg/Application/Shell/Shell.inf {
904 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
905 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
906 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
907 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
908 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
909 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
910 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
911 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
912 !if $(NETWORK_IP6_ENABLE) == TRUE
913 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
915 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
916 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
917 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
920 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
921 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
922 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
925 !if $(SECURE_BOOT_ENABLE) == TRUE
926 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
927 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
930 OvmfPkg/PlatformDxe/Platform.inf
931 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
933 !if $(SMM_REQUIRE) == TRUE
934 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
935 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
936 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
939 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
941 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
946 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
949 # Privileged drivers (DXE_SMM_DRIVER modules)
951 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
952 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
953 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
955 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
957 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
959 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
960 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
964 # Variable driver stack (SMM)
966 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
967 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
968 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
970 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
972 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
977 # Variable driver stack (non-SMM)
979 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
980 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
982 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
984 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
985 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
987 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
994 !if $(TPM_ENABLE) == TRUE
995 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
997 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
998 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
999 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
1000 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1001 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1002 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
1003 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
1004 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
1006 !if $(TPM_CONFIG_ENABLE) == TRUE
1007 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
1009 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1011 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
1015 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1016 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf