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 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
153 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
156 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
157 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
158 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
159 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
160 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
161 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
162 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
163 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
164 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
165 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
166 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
167 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
168 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
169 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
170 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
171 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
172 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
173 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
174 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
175 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
176 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
177 BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
178 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
180 !if $(SOURCE_DEBUG_ENABLE) == TRUE
181 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
182 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
184 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
185 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
188 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
189 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
191 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
193 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
195 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
196 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
197 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
198 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
200 !if $(BUILD_SHELL) == TRUE
201 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
202 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
205 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
206 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
208 !include OvmfPkg/OvmfTpmLibs.dsc.inc
210 [LibraryClasses.common]
211 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
212 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
213 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
215 [LibraryClasses.common.SEC]
216 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
217 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
218 !ifdef $(DEBUG_ON_SERIAL_PORT)
219 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
221 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
223 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
224 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
225 !if $(SOURCE_DEBUG_ENABLE) == TRUE
226 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
228 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
229 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
230 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
231 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
232 !if $(TOOL_CHAIN_TAG) == "XCODE5"
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
235 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
237 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
238 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
240 [LibraryClasses.common.PEI_CORE]
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
242 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
243 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
245 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
246 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
247 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
248 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
249 !ifdef $(DEBUG_ON_SERIAL_PORT)
250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
254 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
256 [LibraryClasses.common.PEIM]
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
261 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
265 !ifdef $(DEBUG_ON_SERIAL_PORT)
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
272 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
273 !if $(SOURCE_DEBUG_ENABLE) == TRUE
274 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
277 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
278 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
279 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
280 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
281 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
283 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
285 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
286 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
288 [LibraryClasses.common.DXE_CORE]
289 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
290 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
291 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
292 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
293 !ifdef $(DEBUG_ON_SERIAL_PORT)
294 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
296 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
298 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
305 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
306 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
307 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
308 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
309 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
310 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
311 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
312 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
313 !ifdef $(DEBUG_ON_SERIAL_PORT)
314 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
318 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
319 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
320 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
321 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
322 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
324 [LibraryClasses.common.UEFI_DRIVER]
325 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
326 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
327 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
328 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
329 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
330 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
332 !ifdef $(DEBUG_ON_SERIAL_PORT)
333 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
335 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
337 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
338 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
340 [LibraryClasses.common.DXE_DRIVER]
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
342 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
343 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
344 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
347 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
348 !ifdef $(DEBUG_ON_SERIAL_PORT)
349 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
351 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
353 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf
354 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
355 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
356 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
357 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
358 !if $(SOURCE_DEBUG_ENABLE) == TRUE
359 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
361 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
362 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
363 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
364 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
366 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
368 [LibraryClasses.common.UEFI_APPLICATION]
369 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
370 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
371 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
372 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
373 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
374 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
375 !ifdef $(DEBUG_ON_SERIAL_PORT)
376 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
378 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
380 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
382 [LibraryClasses.common.DXE_SMM_DRIVER]
383 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
384 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
385 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
386 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
388 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
389 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
390 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
391 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
392 !ifdef $(DEBUG_ON_SERIAL_PORT)
393 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
395 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
398 !if $(SOURCE_DEBUG_ENABLE) == TRUE
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
401 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
402 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
404 [LibraryClasses.common.SMM_CORE]
405 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
406 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
407 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
408 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
409 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
410 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
411 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
412 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
413 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
414 !ifdef $(DEBUG_ON_SERIAL_PORT)
415 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
417 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
419 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
421 ################################################################################
423 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
425 ################################################################################
427 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
432 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
438 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
439 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
442 # match PcdFlashNvStorageVariableSize purely for convenience
443 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
445 !if $(FD_SIZE_IN_KB) == 4096
446 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
448 # match PcdFlashNvStorageVariableSize purely for convenience
449 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
453 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
456 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
458 # DEBUG_INIT 0x00000001 // Initialization
459 # DEBUG_WARN 0x00000002 // Warnings
460 # DEBUG_LOAD 0x00000004 // Load events
461 # DEBUG_FS 0x00000008 // EFI File system
462 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
463 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
464 # DEBUG_INFO 0x00000040 // Informational debug messages
465 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
466 # DEBUG_VARIABLE 0x00000100 // Variable
467 # DEBUG_BM 0x00000400 // Boot Manager
468 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
469 # DEBUG_NET 0x00004000 // SNP Driver
470 # DEBUG_UNDI 0x00010000 // UNDI Driver
471 # DEBUG_LOADFILE 0x00020000 // LoadFile
472 # DEBUG_EVENT 0x00080000 // Event messages
473 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
474 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
475 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
476 # // significantly impact boot performance
477 # DEBUG_ERROR 0x80000000 // Error
478 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
480 !if $(SOURCE_DEBUG_ENABLE) == TRUE
481 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
486 # This PCD is used to set the base address of the PCI express hierarchy. It
487 # is only consulted when OVMF runs on Q35. In that case it is programmed into
488 # the PCIEXBAR register.
490 # On Q35 machine types that QEMU intends to support in the long term, QEMU
491 # never lets the RAM below 4 GB exceed 2816 MB.
492 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
494 !if $(SOURCE_DEBUG_ENABLE) == TRUE
495 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
499 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
500 # best (please refer to git-blame for past updates). The values capture a set
501 # of BIN hints that made sense at a particular time, for some (now likely
502 # unknown) workloads / boot paths.
504 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
505 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
506 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
507 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
508 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
510 # IRQs 5, 9, 10, 11 are level-triggered
511 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
513 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
514 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
516 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
517 ################################################################################
519 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
521 ################################################################################
524 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
527 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
528 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
532 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
533 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
534 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
535 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
543 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
545 # Set video resolution for text setup.
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
551 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
553 # Noexec settings for DXE.
554 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
560 # Set memory encryption mask
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563 # Set Tdx shared bit mask
564 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
566 # Set SEV-ES defaults
567 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
569 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
571 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
573 # Set ConfidentialComputing defaults
574 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
576 !include OvmfPkg/OvmfTpmPcds.dsc.inc
578 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
581 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
583 ################################################################################
585 # Components Section - list of all EDK II Modules needed by this Platform.
587 ################################################################################
589 OvmfPkg/ResetVector/ResetVector.inf
594 OvmfPkg/Sec/SecMain.inf {
596 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
602 MdeModulePkg/Core/Pei/PeiMain.inf
603 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
605 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
607 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
609 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
611 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
613 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
615 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
617 OvmfPkg/PlatformPei/PlatformPei.inf
618 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
619 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
620 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
622 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
627 MdeModulePkg/Core/Dxe/DxeMain.inf {
629 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
630 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
633 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
634 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
635 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
637 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
640 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
642 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
644 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
647 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
648 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
649 UefiCpuPkg/CpuDxe/CpuDxe.inf
650 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
651 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
652 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
653 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
655 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
656 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
657 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
659 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
661 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
663 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
664 MdeModulePkg/Universal/Metronome/Metronome.inf
665 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
666 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
667 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
668 MdeModulePkg/Logo/LogoDxe.inf
669 MdeModulePkg/Application/UiApp/UiApp.inf {
671 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
672 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
673 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
675 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
677 NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
679 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
680 OvmfPkg/Virtio10Dxe/Virtio10.inf
681 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
682 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
683 OvmfPkg/VirtioRngDxe/VirtioRng.inf
684 !if $(PVSCSI_ENABLE) == TRUE
685 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
687 !if $(MPT_SCSI_ENABLE) == TRUE
688 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
690 !if $(LSI_SCSI_ENABLE) == TRUE
691 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
693 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
694 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
695 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
696 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
697 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
698 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
700 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
702 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
703 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
705 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
706 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
708 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
709 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
710 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
711 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
712 FatPkg/EnhancedFatDxe/Fat.inf
713 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
714 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
715 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
716 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
717 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
718 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
719 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
720 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
721 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
722 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
723 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
725 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
726 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
727 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
732 OvmfPkg/SioBusDxe/SioBusDxe.inf
733 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
734 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
739 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
741 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
743 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
748 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
749 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
750 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
755 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
756 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
757 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
758 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
759 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
760 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
762 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
763 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
765 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
768 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
769 OvmfPkg/AmdSev/Grub/Grub.inf
770 !if $(BUILD_SHELL) == TRUE
771 ShellPkg/Application/Shell/Shell.inf {
773 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
774 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
775 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
776 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
777 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
778 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
779 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
780 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
781 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
782 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
785 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
786 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
787 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
791 OvmfPkg/PlatformDxe/Platform.inf
792 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
794 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
796 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
799 # Variable driver stack (non-SMM)
801 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
802 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
804 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
806 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
807 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
809 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
815 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc