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