VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/IntelTdx/IntelTdxX64.dsc@ 105681

Last change on this file since 105681 was 105670, checked in by vboxsync, 6 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 33.7 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
243[LibraryClasses.common.DXE_CORE]
244 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
245 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
246 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
247 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
248!ifdef $(DEBUG_ON_SERIAL_PORT)
249 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
250!else
251 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
252!endif
253 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
255 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
256
257[LibraryClasses.common.DXE_RUNTIME_DRIVER]
258 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
259 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
260 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
261 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
262 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
263 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
265!ifdef $(DEBUG_ON_SERIAL_PORT)
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
267!else
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269!endif
270 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
271 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
272 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
273 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
274 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
275
276[LibraryClasses.common.UEFI_DRIVER]
277 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
278 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
279 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
280 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
281 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
282 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
283 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
284!ifdef $(DEBUG_ON_SERIAL_PORT)
285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
286!else
287 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
288!endif
289 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
290 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
291
292[LibraryClasses.common.DXE_DRIVER]
293 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
294 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
295 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
296 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
297 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
298 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
300 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
301!ifdef $(DEBUG_ON_SERIAL_PORT)
302 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303!else
304 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305!endif
306 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
307 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
308 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
309 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
310 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
311 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
312 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
313 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
314 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
315 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
316
317[LibraryClasses.common.UEFI_APPLICATION]
318 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
319 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
320 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
323 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
324!ifdef $(DEBUG_ON_SERIAL_PORT)
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
326!else
327 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
328!endif
329 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
330
331[LibraryClasses.common.DXE_SMM_DRIVER]
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
334 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
335 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
336 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
339 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
340 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
341!ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
343!else
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
345!endif
346 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
347 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
348 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
349
350[LibraryClasses.common.SMM_CORE]
351 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
352 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
353 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
354 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
355 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
356 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
357 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
358 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
359 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
360!ifdef $(DEBUG_ON_SERIAL_PORT)
361 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
362!else
363 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
364!endif
365 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
366
367################################################################################
368#
369# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
370#
371################################################################################
372[PcdsFeatureFlag]
373 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
374 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
375 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
376 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
377 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
378 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
379!if $(SECURE_BOOT_ENABLE) == TRUE
380 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|TRUE
381 gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE
382!endif
383
384[PcdsFixedAtBuild]
385 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
386 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
387 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
388 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
389!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
390 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
391 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
392 # match PcdFlashNvStorageVariableSize purely for convenience
393 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
394!endif
395!if $(FD_SIZE_IN_KB) == 4096
396 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
397 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
398 # match PcdFlashNvStorageVariableSize purely for convenience
399 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
400!endif
401
402 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
403 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
404 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
405
406 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
407
408 # DEBUG_INIT 0x00000001 // Initialization
409 # DEBUG_WARN 0x00000002 // Warnings
410 # DEBUG_LOAD 0x00000004 // Load events
411 # DEBUG_FS 0x00000008 // EFI File system
412 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
413 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
414 # DEBUG_INFO 0x00000040 // Informational debug messages
415 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
416 # DEBUG_VARIABLE 0x00000100 // Variable
417 # DEBUG_BM 0x00000400 // Boot Manager
418 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
419 # DEBUG_NET 0x00004000 // SNP Driver
420 # DEBUG_UNDI 0x00010000 // UNDI Driver
421 # DEBUG_LOADFILE 0x00020000 // LoadFile
422 # DEBUG_EVENT 0x00080000 // Event messages
423 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
424 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
425 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
426 # // significantly impact boot performance
427 # DEBUG_ERROR 0x80000000 // Error
428 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
429
430 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
431
432 # This PCD is used to set the base address of the PCI express hierarchy. It
433 # is only consulted when OVMF runs on Q35. In that case it is programmed into
434 # the PCIEXBAR register.
435 #
436 # On Q35 machine types that QEMU intends to support in the long term, QEMU
437 # never lets the RAM below 4 GB exceed 2816 MB.
438 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
439
440 #
441 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
442 # best (please refer to git-blame for past updates). The values capture a set
443 # of BIN hints that made sense at a particular time, for some (now likely
444 # unknown) workloads / boot paths.
445 #
446 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
447 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
448 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
449 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
450 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
451
452 #
453 # TDX need 1G PageTable support
454 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
455
456 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
457
458 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
459 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
460
461 #
462 # PcdFirstTimeWakeUpAPsBySipi determines whether to employ
463 # SIPI instead of the INIT-SIPI-SIPI sequence during APs
464 # initialization. Deactivate this parameter to preserve
465 # the original execution of INIT-SIPI-SIPI.
466 #
467 gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE
468
469################################################################################
470#
471# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
472#
473################################################################################
474
475[PcdsDynamicDefault]
476 # only set when
477 # ($(SMM_REQUIRE) == FALSE)
478 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
479
480 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
482 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
483 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
484 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
485
486 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
487 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
488 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
489 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
490 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
491 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
492 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
493 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
494 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
495 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
496
497 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
498
499 # Set video resolution for text setup.
500 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
501 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
502
503 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
504 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
505 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
506
507 # Noexec settings for DXE.
508 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
509
510 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
511 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
512 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
513
514 # Set memory encryption mask
515 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
516
517 # Set Tdx shared bit mask
518 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
519
520 # Set SEV-ES defaults
521 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
522 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
523 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
524
525 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
526
527 # Set ConfidentialComputing defaults
528 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
529
530 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
531
532################################################################################
533#
534# Components Section - list of all EDK II Modules needed by this Platform.
535#
536################################################################################
537[Components]
538 OvmfPkg/ResetVector/ResetVector.inf
539
540 #
541 # SEC Phase modules
542 #
543 OvmfPkg/IntelTdx/Sec/SecMain.inf {
544 <LibraryClasses>
545 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
546 NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
547 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
548 }
549
550 #
551 # DXE Phase modules
552 #
553 MdeModulePkg/Core/Dxe/DxeMain.inf {
554 <LibraryClasses>
555 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
556 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
557 }
558
559 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
560 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
561 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
562 <LibraryClasses>
563 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
564 }
565
566 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
567
568 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
569 <LibraryClasses>
570!if $(SECURE_BOOT_ENABLE) == TRUE
571 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
572!endif
573 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
574 }
575
576 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
577 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
578
579 UefiCpuPkg/CpuDxe/CpuDxe.inf {
580 <LibraryClasses>
581 #
582 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which
583 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.
584 #
585 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
586 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf
587 }
588
589 UefiCpuPkg/CpuDxe/CpuDxe.inf {
590 <Defines>
591 FILE_GUID = $(UP_CPU_DXE_GUID)
592
593 <LibraryClasses>
594 #
595 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which
596 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.
597 #
598 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
599 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf
600 }
601
602 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
603 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
604 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
605 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
606 <LibraryClasses>
607 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
608 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
609 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
610 }
611 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
612 <LibraryClasses>
613 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
614 }
615 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
616 MdeModulePkg/Universal/Metronome/Metronome.inf
617 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
618 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
619 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
620 <LibraryClasses>
621 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
622 }
623 MdeModulePkg/Logo/LogoDxe.inf
624 MdeModulePkg/Application/UiApp/UiApp.inf {
625 <LibraryClasses>
626 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
627 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
628 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
629 }
630 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
631 <LibraryClasses>
632 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
633 }
634 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
635 OvmfPkg/Virtio10Dxe/Virtio10.inf
636 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
637 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
638 OvmfPkg/VirtioRngDxe/VirtioRng.inf
639!if $(PVSCSI_ENABLE) == TRUE
640 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
641!endif
642!if $(MPT_SCSI_ENABLE) == TRUE
643 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
644!endif
645!if $(LSI_SCSI_ENABLE) == TRUE
646 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
647!endif
648 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
649 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
650 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
651 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
652 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
653 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
654 <LibraryClasses>
655 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
656 }
657 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
658 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
659 <LibraryClasses>
660 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
661 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
662 }
663
664 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
665 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
666 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
667 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
668 FatPkg/EnhancedFatDxe/Fat.inf
669 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
670 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
671 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
672 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
673 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
674 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
675 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
676 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
677 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
678 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
679 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
680
681 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
682 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
683 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
684
685 #
686 # ISA Support
687 #
688 OvmfPkg/SioBusDxe/SioBusDxe.inf
689 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
690 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
691
692 #
693 # SMBIOS Support
694 #
695 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
696 <LibraryClasses>
697 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
698 }
699 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
700
701 #
702 # ACPI Support
703 #
704 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
705 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
706 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
707 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
708 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
709
710 #
711 # Usb Support
712 #
713 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
714 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
715 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
716 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
717 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
718 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
719
720!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
721
722!if $(SECURE_BOOT_ENABLE) == TRUE
723 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
724 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
725!endif
726
727 OvmfPkg/PlatformDxe/Platform.inf
728 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
729
730 OvmfPkg/TdxDxe/TdxDxe.inf
731
732 #
733 # Variable driver stack (non-SMM)
734 #
735 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
736 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
737 <LibraryClasses>
738 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
739 }
740 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
741 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
742 <LibraryClasses>
743 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
744 }
745
746 #
747 # Cc Measurement Protocol for Td guest
748 #
749 OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
750 <LibraryClasses>
751 HashLib|OvmfPkg/Library/HashLibTdx/HashLibTdx.inf
752 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
753 }
Note: See TracBrowser for help on using the repository browser.

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