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
35 DEFINE TPM_ENABLE = FALSE
36 DEFINE TPM_CONFIG_ENABLE = FALSE
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
177 !if $(SOURCE_DEBUG_ENABLE) == TRUE
178 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
179 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
181 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
182 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
185 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
186 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
188 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
189 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
190 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
192 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
193 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
194 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
195 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
197 !if $(BUILD_SHELL) == TRUE
198 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
199 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
202 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
203 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
205 !if $(TPM_ENABLE) == TRUE
206 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
207 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
208 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
209 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
210 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
212 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
213 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
216 [LibraryClasses.common]
217 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
218 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
220 [LibraryClasses.common.SEC]
221 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
222 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
223 !ifdef $(DEBUG_ON_SERIAL_PORT)
224 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
226 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
228 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
229 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
230 !if $(SOURCE_DEBUG_ENABLE) == TRUE
231 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
233 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
234 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
235 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
236 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
237 !if $(TOOL_CHAIN_TAG) == "XCODE5"
238 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
240 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
242 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
243 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
245 [LibraryClasses.common.PEI_CORE]
246 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
247 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
248 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
249 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
250 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
251 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
252 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
253 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
254 !ifdef $(DEBUG_ON_SERIAL_PORT)
255 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
257 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
259 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
261 [LibraryClasses.common.PEIM]
262 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
263 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
264 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
265 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
266 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
267 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
268 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
269 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
270 !ifdef $(DEBUG_ON_SERIAL_PORT)
271 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
273 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
275 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
276 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
277 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
278 !if $(SOURCE_DEBUG_ENABLE) == TRUE
279 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
281 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
282 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
283 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
284 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
285 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
287 !if $(TPM_ENABLE) == TRUE
288 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
289 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
290 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
293 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
295 [LibraryClasses.common.DXE_CORE]
296 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
297 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
298 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
300 !ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
306 !if $(SOURCE_DEBUG_ENABLE) == TRUE
307 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
309 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
312 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
314 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
315 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
316 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
317 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
318 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
319 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
320 !ifdef $(DEBUG_ON_SERIAL_PORT)
321 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
323 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
325 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
326 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
327 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
328 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
329 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
331 [LibraryClasses.common.UEFI_DRIVER]
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
334 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
335 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
336 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
337 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
339 !ifdef $(DEBUG_ON_SERIAL_PORT)
340 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
342 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
344 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
345 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
347 [LibraryClasses.common.DXE_DRIVER]
348 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
349 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
350 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
351 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
352 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
353 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
354 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
355 !ifdef $(DEBUG_ON_SERIAL_PORT)
356 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
360 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf
361 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
362 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
363 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
364 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
365 !if $(SOURCE_DEBUG_ENABLE) == TRUE
366 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
368 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
369 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
370 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
371 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
372 !if $(TPM_ENABLE) == TRUE
373 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
374 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
377 [LibraryClasses.common.UEFI_APPLICATION]
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
379 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
380 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
381 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
382 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
383 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
384 !ifdef $(DEBUG_ON_SERIAL_PORT)
385 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
387 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
389 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
391 [LibraryClasses.common.DXE_SMM_DRIVER]
392 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
393 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
394 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
395 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
396 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
397 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
398 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
399 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
400 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
401 !ifdef $(DEBUG_ON_SERIAL_PORT)
402 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
404 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
406 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
407 !if $(SOURCE_DEBUG_ENABLE) == TRUE
408 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
410 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
411 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
413 [LibraryClasses.common.SMM_CORE]
414 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
415 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
416 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
417 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
418 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
419 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
420 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
421 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
422 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
423 !ifdef $(DEBUG_ON_SERIAL_PORT)
424 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
426 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
428 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
430 ################################################################################
432 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
434 ################################################################################
436 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
437 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
438 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
439 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
440 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
444 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
445 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
446 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
447 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
448 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
451 # match PcdFlashNvStorageVariableSize purely for convenience
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
454 !if $(FD_SIZE_IN_KB) == 4096
455 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
456 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
457 # match PcdFlashNvStorageVariableSize purely for convenience
458 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
461 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
462 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
463 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
465 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
467 # DEBUG_INIT 0x00000001 // Initialization
468 # DEBUG_WARN 0x00000002 // Warnings
469 # DEBUG_LOAD 0x00000004 // Load events
470 # DEBUG_FS 0x00000008 // EFI File system
471 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
472 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
473 # DEBUG_INFO 0x00000040 // Informational debug messages
474 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
475 # DEBUG_VARIABLE 0x00000100 // Variable
476 # DEBUG_BM 0x00000400 // Boot Manager
477 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
478 # DEBUG_NET 0x00004000 // SNP Driver
479 # DEBUG_UNDI 0x00010000 // UNDI Driver
480 # DEBUG_LOADFILE 0x00020000 // LoadFile
481 # DEBUG_EVENT 0x00080000 // Event messages
482 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
483 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
484 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
485 # // significantly impact boot performance
486 # DEBUG_ERROR 0x80000000 // Error
487 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
489 !if $(SOURCE_DEBUG_ENABLE) == TRUE
490 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
492 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
495 # This PCD is used to set the base address of the PCI express hierarchy. It
496 # is only consulted when OVMF runs on Q35. In that case it is programmed into
497 # the PCIEXBAR register.
499 # On Q35 machine types that QEMU intends to support in the long term, QEMU
500 # never lets the RAM below 4 GB exceed 2816 MB.
501 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
503 !if $(SOURCE_DEBUG_ENABLE) == TRUE
504 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
508 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
509 # best (please refer to git-blame for past updates). The values capture a set
510 # of BIN hints that made sense at a particular time, for some (now likely
511 # unknown) workloads / boot paths.
513 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
514 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
515 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
516 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
517 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
519 # IRQs 5, 9, 10, 11 are level-triggered
520 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
522 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
523 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
525 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
526 ################################################################################
528 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
530 ################################################################################
533 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
535 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
536 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
537 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
538 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
539 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
540 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
541 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
542 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
543 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
544 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
545 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
546 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
547 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
549 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
551 # Set video resolution for text setup.
552 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
553 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
555 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
556 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
557 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
559 # Noexec settings for DXE.
560 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
562 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
563 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
564 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
566 # Set memory encryption mask
567 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
569 # Set SEV-ES defaults
570 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
571 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
572 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
574 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
576 !if $(TPM_ENABLE) == TRUE
577 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
581 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
582 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
583 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
586 ################################################################################
588 # Components Section - list of all EDK II Modules needed by this Platform.
590 ################################################################################
592 OvmfPkg/ResetVector/ResetVector.inf
597 OvmfPkg/Sec/SecMain.inf {
599 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
605 MdeModulePkg/Core/Pei/PeiMain.inf
606 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
610 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
614 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
616 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
618 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
620 OvmfPkg/PlatformPei/PlatformPei.inf
621 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
622 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
623 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
625 !if $(TPM_ENABLE) == TRUE
626 OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
627 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
628 SecurityPkg/Tcg/TcgPei/TcgPei.inf
629 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
631 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
632 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
633 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
634 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
635 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
636 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
643 MdeModulePkg/Core/Dxe/DxeMain.inf {
645 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
646 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
649 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
650 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
651 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
653 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
656 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
658 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
660 !if $(TPM_ENABLE) == TRUE
661 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
662 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
666 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
667 OvmfPkg/8259InterruptControllerDxe/8259.inf
668 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
669 UefiCpuPkg/CpuDxe/CpuDxe.inf
670 OvmfPkg/8254TimerDxe/8254Timer.inf
671 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
672 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
673 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
675 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
676 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
677 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
679 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
681 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
683 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
684 MdeModulePkg/Universal/Metronome/Metronome.inf
685 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
686 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
687 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
688 MdeModulePkg/Logo/LogoDxe.inf
689 MdeModulePkg/Application/UiApp/UiApp.inf {
691 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
692 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
693 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
695 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
696 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
697 OvmfPkg/Virtio10Dxe/Virtio10.inf
698 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
699 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
700 OvmfPkg/VirtioRngDxe/VirtioRng.inf
701 !if $(PVSCSI_ENABLE) == TRUE
702 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
704 !if $(MPT_SCSI_ENABLE) == TRUE
705 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
707 !if $(LSI_SCSI_ENABLE) == TRUE
708 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
710 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
711 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
712 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
713 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
714 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
715 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
717 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
719 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
720 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
722 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
723 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
725 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
726 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
727 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
728 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
729 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
730 FatPkg/EnhancedFatDxe/Fat.inf
731 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
732 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
733 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
734 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
735 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
736 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
737 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
738 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
739 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
740 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
741 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
743 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
744 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
745 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
750 OvmfPkg/SioBusDxe/SioBusDxe.inf
751 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
752 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
757 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
759 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
761 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
766 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
767 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf
768 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
773 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
774 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
775 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
776 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
777 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
778 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
780 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
781 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
783 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
786 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
787 OvmfPkg/AmdSev/Grub/Grub.inf
788 !if $(BUILD_SHELL) == TRUE
789 ShellPkg/Application/Shell/Shell.inf {
791 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
792 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
793 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
794 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
795 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
796 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
797 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
798 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
799 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
800 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
803 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
804 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
805 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
809 OvmfPkg/PlatformDxe/Platform.inf
810 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
811 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
814 # Variable driver stack (non-SMM)
816 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
817 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
819 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
821 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
822 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
824 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
830 !if $(TPM_ENABLE) == TRUE
831 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
833 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
834 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
835 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
836 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
837 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
838 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
839 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
840 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
842 !if $(TPM_CONFIG_ENABLE) == TRUE
843 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
845 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
847 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf