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