2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 ################################################################################
13 # Defines Section - statements that will be processed to create a Makefile.
15 ################################################################################
18 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/OvmfIa32
22 SUPPORTED_ARCHITECTURES = IA32
23 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
28 # Defines for default states. These can be changed on the command line.
31 DEFINE SECURE_BOOT_ENABLE = FALSE
32 DEFINE SMM_REQUIRE = FALSE
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE
34 DEFINE 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
55 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
56 # one of the supported values, in place of any of the convenience macros, is
60 DEFINE FD_SIZE_IN_KB = 1024
63 DEFINE FD_SIZE_IN_KB = 2048
66 DEFINE FD_SIZE_IN_KB = 4096
68 DEFINE FD_SIZE_IN_KB = 4096
74 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
75 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
76 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
77 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
78 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
82 # Disable deprecated APIs.
84 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
85 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
86 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
88 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
89 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
90 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
91 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
92 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
94 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
95 # protection of DXE_SMM_DRIVER/SMM_CORE modules
96 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
102 ################################################################################
104 # SKU Identification section - list of all SKU IDs supported by this Platform.
106 ################################################################################
110 ################################################################################
112 # Library Class section - list of all Library Classes needed by this Platform.
114 ################################################################################
116 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
117 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
118 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
119 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
120 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
121 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
122 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
123 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
124 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
125 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
126 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
127 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
128 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
129 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
130 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
131 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
132 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
133 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
134 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
135 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
136 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
137 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
138 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
139 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
140 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
141 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
142 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
143 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
144 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
145 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
146 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
147 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
148 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
149 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
150 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
151 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
152 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
153 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
154 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
155 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
156 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
157 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
158 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
159 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
160 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
161 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
162 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
163 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
164 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
165 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
166 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
167 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
168 !if $(SMM_REQUIRE) == FALSE
169 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
171 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
172 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
174 !if $(SOURCE_DEBUG_ENABLE) == TRUE
175 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
176 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
178 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
179 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
182 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
183 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
185 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
186 !if $(NETWORK_TLS_ENABLE) == TRUE
187 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
189 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
192 !if $(SECURE_BOOT_ENABLE) == TRUE
193 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
194 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
196 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
198 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
204 !include NetworkPkg/NetworkLibs.dsc.inc
206 !if $(NETWORK_TLS_ENABLE) == TRUE
207 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
210 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
211 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
212 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
213 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
214 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
215 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
216 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
218 !if $(TPM_ENABLE) == TRUE
219 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
220 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
221 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
222 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
223 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
225 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
226 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
229 [LibraryClasses.common]
230 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
232 [LibraryClasses.common.SEC]
233 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
234 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
235 !ifdef $(DEBUG_ON_SERIAL_PORT)
236 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
238 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
240 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
241 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
242 !if $(SOURCE_DEBUG_ENABLE) == TRUE
243 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
245 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
246 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
247 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
248 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
249 !if $(TOOL_CHAIN_TAG) == "XCODE5"
250 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
252 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
255 [LibraryClasses.common.PEI_CORE]
256 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
257 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
258 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
259 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
260 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
261 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
262 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
263 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
264 !ifdef $(DEBUG_ON_SERIAL_PORT)
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271 [LibraryClasses.common.PEIM]
272 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
274 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
275 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
276 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
277 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
278 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
279 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
286 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
287 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
288 !if $(SOURCE_DEBUG_ENABLE) == TRUE
289 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
291 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
292 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
293 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
294 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
295 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
297 !if $(TPM_ENABLE) == TRUE
298 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
299 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
300 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
303 [LibraryClasses.common.DXE_CORE]
304 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
305 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
306 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
307 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
308 !ifdef $(DEBUG_ON_SERIAL_PORT)
309 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
311 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
313 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
314 !if $(SOURCE_DEBUG_ENABLE) == TRUE
315 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
317 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
318 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
320 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
322 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
323 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
324 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
325 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
326 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
327 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
328 !ifdef $(DEBUG_ON_SERIAL_PORT)
329 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
331 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
333 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
334 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
335 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
336 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
338 [LibraryClasses.common.UEFI_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
345 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
346 !ifdef $(DEBUG_ON_SERIAL_PORT)
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
351 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
352 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
354 [LibraryClasses.common.DXE_DRIVER]
355 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
356 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
357 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
358 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
359 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
360 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
361 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
362 !ifdef $(DEBUG_ON_SERIAL_PORT)
363 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
365 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
367 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
368 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
369 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
370 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
371 !if $(SMM_REQUIRE) == TRUE
372 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
374 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
376 !if $(SOURCE_DEBUG_ENABLE) == TRUE
377 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
379 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
380 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
381 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
382 !if $(SECURE_BOOT_ENABLE) == TRUE
383 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
385 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
387 !if $(TPM_ENABLE) == TRUE
388 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
389 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
392 [LibraryClasses.common.UEFI_APPLICATION]
393 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
394 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
395 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
396 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
397 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
398 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
399 !ifdef $(DEBUG_ON_SERIAL_PORT)
400 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
402 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
404 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
406 [LibraryClasses.common.DXE_SMM_DRIVER]
407 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
408 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
409 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
410 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
411 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
412 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
413 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
414 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
415 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
416 !ifdef $(DEBUG_ON_SERIAL_PORT)
417 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
419 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
421 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
422 !if $(SOURCE_DEBUG_ENABLE) == TRUE
423 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
425 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
426 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
428 [LibraryClasses.common.SMM_CORE]
429 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
430 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
431 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
432 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
433 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
434 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
435 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
436 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
437 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
438 !ifdef $(DEBUG_ON_SERIAL_PORT)
439 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
441 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
443 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
445 ################################################################################
447 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
449 ################################################################################
451 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
452 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
453 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
456 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
460 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
462 !if $(SMM_REQUIRE) == TRUE
463 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
464 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
470 !if $(SMM_REQUIRE) == FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
473 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
474 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
475 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
476 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
477 !if $(NETWORK_TLS_ENABLE) == FALSE
478 # match PcdFlashNvStorageVariableSize purely for convenience
479 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
482 !if $(FD_SIZE_IN_KB) == 4096
483 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
485 !if $(NETWORK_TLS_ENABLE) == FALSE
486 # match PcdFlashNvStorageVariableSize purely for convenience
487 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
490 !if $(NETWORK_TLS_ENABLE) == TRUE
491 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
492 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
495 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
497 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
499 # DEBUG_INIT 0x00000001 // Initialization
500 # DEBUG_WARN 0x00000002 // Warnings
501 # DEBUG_LOAD 0x00000004 // Load events
502 # DEBUG_FS 0x00000008 // EFI File system
503 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
504 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
505 # DEBUG_INFO 0x00000040 // Informational debug messages
506 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
507 # DEBUG_VARIABLE 0x00000100 // Variable
508 # DEBUG_BM 0x00000400 // Boot Manager
509 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
510 # DEBUG_NET 0x00004000 // SNP Driver
511 # DEBUG_UNDI 0x00010000 // UNDI Driver
512 # DEBUG_LOADFILE 0x00020000 // LoadFile
513 # DEBUG_EVENT 0x00080000 // Event messages
514 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
515 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
516 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
517 # // significantly impact boot performance
518 # DEBUG_ERROR 0x80000000 // Error
519 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
521 !if $(SOURCE_DEBUG_ENABLE) == TRUE
522 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
524 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
527 # This PCD is used to set the base address of the PCI express hierarchy. It
528 # is only consulted when OVMF runs on Q35. In that case it is programmed into
529 # the PCIEXBAR register.
531 # On Q35 machine types that QEMU intends to support in the long term, QEMU
532 # never lets the RAM below 4 GB exceed 2816 MB.
533 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
535 !if $(SOURCE_DEBUG_ENABLE) == TRUE
536 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
542 !include NetworkPkg/NetworkPcds.dsc.inc
544 !if $(SMM_REQUIRE) == TRUE
545 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
548 # IRQs 5, 9, 10, 11 are level-triggered
549 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
551 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
552 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
554 ################################################################################
556 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
558 ################################################################################
562 # ($(SMM_REQUIRE) == FALSE)
563 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
565 !if $(SMM_REQUIRE) == FALSE
566 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
567 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
570 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
573 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
574 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
575 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
576 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
577 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
578 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
580 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
582 # Set video resolution for text setup.
583 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
584 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
586 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
587 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
588 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
590 # Noexec settings for DXE.
591 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
593 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
594 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
595 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
597 # Set memory encryption mask
598 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
600 !if $(SMM_REQUIRE) == TRUE
601 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
602 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
603 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
604 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
607 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
609 !if $(TPM_ENABLE) == TRUE
610 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
613 # IPv4 and IPv6 PXE Boot support.
614 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
615 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
618 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
619 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
620 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
623 ################################################################################
625 # Components Section - list of all EDK II Modules needed by this Platform.
627 ################################################################################
629 OvmfPkg/ResetVector/ResetVector.inf
634 OvmfPkg/Sec/SecMain.inf {
636 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
642 MdeModulePkg/Core/Pei/PeiMain.inf
643 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
645 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
647 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
649 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
651 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
653 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
655 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
657 OvmfPkg/PlatformPei/PlatformPei.inf
658 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
660 !if $(SMM_REQUIRE) == TRUE
661 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
664 !if $(SMM_REQUIRE) == TRUE
665 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
666 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
667 OvmfPkg/SmmAccess/SmmAccessPei.inf
669 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
671 !if $(TPM_ENABLE) == TRUE
672 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
673 SecurityPkg/Tcg/TcgPei/TcgPei.inf
674 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
676 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
677 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
678 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
679 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
680 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
681 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
688 MdeModulePkg/Core/Dxe/DxeMain.inf {
690 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
691 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
694 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
695 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
696 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
698 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
701 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
703 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
705 !if $(SECURE_BOOT_ENABLE) == TRUE
706 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
708 !if $(TPM_ENABLE) == TRUE
709 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
710 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
714 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
715 OvmfPkg/8259InterruptControllerDxe/8259.inf
716 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
717 UefiCpuPkg/CpuDxe/CpuDxe.inf
718 OvmfPkg/8254TimerDxe/8254Timer.inf
719 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
720 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
721 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
723 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
724 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
726 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
728 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
730 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
731 MdeModulePkg/Universal/Metronome/Metronome.inf
732 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
733 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
734 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
737 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
738 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
741 MdeModulePkg/Logo/LogoDxe.inf
742 MdeModulePkg/Application/UiApp/UiApp.inf {
744 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
745 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
746 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
748 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
749 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
752 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
753 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
754 OvmfPkg/Virtio10Dxe/Virtio10.inf
755 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
756 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
757 OvmfPkg/VirtioRngDxe/VirtioRng.inf
758 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
759 OvmfPkg/XenBusDxe/XenBusDxe.inf
760 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
761 !if $(PVSCSI_ENABLE) == TRUE
762 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
764 !if $(MPT_SCSI_ENABLE) == TRUE
765 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
767 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
768 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
769 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
770 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
771 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
772 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
774 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
776 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
777 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
779 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
780 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
782 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
783 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
784 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
785 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
786 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
787 FatPkg/EnhancedFatDxe/Fat.inf
788 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
789 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
790 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
791 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
792 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
793 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
794 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
795 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
796 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
797 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
798 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
800 !ifndef $(CSM_ENABLE)
801 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
803 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
804 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
809 OvmfPkg/SioBusDxe/SioBusDxe.inf
810 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
811 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
816 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
818 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
820 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
825 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
826 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
827 OvmfPkg/AcpiTables/AcpiTables.inf
828 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
829 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
830 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
835 !include NetworkPkg/NetworkComponents.dsc.inc
837 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
839 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
842 !if $(NETWORK_TLS_ENABLE) == TRUE
843 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
845 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
848 OvmfPkg/VirtioNetDxe/VirtioNet.inf
853 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
854 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
855 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
856 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
857 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
858 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
861 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
863 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
865 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
866 OvmfPkg/Csm/Csm16/Csm16.inf
869 !if $(TOOL_CHAIN_TAG) != "XCODE5"
870 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
872 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
875 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
877 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
879 ShellPkg/Application/Shell/Shell.inf {
881 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
882 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
883 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
884 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
885 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
886 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
887 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
888 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
889 !if $(NETWORK_IP6_ENABLE) == TRUE
890 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
892 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
893 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
894 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
897 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
898 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
899 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
902 !if $(SECURE_BOOT_ENABLE) == TRUE
903 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
904 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
907 OvmfPkg/PlatformDxe/Platform.inf
908 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
910 !if $(SMM_REQUIRE) == TRUE
911 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
912 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
913 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
916 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
918 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
923 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
926 # Privileged drivers (DXE_SMM_DRIVER modules)
928 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
929 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
930 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
932 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
934 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
936 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
937 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
941 # Variable driver stack (SMM)
943 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
944 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
945 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
947 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
949 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
954 # Variable driver stack (non-SMM)
956 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
957 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
959 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
961 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
962 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
964 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
971 !if $(TPM_ENABLE) == TRUE
972 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
974 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
975 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
976 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
977 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
978 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
979 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
980 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
981 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
983 !if $(TPM_CONFIG_ENABLE) == TRUE
984 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
986 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
988 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
992 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
993 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf