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 !if $(SECURE_BOOT_ENABLE) == TRUE
218 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
219 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
220 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
221 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
222 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
224 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
226 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
227 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
228 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
229 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
235 !include NetworkPkg/NetworkLibs.dsc.inc
237 !if $(NETWORK_TLS_ENABLE) == TRUE
238 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
241 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
242 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
243 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
244 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
245 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
247 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
248 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
250 [LibraryClasses.common]
251 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
252 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
253 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
254 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
255 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
256 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
257 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
259 [LibraryClasses.common.SEC]
260 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
261 !ifdef $(DEBUG_ON_SERIAL_PORT)
262 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
264 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
266 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
267 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
268 !if $(SOURCE_DEBUG_ENABLE) == TRUE
269 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
271 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
272 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
274 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
275 !if $(TOOL_CHAIN_TAG) == "XCODE5"
276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
278 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
280 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
281 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
283 [LibraryClasses.common.PEI_CORE]
284 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
285 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
286 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
287 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
288 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
289 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
290 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
291 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
292 !ifdef $(DEBUG_ON_SERIAL_PORT)
293 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
295 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
297 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
299 [LibraryClasses.common.PEIM]
300 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
301 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
302 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
303 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
304 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
305 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
306 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
307 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
308 !ifdef $(DEBUG_ON_SERIAL_PORT)
309 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
311 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
313 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
314 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
315 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
316 !if $(SOURCE_DEBUG_ENABLE) == TRUE
317 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
319 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
320 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
321 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
322 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
323 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
325 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
326 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
328 [LibraryClasses.common.DXE_CORE]
329 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
330 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
331 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
332 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
333 !ifdef $(DEBUG_ON_SERIAL_PORT)
334 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
336 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
338 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
339 !if $(SOURCE_DEBUG_ENABLE) == TRUE
340 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
342 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
343 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
345 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
346 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
347 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
348 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
349 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
350 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
351 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
352 !ifdef $(DEBUG_ON_SERIAL_PORT)
353 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
355 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
357 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
358 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
359 # PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
360 # PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
361 # PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
362 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
363 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
365 [LibraryClasses.common.UEFI_DRIVER]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372 !ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
377 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
378 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
379 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
380 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
382 [LibraryClasses.common.DXE_DRIVER]
383 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
384 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
385 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
386 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
388 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
389 !ifdef $(DEBUG_ON_SERIAL_PORT)
390 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
392 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
394 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
395 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
396 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
398 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
399 !if $(SOURCE_DEBUG_ENABLE) == TRUE
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
402 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
403 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
404 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
405 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
406 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
407 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
409 [LibraryClasses.common.UEFI_APPLICATION]
410 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
411 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
412 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
413 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
414 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
415 !ifdef $(DEBUG_ON_SERIAL_PORT)
416 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
418 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
420 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
421 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
422 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
424 [LibraryClasses.common.DXE_SMM_DRIVER]
425 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
427 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
428 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
429 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
430 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
431 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
432 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
433 !ifdef $(DEBUG_ON_SERIAL_PORT)
434 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
436 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
438 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
439 !if $(SOURCE_DEBUG_ENABLE) == TRUE
440 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
442 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
443 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
444 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
445 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
447 [LibraryClasses.common.SMM_CORE]
448 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
449 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf
450 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
451 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
452 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
453 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
454 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
455 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
456 !ifdef $(DEBUG_ON_SERIAL_PORT)
457 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
459 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
461 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
462 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
463 PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
465 ################################################################################
467 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
469 ################################################################################
471 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
472 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
473 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
474 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
475 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
479 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
480 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
481 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
482 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
483 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
484 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
485 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
486 !if $(NETWORK_TLS_ENABLE) == FALSE
487 # match PcdFlashNvStorageVariableSize purely for convenience
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
491 !if $(FD_SIZE_IN_KB) == 4096
492 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
494 !if $(NETWORK_TLS_ENABLE) == FALSE
495 # match PcdFlashNvStorageVariableSize purely for convenience
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
499 !if $(NETWORK_TLS_ENABLE) == TRUE
500 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
501 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
504 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
505 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
506 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
508 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
510 # DEBUG_INIT 0x00000001 // Initialization
511 # DEBUG_WARN 0x00000002 // Warnings
512 # DEBUG_LOAD 0x00000004 // Load events
513 # DEBUG_FS 0x00000008 // EFI File system
514 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
515 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
516 # DEBUG_INFO 0x00000040 // Informational debug messages
517 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
518 # DEBUG_VARIABLE 0x00000100 // Variable
519 # DEBUG_BM 0x00000400 // Boot Manager
520 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
521 # DEBUG_NET 0x00004000 // SNP Driver
522 # DEBUG_UNDI 0x00010000 // UNDI Driver
523 # DEBUG_LOADFILE 0x00020000 // LoadFile
524 # DEBUG_EVENT 0x00080000 // Event messages
525 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
526 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
527 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
528 # // significantly impact boot performance
529 # DEBUG_ERROR 0x80000000 // Error
530 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
532 !if $(SOURCE_DEBUG_ENABLE) == TRUE
533 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
535 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
538 !if $(SOURCE_DEBUG_ENABLE) == TRUE
539 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
543 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
544 # best (please refer to git-blame for past updates). The values capture a set
545 # of BIN hints that made sense at a particular time, for some (now likely
546 # unknown) workloads / boot paths.
548 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
549 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
550 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
551 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
552 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
557 !include NetworkPkg/NetworkPcds.dsc.inc
559 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
561 # IRQs 5, 9, 10, 11 are level-triggered
562 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
564 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
565 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
567 # microvm serial port^M
568 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
569 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}
570 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
572 ################################################################################
574 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
576 ################################################################################
580 # ($(SMM_REQUIRE) == FALSE)
581 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
583 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
584 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
585 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
586 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
587 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
588 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
589 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
590 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
591 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
592 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
593 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
594 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
595 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
596 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
597 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
598 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
599 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
600 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
602 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
603 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
605 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
606 # PCD and PcdPciDisableBusEnumeration below have not been assigned yet
607 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
608 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
609 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
611 # Set video resolution for text setup.
612 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
613 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
615 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
616 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
617 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
619 # Noexec settings for DXE.
620 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
622 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
623 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
624 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
626 # Set memory encryption mask
627 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
629 # Set Tdx shared bit mask
630 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
632 # Set SEV-ES defaults
633 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
634 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
635 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
637 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
639 # IPv4 and IPv6 PXE Boot support.
640 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
641 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
643 # Set ConfidentialComputing defaults
644 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
646 ################################################################################
648 # Components Section - list of all EDK II Modules needed by this Platform.
650 ################################################################################
652 OvmfPkg/ResetVector/ResetVector.inf
657 OvmfPkg/Sec/SecMain.inf {
659 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
665 MdeModulePkg/Core/Pei/PeiMain.inf
666 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
668 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
670 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
672 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
674 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
676 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
678 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
680 OvmfPkg/PlatformPei/PlatformPei.inf
681 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
682 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
687 MdeModulePkg/Core/Dxe/DxeMain.inf {
689 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
690 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
693 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
694 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
695 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
697 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
700 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
702 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
704 !if $(SECURE_BOOT_ENABLE) == TRUE
705 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
706 !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
710 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
711 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
712 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
713 UefiCpuPkg/CpuDxe/CpuDxe.inf
714 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
715 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
716 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
718 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
719 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
720 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
722 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
724 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
726 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
727 MdeModulePkg/Universal/Metronome/Metronome.inf
728 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
729 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
730 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
732 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
734 MdeModulePkg/Logo/LogoDxe.inf
735 MdeModulePkg/Application/UiApp/UiApp.inf {
737 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
738 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
739 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
741 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
743 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
745 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
746 OvmfPkg/Virtio10Dxe/Virtio10.inf
747 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
748 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
749 OvmfPkg/VirtioRngDxe/VirtioRng.inf
750 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
751 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
752 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
753 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
754 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
755 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
757 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
759 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
760 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
762 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
763 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
765 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
766 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
767 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
768 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
769 FatPkg/EnhancedFatDxe/Fat.inf
770 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
771 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
772 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
773 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
774 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
775 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
776 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
777 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
778 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
779 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
780 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
781 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
783 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
784 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
785 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
790 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
795 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
796 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
801 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
803 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
805 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
810 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
811 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
812 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
813 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
814 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
819 !include NetworkPkg/NetworkComponents.dsc.inc
820 !include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
822 OvmfPkg/VirtioNetDxe/VirtioNet.inf
827 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
828 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
829 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
830 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
831 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
832 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
834 !if $(TOOL_CHAIN_TAG) != "XCODE5"
835 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
837 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
839 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
841 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
843 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
845 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
848 ShellPkg/Application/Shell/Shell.inf {
850 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
851 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
852 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
853 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
854 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
855 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
856 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
857 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
858 !if $(NETWORK_IP6_ENABLE) == TRUE
859 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
861 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
862 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
863 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
866 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
867 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
868 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
871 !if $(SECURE_BOOT_ENABLE) == TRUE
872 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
873 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
876 OvmfPkg/PlatformDxe/Platform.inf
877 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
880 # Variable driver stack (non-SMM)
882 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
883 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
885 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
887 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
888 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
890 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf