2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV secure
3 # virtual machine remote attestation and secret injection
5 # Copyright (c) 2020 James Bottomley, IBM Corporation.
6 # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
7 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
13 ################################################################################
15 # Defines Section - statements that will be processed to create a Makefile.
17 ################################################################################
20 PLATFORM_GUID = 07ff380c-4760-4823-8f59-ec2cb06fbc16
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/AmdSev
24 SUPPORTED_ARCHITECTURES = X64
25 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = OvmfPkg/AmdSev/AmdSevX64.fdf
28 PREBUILD = sh OvmfPkg/AmdSev/Grub/grub.sh
31 # Defines for default states. These can be changed on the command line.
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
36 !include OvmfPkg/OvmfTpmDefines.dsc.inc
39 # Shell can be useful for debugging but should not be enabled for production
41 DEFINE BUILD_SHELL = FALSE
46 DEFINE PVSCSI_ENABLE = TRUE
47 DEFINE MPT_SCSI_ENABLE = TRUE
48 DEFINE LSI_SCSI_ENABLE = FALSE
51 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
52 # one of the supported values, in place of any of the convenience macros, is
56 DEFINE FD_SIZE_IN_KB = 1024
59 DEFINE FD_SIZE_IN_KB = 2048
62 DEFINE FD_SIZE_IN_KB = 4096
64 DEFINE FD_SIZE_IN_KB = 4096
70 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
71 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
72 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
73 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
74 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
76 !if $(SOURCE_DEBUG_ENABLE) == TRUE
77 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
79 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
81 RELEASE_*_*_GENFW_FLAGS = --zero
84 # Disable deprecated APIs.
86 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
87 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
88 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
90 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
92 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
93 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
94 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
96 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
97 # protection of DXE_SMM_DRIVER/SMM_CORE modules
98 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
104 ################################################################################
106 # SKU Identification section - list of all SKU IDs supported by this Platform.
108 ################################################################################
112 ################################################################################
114 # Library Class section - list of all Library Classes needed by this Platform.
116 ################################################################################
118 !include MdePkg/MdeLibs.dsc.inc
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
122 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
123 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
124 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
125 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
126 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
127 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
128 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
129 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
130 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
131 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
132 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
133 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
135 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
136 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
137 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
138 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
139 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
140 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
141 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
142 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
143 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
144 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
145 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
146 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
147 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
148 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
149 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
150 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
151 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
152 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
153 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
154 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
155 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
156 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
157 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
158 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
159 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
160 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
161 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
162 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
163 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
164 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
165 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
166 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
167 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
168 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
169 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
170 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
171 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
172 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
173 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
174 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
175 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
176 BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
178 !if $(SOURCE_DEBUG_ENABLE) == TRUE
179 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
180 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
182 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
183 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
186 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
187 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
189 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
190 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
191 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
193 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
194 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
195 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
196 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
198 !if $(BUILD_SHELL) == TRUE
199 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
200 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
203 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
204 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
206 !include OvmfPkg/OvmfTpmLibs.dsc.inc
208 [LibraryClasses.common]
209 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
210 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
211 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
213 [LibraryClasses.common.SEC]
214 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
215 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
216 !ifdef $(DEBUG_ON_SERIAL_PORT)
217 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
219 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
221 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
222 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
223 !if $(SOURCE_DEBUG_ENABLE) == TRUE
224 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
226 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
227 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
228 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
229 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
230 !if $(TOOL_CHAIN_TAG) == "XCODE5"
231 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
235 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
236 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
238 [LibraryClasses.common.PEI_CORE]
239 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
240 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
241 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
242 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
243 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
245 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
246 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
247 !ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
254 [LibraryClasses.common.PEIM]
255 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
258 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
259 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
260 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
261 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
262 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
263 !ifdef $(DEBUG_ON_SERIAL_PORT)
264 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
269 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
270 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
271 !if $(SOURCE_DEBUG_ENABLE) == TRUE
272 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
275 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
276 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
277 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
278 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
279 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
281 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
283 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
284 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
286 [LibraryClasses.common.DXE_CORE]
287 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
288 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
289 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
290 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
291 !ifdef $(DEBUG_ON_SERIAL_PORT)
292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
294 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
296 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
297 !if $(SOURCE_DEBUG_ENABLE) == TRUE
298 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
300 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
301 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
303 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
304 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
305 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
306 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
309 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
311 !ifdef $(DEBUG_ON_SERIAL_PORT)
312 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
314 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
316 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
317 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
318 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
319 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
320 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
322 [LibraryClasses.common.UEFI_DRIVER]
323 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
324 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
325 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
328 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
329 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
330 !ifdef $(DEBUG_ON_SERIAL_PORT)
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
335 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
336 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
338 [LibraryClasses.common.DXE_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
344 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
345 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
346 !ifdef $(DEBUG_ON_SERIAL_PORT)
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
351 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf
352 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
353 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
354 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
355 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
356 !if $(SOURCE_DEBUG_ENABLE) == TRUE
357 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
359 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
360 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
361 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
362 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
364 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
366 [LibraryClasses.common.UEFI_APPLICATION]
367 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
368 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
369 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
370 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
371 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
372 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
373 !ifdef $(DEBUG_ON_SERIAL_PORT)
374 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
376 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
378 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
380 [LibraryClasses.common.DXE_SMM_DRIVER]
381 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
382 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
383 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
384 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
385 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
386 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
387 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
388 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
389 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
390 !ifdef $(DEBUG_ON_SERIAL_PORT)
391 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
393 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
395 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
396 !if $(SOURCE_DEBUG_ENABLE) == TRUE
397 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
399 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
400 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
402 [LibraryClasses.common.SMM_CORE]
403 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
404 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
405 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
406 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
407 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
408 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
410 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
411 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
412 !ifdef $(DEBUG_ON_SERIAL_PORT)
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419 ################################################################################
421 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
423 ################################################################################
425 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
433 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
434 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
435 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
436 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
437 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
438 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
439 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
440 # match PcdFlashNvStorageVariableSize purely for convenience
441 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
443 !if $(FD_SIZE_IN_KB) == 4096
444 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
445 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
446 # match PcdFlashNvStorageVariableSize purely for convenience
447 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
450 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
451 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
452 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
454 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
456 # DEBUG_INIT 0x00000001 // Initialization
457 # DEBUG_WARN 0x00000002 // Warnings
458 # DEBUG_LOAD 0x00000004 // Load events
459 # DEBUG_FS 0x00000008 // EFI File system
460 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
461 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
462 # DEBUG_INFO 0x00000040 // Informational debug messages
463 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
464 # DEBUG_VARIABLE 0x00000100 // Variable
465 # DEBUG_BM 0x00000400 // Boot Manager
466 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
467 # DEBUG_NET 0x00004000 // SNP Driver
468 # DEBUG_UNDI 0x00010000 // UNDI Driver
469 # DEBUG_LOADFILE 0x00020000 // LoadFile
470 # DEBUG_EVENT 0x00080000 // Event messages
471 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
472 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
473 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
474 # // significantly impact boot performance
475 # DEBUG_ERROR 0x80000000 // Error
476 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
478 !if $(SOURCE_DEBUG_ENABLE) == TRUE
479 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
481 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
484 # This PCD is used to set the base address of the PCI express hierarchy. It
485 # is only consulted when OVMF runs on Q35. In that case it is programmed into
486 # the PCIEXBAR register.
488 # On Q35 machine types that QEMU intends to support in the long term, QEMU
489 # never lets the RAM below 4 GB exceed 2816 MB.
490 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
492 !if $(SOURCE_DEBUG_ENABLE) == TRUE
493 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
497 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
498 # best (please refer to git-blame for past updates). The values capture a set
499 # of BIN hints that made sense at a particular time, for some (now likely
500 # unknown) workloads / boot paths.
502 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
503 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
504 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
505 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
506 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
508 # IRQs 5, 9, 10, 11 are level-triggered
509 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
511 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
512 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
514 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
515 ################################################################################
517 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
519 ################################################################################
522 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
524 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
525 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
527 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
528 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
530 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
531 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
532 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
533 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
534 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
535 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
541 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
543 # Set video resolution for text setup.
544 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
549 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
551 # Noexec settings for DXE.
552 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
554 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
555 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
556 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
558 # Set memory encryption mask
559 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
561 # Set SEV-ES defaults
562 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
563 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
564 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
566 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
568 # Set ConfidentialComputing defaults
569 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
571 !include OvmfPkg/OvmfTpmPcds.dsc.inc
574 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
576 ################################################################################
578 # Components Section - list of all EDK II Modules needed by this Platform.
580 ################################################################################
582 OvmfPkg/ResetVector/ResetVector.inf
587 OvmfPkg/Sec/SecMain.inf {
589 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
595 MdeModulePkg/Core/Pei/PeiMain.inf
596 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
598 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
600 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
602 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
604 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
606 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
608 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
610 OvmfPkg/PlatformPei/PlatformPei.inf
611 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
612 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
613 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
615 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
620 MdeModulePkg/Core/Dxe/DxeMain.inf {
622 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
623 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
626 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
627 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
628 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
630 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
633 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
635 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
637 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
640 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
641 OvmfPkg/8259InterruptControllerDxe/8259.inf
642 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
643 UefiCpuPkg/CpuDxe/CpuDxe.inf
644 OvmfPkg/8254TimerDxe/8254Timer.inf
645 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
646 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
647 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
649 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
650 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
651 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
653 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
655 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
657 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
658 MdeModulePkg/Universal/Metronome/Metronome.inf
659 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
660 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
661 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
662 MdeModulePkg/Logo/LogoDxe.inf
663 MdeModulePkg/Application/UiApp/UiApp.inf {
665 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
666 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
667 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
669 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
671 NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
673 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
674 OvmfPkg/Virtio10Dxe/Virtio10.inf
675 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
676 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
677 OvmfPkg/VirtioRngDxe/VirtioRng.inf
678 !if $(PVSCSI_ENABLE) == TRUE
679 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
681 !if $(MPT_SCSI_ENABLE) == TRUE
682 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
684 !if $(LSI_SCSI_ENABLE) == TRUE
685 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
687 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
688 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
689 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
690 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
691 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
692 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
694 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
696 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
697 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
699 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
700 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
702 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
703 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
704 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
705 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
706 FatPkg/EnhancedFatDxe/Fat.inf
707 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
708 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
709 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
710 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
711 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
712 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
713 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
714 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
715 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
716 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
717 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
719 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
720 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
721 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
726 OvmfPkg/SioBusDxe/SioBusDxe.inf
727 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
728 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
733 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
735 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
737 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
742 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
743 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
744 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
749 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
750 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
751 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
752 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
753 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
754 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
756 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
757 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
759 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
762 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
763 OvmfPkg/AmdSev/Grub/Grub.inf
764 !if $(BUILD_SHELL) == TRUE
765 ShellPkg/Application/Shell/Shell.inf {
767 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
768 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
769 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
770 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
771 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
772 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
773 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
774 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
775 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
776 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
779 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
780 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
781 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
785 OvmfPkg/PlatformDxe/Platform.inf
786 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
788 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
790 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
793 # Variable driver stack (non-SMM)
795 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
796 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
798 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
800 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
801 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
803 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
809 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc