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