VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/IntelTdx/IntelTdxX64.dsc

Last change on this file was 108794, checked in by vboxsync, 4 weeks 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: 33.9 KB
Line 
1## @file
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
4# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6# Copyright (c) Microsoft Corporation.
7#
8# SPDX-License-Identifier: BSD-2-Clause-Patent
9#
10##
11
12################################################################################
13#
14# Defines Section - statements that will be processed to create a Makefile.
15#
16################################################################################
17[Defines]
18 PLATFORM_NAME = Ovmf
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
20 PLATFORM_VERSION = 0.1
21 DSC_SPECIFICATION = 0x00010005
22 OUTPUT_DIRECTORY = Build/IntelTdx
23 SUPPORTED_ARCHITECTURES = X64
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 FLASH_DEFINITION = OvmfPkg/IntelTdx/IntelTdxX64.fdf
27
28 #
29 # Defines for default states. These can be changed on the command line.
30 # -D FLAG=VALUE
31 #
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33
34 #
35 # Shell can be useful for debugging but should not be enabled for production
36 #
37 DEFINE BUILD_SHELL = TRUE
38
39 #
40 # Device drivers
41 #
42 DEFINE PVSCSI_ENABLE = FALSE
43 DEFINE MPT_SCSI_ENABLE = FALSE
44 DEFINE LSI_SCSI_ENABLE = FALSE
45
46 #
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
48 # one of the supported values, in place of any of the convenience macros, is
49 # permitted.
50 #
51!ifdef $(FD_SIZE_1MB)
52 DEFINE FD_SIZE_IN_KB = 1024
53!else
54!ifdef $(FD_SIZE_2MB)
55 DEFINE FD_SIZE_IN_KB = 2048
56!else
57!ifdef $(FD_SIZE_4MB)
58 DEFINE FD_SIZE_IN_KB = 4096
59!else
60 DEFINE FD_SIZE_IN_KB = 4096
61!endif
62!endif
63!endif
64
65 #
66 # Define the FILE_GUID of CpuDxe for unique-processor version.
67 #
68 DEFINE UP_CPU_DXE_GUID = 6490f1c5-ebcc-4665-8892-0075b9bb49b7
69
70[BuildOptions]
71 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
72 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
73 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
74!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
75 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
76!endif
77 RELEASE_*_*_GENFW_FLAGS = --zero
78
79 #
80 # Disable deprecated APIs.
81 #
82 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
83 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
84 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
85
86 #
87 # Add TDX_PEI_LESS_BOOT
88 #
89 MSFT:*_*_*_CC_FLAGS = /D TDX_PEI_LESS_BOOT
90 INTEL:*_*_*_CC_FLAGS = /D TDX_PEI_LESS_BOOT
91 GCC:*_*_*_CC_FLAGS = -D TDX_PEI_LESS_BOOT
92
93[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
94 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
95 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
96 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
97 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
98
99################################################################################
100#
101# SKU Identification section - list of all SKU IDs supported by this Platform.
102#
103################################################################################
104[SkuIds]
105 0|DEFAULT
106
107################################################################################
108#
109# Library Class section - list of all Library Classes needed by this Platform.
110#
111################################################################################
112
113!include MdePkg/MdeLibs.dsc.inc
114
115[LibraryClasses]
116 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
117 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
118 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
119 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
120 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
121 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
122 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
123 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
124 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
125 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
126 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
127 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
128 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
129 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
130 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
131 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
132 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
133 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
134 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
135 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
136 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
137 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
138 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
139 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
140 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
141 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
142 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
143 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
144 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
145 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
146 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
147 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
148 CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf
149 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
150 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
151 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
152 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
153 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
154 CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
155 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
156 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
157 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
158 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
159 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
160 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
161 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
162 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
163 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
164 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
165 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
166 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
167 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
168 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
169 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
170 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
171 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
172 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
173 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
174 ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
175
176 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
177 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
178 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
179
180 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
181 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
182
183 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
184 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
185
186 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
187 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
188 RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
189
190!if $(SECURE_BOOT_ENABLE) == TRUE
191 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
192 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
193 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
194 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
195 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
196!else
197 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
198!endif
199 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
200 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
201 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
202 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
203
204 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
205 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
206 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
207 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
208
209 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
210 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
211
212!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
213
214[LibraryClasses.common]
215 AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
216 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
217 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
218 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
219 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf
220 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
221
222[LibraryClasses.common.SEC]
223 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
224 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
225!ifdef $(DEBUG_ON_SERIAL_PORT)
226 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
227!else
228 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
229!endif
230 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
231 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
232 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
233 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
234 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
235 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
236 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
237 PrePiHobListPointerLib|OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointerLibTdx.inf
238 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
239 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
240 PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
241 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
242 TdxMeasurementLib|OvmfPkg/IntelTdx/TdxMeasurementLib/SecPeiTdxMeasurementLib.inf
243
244[LibraryClasses.common.DXE_CORE]
245 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
246 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
247 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
248 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
249!ifdef $(DEBUG_ON_SERIAL_PORT)
250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
251!else
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
253!endif
254 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
255 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
256 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
257
258[LibraryClasses.common.DXE_RUNTIME_DRIVER]
259 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
260 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
261 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
262 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
263 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
264 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
265 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
266!ifdef $(DEBUG_ON_SERIAL_PORT)
267 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
268!else
269 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
270!endif
271 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
272 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
273 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
274 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
275 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
276
277[LibraryClasses.common.UEFI_DRIVER]
278 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
279 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
280 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
281 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
282 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
283 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
284 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
285!ifdef $(DEBUG_ON_SERIAL_PORT)
286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
287!else
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
289!endif
290 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
291 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
292
293[LibraryClasses.common.DXE_DRIVER]
294 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
295 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
296 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
297 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
298 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
299 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
300 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
301 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
302!ifdef $(DEBUG_ON_SERIAL_PORT)
303 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
304!else
305 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
306!endif
307 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
308 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
309 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
310 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
311 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
312 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
313 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
314 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
315 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
316 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
317 TdxMeasurementLib|OvmfPkg/IntelTdx/TdxMeasurementLib/DxeTdxMeasurementLib.inf
318
319[LibraryClasses.common.UEFI_APPLICATION]
320 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
321 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
322 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
323 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
324 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326!ifdef $(DEBUG_ON_SERIAL_PORT)
327 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328!else
329 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330!endif
331 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
332
333[LibraryClasses.common.DXE_SMM_DRIVER]
334 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
335 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
336 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
337 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
339 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
340 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
341 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
342 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
343!ifdef $(DEBUG_ON_SERIAL_PORT)
344 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
345!else
346 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
347!endif
348 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
349 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
350 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
351
352[LibraryClasses.common.SMM_CORE]
353 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
354 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
355 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
356 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
357 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
358 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
359 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
360 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
361 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
362!ifdef $(DEBUG_ON_SERIAL_PORT)
363 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
364!else
365 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
366!endif
367 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
368
369################################################################################
370#
371# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
372#
373################################################################################
374[PcdsFeatureFlag]
375 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
376 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
377 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
378 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
380 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
381!if $(SECURE_BOOT_ENABLE) == TRUE
382 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|TRUE
383 gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE
384!endif
385
386[PcdsFixedAtBuild]
387 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
388 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
389 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
390 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
391!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
392 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
393 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
394 # match PcdFlashNvStorageVariableSize purely for convenience
395 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
396!endif
397!if $(FD_SIZE_IN_KB) == 4096
398 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
399 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
400 # match PcdFlashNvStorageVariableSize purely for convenience
401 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
402!endif
403
404 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
405 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
406 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
407
408 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
409
410 # DEBUG_INIT 0x00000001 // Initialization
411 # DEBUG_WARN 0x00000002 // Warnings
412 # DEBUG_LOAD 0x00000004 // Load events
413 # DEBUG_FS 0x00000008 // EFI File system
414 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
415 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
416 # DEBUG_INFO 0x00000040 // Informational debug messages
417 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
418 # DEBUG_VARIABLE 0x00000100 // Variable
419 # DEBUG_BM 0x00000400 // Boot Manager
420 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
421 # DEBUG_NET 0x00004000 // SNP Driver
422 # DEBUG_UNDI 0x00010000 // UNDI Driver
423 # DEBUG_LOADFILE 0x00020000 // LoadFile
424 # DEBUG_EVENT 0x00080000 // Event messages
425 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
426 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
427 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
428 # // significantly impact boot performance
429 # DEBUG_ERROR 0x80000000 // Error
430 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
431
432 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
433
434 # This PCD is used to set the base address of the PCI express hierarchy. It
435 # is only consulted when OVMF runs on Q35. In that case it is programmed into
436 # the PCIEXBAR register.
437 #
438 # On Q35 machine types that QEMU intends to support in the long term, QEMU
439 # never lets the RAM below 4 GB exceed 2816 MB.
440 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
441
442 #
443 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
444 # best (please refer to git-blame for past updates). The values capture a set
445 # of BIN hints that made sense at a particular time, for some (now likely
446 # unknown) workloads / boot paths.
447 #
448 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
449 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
450 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
451 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
452 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
453
454 #
455 # TDX need 1G PageTable support
456 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
457
458 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
459
460 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
461 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
462
463 #
464 # PcdFirstTimeWakeUpAPsBySipi determines whether to employ
465 # SIPI instead of the INIT-SIPI-SIPI sequence during APs
466 # initialization. Deactivate this parameter to preserve
467 # the original execution of INIT-SIPI-SIPI.
468 #
469 gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE
470
471################################################################################
472#
473# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
474#
475################################################################################
476
477[PcdsDynamicDefault]
478 # only set when
479 # ($(SMM_REQUIRE) == FALSE)
480 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
481
482 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
483 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
484 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
485 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
486 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
487
488 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
489 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
490 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
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
498
499 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
500
501 # Set video resolution for text setup.
502 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
503 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
504
505 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
506 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
507 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
508
509 # Noexec settings for DXE.
510 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
511
512 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
513 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
514 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
515
516 # Set memory encryption mask
517 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
518
519 # Set Tdx shared bit mask
520 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
521
522 # Set SEV-ES defaults
523 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
524 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
525 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
526
527 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
528
529 # Set ConfidentialComputing defaults
530 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
531
532 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
533
534################################################################################
535#
536# Components Section - list of all EDK II Modules needed by this Platform.
537#
538################################################################################
539[Components]
540 OvmfPkg/ResetVector/ResetVector.inf
541
542 #
543 # SEC Phase modules
544 #
545 OvmfPkg/IntelTdx/Sec/SecMain.inf {
546 <LibraryClasses>
547 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
548 NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
549 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
550 }
551
552 #
553 # DXE Phase modules
554 #
555 MdeModulePkg/Core/Dxe/DxeMain.inf {
556 <LibraryClasses>
557 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
558 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
559 }
560
561 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
562 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
563 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
564 <LibraryClasses>
565 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
566 }
567
568 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
569
570 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
571 <LibraryClasses>
572!if $(SECURE_BOOT_ENABLE) == TRUE
573 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
574!endif
575 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
576 }
577
578 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
579 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
580
581 UefiCpuPkg/CpuDxe/CpuDxe.inf {
582 <LibraryClasses>
583 #
584 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which
585 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.
586 #
587 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
588 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf
589 }
590
591 UefiCpuPkg/CpuDxe/CpuDxe.inf {
592 <Defines>
593 FILE_GUID = $(UP_CPU_DXE_GUID)
594
595 <LibraryClasses>
596 #
597 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which
598 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.
599 #
600 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
601 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf
602 }
603
604 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
605 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
606 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
607 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
608 <LibraryClasses>
609 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
610 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
611 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
612 }
613 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
614 <LibraryClasses>
615 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
616 }
617 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
618 MdeModulePkg/Universal/Metronome/Metronome.inf
619 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
620 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
621 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
622 <LibraryClasses>
623 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
624 }
625 MdeModulePkg/Logo/LogoDxe.inf
626 MdeModulePkg/Application/UiApp/UiApp.inf {
627 <LibraryClasses>
628 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
629 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
630 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
631 }
632 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
633 <LibraryClasses>
634 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
635 }
636 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
637 OvmfPkg/Virtio10Dxe/Virtio10.inf
638 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
639 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
640!if $(PVSCSI_ENABLE) == TRUE
641 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
642!endif
643!if $(MPT_SCSI_ENABLE) == TRUE
644 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
645!endif
646!if $(LSI_SCSI_ENABLE) == TRUE
647 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
648!endif
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 {
655 <LibraryClasses>
656 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
657 }
658 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
659 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
660 <LibraryClasses>
661 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
662 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
663 }
664
665 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
666 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
667 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
668 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
669 FatPkg/EnhancedFatDxe/Fat.inf
670 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
671 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
672 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
673 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
674 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
675 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
676 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
677 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
678 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
679 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
680 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
681
682 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
683 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
684 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
685
686 #
687 # ISA Support
688 #
689 OvmfPkg/SioBusDxe/SioBusDxe.inf
690 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
691 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
692
693 #
694 # SMBIOS Support
695 #
696 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
697 <LibraryClasses>
698 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
699 }
700 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
701
702 #
703 # ACPI Support
704 #
705 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
706 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
707 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
708 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
709 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
710
711 #
712 # Usb Support
713 #
714 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
715 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
716 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
717 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
718 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
719 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
720
721!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
722!include OvmfPkg/Include/Dsc/OvmfRngComponents.dsc.inc
723
724!if $(SECURE_BOOT_ENABLE) == TRUE
725 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
726 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
727!endif
728
729 OvmfPkg/PlatformDxe/Platform.inf
730 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
731
732 OvmfPkg/TdxDxe/TdxDxe.inf
733
734 #
735 # Variable driver stack (non-SMM)
736 #
737 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
738 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
739 <LibraryClasses>
740 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
741 }
742 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
743 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
744 <LibraryClasses>
745 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
746 }
747
748 #
749 # Cc Measurement Protocol for Td guest
750 #
751 OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
752 <LibraryClasses>
753 HashLib|OvmfPkg/Library/HashLibTdx/HashLibTdx.inf
754 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
755 }
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