VirtualBox

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

Last change on this file since 105668 was 101291, checked in by vboxsync, 17 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • Property svn:eol-style set to native
File size: 34.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
175 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
176 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
177 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
178
179 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
180 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
181
182 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
183 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
184
185 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
186 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
187 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
188
189!if $(SECURE_BOOT_ENABLE) == TRUE
190 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
191 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
192 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
193 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
194 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
195!else
196 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
197!endif
198 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
199 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
200 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
201 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
202
203!if $(BUILD_SHELL) == TRUE
204 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
205!endif
206 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
207 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
208 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
209 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
210
211 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
212 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
213
214[LibraryClasses.common]
215 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
216 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
217 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
218 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf
219 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
220
221[LibraryClasses.common.SEC]
222 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
223 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
224!ifdef $(DEBUG_ON_SERIAL_PORT)
225 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
226!else
227 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
228!endif
229 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
230 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
231 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
232 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
234 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
235 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
236 PrePiHobListPointerLib|OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointerLibTdx.inf
237 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
238 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
239 PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
240 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
241
242[LibraryClasses.common.DXE_CORE]
243 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
244 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
245 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
246 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
247!ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
249!else
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
251!endif
252 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
254 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
255
256[LibraryClasses.common.DXE_RUNTIME_DRIVER]
257 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
258 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
259 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
260 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
261 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
262 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
263 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
264!ifdef $(DEBUG_ON_SERIAL_PORT)
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
266!else
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
268!endif
269 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
270 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
271 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
272 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
273 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
274
275[LibraryClasses.common.UEFI_DRIVER]
276 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
277 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
278 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
279 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
280 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
281 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
282 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
283!ifdef $(DEBUG_ON_SERIAL_PORT)
284 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
285!else
286 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
287!endif
288 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
289 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
290
291[LibraryClasses.common.DXE_DRIVER]
292 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
293 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
294 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
295 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
296 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
297 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
298 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
299 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
300!ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
302!else
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
304!endif
305 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
306 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
307 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
308 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
309 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
310 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
311 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
312 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
313 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
314 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
315
316[LibraryClasses.common.UEFI_APPLICATION]
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
318 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
319 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
320 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
321 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
322 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
323!ifdef $(DEBUG_ON_SERIAL_PORT)
324 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
325!else
326 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
327!endif
328 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
329
330[LibraryClasses.common.DXE_SMM_DRIVER]
331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
332 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
333 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
334 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
338 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
339 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
340!ifdef $(DEBUG_ON_SERIAL_PORT)
341 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
342!else
343 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
344!endif
345 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
346 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
347 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
348
349[LibraryClasses.common.SMM_CORE]
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
352 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
353 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
354 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
355 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
356 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
357 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
358 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
359!ifdef $(DEBUG_ON_SERIAL_PORT)
360 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
361!else
362 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
363!endif
364 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
365
366################################################################################
367#
368# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
369#
370################################################################################
371[PcdsFeatureFlag]
372 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
373 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
374 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
375 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
376 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
377 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
378!ifdef $(CSM_ENABLE)
379 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
380!endif
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 # IRQs 5, 9, 10, 11 are level-triggered
461 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
462
463 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
464 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
465
466################################################################################
467#
468# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
469#
470################################################################################
471
472[PcdsDynamicDefault]
473 # only set when
474 # ($(SMM_REQUIRE) == FALSE)
475 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
476
477 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
478 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
479 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
480 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
482
483 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
484 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
485 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
486 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
487 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
488 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
489 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
490 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
491 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
492 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
493
494 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
495
496 # Set video resolution for text setup.
497 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
498 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
499
500 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
501 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
502 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
503
504 # Noexec settings for DXE.
505 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
506
507 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
508 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
509 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
510
511 # Set memory encryption mask
512 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
513
514 # Set Tdx shared bit mask
515 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
516
517 # Set SEV-ES defaults
518 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
519 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
520 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
521
522 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
523
524 # Set ConfidentialComputing defaults
525 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
526
527 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
528
529################################################################################
530#
531# Components Section - list of all EDK II Modules needed by this Platform.
532#
533################################################################################
534[Components]
535 OvmfPkg/ResetVector/ResetVector.inf
536
537 #
538 # SEC Phase modules
539 #
540 OvmfPkg/IntelTdx/Sec/SecMain.inf {
541 <LibraryClasses>
542 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
543 NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
544 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
545 }
546
547 #
548 # DXE Phase modules
549 #
550 MdeModulePkg/Core/Dxe/DxeMain.inf {
551 <LibraryClasses>
552 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
553 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
554 }
555
556 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
557 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
558 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
559 <LibraryClasses>
560 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
561 }
562
563 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
564
565 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
566 <LibraryClasses>
567!if $(SECURE_BOOT_ENABLE) == TRUE
568 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
569!endif
570 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
571 }
572
573 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
574 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
575
576 UefiCpuPkg/CpuDxe/CpuDxe.inf {
577 <LibraryClasses>
578 #
579 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which
580 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.
581 #
582 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
583 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf
584 }
585
586 UefiCpuPkg/CpuDxe/CpuDxe.inf {
587 <Defines>
588 FILE_GUID = $(UP_CPU_DXE_GUID)
589
590 <LibraryClasses>
591 #
592 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which
593 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.
594 #
595 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
596 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf
597 }
598
599 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
600 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
601 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
602 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
603 <LibraryClasses>
604 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
605 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
606 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
607 }
608 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
609 <LibraryClasses>
610 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
611 }
612 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
613 MdeModulePkg/Universal/Metronome/Metronome.inf
614 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
615 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
616 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
617 <LibraryClasses>
618 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
619 }
620 MdeModulePkg/Logo/LogoDxe.inf
621 MdeModulePkg/Application/UiApp/UiApp.inf {
622 <LibraryClasses>
623 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
624 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
625 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
626 }
627 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
628 <LibraryClasses>
629 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
630 }
631 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
632 OvmfPkg/Virtio10Dxe/Virtio10.inf
633 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
634 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
635 OvmfPkg/VirtioRngDxe/VirtioRng.inf
636!if $(PVSCSI_ENABLE) == TRUE
637 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
638!endif
639!if $(MPT_SCSI_ENABLE) == TRUE
640 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
641!endif
642!if $(LSI_SCSI_ENABLE) == TRUE
643 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
644!endif
645 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
646 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
647 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
648 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
649 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
650 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
651 <LibraryClasses>
652 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
653 }
654 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
655 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
656 <LibraryClasses>
657 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
658 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
659 }
660
661 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
662 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
663 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
664 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
665 FatPkg/EnhancedFatDxe/Fat.inf
666 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
667 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
668 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
669 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
670 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
671 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
672 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
673 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
674 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
675 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
676 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
677 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
678
679!ifndef $(CSM_ENABLE)
680 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
681!endif
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!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
721 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
722 <PcdsFixedAtBuild>
723 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
724 }
725!endif
726!if $(BUILD_SHELL) == TRUE
727 ShellPkg/Application/Shell/Shell.inf {
728 <LibraryClasses>
729 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
730 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
731 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
732 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
733 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
736 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
737 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
738 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
739
740 <PcdsFixedAtBuild>
741 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
742 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
743 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
744 }
745!endif
746
747!if $(SECURE_BOOT_ENABLE) == TRUE
748 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
749 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
750!endif
751
752 OvmfPkg/PlatformDxe/Platform.inf
753 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
754
755 OvmfPkg/TdxDxe/TdxDxe.inf
756
757 #
758 # Variable driver stack (non-SMM)
759 #
760 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
761 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
762 <LibraryClasses>
763 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
764 }
765 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
766 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
767 <LibraryClasses>
768 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
769 }
770
771 #
772 # Cc Measurement Protocol for Td guest
773 #
774 SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
775 <LibraryClasses>
776 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
777 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
778 }
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