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/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/OvmfTpmLibs.dsc.inc
252 [LibraryClasses.common]
253 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
254 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
255 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
257 [LibraryClasses.common.SEC]
258 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
259 !ifdef $(DEBUG_ON_SERIAL_PORT)
260 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
262 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
265 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
266 !if $(SOURCE_DEBUG_ENABLE) == TRUE
267 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
269 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
270 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
271 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
272 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
273 !if $(TOOL_CHAIN_TAG) == "XCODE5"
274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
278 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
279 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
281 [LibraryClasses.common.PEI_CORE]
282 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
283 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
284 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
285 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
286 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
287 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
288 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
289 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
290 !ifdef $(DEBUG_ON_SERIAL_PORT)
291 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
293 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
295 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
297 [LibraryClasses.common.PEIM]
298 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
299 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
300 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
301 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
302 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
303 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
304 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
305 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
306 !ifdef $(DEBUG_ON_SERIAL_PORT)
307 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
312 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
313 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
314 !if $(SOURCE_DEBUG_ENABLE) == TRUE
315 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
317 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
318 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
319 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
320 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
321 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
323 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
324 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
326 [LibraryClasses.common.DXE_CORE]
327 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
328 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
329 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
330 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
331 !ifdef $(DEBUG_ON_SERIAL_PORT)
332 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
334 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
336 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
337 !if $(SOURCE_DEBUG_ENABLE) == TRUE
338 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
340 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
343 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
344 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
345 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
346 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
347 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
348 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
349 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
350 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
351 !ifdef $(DEBUG_ON_SERIAL_PORT)
352 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
354 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
356 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
357 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
358 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
359 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
360 !if $(SMM_REQUIRE) == TRUE
361 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
364 [LibraryClasses.common.UEFI_DRIVER]
365 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
366 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
367 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372 !ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
377 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
378 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
380 [LibraryClasses.common.DXE_DRIVER]
381 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
382 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
383 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
384 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
385 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
386 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
387 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
388 !ifdef $(DEBUG_ON_SERIAL_PORT)
389 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
391 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
393 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
394 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
395 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
396 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
397 !if $(SMM_REQUIRE) == TRUE
398 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
400 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
402 !if $(SOURCE_DEBUG_ENABLE) == TRUE
403 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
405 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
406 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
407 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
408 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
410 [LibraryClasses.common.UEFI_APPLICATION]
411 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
412 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
413 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
414 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
415 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
416 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
417 !ifdef $(DEBUG_ON_SERIAL_PORT)
418 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
420 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
422 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
424 [LibraryClasses.common.DXE_SMM_DRIVER]
425 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
427 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
428 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
429 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
430 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
431 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
432 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
433 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
434 !ifdef $(DEBUG_ON_SERIAL_PORT)
435 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
437 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
439 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
440 !if $(SOURCE_DEBUG_ENABLE) == TRUE
441 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
443 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
444 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
445 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
447 [LibraryClasses.common.SMM_CORE]
448 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
449 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
450 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
451 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
452 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
453 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
454 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
455 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
456 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
457 !ifdef $(DEBUG_ON_SERIAL_PORT)
458 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
460 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
462 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
464 ################################################################################
466 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
468 ################################################################################
470 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
472 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
474 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
475 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
476 !if $(SMM_REQUIRE) == TRUE
477 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
478 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
479 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
483 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
484 !if $(SMM_REQUIRE) == FALSE
485 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
487 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
488 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
489 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
490 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
491 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
492 !if $(NETWORK_TLS_ENABLE) == FALSE
493 # match PcdFlashNvStorageVariableSize purely for convenience
494 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
497 !if $(FD_SIZE_IN_KB) == 4096
498 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
499 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
500 !if $(NETWORK_TLS_ENABLE) == FALSE
501 # match PcdFlashNvStorageVariableSize purely for convenience
502 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
505 !if $(NETWORK_TLS_ENABLE) == TRUE
506 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
507 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
510 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
511 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
512 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
514 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
516 # DEBUG_INIT 0x00000001 // Initialization
517 # DEBUG_WARN 0x00000002 // Warnings
518 # DEBUG_LOAD 0x00000004 // Load events
519 # DEBUG_FS 0x00000008 // EFI File system
520 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
521 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
522 # DEBUG_INFO 0x00000040 // Informational debug messages
523 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
524 # DEBUG_VARIABLE 0x00000100 // Variable
525 # DEBUG_BM 0x00000400 // Boot Manager
526 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
527 # DEBUG_NET 0x00004000 // SNP Driver
528 # DEBUG_UNDI 0x00010000 // UNDI Driver
529 # DEBUG_LOADFILE 0x00020000 // LoadFile
530 # DEBUG_EVENT 0x00080000 // Event messages
531 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
532 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
533 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
534 # // significantly impact boot performance
535 # DEBUG_ERROR 0x80000000 // Error
536 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
538 !if $(SOURCE_DEBUG_ENABLE) == TRUE
539 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
541 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
544 !if $(SOURCE_DEBUG_ENABLE) == TRUE
545 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
549 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
550 # best (please refer to git-blame for past updates). The values capture a set
551 # of BIN hints that made sense at a particular time, for some (now likely
552 # unknown) workloads / boot paths.
554 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
555 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
556 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
557 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
558 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
563 !include NetworkPkg/NetworkPcds.dsc.inc
565 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
567 !if $(SMM_REQUIRE) == TRUE
568 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
571 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
572 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
574 ################################################################################
576 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
578 ################################################################################
582 # ($(SMM_REQUIRE) == FALSE)
583 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
585 !if $(SMM_REQUIRE) == FALSE
586 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
587 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
588 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
589 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
590 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
592 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
593 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
594 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
595 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
597 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
598 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
599 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
601 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
602 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
604 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
605 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
606 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
608 # Noexec settings for DXE.
609 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
611 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
612 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
613 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
615 # Set memory encryption mask
616 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
618 # Set Tdx shared bit mask
619 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
621 # Set SEV-ES defaults
622 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
623 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
624 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
626 !if $(SMM_REQUIRE) == TRUE
627 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
628 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
631 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
633 !include OvmfPkg/OvmfTpmPcds.dsc.inc
635 # IPv4 and IPv6 PXE Boot support.
636 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
637 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
639 # Set ConfidentialComputing defaults
640 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
643 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
645 ################################################################################
647 # Components Section - list of all EDK II Modules needed by this Platform.
649 ################################################################################
651 OvmfPkg/XenResetVector/XenResetVector.inf
656 OvmfPkg/Sec/SecMain.inf {
658 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
664 MdeModulePkg/Core/Pei/PeiMain.inf
665 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
667 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
669 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
671 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
673 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
675 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
677 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
679 OvmfPkg/PlatformPei/PlatformPei.inf
680 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
682 !if $(SMM_REQUIRE) == TRUE
683 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
686 !if $(SMM_REQUIRE) == TRUE
687 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
688 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
689 OvmfPkg/SmmAccess/SmmAccessPei.inf
691 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
693 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
698 MdeModulePkg/Core/Dxe/DxeMain.inf {
700 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
701 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
704 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
705 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
706 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
708 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
711 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
713 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
715 !if $(SECURE_BOOT_ENABLE) == TRUE
716 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
717 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
721 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
722 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
723 UefiCpuPkg/CpuDxe/CpuDxe.inf
724 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
725 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
726 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
727 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
729 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
730 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
731 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
733 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
735 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
737 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
738 MdeModulePkg/Universal/Metronome/Metronome.inf
739 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
740 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
741 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
743 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
745 MdeModulePkg/Logo/LogoDxe.inf
746 MdeModulePkg/Application/UiApp/UiApp.inf {
748 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
749 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
750 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
752 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
754 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
756 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
757 OvmfPkg/Virtio10Dxe/Virtio10.inf
758 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
759 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
760 OvmfPkg/VirtioRngDxe/VirtioRng.inf
761 !if $(PVSCSI_ENABLE) == TRUE
762 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
764 !if $(MPT_SCSI_ENABLE) == TRUE
765 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
767 !if $(LSI_SCSI_ENABLE) == TRUE
768 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
770 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
771 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
772 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
773 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
774 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
775 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
777 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
779 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
780 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
782 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
783 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
785 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
786 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
787 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
788 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
789 FatPkg/EnhancedFatDxe/Fat.inf
790 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
791 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
792 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
793 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
794 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
795 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
796 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
797 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
798 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
799 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
800 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
801 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
806 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
811 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
813 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
815 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
820 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
821 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
822 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
823 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
824 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
829 !include NetworkPkg/NetworkComponents.dsc.inc
830 !include OvmfPkg/NetworkComponents.dsc.inc
832 OvmfPkg/VirtioNetDxe/VirtioNet.inf
834 !if $(TOOL_CHAIN_TAG) != "XCODE5"
835 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
837 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
839 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
841 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
843 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
845 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
848 ShellPkg/Application/Shell/Shell.inf {
850 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
851 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
852 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
853 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
854 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
855 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
856 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
857 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
858 !if $(NETWORK_IP6_ENABLE) == TRUE
859 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
861 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
862 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
863 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
866 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
867 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
868 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
871 !if $(SECURE_BOOT_ENABLE) == TRUE
872 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
873 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
876 OvmfPkg/PlatformDxe/Platform.inf
877 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
879 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
881 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
883 !if $(SMM_REQUIRE) == TRUE
884 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
885 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
886 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
889 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
891 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
896 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
899 # Privileged drivers (DXE_SMM_DRIVER modules)
901 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
902 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
903 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
905 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
907 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
909 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
910 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
914 # Variable driver stack (SMM)
916 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
918 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
920 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
921 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
923 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
924 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
926 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
931 # Variable driver stack (non-SMM)
933 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
934 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
936 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
938 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
939 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
941 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
948 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc