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