2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2022, 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 ################################################################################
18 PLATFORM_NAME = CloudHv
19 PLATFORM_GUID = 97bb49d2-9814-4bea-8311-f8b9ac231e11
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/CloudHvX64
23 SUPPORTED_ARCHITECTURES = X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/CloudHv/CloudHvX64.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
36 !include OvmfPkg/Include/Dsc/OvmfTpmDefines.dsc.inc
41 DEFINE NETWORK_TLS_ENABLE = FALSE
42 DEFINE NETWORK_IP6_ENABLE = FALSE
43 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
44 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
45 DEFINE NETWORK_ISCSI_ENABLE = TRUE
47 !include NetworkPkg/NetworkDefines.dsc.inc
52 DEFINE PVSCSI_ENABLE = FALSE
53 DEFINE MPT_SCSI_ENABLE = FALSE
54 DEFINE LSI_SCSI_ENABLE = FALSE
57 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
58 # one of the supported values, in place of any of the convenience macros, is
62 DEFINE FD_SIZE_IN_KB = 1024
65 DEFINE FD_SIZE_IN_KB = 2048
68 DEFINE FD_SIZE_IN_KB = 4096
70 DEFINE FD_SIZE_IN_KB = 4096
76 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
77 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
78 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
79 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
80 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
82 !if $(SOURCE_DEBUG_ENABLE) == TRUE
83 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
84 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
85 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
87 RELEASE_*_*_GENFW_FLAGS = --zero
90 # Disable deprecated APIs.
92 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
93 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
94 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
97 # SECURE_BOOT_FEATURE_ENABLED
99 !if $(SECURE_BOOT_ENABLE) == TRUE
100 MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
101 INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
102 GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED
105 !include NetworkPkg/NetworkBuildOptions.dsc.inc
107 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
108 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
109 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
110 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
111 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
113 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
114 # protection of DXE_SMM_DRIVER/SMM_CORE modules
115 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
116 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
117 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
118 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
119 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
121 ################################################################################
123 # SKU Identification section - list of all SKU IDs supported by this Platform.
125 ################################################################################
129 ################################################################################
131 # Library Class section - list of all Library Classes needed by this Platform.
133 ################################################################################
135 !include MdePkg/MdeLibs.dsc.inc
138 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
139 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
140 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
141 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
142 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
143 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
144 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
145 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
146 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
147 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
148 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
149 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
150 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
151 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
152 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
153 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
154 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
155 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
156 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
157 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
158 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
159 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
160 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
161 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
162 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
163 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
164 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
165 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
166 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
167 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
168 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
169 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
170 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
171 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
172 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
173 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
174 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
175 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
176 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
177 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
178 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
179 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
180 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
181 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
182 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
183 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
184 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
185 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
186 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
187 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
188 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
189 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
190 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
191 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
192 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
193 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
194 !if $(SMM_REQUIRE) == FALSE
195 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
197 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
198 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
199 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
201 !if $(SOURCE_DEBUG_ENABLE) == TRUE
202 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
203 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
205 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
206 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
209 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
210 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
212 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
213 !if $(NETWORK_TLS_ENABLE) == TRUE
214 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
216 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
218 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
220 !if $(SECURE_BOOT_ENABLE) == TRUE
221 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
222 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
223 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
224 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
225 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
227 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
229 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
230 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
231 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
232 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
238 !include NetworkPkg/NetworkLibs.dsc.inc
240 !if $(NETWORK_TLS_ENABLE) == TRUE
241 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
244 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
245 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
246 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
247 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
248 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
250 !include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
252 [LibraryClasses.common]
253 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
254 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
255 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
256 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
258 [LibraryClasses.common.SEC]
259 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
260 !ifdef $(DEBUG_ON_SERIAL_PORT)
261 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
263 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
265 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
266 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
267 !if $(SOURCE_DEBUG_ENABLE) == TRUE
268 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
270 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
271 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
272 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
273 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
274 !if $(TOOL_CHAIN_TAG) == "XCODE5"
275 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
277 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
279 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
280 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
282 [LibraryClasses.common.PEI_CORE]
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 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.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
298 [LibraryClasses.common.PEIM]
299 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
300 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
301 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
302 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
303 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
304 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
305 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
306 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
307 !ifdef $(DEBUG_ON_SERIAL_PORT)
308 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
310 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
312 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
313 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
314 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
315 !if $(SOURCE_DEBUG_ENABLE) == TRUE
316 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
318 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
319 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
320 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
321 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
322 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
324 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
325 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
327 [LibraryClasses.common.DXE_CORE]
328 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
329 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
330 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
332 !ifdef $(DEBUG_ON_SERIAL_PORT)
333 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
335 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
337 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
338 !if $(SOURCE_DEBUG_ENABLE) == TRUE
339 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
341 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
344 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
345 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
346 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
347 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
348 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
349 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
350 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
351 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
352 !ifdef $(DEBUG_ON_SERIAL_PORT)
353 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
355 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
357 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
358 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
359 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
360 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
361 !if $(SMM_REQUIRE) == TRUE
362 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
365 [LibraryClasses.common.UEFI_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
369 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
370 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
371 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
372 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
373 !ifdef $(DEBUG_ON_SERIAL_PORT)
374 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
376 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
378 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
379 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
381 [LibraryClasses.common.DXE_DRIVER]
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
383 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
384 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
385 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
386 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
388 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
389 !ifdef $(DEBUG_ON_SERIAL_PORT)
390 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
392 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
394 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
395 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
396 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
398 !if $(SMM_REQUIRE) == TRUE
399 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
401 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
403 !if $(SOURCE_DEBUG_ENABLE) == TRUE
404 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
406 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
407 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
408 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
409 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
410 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
412 [LibraryClasses.common.UEFI_APPLICATION]
413 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
414 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
415 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
416 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
417 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
418 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
419 !ifdef $(DEBUG_ON_SERIAL_PORT)
420 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
422 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
424 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
426 [LibraryClasses.common.DXE_SMM_DRIVER]
427 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
428 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
429 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
430 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
431 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
432 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
433 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
434 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
435 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
436 !ifdef $(DEBUG_ON_SERIAL_PORT)
437 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
439 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
441 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
442 !if $(SOURCE_DEBUG_ENABLE) == TRUE
443 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
445 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
446 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
447 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
449 [LibraryClasses.common.SMM_CORE]
450 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
451 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
452 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
453 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
454 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
455 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
456 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
457 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
458 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
459 !ifdef $(DEBUG_ON_SERIAL_PORT)
460 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
462 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
464 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
466 ################################################################################
468 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
470 ################################################################################
472 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
474 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
475 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
477 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
478 !if $(SMM_REQUIRE) == TRUE
479 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
480 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
481 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
485 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
486 !if $(SMM_REQUIRE) == FALSE
487 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
489 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
490 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
491 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
492 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
494 !if $(NETWORK_TLS_ENABLE) == FALSE
495 # match PcdFlashNvStorageVariableSize purely for convenience
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
499 !if $(FD_SIZE_IN_KB) == 4096
500 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
501 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
502 !if $(NETWORK_TLS_ENABLE) == FALSE
503 # match PcdFlashNvStorageVariableSize purely for convenience
504 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
507 !if $(NETWORK_TLS_ENABLE) == TRUE
508 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
509 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
512 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
513 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
514 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
516 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
518 # DEBUG_INIT 0x00000001 // Initialization
519 # DEBUG_WARN 0x00000002 // Warnings
520 # DEBUG_LOAD 0x00000004 // Load events
521 # DEBUG_FS 0x00000008 // EFI File system
522 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
523 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
524 # DEBUG_INFO 0x00000040 // Informational debug messages
525 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
526 # DEBUG_VARIABLE 0x00000100 // Variable
527 # DEBUG_BM 0x00000400 // Boot Manager
528 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
529 # DEBUG_NET 0x00004000 // SNP Driver
530 # DEBUG_UNDI 0x00010000 // UNDI Driver
531 # DEBUG_LOADFILE 0x00020000 // LoadFile
532 # DEBUG_EVENT 0x00080000 // Event messages
533 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
534 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
535 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
536 # // significantly impact boot performance
537 # DEBUG_ERROR 0x80000000 // Error
538 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
540 !if $(SOURCE_DEBUG_ENABLE) == TRUE
541 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
543 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
546 !if $(SOURCE_DEBUG_ENABLE) == TRUE
547 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
551 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
552 # best (please refer to git-blame for past updates). The values capture a set
553 # of BIN hints that made sense at a particular time, for some (now likely
554 # unknown) workloads / boot paths.
556 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
557 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
558 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
559 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
560 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
565 !include NetworkPkg/NetworkPcds.dsc.inc
567 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
569 !if $(SMM_REQUIRE) == TRUE
570 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
573 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
574 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
576 ################################################################################
578 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
580 ################################################################################
584 # ($(SMM_REQUIRE) == FALSE)
585 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
587 !if $(SMM_REQUIRE) == FALSE
588 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
589 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
590 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
591 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
592 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
594 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
595 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
597 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
598 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
599 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
600 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
601 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
603 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
604 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
606 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
607 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
608 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
610 # Noexec settings for DXE.
611 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
613 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
614 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
615 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
617 # Set memory encryption mask
618 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
620 # Set Tdx shared bit mask
621 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
623 # Set SEV-ES defaults
624 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
625 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
626 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
628 !if $(SMM_REQUIRE) == TRUE
629 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
630 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
633 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
635 !include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
637 # IPv4 and IPv6 PXE Boot support.
638 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
639 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
641 # Set ConfidentialComputing defaults
642 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
645 !include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
647 ################################################################################
649 # Components Section - list of all EDK II Modules needed by this Platform.
651 ################################################################################
653 OvmfPkg/XenResetVector/XenResetVector.inf
658 OvmfPkg/Sec/SecMain.inf {
660 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
666 MdeModulePkg/Core/Pei/PeiMain.inf
667 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
669 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
671 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
673 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
675 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
677 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
679 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
681 OvmfPkg/PlatformPei/PlatformPei.inf
682 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
684 !if $(SMM_REQUIRE) == TRUE
685 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
688 !if $(SMM_REQUIRE) == TRUE
689 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
690 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
691 OvmfPkg/SmmAccess/SmmAccessPei.inf
693 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
695 !include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
700 MdeModulePkg/Core/Dxe/DxeMain.inf {
702 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
703 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
706 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
707 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
708 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
710 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
713 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
715 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
717 !if $(SECURE_BOOT_ENABLE) == TRUE
718 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
719 !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
723 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
724 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
725 UefiCpuPkg/CpuDxe/CpuDxe.inf
726 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
727 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
728 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
729 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
731 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
732 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
733 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
735 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
737 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
739 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
740 MdeModulePkg/Universal/Metronome/Metronome.inf
741 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
742 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
743 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
745 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
747 MdeModulePkg/Logo/LogoDxe.inf
748 MdeModulePkg/Application/UiApp/UiApp.inf {
750 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
751 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
752 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
754 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
756 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
758 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
759 OvmfPkg/Virtio10Dxe/Virtio10.inf
760 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
761 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
762 OvmfPkg/VirtioRngDxe/VirtioRng.inf
763 !if $(PVSCSI_ENABLE) == TRUE
764 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
766 !if $(MPT_SCSI_ENABLE) == TRUE
767 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
769 !if $(LSI_SCSI_ENABLE) == TRUE
770 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
772 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
773 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
774 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
775 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
776 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
777 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
779 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
781 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
782 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
784 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
785 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
787 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
788 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
789 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
790 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
791 FatPkg/EnhancedFatDxe/Fat.inf
792 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
793 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
794 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
795 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
796 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
797 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
798 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
799 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
800 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
801 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
802 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
803 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
808 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
813 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
815 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
817 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
822 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
823 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
824 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
825 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
826 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
831 !include NetworkPkg/NetworkComponents.dsc.inc
832 !include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
834 OvmfPkg/VirtioNetDxe/VirtioNet.inf
836 !if $(TOOL_CHAIN_TAG) != "XCODE5"
837 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
839 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
841 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
843 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
845 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
847 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
850 ShellPkg/Application/Shell/Shell.inf {
852 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
853 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
854 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
855 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
856 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
857 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
858 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
859 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
860 !if $(NETWORK_IP6_ENABLE) == TRUE
861 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
863 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
864 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
865 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
868 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
869 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
870 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
873 !if $(SECURE_BOOT_ENABLE) == TRUE
874 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
875 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
878 OvmfPkg/PlatformDxe/Platform.inf
879 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
881 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
883 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
885 !if $(SMM_REQUIRE) == TRUE
886 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
887 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
888 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
891 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
893 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
898 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
901 # Privileged drivers (DXE_SMM_DRIVER modules)
903 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
904 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
905 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
907 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
909 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
911 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
912 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
916 # Variable driver stack (SMM)
918 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
920 CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
922 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
923 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
925 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
926 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
928 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
933 # Variable driver stack (non-SMM)
935 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
936 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
938 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
940 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
941 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
943 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
950 !include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc