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