2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 ################################################################################
19 # Defines Section - statements that will be processed to create a Makefile.
21 ################################################################################
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
27 OUTPUT_DIRECTORY = Build/OvmfX64
28 SUPPORTED_ARCHITECTURES = X64
29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
34 # Defines for default states. These can be changed on the command line.
37 DEFINE SECURE_BOOT_ENABLE = FALSE
38 DEFINE NETWORK_IP6_ENABLE = FALSE
39 DEFINE HTTP_BOOT_ENABLE = FALSE
40 DEFINE SMM_REQUIRE = FALSE
41 DEFINE TLS_ENABLE = FALSE
42 DEFINE TPM2_ENABLE = FALSE
45 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
46 # one of the supported values, in place of any of the convenience macros, is
50 DEFINE FD_SIZE_IN_KB = 1024
53 DEFINE FD_SIZE_IN_KB = 2048
56 DEFINE FD_SIZE_IN_KB = 4096
58 DEFINE FD_SIZE_IN_KB = 4096
64 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
65 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
66 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
67 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
68 !if $(TOOL_CHAIN_TAG) != "XCODE5"
69 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
71 !ifdef $(SOURCE_DEBUG_ENABLE)
72 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
73 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
74 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78 # Disable deprecated APIs.
80 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
81 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
82 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
84 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
85 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
86 XCODE:*_*_*_DLINK_FLAGS =
88 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
89 # protection of DXE_SMM_DRIVER/SMM_CORE modules
90 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
92 XCODE:*_*_*_DLINK_FLAGS =
94 ################################################################################
96 # SKU Identification section - list of all SKU IDs supported by this Platform.
98 ################################################################################
102 ################################################################################
104 # Library Class section - list of all Library Classes needed by this Platform.
106 ################################################################################
108 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
109 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
110 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
111 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
112 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
113 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
114 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
115 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
116 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
117 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
118 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
119 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
120 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
121 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
122 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
123 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
124 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
125 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
126 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
127 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
128 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
129 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
130 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
131 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
132 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
133 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
134 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
135 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
136 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
137 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
138 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
139 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
140 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
141 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
142 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
143 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
144 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
145 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
146 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
147 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
148 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
149 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
150 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
151 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
152 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
153 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
154 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
155 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
156 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
157 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
158 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
159 !if $(SMM_REQUIRE) == FALSE
160 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
162 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
163 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
165 !ifdef $(SOURCE_DEBUG_ENABLE)
166 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
167 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
169 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
170 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
173 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
174 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
175 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
177 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
178 !if $(TLS_ENABLE) == TRUE
179 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
181 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
184 !if $(SECURE_BOOT_ENABLE) == TRUE
185 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
186 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
187 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
189 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
190 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
192 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
194 !if $(NETWORK_IP6_ENABLE) == TRUE
195 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
198 !if $(HTTP_BOOT_ENABLE) == TRUE
199 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
202 !if $(TLS_ENABLE) == TRUE
203 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
206 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
207 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
208 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
209 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
210 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
212 !if $(TPM2_ENABLE) == TRUE
213 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
214 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
215 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
217 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
220 [LibraryClasses.common]
221 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
223 [LibraryClasses.common.SEC]
224 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
225 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
226 !ifdef $(DEBUG_ON_SERIAL_PORT)
227 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
229 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
231 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
232 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
233 !ifdef $(SOURCE_DEBUG_ENABLE)
234 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
236 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
237 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
238 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
239 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
240 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
242 [LibraryClasses.common.PEI_CORE]
243 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
244 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
245 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
246 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
247 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
248 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
249 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
250 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
251 !ifdef $(DEBUG_ON_SERIAL_PORT)
252 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
254 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
256 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
258 [LibraryClasses.common.PEIM]
259 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
260 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
261 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
262 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
263 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
265 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
266 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
267 !ifdef $(DEBUG_ON_SERIAL_PORT)
268 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
270 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
272 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
273 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
274 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
275 !ifdef $(SOURCE_DEBUG_ENABLE)
276 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
278 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
279 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
280 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
281 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
282 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
284 !if $(TPM2_ENABLE) == TRUE
285 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
286 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
289 [LibraryClasses.common.DXE_CORE]
290 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
291 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
292 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
293 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
294 !ifdef $(DEBUG_ON_SERIAL_PORT)
295 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
297 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
299 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
300 !ifdef $(SOURCE_DEBUG_ENABLE)
301 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
303 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
304 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
306 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
307 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
308 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
309 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
310 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
311 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
312 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
313 !ifdef $(DEBUG_ON_SERIAL_PORT)
314 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
318 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
319 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
320 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
321 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
323 [LibraryClasses.common.UEFI_DRIVER]
324 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
325 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
328 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
329 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
330 !ifdef $(DEBUG_ON_SERIAL_PORT)
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
335 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
336 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
338 [LibraryClasses.common.DXE_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
342 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
343 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
344 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
345 !ifdef $(DEBUG_ON_SERIAL_PORT)
346 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
348 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
350 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
351 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
352 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
353 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
354 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
355 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
356 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
357 !if $(SMM_REQUIRE) == TRUE
358 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
360 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
362 !ifdef $(SOURCE_DEBUG_ENABLE)
363 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
365 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
366 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
367 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
368 !if $(TPM2_ENABLE) == TRUE
369 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
372 [LibraryClasses.common.UEFI_APPLICATION]
373 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
374 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
378 !ifdef $(DEBUG_ON_SERIAL_PORT)
379 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
381 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
383 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
385 [LibraryClasses.common.DXE_SMM_DRIVER]
386 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
387 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
388 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
389 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
390 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
391 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
392 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
393 !ifdef $(DEBUG_ON_SERIAL_PORT)
394 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
396 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
398 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
399 !ifdef $(SOURCE_DEBUG_ENABLE)
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
402 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
405 [LibraryClasses.common.SMM_CORE]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
408 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
409 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
410 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
411 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
412 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
413 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
414 !ifdef $(DEBUG_ON_SERIAL_PORT)
415 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
417 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
419 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
421 ################################################################################
423 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
425 ################################################################################
427 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
432 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
433 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
434 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
435 !if $(SMM_REQUIRE) == TRUE
436 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
437 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
442 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
443 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
444 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
445 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
446 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
448 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
449 !if $(TLS_ENABLE) == FALSE
450 # match PcdFlashNvStorageVariableSize purely for convenience
451 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
454 !if $(FD_SIZE_IN_KB) == 4096
455 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
456 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
457 !if $(TLS_ENABLE) == FALSE
458 # match PcdFlashNvStorageVariableSize purely for convenience
459 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
462 !if $(TLS_ENABLE) == TRUE
463 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
464 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
467 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
469 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
471 # DEBUG_INIT 0x00000001 // Initialization
472 # DEBUG_WARN 0x00000002 // Warnings
473 # DEBUG_LOAD 0x00000004 // Load events
474 # DEBUG_FS 0x00000008 // EFI File system
475 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
476 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
477 # DEBUG_INFO 0x00000040 // Informational debug messages
478 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
479 # DEBUG_VARIABLE 0x00000100 // Variable
480 # DEBUG_BM 0x00000400 // Boot Manager
481 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
482 # DEBUG_NET 0x00004000 // SNP Driver
483 # DEBUG_UNDI 0x00010000 // UNDI Driver
484 # DEBUG_LOADFILE 0x00020000 // LoadFile
485 # DEBUG_EVENT 0x00080000 // Event messages
486 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
487 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
488 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
489 # // significantly impact boot performance
490 # DEBUG_ERROR 0x80000000 // Error
491 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
493 !ifdef $(SOURCE_DEBUG_ENABLE)
494 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
496 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
499 # This PCD is used to set the base address of the PCI express hierarchy. It
500 # is only consulted when OVMF runs on Q35. In that case it is programmed into
501 # the PCIEXBAR register.
503 # On Q35 machine types that QEMU intends to support in the long term, QEMU
504 # never lets the RAM below 4 GB exceed 2 GB.
505 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
507 !ifdef $(SOURCE_DEBUG_ENABLE)
508 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
511 !if $(HTTP_BOOT_ENABLE) == TRUE
512 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
515 !ifndef $(USE_OLD_SHELL)
516 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
519 !if $(SMM_REQUIRE) == TRUE
520 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
523 # IRQs 5, 9, 10, 11 are level-triggered
524 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
526 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
527 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
529 ################################################################################
531 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
533 ################################################################################
537 # ($(SMM_REQUIRE) == FALSE)
538 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
540 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
541 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
542 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
543 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
544 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
545 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
546 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
547 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
548 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
549 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
550 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
551 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
552 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
553 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
555 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
557 # Set video resolution for text setup.
558 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
559 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
561 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
562 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
563 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
565 # Noexec settings for DXE.
566 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
567 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
569 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
570 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
571 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
573 # Set memory encryption mask
574 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
576 !if $(SMM_REQUIRE) == TRUE
577 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
578 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
579 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
582 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
584 !if $(TPM2_ENABLE) == TRUE
585 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
588 ################################################################################
590 # Components Section - list of all EDK II Modules needed by this Platform.
592 ################################################################################
594 OvmfPkg/ResetVector/ResetVector.inf
599 OvmfPkg/Sec/SecMain.inf {
601 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
607 MdeModulePkg/Core/Pei/PeiMain.inf
608 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
610 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
612 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
614 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
616 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
618 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
620 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
622 OvmfPkg/PlatformPei/PlatformPei.inf
623 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
625 !if $(SMM_REQUIRE) == TRUE
626 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
629 !if $(SMM_REQUIRE) == TRUE
630 OvmfPkg/SmmAccess/SmmAccessPei.inf
632 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
634 !if $(TPM2_ENABLE) == TRUE
635 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
636 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
638 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
639 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
640 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
647 MdeModulePkg/Core/Dxe/DxeMain.inf {
649 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
650 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
653 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
654 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
655 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
657 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
660 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
662 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
664 !if $(SECURE_BOOT_ENABLE) == TRUE
665 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
667 !if $(TPM2_ENABLE) == TRUE
668 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
672 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
673 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
674 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
675 UefiCpuPkg/CpuDxe/CpuDxe.inf
676 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
677 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
678 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
679 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
681 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
682 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
684 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
686 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
688 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
689 MdeModulePkg/Universal/Metronome/Metronome.inf
690 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
691 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
692 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
695 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
696 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
699 MdeModulePkg/Logo/LogoDxe.inf
700 MdeModulePkg/Application/UiApp/UiApp.inf {
702 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
703 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
704 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
706 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
707 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
710 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
711 OvmfPkg/Virtio10Dxe/Virtio10.inf
712 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
713 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
714 OvmfPkg/VirtioRngDxe/VirtioRng.inf
715 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
716 OvmfPkg/XenBusDxe/XenBusDxe.inf
717 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
718 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
719 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
720 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
721 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
722 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
723 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
725 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
727 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
728 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
730 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
731 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
733 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
734 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
735 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
736 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
737 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
738 FatPkg/EnhancedFatDxe/Fat.inf
739 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
740 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
741 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
742 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
743 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
744 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
745 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
746 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
747 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
748 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
749 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
751 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
752 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
757 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
758 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
759 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
760 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
761 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
766 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
768 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
770 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
775 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
776 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
777 OvmfPkg/AcpiTables/AcpiTables.inf
778 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
779 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
780 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
785 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
786 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
787 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
788 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
789 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
790 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
791 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
792 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
793 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
794 !if $(NETWORK_IP6_ENABLE) == TRUE
795 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
796 NetworkPkg/TcpDxe/TcpDxe.inf
797 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
798 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
799 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
800 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
801 NetworkPkg/IScsiDxe/IScsiDxe.inf
803 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
804 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
805 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
807 !if $(HTTP_BOOT_ENABLE) == TRUE
808 NetworkPkg/DnsDxe/DnsDxe.inf
809 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
810 NetworkPkg/HttpDxe/HttpDxe.inf
811 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
813 !if $(TLS_ENABLE) == TRUE
814 NetworkPkg/TlsDxe/TlsDxe.inf
815 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
817 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
820 OvmfPkg/VirtioNetDxe/VirtioNet.inf
825 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
826 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
827 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
828 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
829 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
830 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
833 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
835 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
837 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
838 OvmfPkg/Csm/Csm16/Csm16.inf
841 !ifndef $(USE_OLD_SHELL)
842 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
844 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
846 ShellPkg/Application/Shell/Shell.inf {
848 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
849 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
850 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
851 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
852 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
853 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
854 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
855 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
856 !if $(NETWORK_IP6_ENABLE) == TRUE
857 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
859 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
860 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
861 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
864 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
865 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
866 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
870 !if $(SECURE_BOOT_ENABLE) == TRUE
871 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
874 OvmfPkg/PlatformDxe/Platform.inf
875 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
876 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
878 !if $(SMM_REQUIRE) == TRUE
879 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
880 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
881 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
884 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
886 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
891 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
894 # Privileged drivers (DXE_SMM_DRIVER modules)
896 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
897 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
899 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
901 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
903 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
904 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
908 # Variable driver stack (SMM)
910 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
911 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
912 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
914 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
916 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
921 # Variable driver stack (non-SMM)
923 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
924 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
926 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
928 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
929 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
931 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
935 !if $(TPM2_ENABLE) == TRUE
936 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
938 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
939 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
940 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
941 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
942 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf