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