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