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
54 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
55 # one of the supported values, in place of any of the convenience macros, is
59 DEFINE FD_SIZE_IN_KB = 1024
62 DEFINE FD_SIZE_IN_KB = 2048
65 DEFINE FD_SIZE_IN_KB = 4096
67 DEFINE FD_SIZE_IN_KB = 4096
73 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
74 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
75 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
76 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
77 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
81 # Disable deprecated APIs.
83 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
84 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
85 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
87 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
88 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
89 XCODE:*_*_*_DLINK_FLAGS =
90 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
92 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
93 # protection of DXE_SMM_DRIVER/SMM_CORE modules
94 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
95 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
96 XCODE:*_*_*_DLINK_FLAGS =
97 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
99 ################################################################################
101 # SKU Identification section - list of all SKU IDs supported by this Platform.
103 ################################################################################
107 ################################################################################
109 # Library Class section - list of all Library Classes needed by this Platform.
111 ################################################################################
113 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
114 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
115 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
116 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
117 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
118 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
119 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
120 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
121 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
122 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
123 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
124 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
125 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
126 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
127 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
128 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
129 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
130 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
131 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
132 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
133 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
134 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
135 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
136 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
137 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
138 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
139 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
140 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
141 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
142 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
143 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
144 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
145 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
146 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
147 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
148 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
149 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
150 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
151 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
152 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
153 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
154 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
155 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
156 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
157 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
158 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
159 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
160 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
161 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
162 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
163 !if $(SMM_REQUIRE) == FALSE
164 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
166 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
167 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
169 !if $(SOURCE_DEBUG_ENABLE) == TRUE
170 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
171 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
173 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
174 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
177 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
178 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
179 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
181 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
182 !if $(NETWORK_TLS_ENABLE) == TRUE
183 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
185 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
188 !if $(SECURE_BOOT_ENABLE) == TRUE
189 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
190 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
192 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
194 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
200 !include NetworkPkg/NetworkLibs.dsc.inc
202 !if $(NETWORK_TLS_ENABLE) == TRUE
203 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
206 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
207 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
208 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
209 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
210 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
211 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
212 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
214 !if $(TPM_ENABLE) == TRUE
215 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
216 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
217 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
218 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
219 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
221 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
222 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
225 [LibraryClasses.common]
226 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
228 [LibraryClasses.common.SEC]
229 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
230 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
231 !ifdef $(DEBUG_ON_SERIAL_PORT)
232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
236 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
237 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
238 !if $(SOURCE_DEBUG_ENABLE) == TRUE
239 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
242 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
243 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
245 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
247 [LibraryClasses.common.PEI_CORE]
248 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
249 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
252 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
253 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
254 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
255 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
256 !ifdef $(DEBUG_ON_SERIAL_PORT)
257 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
259 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
263 [LibraryClasses.common.PEIM]
264 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
265 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
266 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
267 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
268 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
269 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
270 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
271 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
272 !ifdef $(DEBUG_ON_SERIAL_PORT)
273 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
275 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
277 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
278 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
279 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
280 !if $(SOURCE_DEBUG_ENABLE) == TRUE
281 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
283 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
284 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
285 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
286 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
287 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
289 !if $(TPM_ENABLE) == TRUE
290 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
291 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
292 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
295 [LibraryClasses.common.DXE_CORE]
296 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
297 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
298 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
300 !ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
306 !if $(SOURCE_DEBUG_ENABLE) == TRUE
307 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
309 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
312 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
314 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
315 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
316 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
317 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
318 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
319 !ifdef $(DEBUG_ON_SERIAL_PORT)
320 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
322 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
324 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
325 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
326 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
327 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
329 [LibraryClasses.common.UEFI_DRIVER]
330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
331 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
333 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
334 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
336 !ifdef $(DEBUG_ON_SERIAL_PORT)
337 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
339 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
341 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
342 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
344 [LibraryClasses.common.DXE_DRIVER]
345 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
346 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
347 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
348 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
349 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
350 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
351 !ifdef $(DEBUG_ON_SERIAL_PORT)
352 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
354 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
356 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
357 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
358 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
359 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
360 !if $(SMM_REQUIRE) == TRUE
361 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
363 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
365 !if $(SOURCE_DEBUG_ENABLE) == TRUE
366 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
368 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
369 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
370 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
371 !if $(SECURE_BOOT_ENABLE) == TRUE
372 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
374 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
376 !if $(TPM_ENABLE) == TRUE
377 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
378 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
381 [LibraryClasses.common.UEFI_APPLICATION]
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
383 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
384 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
385 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
386 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
387 !ifdef $(DEBUG_ON_SERIAL_PORT)
388 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
390 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
392 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
394 [LibraryClasses.common.DXE_SMM_DRIVER]
395 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
396 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
397 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
398 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
399 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
400 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
401 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
402 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
403 !ifdef $(DEBUG_ON_SERIAL_PORT)
404 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
406 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
408 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
409 !if $(SOURCE_DEBUG_ENABLE) == TRUE
410 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
412 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
413 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
415 [LibraryClasses.common.SMM_CORE]
416 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
417 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
418 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
419 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
420 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
421 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
422 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
423 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
424 !ifdef $(DEBUG_ON_SERIAL_PORT)
425 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
427 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
429 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
431 ################################################################################
433 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
435 ################################################################################
437 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
438 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
439 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
440 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
442 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
443 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
444 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
446 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
448 !if $(SMM_REQUIRE) == TRUE
449 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
450 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
451 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
456 !if $(SMM_REQUIRE) == FALSE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
459 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
460 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
461 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
462 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
463 !if $(NETWORK_TLS_ENABLE) == FALSE
464 # match PcdFlashNvStorageVariableSize purely for convenience
465 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
468 !if $(FD_SIZE_IN_KB) == 4096
469 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
470 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
471 !if $(NETWORK_TLS_ENABLE) == FALSE
472 # match PcdFlashNvStorageVariableSize purely for convenience
473 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
476 !if $(NETWORK_TLS_ENABLE) == TRUE
477 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
478 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
481 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
483 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
485 # DEBUG_INIT 0x00000001 // Initialization
486 # DEBUG_WARN 0x00000002 // Warnings
487 # DEBUG_LOAD 0x00000004 // Load events
488 # DEBUG_FS 0x00000008 // EFI File system
489 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
490 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
491 # DEBUG_INFO 0x00000040 // Informational debug messages
492 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
493 # DEBUG_VARIABLE 0x00000100 // Variable
494 # DEBUG_BM 0x00000400 // Boot Manager
495 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
496 # DEBUG_NET 0x00004000 // SNP Driver
497 # DEBUG_UNDI 0x00010000 // UNDI Driver
498 # DEBUG_LOADFILE 0x00020000 // LoadFile
499 # DEBUG_EVENT 0x00080000 // Event messages
500 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
501 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
502 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
503 # // significantly impact boot performance
504 # DEBUG_ERROR 0x80000000 // Error
505 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
507 !if $(SOURCE_DEBUG_ENABLE) == TRUE
508 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
510 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
513 # This PCD is used to set the base address of the PCI express hierarchy. It
514 # is only consulted when OVMF runs on Q35. In that case it is programmed into
515 # the PCIEXBAR register.
517 # On Q35 machine types that QEMU intends to support in the long term, QEMU
518 # never lets the RAM below 4 GB exceed 2816 MB.
519 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
521 !if $(SOURCE_DEBUG_ENABLE) == TRUE
522 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
528 !include NetworkPkg/NetworkPcds.dsc.inc
530 !if $(SMM_REQUIRE) == TRUE
531 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
534 # IRQs 5, 9, 10, 11 are level-triggered
535 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
537 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
538 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
540 ################################################################################
542 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
544 ################################################################################
548 # ($(SMM_REQUIRE) == FALSE)
549 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
551 !if $(SMM_REQUIRE) == FALSE
552 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
553 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
554 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
556 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
557 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
558 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
559 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
560 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
561 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
562 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
563 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
564 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
566 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
568 # Set video resolution for text setup.
569 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
570 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
572 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
573 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
574 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
576 # Noexec settings for DXE.
577 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
578 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
580 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
581 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
582 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
584 # Set memory encryption mask
585 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
587 !if $(SMM_REQUIRE) == TRUE
588 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
589 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
590 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
591 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
594 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
596 !if $(TPM_ENABLE) == TRUE
597 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
601 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
602 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
603 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
606 ################################################################################
608 # Components Section - list of all EDK II Modules needed by this Platform.
610 ################################################################################
612 OvmfPkg/ResetVector/ResetVector.inf
617 OvmfPkg/Sec/SecMain.inf {
619 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
625 MdeModulePkg/Core/Pei/PeiMain.inf
626 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
628 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
630 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
632 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
634 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
636 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
638 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
640 OvmfPkg/PlatformPei/PlatformPei.inf
641 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
643 !if $(SMM_REQUIRE) == TRUE
644 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
647 !if $(SMM_REQUIRE) == TRUE
648 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
649 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
650 OvmfPkg/SmmAccess/SmmAccessPei.inf
652 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
654 !if $(TPM_ENABLE) == TRUE
655 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
656 SecurityPkg/Tcg/TcgPei/TcgPei.inf
657 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
659 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
660 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
661 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
662 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
663 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
664 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
671 MdeModulePkg/Core/Dxe/DxeMain.inf {
673 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
674 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
677 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
678 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
679 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
681 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
684 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
686 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
688 !if $(SECURE_BOOT_ENABLE) == TRUE
689 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
691 !if $(TPM_ENABLE) == TRUE
692 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
693 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
697 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
698 OvmfPkg/8259InterruptControllerDxe/8259.inf
699 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
700 UefiCpuPkg/CpuDxe/CpuDxe.inf
701 OvmfPkg/8254TimerDxe/8254Timer.inf
702 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
703 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
704 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
706 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
707 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
709 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
711 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
713 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
714 MdeModulePkg/Universal/Metronome/Metronome.inf
715 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
716 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
717 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
720 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
721 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
724 MdeModulePkg/Logo/LogoDxe.inf
725 MdeModulePkg/Application/UiApp/UiApp.inf {
727 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
728 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
729 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
731 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
732 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
735 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
736 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
737 OvmfPkg/Virtio10Dxe/Virtio10.inf
738 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
739 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
740 OvmfPkg/VirtioRngDxe/VirtioRng.inf
741 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
742 OvmfPkg/XenBusDxe/XenBusDxe.inf
743 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
744 !if $(PVSCSI_ENABLE) == TRUE
745 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
747 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
748 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
749 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
750 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
751 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
752 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
754 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
756 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
757 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
759 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
760 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
762 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
763 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
764 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
765 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
766 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
767 FatPkg/EnhancedFatDxe/Fat.inf
768 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
769 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
770 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
771 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
772 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
773 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
774 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
775 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
776 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
777 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
778 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
780 !ifndef $(CSM_ENABLE)
781 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
783 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
784 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
789 OvmfPkg/SioBusDxe/SioBusDxe.inf
790 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
791 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
796 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
798 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
800 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
805 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
806 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
807 OvmfPkg/AcpiTables/AcpiTables.inf
808 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
809 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
810 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
815 !include NetworkPkg/NetworkComponents.dsc.inc
817 !if $(NETWORK_TLS_ENABLE) == TRUE
818 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
820 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
823 OvmfPkg/VirtioNetDxe/VirtioNet.inf
828 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
829 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
830 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
831 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
832 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
833 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
836 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
838 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
840 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
841 OvmfPkg/Csm/Csm16/Csm16.inf
844 !if $(TOOL_CHAIN_TAG) != "XCODE5"
845 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
847 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
850 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
852 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
854 ShellPkg/Application/Shell/Shell.inf {
856 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
857 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
858 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
859 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
860 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
861 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
862 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
863 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
864 !if $(NETWORK_IP6_ENABLE) == TRUE
865 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
867 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
868 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
869 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
872 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
873 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
874 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
877 !if $(SECURE_BOOT_ENABLE) == TRUE
878 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
879 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
882 OvmfPkg/PlatformDxe/Platform.inf
883 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
885 !if $(SMM_REQUIRE) == TRUE
886 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
887 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
888 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
891 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
893 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
898 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
901 # Privileged drivers (DXE_SMM_DRIVER modules)
903 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
904 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
905 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
907 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
909 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
911 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
912 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
916 # Variable driver stack (SMM)
918 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
919 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
920 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
922 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
924 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
929 # Variable driver stack (non-SMM)
931 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
932 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
934 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
936 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
937 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
939 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
946 !if $(TPM_ENABLE) == TRUE
947 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
949 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
950 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
951 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
952 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
953 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
954 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
955 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
956 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
958 !if $(TPM_CONFIG_ENABLE) == TRUE
959 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
961 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
963 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
967 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
968 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf