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 NETWORK_IP6_ENABLE = FALSE
33 DEFINE HTTP_BOOT_ENABLE = FALSE
34 DEFINE SMM_REQUIRE = FALSE
35 DEFINE TLS_ENABLE = FALSE
36 DEFINE TPM2_ENABLE = FALSE
37 DEFINE TPM2_CONFIG_ENABLE = FALSE
38 DEFINE USE_LEGACY_ISA_STACK = FALSE
41 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
42 # one of the supported values, in place of any of the convenience macros, is
46 DEFINE FD_SIZE_IN_KB = 1024
49 DEFINE FD_SIZE_IN_KB = 2048
52 DEFINE FD_SIZE_IN_KB = 4096
54 DEFINE FD_SIZE_IN_KB = 4096
60 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
61 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
62 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
63 !if $(TOOL_CHAIN_TAG) != "XCODE5"
64 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
68 # Disable deprecated APIs.
70 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
71 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
72 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
74 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
75 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
76 XCODE:*_*_*_DLINK_FLAGS =
78 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
79 # protection of DXE_SMM_DRIVER/SMM_CORE modules
80 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
81 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
82 XCODE:*_*_*_DLINK_FLAGS =
84 ################################################################################
86 # SKU Identification section - list of all SKU IDs supported by this Platform.
88 ################################################################################
92 ################################################################################
94 # Library Class section - list of all Library Classes needed by this Platform.
96 ################################################################################
98 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
99 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
100 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
101 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
102 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
103 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
104 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
105 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
106 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
107 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
108 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
109 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
110 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
111 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
112 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
113 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
114 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
115 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
116 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
117 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
118 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
119 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
120 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
121 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
122 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
123 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
124 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
125 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
126 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
127 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
128 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
129 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
130 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
131 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
132 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
133 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
134 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
135 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
136 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
137 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
138 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
139 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
140 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
141 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
142 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
143 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
144 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
145 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
146 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
147 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
148 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
149 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
150 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
151 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
152 !if $(SMM_REQUIRE) == FALSE
153 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
155 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
156 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
158 !ifdef $(SOURCE_DEBUG_ENABLE)
159 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
160 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
162 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
163 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
166 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
167 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
168 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
170 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
171 !if $(TLS_ENABLE) == TRUE
172 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
174 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
177 !if $(SECURE_BOOT_ENABLE) == TRUE
178 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
179 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
180 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
182 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
183 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
185 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
187 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
189 !if $(HTTP_BOOT_ENABLE) == TRUE
190 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
193 !if $(TLS_ENABLE) == TRUE
194 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
197 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
198 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
199 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
200 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
201 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
203 !if $(TPM2_ENABLE) == TRUE
204 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
205 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
206 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
208 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
211 [LibraryClasses.common]
212 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
214 [LibraryClasses.common.SEC]
215 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
216 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
217 !ifdef $(DEBUG_ON_SERIAL_PORT)
218 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
220 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
222 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
223 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
224 !ifdef $(SOURCE_DEBUG_ENABLE)
225 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
227 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
228 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
229 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
230 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
231 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
233 [LibraryClasses.common.PEI_CORE]
234 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
235 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
236 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
237 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
238 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
239 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
240 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
241 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
242 !ifdef $(DEBUG_ON_SERIAL_PORT)
243 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
245 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
247 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
249 [LibraryClasses.common.PEIM]
250 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
252 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
253 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
254 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
256 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
257 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
258 !ifdef $(DEBUG_ON_SERIAL_PORT)
259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
263 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
264 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
265 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
266 !ifdef $(SOURCE_DEBUG_ENABLE)
267 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
269 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
270 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
271 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
272 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
273 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
275 !if $(TPM2_ENABLE) == TRUE
276 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
277 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
280 [LibraryClasses.common.DXE_CORE]
281 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
282 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
283 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
284 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
285 !ifdef $(DEBUG_ON_SERIAL_PORT)
286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
290 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
291 !ifdef $(SOURCE_DEBUG_ENABLE)
292 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
294 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
295 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
298 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
299 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
300 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
301 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
302 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
303 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
304 !ifdef $(DEBUG_ON_SERIAL_PORT)
305 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
307 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
309 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
310 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
311 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
312 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
314 [LibraryClasses.common.UEFI_DRIVER]
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
316 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
317 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
318 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
319 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
320 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
321 !ifdef $(DEBUG_ON_SERIAL_PORT)
322 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
324 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
326 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
327 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
329 [LibraryClasses.common.DXE_DRIVER]
330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
331 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
333 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
334 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
335 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
336 !ifdef $(DEBUG_ON_SERIAL_PORT)
337 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
339 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
341 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
342 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
343 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
344 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
345 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
346 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
347 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
348 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
349 !if $(SMM_REQUIRE) == TRUE
350 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
352 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
354 !ifdef $(SOURCE_DEBUG_ENABLE)
355 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
357 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
358 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
359 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
360 !if $(TPM2_ENABLE) == TRUE
361 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
364 [LibraryClasses.common.UEFI_APPLICATION]
365 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
366 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
367 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
368 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
369 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
370 !ifdef $(DEBUG_ON_SERIAL_PORT)
371 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
373 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
375 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
377 [LibraryClasses.common.DXE_SMM_DRIVER]
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
379 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
380 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
381 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
382 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
383 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
384 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
385 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
386 !ifdef $(DEBUG_ON_SERIAL_PORT)
387 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
389 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
391 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
392 !ifdef $(SOURCE_DEBUG_ENABLE)
393 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
395 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
396 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
398 [LibraryClasses.common.SMM_CORE]
399 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
400 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
401 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
402 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
403 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
404 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
405 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
406 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
407 !ifdef $(DEBUG_ON_SERIAL_PORT)
408 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
410 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
412 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
414 ################################################################################
416 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
418 ################################################################################
420 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
421 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
424 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
425 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
428 !if $(SMM_REQUIRE) == TRUE
429 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
430 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
434 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
435 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
436 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
437 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
438 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
439 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
440 !if $(TLS_ENABLE) == FALSE
441 # match PcdFlashNvStorageVariableSize purely for convenience
442 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
445 !if $(FD_SIZE_IN_KB) == 4096
446 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
448 !if $(TLS_ENABLE) == FALSE
449 # match PcdFlashNvStorageVariableSize purely for convenience
450 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
453 !if $(TLS_ENABLE) == TRUE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
455 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
458 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
460 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
462 # DEBUG_INIT 0x00000001 // Initialization
463 # DEBUG_WARN 0x00000002 // Warnings
464 # DEBUG_LOAD 0x00000004 // Load events
465 # DEBUG_FS 0x00000008 // EFI File system
466 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
467 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
468 # DEBUG_INFO 0x00000040 // Informational debug messages
469 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
470 # DEBUG_VARIABLE 0x00000100 // Variable
471 # DEBUG_BM 0x00000400 // Boot Manager
472 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
473 # DEBUG_NET 0x00004000 // SNP Driver
474 # DEBUG_UNDI 0x00010000 // UNDI Driver
475 # DEBUG_LOADFILE 0x00020000 // LoadFile
476 # DEBUG_EVENT 0x00080000 // Event messages
477 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
478 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
479 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
480 # // significantly impact boot performance
481 # DEBUG_ERROR 0x80000000 // Error
482 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
484 !ifdef $(SOURCE_DEBUG_ENABLE)
485 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
487 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
490 # This PCD is used to set the base address of the PCI express hierarchy. It
491 # is only consulted when OVMF runs on Q35. In that case it is programmed into
492 # the PCIEXBAR register.
494 # On Q35 machine types that QEMU intends to support in the long term, QEMU
495 # never lets the RAM below 4 GB exceed 2 GB.
496 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
498 !ifdef $(SOURCE_DEBUG_ENABLE)
499 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
502 !if $(HTTP_BOOT_ENABLE) == TRUE
503 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
506 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
508 !if $(SMM_REQUIRE) == TRUE
509 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
512 # IRQs 5, 9, 10, 11 are level-triggered
513 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
515 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
516 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
518 ################################################################################
520 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
522 ################################################################################
526 # ($(SMM_REQUIRE) == FALSE)
527 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
532 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
535 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
536 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
542 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
544 # Set video resolution for text setup.
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
550 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
552 # Noexec settings for DXE.
553 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
554 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560 # Set memory encryption mask
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563 !if $(SMM_REQUIRE) == TRUE
564 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
565 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
566 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
569 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
571 !if $(TPM2_ENABLE) == TRUE
572 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
575 ################################################################################
577 # Components Section - list of all EDK II Modules needed by this Platform.
579 ################################################################################
581 OvmfPkg/ResetVector/ResetVector.inf
586 OvmfPkg/Sec/SecMain.inf {
588 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
594 MdeModulePkg/Core/Pei/PeiMain.inf
595 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
597 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
599 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
601 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
603 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
605 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
607 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
609 OvmfPkg/PlatformPei/PlatformPei.inf
610 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
612 !if $(SMM_REQUIRE) == TRUE
613 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
616 !if $(SMM_REQUIRE) == TRUE
617 OvmfPkg/SmmAccess/SmmAccessPei.inf
619 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
621 !if $(TPM2_ENABLE) == TRUE
622 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
623 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
625 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
631 !if $(TPM2_CONFIG_ENABLE) == TRUE
632 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
639 MdeModulePkg/Core/Dxe/DxeMain.inf {
641 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
642 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
645 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
646 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
647 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
649 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
652 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
654 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
656 !if $(SECURE_BOOT_ENABLE) == TRUE
657 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
659 !if $(TPM2_ENABLE) == TRUE
660 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
664 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
665 OvmfPkg/8259InterruptControllerDxe/8259.inf
666 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
667 UefiCpuPkg/CpuDxe/CpuDxe.inf
668 OvmfPkg/8254TimerDxe/8254Timer.inf
669 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
670 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
671 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
673 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
674 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
676 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
678 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
680 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
681 MdeModulePkg/Universal/Metronome/Metronome.inf
682 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
683 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
684 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
687 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
688 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
691 MdeModulePkg/Logo/LogoDxe.inf
692 MdeModulePkg/Application/UiApp/UiApp.inf {
694 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
695 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
696 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
698 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
699 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
702 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
703 OvmfPkg/Virtio10Dxe/Virtio10.inf
704 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
705 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
706 OvmfPkg/VirtioRngDxe/VirtioRng.inf
707 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
708 OvmfPkg/XenBusDxe/XenBusDxe.inf
709 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
710 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
711 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
712 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
713 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
714 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
715 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
717 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
719 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
720 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
722 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
723 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
725 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
726 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
727 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
728 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
729 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
730 FatPkg/EnhancedFatDxe/Fat.inf
731 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
732 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
733 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
734 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
735 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
736 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
737 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
738 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
739 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
740 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
741 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
743 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
744 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
745 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
750 !if $(USE_LEGACY_ISA_STACK) == FALSE
751 OvmfPkg/SioBusDxe/SioBusDxe.inf
752 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
753 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
755 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
756 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
757 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
758 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
764 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
766 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
768 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
773 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
774 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
775 OvmfPkg/AcpiTables/AcpiTables.inf
776 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
777 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
778 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
783 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
784 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
785 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
786 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
787 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
788 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
789 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
790 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
791 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
792 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
793 NetworkPkg/TcpDxe/TcpDxe.inf
794 NetworkPkg/IScsiDxe/IScsiDxe.inf
795 !if $(NETWORK_IP6_ENABLE) == TRUE
796 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
797 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
798 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
799 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
801 !if $(HTTP_BOOT_ENABLE) == TRUE
802 NetworkPkg/DnsDxe/DnsDxe.inf
803 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
804 NetworkPkg/HttpDxe/HttpDxe.inf
805 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
807 !if $(TLS_ENABLE) == TRUE
808 NetworkPkg/TlsDxe/TlsDxe.inf
809 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
811 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
814 OvmfPkg/VirtioNetDxe/VirtioNet.inf
819 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
820 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
821 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
822 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
823 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
824 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
827 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
829 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
831 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
832 OvmfPkg/Csm/Csm16/Csm16.inf
835 !if $(TOOL_CHAIN_TAG) != "XCODE5"
836 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
838 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
841 ShellPkg/Application/Shell/Shell.inf {
843 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
844 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
845 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
846 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
847 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
848 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
849 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
850 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
851 !if $(NETWORK_IP6_ENABLE) == TRUE
852 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
854 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
855 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
856 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
859 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
860 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
861 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
864 !if $(SECURE_BOOT_ENABLE) == TRUE
865 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
868 OvmfPkg/PlatformDxe/Platform.inf
869 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
871 !if $(SMM_REQUIRE) == TRUE
872 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
873 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
874 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
877 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
879 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
884 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
887 # Privileged drivers (DXE_SMM_DRIVER modules)
889 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
890 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
892 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
894 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
896 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
897 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
901 # Variable driver stack (SMM)
903 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
904 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
905 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
907 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
909 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
914 # Variable driver stack (non-SMM)
916 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
917 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
919 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
921 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
922 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
924 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
928 !if $(TPM2_ENABLE) == TRUE
929 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
931 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
932 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
933 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
934 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
935 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
936 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
937 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf