2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
4 # Copyright (c) 2006 - 2021, 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 = Microvm
19 PLATFORM_GUID = 55a5d2cc-6ca6-47d1-8f4f-5588d7705194
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/MicrovmX64
23 SUPPORTED_ARCHITECTURES = X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/Microvm/MicrovmX64.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
39 DEFINE NETWORK_TLS_ENABLE = FALSE
40 DEFINE NETWORK_IP6_ENABLE = FALSE
41 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
42 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
43 DEFINE NETWORK_ISCSI_ENABLE = TRUE
45 !include NetworkPkg/NetworkDefines.dsc.inc
50 DEFINE PVSCSI_ENABLE = FALSE
51 DEFINE MPT_SCSI_ENABLE = FALSE
52 DEFINE LSI_SCSI_ENABLE = FALSE
55 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
56 # one of the supported values, in place of any of the convenience macros, is
60 DEFINE FD_SIZE_IN_KB = 1024
63 DEFINE FD_SIZE_IN_KB = 2048
66 DEFINE FD_SIZE_IN_KB = 4096
68 DEFINE FD_SIZE_IN_KB = 4096
74 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
75 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
76 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
77 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
78 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
80 !if $(SOURCE_DEBUG_ENABLE) == TRUE
81 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
82 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
83 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
85 RELEASE_*_*_GENFW_FLAGS = --zero
88 # Disable deprecated APIs.
90 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
91 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
92 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
94 !include NetworkPkg/NetworkBuildOptions.dsc.inc
96 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
102 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
103 # protection of DXE_SMM_DRIVER/SMM_CORE modules
104 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
105 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
106 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
107 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
108 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
110 ################################################################################
112 # SKU Identification section - list of all SKU IDs supported by this Platform.
114 ################################################################################
118 ################################################################################
120 # Library Class section - list of all Library Classes needed by this Platform.
122 ################################################################################
124 !include MdePkg/MdeLibs.dsc.inc
127 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
128 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
129 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf
130 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
131 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
132 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
133 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
134 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
135 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
136 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
137 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
138 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
139 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
140 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
141 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
142 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
143 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
144 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
145 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
146 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
147 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
148 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
149 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
150 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
151 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
152 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
153 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
154 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
155 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
156 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
157 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
158 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
159 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
160 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
161 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
162 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
163 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
164 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
165 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
166 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
167 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
168 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
169 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
170 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
171 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
172 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
173 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
174 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
175 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
176 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
177 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
178 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
179 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
180 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
181 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
182 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
183 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
184 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
185 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
186 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
187 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
189 !if $(SOURCE_DEBUG_ENABLE) == TRUE
190 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
191 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
193 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
194 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
197 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
198 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
200 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
201 !if $(NETWORK_TLS_ENABLE) == TRUE
202 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
204 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
206 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
208 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
209 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
210 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
211 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
212 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
218 !include NetworkPkg/NetworkLibs.dsc.inc
220 !if $(NETWORK_TLS_ENABLE) == TRUE
221 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
224 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
225 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
226 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
227 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
228 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
231 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
233 [LibraryClasses.common]
234 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
235 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
236 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
237 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
238 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
239 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
240 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
242 [LibraryClasses.common.SEC]
243 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
244 !ifdef $(DEBUG_ON_SERIAL_PORT)
245 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
247 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
249 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
250 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
251 !if $(SOURCE_DEBUG_ENABLE) == TRUE
252 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
254 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
255 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
258 !if $(TOOL_CHAIN_TAG) == "XCODE5"
259 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
261 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
263 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
264 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
266 [LibraryClasses.common.PEI_CORE]
267 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
268 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
269 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
270 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
271 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
272 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
273 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
274 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
275 !ifdef $(DEBUG_ON_SERIAL_PORT)
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
280 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
282 [LibraryClasses.common.PEIM]
283 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
284 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
285 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
286 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
287 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
288 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
289 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
290 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
291 !ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
296 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
297 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
298 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
303 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
304 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
305 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
306 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
308 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
309 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
311 [LibraryClasses.common.DXE_CORE]
312 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
313 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
314 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
316 !ifdef $(DEBUG_ON_SERIAL_PORT)
317 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
319 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
321 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
322 !if $(SOURCE_DEBUG_ENABLE) == TRUE
323 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
325 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
326 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
328 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
329 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
330 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
331 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
332 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
333 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
334 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
335 !ifdef $(DEBUG_ON_SERIAL_PORT)
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
340 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
341 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
342 # PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
343 # PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
344 # PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
345 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
346 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
348 [LibraryClasses.common.UEFI_DRIVER]
349 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
350 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
351 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
352 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
353 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
354 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
355 !ifdef $(DEBUG_ON_SERIAL_PORT)
356 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
360 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
361 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
362 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
363 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
365 [LibraryClasses.common.DXE_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
372 !ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
377 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
378 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
379 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
380 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
381 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
382 !if $(SOURCE_DEBUG_ENABLE) == TRUE
383 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
385 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
386 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
387 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
388 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
389 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
390 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
392 [LibraryClasses.common.UEFI_APPLICATION]
393 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
394 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
395 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
396 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
397 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
398 !ifdef $(DEBUG_ON_SERIAL_PORT)
399 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
401 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
403 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
404 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
405 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
407 [LibraryClasses.common.DXE_SMM_DRIVER]
408 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
409 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
410 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
411 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
412 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
413 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
414 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
415 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
416 !ifdef $(DEBUG_ON_SERIAL_PORT)
417 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
419 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
421 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
422 !if $(SOURCE_DEBUG_ENABLE) == TRUE
423 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
425 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
426 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
427 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
428 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
430 [LibraryClasses.common.SMM_CORE]
431 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
432 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
433 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
434 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
435 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
436 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
437 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
438 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
439 !ifdef $(DEBUG_ON_SERIAL_PORT)
440 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
442 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
444 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
445 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
446 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
448 ################################################################################
450 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
452 ################################################################################
454 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
455 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
456 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
459 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
462 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
463 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
464 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
465 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
466 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
467 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
468 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
469 !if $(NETWORK_TLS_ENABLE) == FALSE
470 # match PcdFlashNvStorageVariableSize purely for convenience
471 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
474 !if $(FD_SIZE_IN_KB) == 4096
475 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
476 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
477 !if $(NETWORK_TLS_ENABLE) == FALSE
478 # match PcdFlashNvStorageVariableSize purely for convenience
479 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
482 !if $(NETWORK_TLS_ENABLE) == TRUE
483 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
487 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
488 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
489 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
491 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
493 # DEBUG_INIT 0x00000001 // Initialization
494 # DEBUG_WARN 0x00000002 // Warnings
495 # DEBUG_LOAD 0x00000004 // Load events
496 # DEBUG_FS 0x00000008 // EFI File system
497 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
498 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
499 # DEBUG_INFO 0x00000040 // Informational debug messages
500 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
501 # DEBUG_VARIABLE 0x00000100 // Variable
502 # DEBUG_BM 0x00000400 // Boot Manager
503 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
504 # DEBUG_NET 0x00004000 // SNP Driver
505 # DEBUG_UNDI 0x00010000 // UNDI Driver
506 # DEBUG_LOADFILE 0x00020000 // LoadFile
507 # DEBUG_EVENT 0x00080000 // Event messages
508 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
509 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
510 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
511 # // significantly impact boot performance
512 # DEBUG_ERROR 0x80000000 // Error
513 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
515 !if $(SOURCE_DEBUG_ENABLE) == TRUE
516 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
518 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
521 !if $(SOURCE_DEBUG_ENABLE) == TRUE
522 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
526 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
527 # best (please refer to git-blame for past updates). The values capture a set
528 # of BIN hints that made sense at a particular time, for some (now likely
529 # unknown) workloads / boot paths.
531 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
532 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
533 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
534 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
535 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
540 !include NetworkPkg/NetworkPcds.dsc.inc
542 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
544 # IRQs 5, 9, 10, 11 are level-triggered
545 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
547 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
548 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
550 # microvm serial port^M
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
552 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
553 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
555 ################################################################################
557 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
559 ################################################################################
563 # ($(SMM_REQUIRE) == FALSE)
564 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
566 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
567 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
569 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
570 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
575 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
576 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
577 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
578 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
579 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
580 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
581 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
582 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
583 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
585 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
586 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
588 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
589 # PCD and PcdPciDisableBusEnumeration below have not been assigned yet
590 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
591 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
592 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
594 # Set video resolution for text setup.
595 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
596 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
598 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
599 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
600 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
602 # Noexec settings for DXE.
603 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
605 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
606 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
607 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
609 # Set memory encryption mask
610 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
612 # Set Tdx shared bit mask
613 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
615 # Set SEV-ES defaults
616 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
617 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
618 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
620 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
622 # IPv4 and IPv6 PXE Boot support.
623 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
624 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
626 # Set ConfidentialComputing defaults
627 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
629 ################################################################################
631 # Components Section - list of all EDK II Modules needed by this Platform.
633 ################################################################################
635 OvmfPkg/ResetVector/ResetVector.inf
640 OvmfPkg/Sec/SecMain.inf {
642 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
648 MdeModulePkg/Core/Pei/PeiMain.inf
649 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
651 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
653 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
655 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
657 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
659 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
661 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
663 OvmfPkg/PlatformPei/PlatformPei.inf
664 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
665 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
670 MdeModulePkg/Core/Dxe/DxeMain.inf {
672 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
673 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
676 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
677 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
678 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
680 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
683 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
685 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
686 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
687 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
688 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
689 UefiCpuPkg/CpuDxe/CpuDxe.inf
690 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
691 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
692 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
694 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
695 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
696 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
698 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
700 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
702 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
703 MdeModulePkg/Universal/Metronome/Metronome.inf
704 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
705 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
706 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
708 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
710 MdeModulePkg/Logo/LogoDxe.inf
711 MdeModulePkg/Application/UiApp/UiApp.inf {
713 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
714 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
715 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
717 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
719 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
721 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
722 OvmfPkg/Virtio10Dxe/Virtio10.inf
723 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
724 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
725 OvmfPkg/VirtioRngDxe/VirtioRng.inf
726 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
727 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
728 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
729 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
730 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
731 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
733 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
735 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
736 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
738 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
739 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
741 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
742 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
743 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
744 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
745 FatPkg/EnhancedFatDxe/Fat.inf
746 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
747 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
748 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
749 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
750 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
751 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
752 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
753 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
754 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
755 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
756 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
757 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
759 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
760 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
761 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
766 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
771 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
772 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
777 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
779 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
781 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
786 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
787 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
788 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
789 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
790 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
795 !include NetworkPkg/NetworkComponents.dsc.inc
796 !include OvmfPkg/NetworkComponents.dsc.inc
798 OvmfPkg/VirtioNetDxe/VirtioNet.inf
803 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
804 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
805 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
806 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
807 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
808 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
810 !if $(TOOL_CHAIN_TAG) != "XCODE5"
811 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
813 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
815 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
817 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
819 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
821 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
824 ShellPkg/Application/Shell/Shell.inf {
826 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
827 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
828 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
829 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
830 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
831 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
832 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
833 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
834 !if $(NETWORK_IP6_ENABLE) == TRUE
835 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
837 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
838 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
839 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
842 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
843 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
844 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
847 OvmfPkg/PlatformDxe/Platform.inf
848 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
851 # Variable driver stack (non-SMM)
853 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
854 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
856 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
858 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
859 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
861 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf