]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/IntelTdx/IntelTdxX64.dsc
Revert "OvmfPkg: Add CpuPageTableLib required by MpInitLib."
[mirror_edk2.git] / OvmfPkg / IntelTdx / IntelTdxX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2021, 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 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
317 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
318 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
319 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
320
321 [LibraryClasses.common.UEFI_APPLICATION]
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
324 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
325 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
326 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
327 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
328 !ifdef $(DEBUG_ON_SERIAL_PORT)
329 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
330 !else
331 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
332 !endif
333 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
334
335 [LibraryClasses.common.DXE_SMM_DRIVER]
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
338 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
339 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
340 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
341 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
342 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
343 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
344 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
345 !ifdef $(DEBUG_ON_SERIAL_PORT)
346 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
347 !else
348 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
349 !endif
350 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
351 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
352 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
353
354 [LibraryClasses.common.SMM_CORE]
355 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
356 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
357 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
358 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
359 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
360 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
361 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
362 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
363 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
364 !ifdef $(DEBUG_ON_SERIAL_PORT)
365 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
366 !else
367 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
368 !endif
369 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
370
371 ################################################################################
372 #
373 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
374 #
375 ################################################################################
376 [PcdsFeatureFlag]
377 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
378 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
380 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
381 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
382 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
383 !ifdef $(CSM_ENABLE)
384 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
385 !endif
386
387 [PcdsFixedAtBuild]
388 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
389 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
390 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
391 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
392 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
393 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
394 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
395 # match PcdFlashNvStorageVariableSize purely for convenience
396 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
397 !endif
398 !if $(FD_SIZE_IN_KB) == 4096
399 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
400 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
401 # match PcdFlashNvStorageVariableSize purely for convenience
402 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
403 !endif
404
405 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
406 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
407 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
408
409 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
410
411 # DEBUG_INIT 0x00000001 // Initialization
412 # DEBUG_WARN 0x00000002 // Warnings
413 # DEBUG_LOAD 0x00000004 // Load events
414 # DEBUG_FS 0x00000008 // EFI File system
415 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
416 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
417 # DEBUG_INFO 0x00000040 // Informational debug messages
418 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
419 # DEBUG_VARIABLE 0x00000100 // Variable
420 # DEBUG_BM 0x00000400 // Boot Manager
421 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
422 # DEBUG_NET 0x00004000 // SNP Driver
423 # DEBUG_UNDI 0x00010000 // UNDI Driver
424 # DEBUG_LOADFILE 0x00020000 // LoadFile
425 # DEBUG_EVENT 0x00080000 // Event messages
426 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
427 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
428 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
429 # // significantly impact boot performance
430 # DEBUG_ERROR 0x80000000 // Error
431 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
432
433 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
434
435 # This PCD is used to set the base address of the PCI express hierarchy. It
436 # is only consulted when OVMF runs on Q35. In that case it is programmed into
437 # the PCIEXBAR register.
438 #
439 # On Q35 machine types that QEMU intends to support in the long term, QEMU
440 # never lets the RAM below 4 GB exceed 2816 MB.
441 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
442
443 #
444 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
445 # best (please refer to git-blame for past updates). The values capture a set
446 # of BIN hints that made sense at a particular time, for some (now likely
447 # unknown) workloads / boot paths.
448 #
449 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
450 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
451 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
452 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
453 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
454
455 #
456 # TDX need 1G PageTable support
457 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
458
459 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
460
461 # IRQs 5, 9, 10, 11 are level-triggered
462 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
463
464 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
465 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
466
467 ################################################################################
468 #
469 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
470 #
471 ################################################################################
472
473 [PcdsDynamicDefault]
474 # only set when
475 # ($(SMM_REQUIRE) == FALSE)
476 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
477
478 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
479 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
480 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
481 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
482 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
483
484 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
485 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
486 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
487 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
488 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
489 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
490 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
491 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
492 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
493 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
494
495 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
496
497 # Set video resolution for text setup.
498 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
499 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
500
501 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
502 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
503 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
504
505 # Noexec settings for DXE.
506 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
507
508 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
509 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
510 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
511
512 # Set memory encryption mask
513 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
514
515 # Set Tdx shared bit mask
516 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
517
518 # Set SEV-ES defaults
519 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
520 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
521 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
522
523 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
524
525 # Set ConfidentialComputing defaults
526 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
527
528 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
529
530 ################################################################################
531 #
532 # Components Section - list of all EDK II Modules needed by this Platform.
533 #
534 ################################################################################
535 [Components]
536 OvmfPkg/ResetVector/ResetVector.inf
537
538 #
539 # SEC Phase modules
540 #
541 OvmfPkg/IntelTdx/Sec/SecMain.inf {
542 <LibraryClasses>
543 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
544 TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
545 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
546 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
547 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.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 OvmfPkg/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 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
681
682 !ifndef $(CSM_ENABLE)
683 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
684 !endif
685 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
686 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
687
688 #
689 # ISA Support
690 #
691 OvmfPkg/SioBusDxe/SioBusDxe.inf
692 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
693 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
694
695 #
696 # SMBIOS Support
697 #
698 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
699 <LibraryClasses>
700 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
701 }
702 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
703
704 #
705 # ACPI Support
706 #
707 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
708 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
709 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
710 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
711 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
712
713 #
714 # Usb Support
715 #
716 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
717 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
718 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
719 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
720 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
721 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
722
723 !if $(TOOL_CHAIN_TAG) != "XCODE5"
724 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
725 <PcdsFixedAtBuild>
726 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
727 }
728 !endif
729 ShellPkg/Application/Shell/Shell.inf {
730 <LibraryClasses>
731 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
732 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
733 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
736 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
737 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
738 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
739 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
740 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
741
742 <PcdsFixedAtBuild>
743 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
744 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
745 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
746 }
747
748 !if $(SECURE_BOOT_ENABLE) == TRUE
749 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
750 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
751 !endif
752
753 OvmfPkg/PlatformDxe/Platform.inf
754 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
755
756 OvmfPkg/TdxDxe/TdxDxe.inf
757
758 #
759 # Variable driver stack (non-SMM)
760 #
761 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
762 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
763 <LibraryClasses>
764 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
765 }
766 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
767 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
768 <LibraryClasses>
769 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
770 }
771
772 #
773 # Cc Measurement Protocol for Td guest
774 #
775 SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
776 <LibraryClasses>
777 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
778 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
779 }