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