2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) Microsoft Corporation.
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ################################################################################
14 # Defines Section - statements that will be processed to create a Makefile.
16 ################################################################################
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/OvmfIa32
23 SUPPORTED_ARCHITECTURES = IA32
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
29 # Defines for default states. These can be changed on the command line.
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SMM_REQUIRE = FALSE
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35 DEFINE TPM_ENABLE = FALSE
36 DEFINE TPM_CONFIG_ENABLE = FALSE
37 DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
42 DEFINE NETWORK_TLS_ENABLE = FALSE
43 DEFINE NETWORK_IP6_ENABLE = FALSE
44 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
45 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
46 DEFINE NETWORK_ISCSI_ENABLE = TRUE
48 !include NetworkPkg/NetworkDefines.dsc.inc
53 DEFINE PVSCSI_ENABLE = TRUE
54 DEFINE MPT_SCSI_ENABLE = TRUE
55 DEFINE LSI_SCSI_ENABLE = FALSE
58 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
59 # one of the supported values, in place of any of the convenience macros, is
63 DEFINE FD_SIZE_IN_KB = 1024
66 DEFINE FD_SIZE_IN_KB = 2048
69 DEFINE FD_SIZE_IN_KB = 4096
71 DEFINE FD_SIZE_IN_KB = 4096
77 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
78 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
80 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
81 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
83 RELEASE_*_*_GENFW_FLAGS = --zero
86 # Disable deprecated APIs.
88 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
89 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
90 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
92 !include NetworkPkg/NetworkBuildOptions.dsc.inc
94 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
95 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
96 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
97 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
98 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
100 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
101 # protection of DXE_SMM_DRIVER/SMM_CORE modules
102 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
103 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
104 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
105 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
106 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
108 ################################################################################
110 # SKU Identification section - list of all SKU IDs supported by this Platform.
112 ################################################################################
116 ################################################################################
118 # Library Class section - list of all Library Classes needed by this Platform.
120 ################################################################################
122 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
123 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
124 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
125 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
126 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
127 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
128 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
129 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
130 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
131 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
132 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
133 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
134 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
135 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
136 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
137 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
138 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
139 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
140 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
141 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
142 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
143 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
144 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
145 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
146 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
147 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
148 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
149 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
150 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
151 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
152 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
153 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
154 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
155 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
156 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
157 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
158 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
159 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
160 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
161 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
162 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
163 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
164 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
165 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
166 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
167 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
168 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
169 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
170 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
171 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
172 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
173 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
174 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
175 !if $(SMM_REQUIRE) == FALSE
176 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
178 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
179 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
181 !if $(SOURCE_DEBUG_ENABLE) == TRUE
182 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
183 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
185 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
186 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
189 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
190 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
192 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
193 !if $(NETWORK_TLS_ENABLE) == TRUE
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
196 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
198 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
200 !if $(SECURE_BOOT_ENABLE) == TRUE
201 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
202 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
204 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
206 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
207 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
208 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
214 !include NetworkPkg/NetworkLibs.dsc.inc
216 !if $(NETWORK_TLS_ENABLE) == TRUE
217 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
220 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
221 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
222 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
223 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
224 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
225 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
226 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
228 !if $(TPM_ENABLE) == TRUE
229 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
230 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
231 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
232 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
233 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
235 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
236 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
239 [LibraryClasses.common]
240 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
241 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
243 [LibraryClasses.common.SEC]
244 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
245 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
246 !ifdef $(DEBUG_ON_SERIAL_PORT)
247 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
249 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
251 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
252 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
253 !if $(SOURCE_DEBUG_ENABLE) == TRUE
254 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
256 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
257 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
259 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
260 !if $(TOOL_CHAIN_TAG) == "XCODE5"
261 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
266 [LibraryClasses.common.PEI_CORE]
267 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
268 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
269 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
270 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
271 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
272 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
273 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
274 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
275 !ifdef $(DEBUG_ON_SERIAL_PORT)
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
280 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
282 [LibraryClasses.common.PEIM]
283 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
284 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
285 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
286 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
287 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
288 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
289 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
290 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
291 !ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
296 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
297 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
298 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
303 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
304 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
305 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
306 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
308 !if $(TPM_ENABLE) == TRUE
309 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
310 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
311 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
314 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
316 [LibraryClasses.common.DXE_CORE]
317 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
318 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
319 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.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 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
327 !if $(SOURCE_DEBUG_ENABLE) == TRUE
328 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
330 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
334 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
335 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
336 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
339 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
340 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
341 !ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
346 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
347 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
348 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
349 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
350 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
351 !if $(SMM_REQUIRE) == TRUE
352 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
355 [LibraryClasses.common.UEFI_DRIVER]
356 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
357 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
358 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
359 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
360 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
361 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
362 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
363 !ifdef $(DEBUG_ON_SERIAL_PORT)
364 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
366 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
368 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
369 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
371 [LibraryClasses.common.DXE_DRIVER]
372 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
373 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
374 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
378 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
379 !ifdef $(DEBUG_ON_SERIAL_PORT)
380 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
382 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
384 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
385 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
386 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
387 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
388 !if $(SMM_REQUIRE) == TRUE
389 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
391 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
393 !if $(SOURCE_DEBUG_ENABLE) == TRUE
394 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
396 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
397 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
398 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
399 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
400 !if $(TPM_ENABLE) == TRUE
401 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
402 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
405 [LibraryClasses.common.UEFI_APPLICATION]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
408 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
410 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
411 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
412 !ifdef $(DEBUG_ON_SERIAL_PORT)
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419 [LibraryClasses.common.DXE_SMM_DRIVER]
420 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
421 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
422 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
423 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
424 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
425 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
426 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
427 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
428 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
429 !ifdef $(DEBUG_ON_SERIAL_PORT)
430 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
432 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
434 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
435 !if $(SOURCE_DEBUG_ENABLE) == TRUE
436 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
438 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
439 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
441 [LibraryClasses.common.SMM_CORE]
442 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
443 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
444 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
445 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
446 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
447 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
448 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
449 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
450 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
451 !ifdef $(DEBUG_ON_SERIAL_PORT)
452 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
454 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
456 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
458 ################################################################################
460 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
462 ################################################################################
464 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
469 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
471 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
473 !if $(SMM_REQUIRE) == TRUE
474 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
475 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
480 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
481 !if $(SMM_REQUIRE) == FALSE
482 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
484 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
485 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
486 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
487 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
488 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
489 !if $(NETWORK_TLS_ENABLE) == FALSE
490 # match PcdFlashNvStorageVariableSize purely for convenience
491 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
494 !if $(FD_SIZE_IN_KB) == 4096
495 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
496 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
497 !if $(NETWORK_TLS_ENABLE) == FALSE
498 # match PcdFlashNvStorageVariableSize purely for convenience
499 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
502 !if $(NETWORK_TLS_ENABLE) == TRUE
503 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
504 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
507 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
508 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
509 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
511 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
513 # DEBUG_INIT 0x00000001 // Initialization
514 # DEBUG_WARN 0x00000002 // Warnings
515 # DEBUG_LOAD 0x00000004 // Load events
516 # DEBUG_FS 0x00000008 // EFI File system
517 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
518 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
519 # DEBUG_INFO 0x00000040 // Informational debug messages
520 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
521 # DEBUG_VARIABLE 0x00000100 // Variable
522 # DEBUG_BM 0x00000400 // Boot Manager
523 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
524 # DEBUG_NET 0x00004000 // SNP Driver
525 # DEBUG_UNDI 0x00010000 // UNDI Driver
526 # DEBUG_LOADFILE 0x00020000 // LoadFile
527 # DEBUG_EVENT 0x00080000 // Event messages
528 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
529 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
530 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
531 # // significantly impact boot performance
532 # DEBUG_ERROR 0x80000000 // Error
533 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
535 !if $(SOURCE_DEBUG_ENABLE) == TRUE
536 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
538 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
541 # This PCD is used to set the base address of the PCI express hierarchy. It
542 # is only consulted when OVMF runs on Q35. In that case it is programmed into
543 # the PCIEXBAR register.
545 # On Q35 machine types that QEMU intends to support in the long term, QEMU
546 # never lets the RAM below 4 GB exceed 2816 MB.
547 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
549 !if $(SOURCE_DEBUG_ENABLE) == TRUE
550 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
554 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
555 # best (please refer to git-blame for past updates). The values capture a set
556 # of BIN hints that made sense at a particular time, for some (now likely
557 # unknown) workloads / boot paths.
559 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
560 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
561 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
562 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
563 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
568 !include NetworkPkg/NetworkPcds.dsc.inc
570 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
572 !if $(SMM_REQUIRE) == TRUE
573 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
576 # IRQs 5, 9, 10, 11 are level-triggered
577 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
579 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
580 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
582 ################################################################################
584 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
586 ################################################################################
590 # ($(SMM_REQUIRE) == FALSE)
591 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
593 !if $(SMM_REQUIRE) == FALSE
594 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
595 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
596 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
598 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
599 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
600 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
601 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
602 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
603 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
604 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
605 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
606 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
608 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
610 # Set video resolution for text setup.
611 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
612 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
614 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
615 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
616 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
618 # Noexec settings for DXE.
619 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
621 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
622 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
623 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
625 # Set memory encryption mask
626 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
628 # Set SEV-ES defaults
629 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
630 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
631 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
633 !if $(SMM_REQUIRE) == TRUE
634 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
635 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
636 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
637 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
640 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
642 !if $(TPM_ENABLE) == TRUE
643 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
646 # IPv4 and IPv6 PXE Boot support.
647 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
648 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
651 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
652 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
653 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
656 ################################################################################
658 # Components Section - list of all EDK II Modules needed by this Platform.
660 ################################################################################
662 OvmfPkg/ResetVector/ResetVector.inf
667 OvmfPkg/Sec/SecMain.inf {
669 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
675 MdeModulePkg/Core/Pei/PeiMain.inf
676 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
678 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
680 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
682 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
684 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
686 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
688 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
690 OvmfPkg/PlatformPei/PlatformPei.inf
691 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
693 !if $(SMM_REQUIRE) == TRUE
694 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
697 !if $(SMM_REQUIRE) == TRUE
698 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
699 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
700 OvmfPkg/SmmAccess/SmmAccessPei.inf
702 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
704 !if $(TPM_ENABLE) == TRUE
705 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
706 SecurityPkg/Tcg/TcgPei/TcgPei.inf
707 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
709 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
710 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
711 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
712 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
713 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
714 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
721 MdeModulePkg/Core/Dxe/DxeMain.inf {
723 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
724 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
727 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
728 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
729 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
731 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
734 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
736 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
738 !if $(SECURE_BOOT_ENABLE) == TRUE
739 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
741 !if $(TPM_ENABLE) == TRUE
742 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
743 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
747 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
748 OvmfPkg/8259InterruptControllerDxe/8259.inf
749 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
750 UefiCpuPkg/CpuDxe/CpuDxe.inf
751 OvmfPkg/8254TimerDxe/8254Timer.inf
752 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
753 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
754 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
756 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
757 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
758 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
760 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
762 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
764 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
765 MdeModulePkg/Universal/Metronome/Metronome.inf
766 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
767 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
768 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
771 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
772 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
775 MdeModulePkg/Logo/LogoDxe.inf
776 MdeModulePkg/Application/UiApp/UiApp.inf {
778 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
779 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
780 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
782 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
783 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
786 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
787 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
788 OvmfPkg/Virtio10Dxe/Virtio10.inf
789 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
790 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
791 OvmfPkg/VirtioRngDxe/VirtioRng.inf
792 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
793 OvmfPkg/XenBusDxe/XenBusDxe.inf
794 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
795 !if $(PVSCSI_ENABLE) == TRUE
796 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
798 !if $(MPT_SCSI_ENABLE) == TRUE
799 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
801 !if $(LSI_SCSI_ENABLE) == TRUE
802 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
804 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
805 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
806 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
807 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
808 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
809 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
811 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
813 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
814 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
816 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
817 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
819 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
820 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
821 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
822 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
823 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
824 FatPkg/EnhancedFatDxe/Fat.inf
825 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
826 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
827 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
828 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
829 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
830 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
831 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
832 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
833 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
834 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
835 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
836 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
838 !ifndef $(CSM_ENABLE)
839 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
841 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
842 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
847 OvmfPkg/SioBusDxe/SioBusDxe.inf
848 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
849 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
854 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
856 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
858 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
863 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
864 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
865 OvmfPkg/AcpiTables/AcpiTables.inf
866 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
867 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
868 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
873 !include NetworkPkg/NetworkComponents.dsc.inc
875 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
877 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
880 !if $(NETWORK_TLS_ENABLE) == TRUE
881 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
883 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
886 OvmfPkg/VirtioNetDxe/VirtioNet.inf
891 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
892 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
893 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
894 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
895 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
896 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
899 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
901 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
903 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
904 OvmfPkg/Csm/Csm16/Csm16.inf
907 !if $(TOOL_CHAIN_TAG) != "XCODE5"
908 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
910 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
912 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
914 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
916 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
918 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
921 ShellPkg/Application/Shell/Shell.inf {
923 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
924 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
925 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
926 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
927 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
928 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
929 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
930 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
931 !if $(NETWORK_IP6_ENABLE) == TRUE
932 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
934 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
935 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
936 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
939 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
940 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
941 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
944 !if $(SECURE_BOOT_ENABLE) == TRUE
945 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
946 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
949 OvmfPkg/PlatformDxe/Platform.inf
950 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
952 !if $(SMM_REQUIRE) == TRUE
953 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
954 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
955 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
958 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
960 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
965 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
968 # Privileged drivers (DXE_SMM_DRIVER modules)
970 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
971 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
972 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
974 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
976 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
978 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
979 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
983 # Variable driver stack (SMM)
985 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
986 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
987 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
989 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
990 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
992 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
997 # Variable driver stack (non-SMM)
999 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
1000 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
1002 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
1004 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1005 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
1007 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1014 !if $(TPM_ENABLE) == TRUE
1015 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
1017 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
1018 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
1019 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
1020 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1021 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1022 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
1023 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
1024 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
1026 !if $(TPM_CONFIG_ENABLE) == TRUE
1027 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
1029 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1031 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
1035 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
1036 OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf