]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/IntelTdx/IntelTdxX64.dsc
OvmfPkg/IntelTdx: Measure TdHob and Configuration FV in SecMain
[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
ae80fe99 4# Copyright (c) 2006 - 2021, 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
323 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
a086f4a6 324 NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf\r
44a53a3b
MX
325 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
326 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r
327\r
328[LibraryClasses.common.UEFI_APPLICATION]\r
329 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
330 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
331 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
333 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
334 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
335!ifdef $(DEBUG_ON_SERIAL_PORT)\r
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
337!else\r
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
339!endif\r
340 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
341\r
342[LibraryClasses.common.DXE_SMM_DRIVER]\r
343 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
344 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
345 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
346 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
347 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
348 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
349 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
350 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
351 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
352!ifdef $(DEBUG_ON_SERIAL_PORT)\r
353 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
354!else\r
355 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
356!endif\r
357 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
358 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
359 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
360\r
361[LibraryClasses.common.SMM_CORE]\r
362 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
363 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
364 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
365 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
366 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
367 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
369 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
370 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
371!ifdef $(DEBUG_ON_SERIAL_PORT)\r
372 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
373!else\r
374 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
375!endif\r
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
377\r
378################################################################################\r
379#\r
380# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
381#\r
382################################################################################\r
383[PcdsFeatureFlag]\r
384 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
385 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
386 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
387 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
388 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
389 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
390!ifdef $(CSM_ENABLE)\r
391 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
392!endif\r
393\r
394[PcdsFixedAtBuild]\r
395 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
396 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
397 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
398 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
399!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
400 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
401 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
402 # match PcdFlashNvStorageVariableSize purely for convenience\r
403 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
404!endif\r
405!if $(FD_SIZE_IN_KB) == 4096\r
406 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
407 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
408 # match PcdFlashNvStorageVariableSize purely for convenience\r
409 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
410!endif\r
411\r
412 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
413 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
414 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
415\r
416 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
417\r
418 # DEBUG_INIT 0x00000001 // Initialization\r
419 # DEBUG_WARN 0x00000002 // Warnings\r
420 # DEBUG_LOAD 0x00000004 // Load events\r
421 # DEBUG_FS 0x00000008 // EFI File system\r
422 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
423 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
424 # DEBUG_INFO 0x00000040 // Informational debug messages\r
425 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
426 # DEBUG_VARIABLE 0x00000100 // Variable\r
427 # DEBUG_BM 0x00000400 // Boot Manager\r
428 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
429 # DEBUG_NET 0x00004000 // SNP Driver\r
430 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
431 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
432 # DEBUG_EVENT 0x00080000 // Event messages\r
433 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
434 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
435 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
436 # // significantly impact boot performance\r
437 # DEBUG_ERROR 0x80000000 // Error\r
438 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
439\r
440 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
441\r
442 # This PCD is used to set the base address of the PCI express hierarchy. It\r
443 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
444 # the PCIEXBAR register.\r
445 #\r
446 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
447 # never lets the RAM below 4 GB exceed 2816 MB.\r
448 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
449\r
450 #\r
451 # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r
452 # best (please refer to git-blame for past updates). The values capture a set\r
453 # of BIN hints that made sense at a particular time, for some (now likely\r
454 # unknown) workloads / boot paths.\r
455 #\r
456 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r
457 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10\r
458 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r
459 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r
460 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r
461\r
462 #\r
463 # TDX need 1G PageTable support\r
464 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
465\r
466 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r
467\r
468 # IRQs 5, 9, 10, 11 are level-triggered\r
469 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
470\r
471 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
472 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
473\r
474################################################################################\r
475#\r
476# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
477#\r
478################################################################################\r
479\r
480[PcdsDynamicDefault]\r
481 # only set when\r
482 # ($(SMM_REQUIRE) == FALSE)\r
483 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
484\r
485 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
486 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
487 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
488 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
489 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
490\r
491 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
492 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
493 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
494 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
495 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
496 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
497 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
498 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
499 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
500 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
501\r
502 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
503\r
504 # Set video resolution for text setup.\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
506 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
507\r
508 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
509 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
510 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
511\r
512 # Noexec settings for DXE.\r
513 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE\r
514\r
515 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
516 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
517 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r
518\r
519 # Set memory encryption mask\r
520 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
521\r
522 # Set Tdx shared bit mask\r
523 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0\r
524\r
525 # Set SEV-ES defaults\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r
527 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0\r
528 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r
529\r
530 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
531\r
532 # Set ConfidentialComputing defaults\r
533 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0\r
534\r
07c0c2eb 535 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000\r
44a53a3b
MX
536\r
537################################################################################\r
538#\r
539# Components Section - list of all EDK II Modules needed by this Platform.\r
540#\r
541################################################################################\r
542[Components]\r
543 OvmfPkg/ResetVector/ResetVector.inf\r
544\r
545 #\r
546 # SEC Phase modules\r
547 #\r
548 OvmfPkg/IntelTdx/Sec/SecMain.inf {\r
549 <LibraryClasses>\r
550 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
f41acc65 551 NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf\r
4b0a6226 552 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf\r
44a53a3b
MX
553 }\r
554\r
555 #\r
556 # DXE Phase modules\r
557 #\r
558 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
559 <LibraryClasses>\r
560 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
561 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
562 }\r
563\r
564 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
565 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
566 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
567 <LibraryClasses>\r
568 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
569 }\r
570\r
571 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
572\r
573 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
574 <LibraryClasses>\r
575!if $(SECURE_BOOT_ENABLE) == TRUE\r
576 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
577!endif\r
0a4019ec 578 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
44a53a3b
MX
579 }\r
580\r
581 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
582 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
deee7a10
MX
583\r
584 UefiCpuPkg/CpuDxe/CpuDxe.inf {\r
585 <LibraryClasses>\r
586 #\r
587 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which\r
588 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.\r
589 #\r
590 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
591 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf\r
592 }\r
593\r
594 UefiCpuPkg/CpuDxe/CpuDxe.inf {\r
595 <Defines>\r
596 FILE_GUID = $(UP_CPU_DXE_GUID)\r
597\r
598 <LibraryClasses>\r
599 #\r
600 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which\r
601 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.\r
602 #\r
603 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
604 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf\r
605 }\r
606\r
44a53a3b
MX
607 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf\r
608 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
609 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
610 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
611 <LibraryClasses>\r
612 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
613 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
614 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
615 }\r
616 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
617 <LibraryClasses>\r
618 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
619 }\r
620 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
621 MdeModulePkg/Universal/Metronome/Metronome.inf\r
622 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
623 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
624 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
625 <LibraryClasses>\r
626 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
627 }\r
628 MdeModulePkg/Logo/LogoDxe.inf\r
629 MdeModulePkg/Application/UiApp/UiApp.inf {\r
630 <LibraryClasses>\r
631 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
632 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
633 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
634 }\r
635 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {\r
636 <LibraryClasses>\r
637 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf\r
638 }\r
639 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
640 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
641 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
642 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
643 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
644!if $(PVSCSI_ENABLE) == TRUE\r
645 OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r
646!endif\r
647!if $(MPT_SCSI_ENABLE) == TRUE\r
648 OvmfPkg/MptScsiDxe/MptScsiDxe.inf\r
649!endif\r
650!if $(LSI_SCSI_ENABLE) == TRUE\r
651 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf\r
652!endif\r
653 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
654 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
655 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
656 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
657 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
658 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
659 <LibraryClasses>\r
660 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
661 }\r
662 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
663 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
664 <LibraryClasses>\r
665 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
666 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
667 }\r
668\r
669 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
670 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
671 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
672 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
673 FatPkg/EnhancedFatDxe/Fat.inf\r
674 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
675 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r
676 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
677 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
678 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
679 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
680 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
681 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
682 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
683 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
684 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
685 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
686\r
687!ifndef $(CSM_ENABLE)\r
688 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
689!endif\r
690 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
691 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
692\r
693 #\r
694 # ISA Support\r
695 #\r
696 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
697 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
698 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
699\r
700 #\r
701 # SMBIOS Support\r
702 #\r
703 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
704 <LibraryClasses>\r
705 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
706 }\r
707 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
708\r
709 #\r
710 # ACPI Support\r
711 #\r
712 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
713 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
714 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
715 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
716 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
717\r
718 #\r
719 # Usb Support\r
720 #\r
721 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
722 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
723 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
724 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
725 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
726 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
727\r
c3f4f5a9 728!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE\r
44a53a3b
MX
729 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
730 <PcdsFixedAtBuild>\r
731 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
732 }\r
733!endif\r
c3f4f5a9 734!if $(BUILD_SHELL) == TRUE\r
44a53a3b
MX
735 ShellPkg/Application/Shell/Shell.inf {\r
736 <LibraryClasses>\r
737 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
738 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
739 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
740 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
741 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
742 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
743 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
744 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
745 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
746 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
747\r
748 <PcdsFixedAtBuild>\r
749 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
750 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
751 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
752 }\r
c3f4f5a9 753!endif\r
44a53a3b
MX
754\r
755!if $(SECURE_BOOT_ENABLE) == TRUE\r
756 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
757 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
758!endif\r
759\r
760 OvmfPkg/PlatformDxe/Platform.inf\r
761 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
762\r
763 OvmfPkg/TdxDxe/TdxDxe.inf\r
764\r
765 #\r
766 # Variable driver stack (non-SMM)\r
767 #\r
768 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
769 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
770 <LibraryClasses>\r
771 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
772 }\r
773 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
774 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
775 <LibraryClasses>\r
776 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
777 }\r
0a4019ec
MX
778\r
779 #\r
780 # Cc Measurement Protocol for Td guest\r
781 #\r
5654ce1d 782 SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {\r
0a4019ec
MX
783 <LibraryClasses>\r
784 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
785 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
786 }\r