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 = TRUE
53 DEFINE MPT_SCSI_ENABLE = TRUE
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
96 !include NetworkPkg/NetworkBuildOptions.dsc.inc
98 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
104 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
105 # protection of DXE_SMM_DRIVER/SMM_CORE modules
106 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
107 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
108 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
109 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
110 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
112 ################################################################################
114 # SKU Identification section - list of all SKU IDs supported by this Platform.
116 ################################################################################
120 ################################################################################
122 # Library Class section - list of all Library Classes needed by this Platform.
124 ################################################################################
126 !include MdePkg/MdeLibs.dsc.inc
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
131 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
132 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
133 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
134 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
135 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
136 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
137 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
138 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
139 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
140 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
141 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
142 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
143 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
144 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
145 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
146 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
147 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
148 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
149 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
150 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
151 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
152 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
154 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
155 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
156 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
157 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
158 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
159 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
160 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
161 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
162 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
163 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
164 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
165 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
166 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
167 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
168 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
169 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
170 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
171 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
172 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
173 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
174 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
175 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
176 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
177 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
178 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
179 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
180 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
181 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
182 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
183 !if $(SMM_REQUIRE) == FALSE
184 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
186 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
187 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
188 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
190 !if $(SOURCE_DEBUG_ENABLE) == TRUE
191 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
192 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
194 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
195 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
198 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
199 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
201 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
202 !if $(NETWORK_TLS_ENABLE) == TRUE
203 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
205 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
207 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
209 !if $(SECURE_BOOT_ENABLE) == TRUE
210 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
211 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
212 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
213 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
215 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
217 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
218 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
219 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
220 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
226 !include NetworkPkg/NetworkLibs.dsc.inc
228 !if $(NETWORK_TLS_ENABLE) == TRUE
229 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
232 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
233 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
234 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
235 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
236 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
238 !include OvmfPkg/OvmfTpmLibs.dsc.inc
240 [LibraryClasses.common]
241 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
242 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
243 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
245 [LibraryClasses.common.SEC]
246 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
247 !ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
252 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
253 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
254 !if $(SOURCE_DEBUG_ENABLE) == TRUE
255 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
258 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
259 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
261 !if $(TOOL_CHAIN_TAG) == "XCODE5"
262 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
264 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
266 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
267 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
269 [LibraryClasses.common.PEI_CORE]
270 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
271 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
272 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
273 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
274 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
275 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
276 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
277 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
278 !ifdef $(DEBUG_ON_SERIAL_PORT)
279 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
281 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
283 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
285 [LibraryClasses.common.PEIM]
286 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
287 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
288 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
289 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
290 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
291 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
292 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
293 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
294 !ifdef $(DEBUG_ON_SERIAL_PORT)
295 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
297 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
299 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
300 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
301 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
302 !if $(SOURCE_DEBUG_ENABLE) == TRUE
303 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
305 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
306 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
307 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
308 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
309 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
311 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
313 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
314 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.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 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
350 !if $(SMM_REQUIRE) == TRUE
351 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
354 [LibraryClasses.common.UEFI_DRIVER]
355 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
356 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
357 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
358 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
359 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
360 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
361 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
362 !ifdef $(DEBUG_ON_SERIAL_PORT)
363 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
365 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
367 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
368 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
370 [LibraryClasses.common.DXE_DRIVER]
371 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
372 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
373 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
374 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
375 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
376 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
377 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
378 !ifdef $(DEBUG_ON_SERIAL_PORT)
379 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
381 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
383 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
384 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
385 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
386 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
387 !if $(SMM_REQUIRE) == TRUE
388 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
390 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
392 !if $(SOURCE_DEBUG_ENABLE) == TRUE
393 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
395 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
396 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
397 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
398 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
400 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
402 [LibraryClasses.common.UEFI_APPLICATION]
403 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
404 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
405 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
406 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
407 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
408 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
409 !ifdef $(DEBUG_ON_SERIAL_PORT)
410 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
412 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
414 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
416 [LibraryClasses.common.DXE_SMM_DRIVER]
417 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
418 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
419 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
420 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
421 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
422 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
423 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
424 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
425 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
426 !ifdef $(DEBUG_ON_SERIAL_PORT)
427 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
429 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
431 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
432 !if $(SOURCE_DEBUG_ENABLE) == TRUE
433 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
435 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
436 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
437 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
439 [LibraryClasses.common.SMM_CORE]
440 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
441 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
442 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
443 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
444 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
445 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
446 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
447 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
448 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
449 !ifdef $(DEBUG_ON_SERIAL_PORT)
450 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
452 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
454 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
456 ################################################################################
458 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
460 ################################################################################
462 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
463 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
464 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
468 !if $(SMM_REQUIRE) == TRUE
469 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
470 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
475 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
476 !if $(SMM_REQUIRE) == FALSE
477 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
479 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
480 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
481 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
482 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
483 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
484 !if $(NETWORK_TLS_ENABLE) == FALSE
485 # match PcdFlashNvStorageVariableSize purely for convenience
486 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
489 !if $(FD_SIZE_IN_KB) == 4096
490 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
491 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
492 !if $(NETWORK_TLS_ENABLE) == FALSE
493 # match PcdFlashNvStorageVariableSize purely for convenience
494 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
497 !if $(NETWORK_TLS_ENABLE) == TRUE
498 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
499 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
502 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
503 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
504 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
506 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
508 # DEBUG_INIT 0x00000001 // Initialization
509 # DEBUG_WARN 0x00000002 // Warnings
510 # DEBUG_LOAD 0x00000004 // Load events
511 # DEBUG_FS 0x00000008 // EFI File system
512 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
513 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
514 # DEBUG_INFO 0x00000040 // Informational debug messages
515 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
516 # DEBUG_VARIABLE 0x00000100 // Variable
517 # DEBUG_BM 0x00000400 // Boot Manager
518 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
519 # DEBUG_NET 0x00004000 // SNP Driver
520 # DEBUG_UNDI 0x00010000 // UNDI Driver
521 # DEBUG_LOADFILE 0x00020000 // LoadFile
522 # DEBUG_EVENT 0x00080000 // Event messages
523 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
524 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
525 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
526 # // significantly impact boot performance
527 # DEBUG_ERROR 0x80000000 // Error
528 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
530 !if $(SOURCE_DEBUG_ENABLE) == TRUE
531 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
533 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
536 !if $(SOURCE_DEBUG_ENABLE) == TRUE
537 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
541 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
542 # best (please refer to git-blame for past updates). The values capture a set
543 # of BIN hints that made sense at a particular time, for some (now likely
544 # unknown) workloads / boot paths.
546 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
547 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
548 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
549 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
550 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
555 !include NetworkPkg/NetworkPcds.dsc.inc
557 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
559 !if $(SMM_REQUIRE) == TRUE
560 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
563 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
564 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
566 ################################################################################
568 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
570 ################################################################################
574 # ($(SMM_REQUIRE) == FALSE)
575 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
577 !if $(SMM_REQUIRE) == FALSE
578 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
579 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
580 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
581 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
582 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
584 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
585 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
586 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
587 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
588 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
589 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
590 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
591 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
593 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
594 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
596 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
597 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
598 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
600 # Noexec settings for DXE.
601 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
603 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
604 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
605 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
607 # Set memory encryption mask
608 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
610 # Set Tdx shared bit mask
611 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
613 # Set SEV-ES defaults
614 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
615 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
616 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
618 !if $(SMM_REQUIRE) == TRUE
619 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
620 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
623 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
625 !include OvmfPkg/OvmfTpmPcds.dsc.inc
627 # IPv4 and IPv6 PXE Boot support.
628 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
629 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
631 # Set ConfidentialComputing defaults
632 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
635 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
637 ################################################################################
639 # Components Section - list of all EDK II Modules needed by this Platform.
641 ################################################################################
643 OvmfPkg/XenResetVector/XenResetVector.inf
648 OvmfPkg/Sec/SecMain.inf {
650 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
656 MdeModulePkg/Core/Pei/PeiMain.inf
657 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
659 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
661 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
663 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
665 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
667 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
669 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
671 OvmfPkg/PlatformPei/PlatformPei.inf
672 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
674 !if $(SMM_REQUIRE) == TRUE
675 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
678 !if $(SMM_REQUIRE) == TRUE
679 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
680 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
681 OvmfPkg/SmmAccess/SmmAccessPei.inf
683 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
685 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
690 MdeModulePkg/Core/Dxe/DxeMain.inf {
692 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
693 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
696 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
697 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
698 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
700 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
703 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
705 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
707 !if $(SECURE_BOOT_ENABLE) == TRUE
708 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
709 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
713 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
714 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
715 UefiCpuPkg/CpuDxe/CpuDxe.inf
716 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
717 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
718 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
719 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
721 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
722 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
723 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
725 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
727 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
729 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
730 MdeModulePkg/Universal/Metronome/Metronome.inf
731 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
732 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
733 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
735 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
737 MdeModulePkg/Logo/LogoDxe.inf
738 MdeModulePkg/Application/UiApp/UiApp.inf {
740 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
741 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
742 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
744 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
746 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
748 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
749 OvmfPkg/Virtio10Dxe/Virtio10.inf
750 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
751 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
752 OvmfPkg/VirtioRngDxe/VirtioRng.inf
753 !if $(PVSCSI_ENABLE) == TRUE
754 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
756 !if $(MPT_SCSI_ENABLE) == TRUE
757 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
759 !if $(LSI_SCSI_ENABLE) == TRUE
760 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
762 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
763 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
764 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
765 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
766 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
767 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
769 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
771 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
772 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
774 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
775 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
777 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
778 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
779 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
780 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
781 FatPkg/EnhancedFatDxe/Fat.inf
782 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
783 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
784 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
785 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
786 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
787 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
788 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
789 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
790 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
791 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
792 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
793 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
798 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
803 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
805 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
807 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
812 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
813 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
814 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
815 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
816 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
821 !include NetworkPkg/NetworkComponents.dsc.inc
823 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
825 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
828 !if $(NETWORK_TLS_ENABLE) == TRUE
829 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
831 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
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 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.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/OvmfTpmComponentsDxe.dsc.inc