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
95 # SECURE_BOOT_FEATURE_ENABLED
97 !if $(SECURE_BOOT_ENABLE) == TRUE
98 MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
99 INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
100 GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED
103 !include NetworkPkg/NetworkBuildOptions.dsc.inc
105 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
106 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
107 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
108 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
109 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
111 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
112 # protection of DXE_SMM_DRIVER/SMM_CORE modules
113 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
114 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
115 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
116 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
117 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
119 ################################################################################
121 # SKU Identification section - list of all SKU IDs supported by this Platform.
123 ################################################################################
127 ################################################################################
129 # Library Class section - list of all Library Classes needed by this Platform.
131 ################################################################################
133 !include MdePkg/MdeLibs.dsc.inc
136 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
137 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
138 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf
139 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
140 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
141 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
142 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
143 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
144 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
145 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
146 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
147 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
148 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
149 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
150 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
151 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
152 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
153 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
154 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
155 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
156 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
157 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
158 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
159 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
160 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
161 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
162 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
163 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
164 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
165 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
166 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
167 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
168 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
169 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
170 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
171 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
172 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
173 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
174 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
175 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
176 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
177 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
178 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
179 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
180 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
181 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
182 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
183 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
184 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
185 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
186 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
187 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
188 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
189 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
190 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
191 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
192 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
193 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
194 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
195 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
196 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
198 !if $(SOURCE_DEBUG_ENABLE) == TRUE
199 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
200 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
202 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
203 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
206 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
207 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
209 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
210 !if $(NETWORK_TLS_ENABLE) == TRUE
211 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
213 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
215 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
217 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
218 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
219 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
220 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
221 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
227 !include NetworkPkg/NetworkLibs.dsc.inc
229 !if $(NETWORK_TLS_ENABLE) == TRUE
230 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
233 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
234 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
235 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
236 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
237 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
239 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
240 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
242 [LibraryClasses.common]
243 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
244 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
245 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
246 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
247 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
248 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
249 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
251 [LibraryClasses.common.SEC]
252 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
253 !ifdef $(DEBUG_ON_SERIAL_PORT)
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
258 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
259 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
260 !if $(SOURCE_DEBUG_ENABLE) == TRUE
261 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
263 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
264 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
265 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
266 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
267 !if $(TOOL_CHAIN_TAG) == "XCODE5"
268 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
270 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
272 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
273 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
275 [LibraryClasses.common.PEI_CORE]
276 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
277 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
278 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
279 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
280 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
281 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
282 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
283 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
284 !ifdef $(DEBUG_ON_SERIAL_PORT)
285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
287 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
289 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
291 [LibraryClasses.common.PEIM]
292 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
293 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
294 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
295 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
296 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
297 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
298 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
299 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
300 !ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
306 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
307 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
308 !if $(SOURCE_DEBUG_ENABLE) == TRUE
309 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
311 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
312 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
313 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
314 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
315 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
317 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
318 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
320 [LibraryClasses.common.DXE_CORE]
321 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
322 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
323 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
324 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
325 !ifdef $(DEBUG_ON_SERIAL_PORT)
326 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
331 !if $(SOURCE_DEBUG_ENABLE) == TRUE
332 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
334 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
338 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
339 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
340 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
341 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
342 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
343 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
344 !ifdef $(DEBUG_ON_SERIAL_PORT)
345 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
347 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
349 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
350 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
351 # PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
352 # PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
353 # PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
354 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
355 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
357 [LibraryClasses.common.UEFI_DRIVER]
358 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
359 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
360 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
361 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
362 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
363 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
364 !ifdef $(DEBUG_ON_SERIAL_PORT)
365 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
367 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
369 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
370 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
371 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
372 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
374 [LibraryClasses.common.DXE_DRIVER]
375 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
376 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
377 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
378 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
379 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
380 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
381 !ifdef $(DEBUG_ON_SERIAL_PORT)
382 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
384 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
386 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
387 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
388 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
389 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
390 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
391 !if $(SOURCE_DEBUG_ENABLE) == TRUE
392 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
394 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
395 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
396 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
397 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
398 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
399 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
401 [LibraryClasses.common.UEFI_APPLICATION]
402 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
403 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
404 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
405 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
406 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
407 !ifdef $(DEBUG_ON_SERIAL_PORT)
408 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
410 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
412 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
413 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
414 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
416 [LibraryClasses.common.DXE_SMM_DRIVER]
417 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
418 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
419 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
420 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
421 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
422 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
423 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
424 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
425 !ifdef $(DEBUG_ON_SERIAL_PORT)
426 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
428 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
430 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
431 !if $(SOURCE_DEBUG_ENABLE) == TRUE
432 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
434 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
435 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
436 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
437 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
439 [LibraryClasses.common.SMM_CORE]
440 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
441 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
442 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
443 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
444 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
445 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
446 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
447 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
448 !ifdef $(DEBUG_ON_SERIAL_PORT)
449 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
451 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
453 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
454 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
455 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
457 ################################################################################
459 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
461 ################################################################################
463 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
464 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
465 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
466 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
467 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
468 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
471 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
472 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
473 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
474 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
475 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
476 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
477 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
478 !if $(NETWORK_TLS_ENABLE) == FALSE
479 # match PcdFlashNvStorageVariableSize purely for convenience
480 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
483 !if $(FD_SIZE_IN_KB) == 4096
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
485 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
486 !if $(NETWORK_TLS_ENABLE) == FALSE
487 # match PcdFlashNvStorageVariableSize purely for convenience
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
491 !if $(NETWORK_TLS_ENABLE) == TRUE
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
497 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
498 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
500 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
502 # DEBUG_INIT 0x00000001 // Initialization
503 # DEBUG_WARN 0x00000002 // Warnings
504 # DEBUG_LOAD 0x00000004 // Load events
505 # DEBUG_FS 0x00000008 // EFI File system
506 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
507 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
508 # DEBUG_INFO 0x00000040 // Informational debug messages
509 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
510 # DEBUG_VARIABLE 0x00000100 // Variable
511 # DEBUG_BM 0x00000400 // Boot Manager
512 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
513 # DEBUG_NET 0x00004000 // SNP Driver
514 # DEBUG_UNDI 0x00010000 // UNDI Driver
515 # DEBUG_LOADFILE 0x00020000 // LoadFile
516 # DEBUG_EVENT 0x00080000 // Event messages
517 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
518 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
519 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
520 # // significantly impact boot performance
521 # DEBUG_ERROR 0x80000000 // Error
522 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
524 !if $(SOURCE_DEBUG_ENABLE) == TRUE
525 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
527 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
530 !if $(SOURCE_DEBUG_ENABLE) == TRUE
531 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
535 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
536 # best (please refer to git-blame for past updates). The values capture a set
537 # of BIN hints that made sense at a particular time, for some (now likely
538 # unknown) workloads / boot paths.
540 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
541 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
542 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
543 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
544 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
549 !include NetworkPkg/NetworkPcds.dsc.inc
551 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
553 # IRQs 5, 9, 10, 11 are level-triggered
554 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
556 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
557 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
559 # microvm serial port^M
560 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
561 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
562 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
564 ################################################################################
566 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
568 ################################################################################
572 # ($(SMM_REQUIRE) == FALSE)
573 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
575 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
576 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
577 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
578 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
579 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
580 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
581 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
582 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
583 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
584 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
585 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
586 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
587 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
588 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
589 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
590 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
591 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
592 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
594 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
595 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
597 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
598 # PCD and PcdPciDisableBusEnumeration below have not been assigned yet
599 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
600 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
601 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
603 # Set video resolution for text setup.
604 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
605 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
607 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
608 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
609 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
611 # Noexec settings for DXE.
612 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
614 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
615 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
616 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
618 # Set memory encryption mask
619 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
621 # Set Tdx shared bit mask
622 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
624 # Set SEV-ES defaults
625 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
626 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
627 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
629 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
631 # IPv4 and IPv6 PXE Boot support.
632 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
633 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
635 # Set ConfidentialComputing defaults
636 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
638 ################################################################################
640 # Components Section - list of all EDK II Modules needed by this Platform.
642 ################################################################################
644 OvmfPkg/ResetVector/ResetVector.inf
649 OvmfPkg/Sec/SecMain.inf {
651 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
657 MdeModulePkg/Core/Pei/PeiMain.inf
658 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
660 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
662 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
664 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
666 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
668 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
670 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
672 OvmfPkg/PlatformPei/PlatformPei.inf
673 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
674 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
679 MdeModulePkg/Core/Dxe/DxeMain.inf {
681 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
682 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
685 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
686 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
687 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
689 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
692 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
694 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
695 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
696 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
697 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
698 UefiCpuPkg/CpuDxe/CpuDxe.inf
699 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
700 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
701 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
703 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
704 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
705 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
707 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
709 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
711 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
712 MdeModulePkg/Universal/Metronome/Metronome.inf
713 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
714 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
715 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
717 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
719 MdeModulePkg/Logo/LogoDxe.inf
720 MdeModulePkg/Application/UiApp/UiApp.inf {
722 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
723 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
724 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
726 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
728 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
730 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
731 OvmfPkg/Virtio10Dxe/Virtio10.inf
732 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
733 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
734 OvmfPkg/VirtioRngDxe/VirtioRng.inf
735 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
736 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
737 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
738 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
739 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
740 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
742 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
744 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
745 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
747 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
748 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
750 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
751 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
752 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
753 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
754 FatPkg/EnhancedFatDxe/Fat.inf
755 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
756 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
757 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
758 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
759 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
760 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
761 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
762 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
763 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
764 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
765 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
766 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
768 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
769 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
770 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
775 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
780 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
781 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
786 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
788 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
790 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
795 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
796 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
797 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
798 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
799 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
804 !include NetworkPkg/NetworkComponents.dsc.inc
805 !include OvmfPkg/NetworkComponents.dsc.inc
807 OvmfPkg/VirtioNetDxe/VirtioNet.inf
812 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
813 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
814 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
815 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
816 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
817 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
819 !if $(TOOL_CHAIN_TAG) != "XCODE5"
820 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
822 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
824 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
826 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
828 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
830 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
833 ShellPkg/Application/Shell/Shell.inf {
835 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
836 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
837 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
838 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
839 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
840 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
841 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
842 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
843 !if $(NETWORK_IP6_ENABLE) == TRUE
844 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
846 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
847 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
848 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
851 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
852 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
853 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
856 OvmfPkg/PlatformDxe/Platform.inf
857 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
860 # Variable driver stack (non-SMM)
862 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
863 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
865 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
867 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
868 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
870 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf