]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/IntelTdx/IntelTdxX64.dsc
OvmfPkg/VirtNorFlashDxe: avoid switching between modes in a tight loop
[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 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.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 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.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 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
318 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
319
320 [LibraryClasses.common.UEFI_APPLICATION]
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
322 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
323 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
324 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
325 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
327 !ifdef $(DEBUG_ON_SERIAL_PORT)
328 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
329 !else
330 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
331 !endif
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333
334 [LibraryClasses.common.DXE_SMM_DRIVER]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
337 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
338 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
341 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
342 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
343 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
344 !ifdef $(DEBUG_ON_SERIAL_PORT)
345 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
346 !else
347 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
348 !endif
349 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
350 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
351 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
352
353 [LibraryClasses.common.SMM_CORE]
354 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
355 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
356 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
357 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
358 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
359 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
360 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
361 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
362 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
363 !ifdef $(DEBUG_ON_SERIAL_PORT)
364 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
365 !else
366 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
367 !endif
368 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
369
370 ################################################################################
371 #
372 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
373 #
374 ################################################################################
375 [PcdsFeatureFlag]
376 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
377 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
378 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
380 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
381 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
382 !ifdef $(CSM_ENABLE)
383 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|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|0xB0000000
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 TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
544 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
545 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
546 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
547 }
548
549 #
550 # DXE Phase modules
551 #
552 MdeModulePkg/Core/Dxe/DxeMain.inf {
553 <LibraryClasses>
554 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
555 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
556 }
557
558 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
559 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
560 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
561 <LibraryClasses>
562 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
563 }
564
565 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
566
567 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
568 <LibraryClasses>
569 !if $(SECURE_BOOT_ENABLE) == TRUE
570 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
571 !endif
572 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
573 }
574
575 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
576 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
577
578 UefiCpuPkg/CpuDxe/CpuDxe.inf {
579 <LibraryClasses>
580 #
581 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which
582 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.
583 #
584 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
585 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf
586 }
587
588 UefiCpuPkg/CpuDxe/CpuDxe.inf {
589 <Defines>
590 FILE_GUID = $(UP_CPU_DXE_GUID)
591
592 <LibraryClasses>
593 #
594 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which
595 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.
596 #
597 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
598 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf
599 }
600
601 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
602 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
603 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
604 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
605 <LibraryClasses>
606 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
607 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
608 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
609 }
610 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
611 <LibraryClasses>
612 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
613 }
614 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
615 MdeModulePkg/Universal/Metronome/Metronome.inf
616 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
617 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
618 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
619 <LibraryClasses>
620 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
621 }
622 MdeModulePkg/Logo/LogoDxe.inf
623 MdeModulePkg/Application/UiApp/UiApp.inf {
624 <LibraryClasses>
625 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
626 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
627 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
628 }
629 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
630 <LibraryClasses>
631 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
632 }
633 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
634 OvmfPkg/Virtio10Dxe/Virtio10.inf
635 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
636 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
637 OvmfPkg/VirtioRngDxe/VirtioRng.inf
638 !if $(PVSCSI_ENABLE) == TRUE
639 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
640 !endif
641 !if $(MPT_SCSI_ENABLE) == TRUE
642 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
643 !endif
644 !if $(LSI_SCSI_ENABLE) == TRUE
645 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
646 !endif
647 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
648 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
649 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
650 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
651 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
652 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
653 <LibraryClasses>
654 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
655 }
656 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
657 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
658 <LibraryClasses>
659 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
660 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
661 }
662
663 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
664 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
665 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
666 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
667 FatPkg/EnhancedFatDxe/Fat.inf
668 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
669 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
670 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
671 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
672 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
673 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
674 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
675 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
676 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
677 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
678 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
679 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
680
681 !ifndef $(CSM_ENABLE)
682 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
683 !endif
684 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
685 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
686
687 #
688 # ISA Support
689 #
690 OvmfPkg/SioBusDxe/SioBusDxe.inf
691 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
692 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
693
694 #
695 # SMBIOS Support
696 #
697 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
698 <LibraryClasses>
699 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
700 }
701 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
702
703 #
704 # ACPI Support
705 #
706 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
707 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
708 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
709 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
710 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
711
712 #
713 # Usb Support
714 #
715 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
716 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
717 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
718 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
719 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
720 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
721
722 !if $(TOOL_CHAIN_TAG) != "XCODE5"
723 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
724 <PcdsFixedAtBuild>
725 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
726 }
727 !endif
728 ShellPkg/Application/Shell/Shell.inf {
729 <LibraryClasses>
730 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
731 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
732 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
733 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
734 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
735 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
736 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
737 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
738 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
739 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
740
741 <PcdsFixedAtBuild>
742 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
743 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
744 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
745 }
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 OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.inf {
775 <LibraryClasses>
776 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
777 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
778 }