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 ################################################################################
98 # SKU Identification section - list of all SKU IDs supported by this Platform.
100 ################################################################################
104 ################################################################################
106 # Library Class section - list of all Library Classes needed by this Platform.
108 ################################################################################
110 !include MdePkg/MdeLibs.dsc.inc
113 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
114 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
115 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
116 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
117 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
118 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
119 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
120 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
121 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
122 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
123 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
124 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
125 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
126 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
127 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
128 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
129 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
130 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
131 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
132 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
133 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
134 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
135 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
136 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
137 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
138 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
139 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
140 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
141 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
142 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
143 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
144 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
145 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
146 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
147 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
148 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
149 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
150 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
151 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
152 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
153 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
154 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
155 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
156 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
157 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
158 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
159 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
160 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
161 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
162 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
163 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
164 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
165 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
166 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
167 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
168 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
169 BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
170 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
172 !if $(SOURCE_DEBUG_ENABLE) == TRUE
173 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
174 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
176 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
177 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
180 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
181 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
183 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
184 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
185 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
187 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
188 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
189 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
190 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
191 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
193 !if $(BUILD_SHELL) == TRUE
194 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
195 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
198 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
199 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
201 !include OvmfPkg/OvmfTpmLibs.dsc.inc
203 [LibraryClasses.common]
204 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
205 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
206 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
208 [LibraryClasses.common.SEC]
209 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
210 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
211 !ifdef $(DEBUG_ON_SERIAL_PORT)
212 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
214 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
216 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
217 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
218 !if $(SOURCE_DEBUG_ENABLE) == TRUE
219 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
221 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
222 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
223 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
224 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
225 !if $(TOOL_CHAIN_TAG) == "XCODE5"
226 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
228 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
230 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
231 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
233 [LibraryClasses.common.PEI_CORE]
234 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
235 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
236 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
237 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
238 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
239 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
240 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
241 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
242 !ifdef $(DEBUG_ON_SERIAL_PORT)
243 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
245 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
247 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
249 [LibraryClasses.common.PEIM]
250 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
252 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
253 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
254 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
255 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
256 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
257 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
258 !ifdef $(DEBUG_ON_SERIAL_PORT)
259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
263 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
264 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
265 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
266 !if $(SOURCE_DEBUG_ENABLE) == TRUE
267 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
269 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
270 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
271 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
272 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
273 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
274 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
276 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
278 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
279 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
281 [LibraryClasses.common.DXE_CORE]
282 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
283 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
284 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
285 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
286 !ifdef $(DEBUG_ON_SERIAL_PORT)
287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
289 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
291 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
292 !if $(SOURCE_DEBUG_ENABLE) == TRUE
293 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
295 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
298 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
299 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
300 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
301 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
302 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
303 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
304 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
305 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
306 !ifdef $(DEBUG_ON_SERIAL_PORT)
307 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
312 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
313 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
314 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
315 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
317 [LibraryClasses.common.UEFI_DRIVER]
318 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
319 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
320 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
323 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
324 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
325 !ifdef $(DEBUG_ON_SERIAL_PORT)
326 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
331 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333 [LibraryClasses.common.DXE_DRIVER]
334 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
335 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
336 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
341 !ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
346 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf
347 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
348 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
349 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
350 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
351 !if $(SOURCE_DEBUG_ENABLE) == TRUE
352 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
354 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
355 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
356 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
357 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
359 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
361 [LibraryClasses.common.UEFI_APPLICATION]
362 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
363 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
364 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
365 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
366 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
367 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
368 !ifdef $(DEBUG_ON_SERIAL_PORT)
369 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
371 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
373 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
375 ################################################################################
377 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
379 ################################################################################
381 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
382 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
383 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
384 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
385 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
386 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
389 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
390 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
391 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
392 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
393 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
394 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
395 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
396 # match PcdFlashNvStorageVariableSize purely for convenience
397 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
399 !if $(FD_SIZE_IN_KB) == 4096
400 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
401 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
402 # match PcdFlashNvStorageVariableSize purely for convenience
403 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
406 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
407 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
408 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
410 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
412 # DEBUG_INIT 0x00000001 // Initialization
413 # DEBUG_WARN 0x00000002 // Warnings
414 # DEBUG_LOAD 0x00000004 // Load events
415 # DEBUG_FS 0x00000008 // EFI File system
416 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
417 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
418 # DEBUG_INFO 0x00000040 // Informational debug messages
419 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
420 # DEBUG_VARIABLE 0x00000100 // Variable
421 # DEBUG_BM 0x00000400 // Boot Manager
422 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
423 # DEBUG_NET 0x00004000 // SNP Driver
424 # DEBUG_UNDI 0x00010000 // UNDI Driver
425 # DEBUG_LOADFILE 0x00020000 // LoadFile
426 # DEBUG_EVENT 0x00080000 // Event messages
427 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
428 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
429 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
430 # // significantly impact boot performance
431 # DEBUG_ERROR 0x80000000 // Error
432 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
434 !if $(SOURCE_DEBUG_ENABLE) == TRUE
435 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
437 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
440 # This PCD is used to set the base address of the PCI express hierarchy. It
441 # is only consulted when OVMF runs on Q35. In that case it is programmed into
442 # the PCIEXBAR register.
444 # On Q35 machine types that QEMU intends to support in the long term, QEMU
445 # never lets the RAM below 4 GB exceed 2816 MB.
446 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
448 !if $(SOURCE_DEBUG_ENABLE) == TRUE
449 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
453 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
454 # best (please refer to git-blame for past updates). The values capture a set
455 # of BIN hints that made sense at a particular time, for some (now likely
456 # unknown) workloads / boot paths.
458 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
459 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
460 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
461 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
462 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
464 # IRQs 5, 9, 10, 11 are level-triggered
465 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
467 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
468 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
470 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
471 ################################################################################
473 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
475 ################################################################################
478 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
480 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
482 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
483 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
484 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
485 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
486 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
487 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
488 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
489 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
490 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
491 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
492 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
493 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
494 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
495 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
496 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
497 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
499 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
501 # Set video resolution for text setup.
502 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
503 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
505 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
506 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
507 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
509 # Noexec settings for DXE.
510 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
512 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
513 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
514 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
516 # Set memory encryption mask
517 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
519 # Set Tdx shared bit mask
520 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
522 # Set SEV-ES defaults
523 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
524 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
525 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
527 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
529 # Set ConfidentialComputing defaults
530 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
532 !include OvmfPkg/OvmfTpmPcds.dsc.inc
534 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
537 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
539 ################################################################################
541 # Components Section - list of all EDK II Modules needed by this Platform.
543 ################################################################################
545 OvmfPkg/ResetVector/ResetVector.inf
550 OvmfPkg/Sec/SecMain.inf {
552 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
558 MdeModulePkg/Core/Pei/PeiMain.inf
559 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
561 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
563 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
565 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
567 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
569 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
571 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
573 OvmfPkg/PlatformPei/PlatformPei.inf
574 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
575 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
576 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
578 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
583 MdeModulePkg/Core/Dxe/DxeMain.inf {
585 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
586 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
589 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
590 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
591 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
593 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
596 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
598 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
600 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
603 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
604 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
605 UefiCpuPkg/CpuDxe/CpuDxe.inf
606 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
607 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
608 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
609 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
611 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
612 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
613 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
615 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
617 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
619 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
620 MdeModulePkg/Universal/Metronome/Metronome.inf
621 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
622 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
623 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
624 MdeModulePkg/Logo/LogoDxe.inf
625 MdeModulePkg/Application/UiApp/UiApp.inf {
627 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
628 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
629 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
631 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
633 NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
635 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
636 OvmfPkg/Virtio10Dxe/Virtio10.inf
637 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
638 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
639 OvmfPkg/VirtioRngDxe/VirtioRng.inf
640 !if $(PVSCSI_ENABLE) == TRUE
641 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
643 !if $(MPT_SCSI_ENABLE) == TRUE
644 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
646 !if $(LSI_SCSI_ENABLE) == TRUE
647 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
649 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
650 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
651 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
652 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
653 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
654 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
656 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
658 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
659 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
661 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
662 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
664 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
665 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
666 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
667 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
668 FatPkg/EnhancedFatDxe/Fat.inf
669 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
670 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
671 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
672 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
673 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
674 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
675 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
676 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
677 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
678 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
679 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
681 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
682 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
683 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
688 OvmfPkg/SioBusDxe/SioBusDxe.inf
689 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
690 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
695 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
697 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
699 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
704 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
705 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
706 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
711 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
712 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
713 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
714 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
715 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
716 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
718 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
719 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
721 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
724 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
725 OvmfPkg/AmdSev/Grub/Grub.inf
726 !if $(BUILD_SHELL) == TRUE
727 ShellPkg/Application/Shell/Shell.inf {
729 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
730 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
731 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
732 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
733 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
736 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
737 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
738 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
741 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
742 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
743 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
747 OvmfPkg/PlatformDxe/Platform.inf
748 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
750 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
752 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
755 # Variable driver stack (non-SMM)
757 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
758 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
760 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
762 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
763 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
765 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
771 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc