VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/AmdSev/AmdSevX64.dsc

Last change on this file was 108794, checked in by vboxsync, 5 days ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 34.4 KB
Line 
1## @file
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV secure
3# virtual machine remote attestation and secret injection
4#
5# Copyright (c) 2020 James Bottomley, IBM Corporation.
6# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
7# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
8#
9# SPDX-License-Identifier: BSD-2-Clause-Patent
10#
11##
12
13################################################################################
14#
15# Defines Section - statements that will be processed to create a Makefile.
16#
17################################################################################
18[Defines]
19 PLATFORM_NAME = Ovmf
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
29
30 #
31 # Defines for default states. These can be changed on the command line.
32 # -D FLAG=VALUE
33 #
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35
36!include OvmfPkg/Include/Dsc/OvmfTpmDefines.dsc.inc
37
38 #
39 # Shell can be useful for debugging but should not be enabled for production
40 #
41 DEFINE BUILD_SHELL = FALSE
42
43 #
44 # Device drivers
45 #
46 DEFINE PVSCSI_ENABLE = FALSE
47 DEFINE MPT_SCSI_ENABLE = FALSE
48 DEFINE LSI_SCSI_ENABLE = FALSE
49
50 #
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
53 # permitted.
54 #
55!ifdef $(FD_SIZE_1MB)
56 DEFINE FD_SIZE_IN_KB = 1024
57!else
58!ifdef $(FD_SIZE_2MB)
59 DEFINE FD_SIZE_IN_KB = 2048
60!else
61!ifdef $(FD_SIZE_4MB)
62 DEFINE FD_SIZE_IN_KB = 4096
63!else
64 DEFINE FD_SIZE_IN_KB = 4096
65!endif
66!endif
67!endif
68
69[BuildOptions]
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
75!endif
76!if $(SOURCE_DEBUG_ENABLE) == TRUE
77 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
79 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
80!endif
81 RELEASE_*_*_GENFW_FLAGS = --zero
82
83 #
84 # Disable deprecated APIs.
85 #
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
89
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
95
96################################################################################
97#
98# SKU Identification section - list of all SKU IDs supported by this Platform.
99#
100################################################################################
101[SkuIds]
102 0|DEFAULT
103
104################################################################################
105#
106# Library Class section - list of all Library Classes needed by this Platform.
107#
108################################################################################
109
110!include MdePkg/MdeLibs.dsc.inc
111
112[LibraryClasses]
113 SmmRelocationLib|OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.inf
114 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
115 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
116 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
117 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
118 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
119 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
120 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
121 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
122 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
123 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
124 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
125 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
126 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
127 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
128 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
129 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
130 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
131 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
132 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
133 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
134 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
135 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
136 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
137 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
138 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
139 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
140 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
141 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
142 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
143 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
144 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.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 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
151 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
152 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
153 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
154 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
155 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
156 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
157 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
158 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
159 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
160 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
161 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
162 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
163 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
164 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
165 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
166 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
167 CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf
168 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
169 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
170 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
171 BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
172 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
173 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
174 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
175 ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
176
177!if $(SOURCE_DEBUG_ENABLE) == TRUE
178 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
179 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
180!else
181 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
182 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
183!endif
184
185 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
186 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
187
188 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
189 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
190 RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
191
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
196 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
197
198 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
199
200 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
201 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
202 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
203
204!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
205!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
206
207[LibraryClasses.common]
208 AmdSvsmLib|OvmfPkg/Library/AmdSvsmLib/AmdSvsmLib.inf
209 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
210 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
211 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
212 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
213 TdxHelperLib|OvmfPkg/IntelTdx/TdxHelperLib/TdxHelperLibNull.inf
214
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
220!else
221 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
222!endif
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
227!endif
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 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
233 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
234 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
235 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
236
237[LibraryClasses.common.PEI_CORE]
238 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
239 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
240 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
241 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
242 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
243 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
244 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
245 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
246!ifdef $(DEBUG_ON_SERIAL_PORT)
247 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
248!else
249 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
250!endif
251 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
252 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
253
254[LibraryClasses.common.PEIM]
255 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
256 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
257 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
258 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
259 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
260 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
261 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
262 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
263!ifdef $(DEBUG_ON_SERIAL_PORT)
264 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
265!else
266 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
267!endif
268 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
269 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
270 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
271!if $(SOURCE_DEBUG_ENABLE) == TRUE
272 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
273!endif
274 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
275 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
276 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
277 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
278 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
279 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
280
281 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
282 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
283 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
284
285[LibraryClasses.common.DXE_CORE]
286 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
287 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
288 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
289 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
290!ifdef $(DEBUG_ON_SERIAL_PORT)
291 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
292!else
293 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
294!endif
295 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
296!if $(SOURCE_DEBUG_ENABLE) == TRUE
297 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
298!endif
299 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
300 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
301
302[LibraryClasses.common.DXE_RUNTIME_DRIVER]
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
304 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
305 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
306 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
307 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
308 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
309 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
310!ifdef $(DEBUG_ON_SERIAL_PORT)
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
312!else
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
314!endif
315 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
316 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
317 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
318 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
319 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
320
321[LibraryClasses.common.UEFI_DRIVER]
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
324 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
325 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
326 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
327 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
328 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
329!ifdef $(DEBUG_ON_SERIAL_PORT)
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
331!else
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
333!endif
334 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
335 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
336
337[LibraryClasses.common.DXE_DRIVER]
338 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
341 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
344 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
345 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
346!ifdef $(DEBUG_ON_SERIAL_PORT)
347 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
348!else
349 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
350!endif
351 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
352 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
353 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
354 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
355 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
356!if $(SOURCE_DEBUG_ENABLE) == TRUE
357 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
358!endif
359 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
360 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
361 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
362 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
363 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
364
365[LibraryClasses.common.UEFI_APPLICATION]
366 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
367 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
368 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
369 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
370 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372!ifdef $(DEBUG_ON_SERIAL_PORT)
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
374!else
375 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
376!endif
377 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
378
379################################################################################
380#
381# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
382#
383################################################################################
384[PcdsFeatureFlag]
385 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
386 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
387 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
388 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
389 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
390 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
391
392[PcdsFixedAtBuild]
393 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
394 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
395 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
396 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
397!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
398 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
399 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
400 # match PcdFlashNvStorageVariableSize purely for convenience
401 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
402!endif
403!if $(FD_SIZE_IN_KB) == 4096
404 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
405 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
406 # match PcdFlashNvStorageVariableSize purely for convenience
407 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
408!endif
409
410 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
411 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
412 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
413
414 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
415
416 # DEBUG_INIT 0x00000001 // Initialization
417 # DEBUG_WARN 0x00000002 // Warnings
418 # DEBUG_LOAD 0x00000004 // Load events
419 # DEBUG_FS 0x00000008 // EFI File system
420 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
421 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
422 # DEBUG_INFO 0x00000040 // Informational debug messages
423 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
424 # DEBUG_VARIABLE 0x00000100 // Variable
425 # DEBUG_BM 0x00000400 // Boot Manager
426 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
427 # DEBUG_NET 0x00004000 // SNP Driver
428 # DEBUG_UNDI 0x00010000 // UNDI Driver
429 # DEBUG_LOADFILE 0x00020000 // LoadFile
430 # DEBUG_EVENT 0x00080000 // Event messages
431 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
432 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
433 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
434 # // significantly impact boot performance
435 # DEBUG_ERROR 0x80000000 // Error
436 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
437
438!if $(SOURCE_DEBUG_ENABLE) == TRUE
439 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
440!else
441 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
442!endif
443
444 # This PCD is used to set the base address of the PCI express hierarchy. It
445 # is only consulted when OVMF runs on Q35. In that case it is programmed into
446 # the PCIEXBAR register.
447 #
448 # On Q35 machine types that QEMU intends to support in the long term, QEMU
449 # never lets the RAM below 4 GB exceed 2816 MB.
450 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
451
452!if $(SOURCE_DEBUG_ENABLE) == TRUE
453 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
454!endif
455
456 #
457 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
458 # best (please refer to git-blame for past updates). The values capture a set
459 # of BIN hints that made sense at a particular time, for some (now likely
460 # unknown) workloads / boot paths.
461 #
462 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
463 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
464 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
465 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
466 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
467
468 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
469 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
470
471 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
472 gUefiOvmfPkgTokenSpaceGuid.PcdBootRestrictToFirmware|TRUE
473
474 #
475 # INIT is now triggered before BIOS by ucode/hardware. In the OVMF
476 # environment, QEMU lacks a simulation for the INIT process.
477 # To address this, PcdFirstTimeWakeUpAPsBySipi set to FALSE to
478 # broadcast INIT-SIPI-SIPI for the first time.
479 #
480 gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE
481
482################################################################################
483#
484# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
485#
486################################################################################
487
488[PcdsDynamicDefault]
489 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
490
491 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
492 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
493 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
494 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
495 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
496 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
497 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
498 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
499 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
500 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
501 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
502 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
503 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
504 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
505 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
506 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
507 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
508 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
509
510 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
511
512 # Set video resolution for text setup.
513 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
514 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
515
516 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
517 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
518 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
519
520 # Noexec settings for DXE.
521 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
522
523 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
524 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
525 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
526
527 # Set memory encryption mask
528 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
529
530 # Set Tdx shared bit mask
531 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
532
533 # Set SEV-ES defaults
534 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
535 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
536 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
537
538 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
539
540 # Set ConfidentialComputing defaults
541 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
542
543!include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
544
545 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
546
547[PcdsDynamicHii]
548!include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
549
550################################################################################
551#
552# Components Section - list of all EDK II Modules needed by this Platform.
553#
554################################################################################
555[Components]
556 OvmfPkg/ResetVector/ResetVector.inf
557
558 #
559 # SEC Phase modules
560 #
561 OvmfPkg/Sec/SecMain.inf {
562 <LibraryClasses>
563 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
564 }
565
566 #
567 # PEI Phase modules
568 #
569 MdeModulePkg/Core/Pei/PeiMain.inf
570 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
571 <LibraryClasses>
572 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
573 }
574 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
575 <LibraryClasses>
576 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
577 }
578 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
579 <LibraryClasses>
580 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
581 }
582 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
583
584 OvmfPkg/PlatformPei/PlatformPei.inf
585
586 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
587 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
588 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
589
590!include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
591
592 #
593 # DXE Phase modules
594 #
595 MdeModulePkg/Core/Dxe/DxeMain.inf {
596 <LibraryClasses>
597 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
598 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
599 }
600
601 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
602 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
603 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
604 <LibraryClasses>
605 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
606 }
607
608 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
609
610 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
611 <LibraryClasses>
612!include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
613 }
614
615 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
616 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
617 UefiCpuPkg/CpuDxe/CpuDxe.inf
618 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
619 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
620 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
621 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
622 <LibraryClasses>
623 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
624 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
625 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
626 }
627 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
628 <LibraryClasses>
629 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
630 }
631 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
632 MdeModulePkg/Universal/Metronome/Metronome.inf
633 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
634 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
635 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
636 <LibraryClasses>
637 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
638 }
639 MdeModulePkg/Logo/LogoDxe.inf
640 MdeModulePkg/Application/UiApp/UiApp.inf {
641 <LibraryClasses>
642 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
643 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
644 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
645 }
646 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
647 <LibraryClasses>
648 NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
649 }
650 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
651 OvmfPkg/Virtio10Dxe/Virtio10.inf
652 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
653 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
654!if $(PVSCSI_ENABLE) == TRUE
655 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
656!endif
657!if $(MPT_SCSI_ENABLE) == TRUE
658 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
659!endif
660!if $(LSI_SCSI_ENABLE) == TRUE
661 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
662!endif
663 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
664 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
665 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
666 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
667 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
668 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
669 <LibraryClasses>
670 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
671 }
672 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
673 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
674 <LibraryClasses>
675 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
676 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
677 }
678 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
679 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
680 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
681 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
682 FatPkg/EnhancedFatDxe/Fat.inf
683 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
684 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
685 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
686 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
687 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
688 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
689 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
690 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
691 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
692 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
693
694 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
695 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
696 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
697
698 #
699 # ISA Support
700 #
701 OvmfPkg/SioBusDxe/SioBusDxe.inf
702 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
703 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
704
705 #
706 # SMBIOS Support
707 #
708 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
709 <LibraryClasses>
710 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
711 }
712 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
713
714 #
715 # ACPI Support
716 #
717 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
718 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
719 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
720 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
721 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
722
723 #
724 # Usb Support
725 #
726 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
727 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
728 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
729 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
730 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
731 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
732
733 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
734 OvmfPkg/AmdSev/Grub/Grub.inf
735
736!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
737!include OvmfPkg/Include/Dsc/OvmfRngComponents.dsc.inc
738
739 OvmfPkg/PlatformDxe/Platform.inf
740 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
741 <LibraryClasses>
742 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
743 }
744 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
745
746 #
747 # Variable driver stack (non-SMM)
748 #
749 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
750 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
751 <LibraryClasses>
752 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
753 }
754 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
755 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
756 <LibraryClasses>
757 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
758 }
759
760 #
761 # TPM support
762 #
763!include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette