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