]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfXen.dsc
OvmfPkg: disable list length checks in NOOPT and DEBUG builds
[mirror_edk2.git] / OvmfPkg / OvmfXen.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) 2019, Citrix Systems, Inc.
7 # Copyright (c) Microsoft Corporation.
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 ################################################################################
14 #
15 # Defines Section - statements that will be processed to create a Makefile.
16 #
17 ################################################################################
18 [Defines]
19 PLATFORM_NAME = Ovmf
20 PLATFORM_GUID = e3aa4fbe-9459-482d-bd40-d3f3b5f89d6e
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/OvmfXen
24 SUPPORTED_ARCHITECTURES = X64
25 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = OvmfPkg/OvmfXen.fdf
28
29 #
30 # Defines for default states. These can be changed on the command line.
31 # -D FLAG=VALUE
32 #
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE
34
35 #
36 # Network definition
37 #
38 DEFINE NETWORK_TLS_ENABLE = FALSE
39 DEFINE NETWORK_IP6_ENABLE = FALSE
40 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
42 DEFINE NETWORK_ISCSI_ENABLE = TRUE
43
44 !include NetworkPkg/NetworkDefines.dsc.inc
45
46 #
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
48 # one of the supported values, in place of any of the convenience macros, is
49 # permitted.
50 #
51 !ifdef $(FD_SIZE_1MB)
52 DEFINE FD_SIZE_IN_KB = 1024
53 !else
54 !ifdef $(FD_SIZE_2MB)
55 DEFINE FD_SIZE_IN_KB = 2048
56 !else
57 !ifdef $(FD_SIZE_4MB)
58 DEFINE FD_SIZE_IN_KB = 4096
59 !else
60 DEFINE FD_SIZE_IN_KB = 2048
61 !endif
62 !endif
63 !endif
64
65 [BuildOptions]
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
69 !if $(TOOL_CHAIN_TAG) != "XCODE5"
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
71 !endif
72 !if $(SOURCE_DEBUG_ENABLE) == TRUE
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
76 !endif
77
78 #
79 # Disable deprecated APIs.
80 #
81 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
82 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
83 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
84
85 !include NetworkPkg/NetworkBuildOptions.dsc.inc
86
87 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
88 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
89 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
90 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
91 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
92
93 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
94 # protection of DXE_SMM_DRIVER/SMM_CORE modules
95 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
96 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
97 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
98 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
99 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
100
101 ################################################################################
102 #
103 # SKU Identification section - list of all SKU IDs supported by this Platform.
104 #
105 ################################################################################
106 [SkuIds]
107 0|DEFAULT
108
109 ################################################################################
110 #
111 # Library Class section - list of all Library Classes needed by this Platform.
112 #
113 ################################################################################
114 [LibraryClasses]
115 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
116 TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
117 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
118 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
119 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
120 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
121 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
122 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
123 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
124 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
125 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
126 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
127 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
128 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
129 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
130 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
131 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
132 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
133 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
134 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
135 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
136 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
137 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
138 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
139 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
140 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
141 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
142 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
143 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
144 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
145 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
146 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
147 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
148 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
149 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
150 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
151 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
152 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
153 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
154 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
155 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
156 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
157 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
158 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
159 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
160 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
161 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
162 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
163 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
164 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
165 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
166 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
167 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
168
169 !if $(SOURCE_DEBUG_ENABLE) == TRUE
170 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
171 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
172 !else
173 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
174 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
175 !endif
176
177 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
178 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
179
180 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
181 !if $(NETWORK_TLS_ENABLE) == TRUE
182 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
183 !else
184 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
185 !endif
186 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
187
188 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
189 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
190 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
191 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
192
193
194 #
195 # Network libraries
196 #
197 !include NetworkPkg/NetworkLibs.dsc.inc
198
199 !if $(NETWORK_TLS_ENABLE) == TRUE
200 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
201 !endif
202
203 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
204 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
205 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
206 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
207 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
208 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
209 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
210 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
211
212 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
213 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
214 RealTimeClockLib|OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.inf
215 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
216 !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
217 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPortNocheck.inf
218 !else
219 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
220 !endif
221
222 [LibraryClasses.common]
223 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
224 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
225
226 [LibraryClasses.common.SEC]
227 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
228 !ifndef $(DEBUG_ON_HYPERVISOR_CONSOLE)
229 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
230 !endif
231 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
232 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
233 !if $(SOURCE_DEBUG_ENABLE) == TRUE
234 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
235 !endif
236 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
237 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
238 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
239 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
240 !if $(TOOL_CHAIN_TAG) == "XCODE5"
241 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
242 !else
243 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
244 !endif
245
246 [LibraryClasses.common.PEI_CORE]
247 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
248 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
249 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
250 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
251 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
252 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
253 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
254 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
255 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
256
257 [LibraryClasses.common.PEIM]
258 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
259 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
260 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
261 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
262 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
263 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
264 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
265 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
266 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
267 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
268 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
269 !if $(SOURCE_DEBUG_ENABLE) == TRUE
270 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
271 !endif
272 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
273 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
274 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
275 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
276 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
277 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
278
279 [LibraryClasses.common.DXE_CORE]
280 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
281 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
282 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
283 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
284 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
285 !if $(SOURCE_DEBUG_ENABLE) == TRUE
286 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
287 !endif
288 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
289 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
290
291 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
293 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
294 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
295 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
296 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
297 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
298 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
299 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
300 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
301 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
302 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
303
304 [LibraryClasses.common.UEFI_DRIVER]
305 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
306 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
309 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
311 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
312 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
313
314 [LibraryClasses.common.DXE_DRIVER]
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
316 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
317 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
318 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
319 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
320 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
321 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
322 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
323 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
324 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
325 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
326 !if $(SOURCE_DEBUG_ENABLE) == TRUE
327 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
328 !endif
329 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
330 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
331 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
332
333 [LibraryClasses.common.UEFI_APPLICATION]
334 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
335 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
339 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
340
341 ################################################################################
342 #
343 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
344 #
345 ################################################################################
346 [PcdsFeatureFlag]
347 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
348 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
349 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
350 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
351 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
352 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
353 !ifdef $(CSM_ENABLE)
354 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
355 !endif
356
357 [PcdsFixedAtBuild]
358 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
359 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
360 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
361 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
362 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
363 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
364 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
365 !if $(NETWORK_TLS_ENABLE) == FALSE
366 # match PcdFlashNvStorageVariableSize purely for convenience
367 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
368 !endif
369 !endif
370 !if $(FD_SIZE_IN_KB) == 4096
371 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
372 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
373 !if $(NETWORK_TLS_ENABLE) == FALSE
374 # match PcdFlashNvStorageVariableSize purely for convenience
375 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
376 !endif
377 !endif
378 !if $(NETWORK_TLS_ENABLE) == TRUE
379 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
380 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
381 !endif
382
383 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
384 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
385 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
386
387 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
388
389 # DEBUG_INIT 0x00000001 // Initialization
390 # DEBUG_WARN 0x00000002 // Warnings
391 # DEBUG_LOAD 0x00000004 // Load events
392 # DEBUG_FS 0x00000008 // EFI File system
393 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
394 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
395 # DEBUG_INFO 0x00000040 // Informational debug messages
396 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
397 # DEBUG_VARIABLE 0x00000100 // Variable
398 # DEBUG_BM 0x00000400 // Boot Manager
399 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
400 # DEBUG_NET 0x00004000 // SNP Driver
401 # DEBUG_UNDI 0x00010000 // UNDI Driver
402 # DEBUG_LOADFILE 0x00020000 // LoadFile
403 # DEBUG_EVENT 0x00080000 // Event messages
404 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
405 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
406 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
407 # // significantly impact boot performance
408 # DEBUG_ERROR 0x80000000 // Error
409 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
410
411 !if $(SOURCE_DEBUG_ENABLE) == TRUE
412 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
413 !else
414 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
415 !endif
416
417 # This PCD is used to set the base address of the PCI express hierarchy. It
418 # is only consulted when OVMF runs on Q35. In that case it is programmed into
419 # the PCIEXBAR register.
420 #
421 # On Q35 machine types that QEMU intends to support in the long term, QEMU
422 # never lets the RAM below 4 GB exceed 2816 MB.
423 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
424
425 !if $(SOURCE_DEBUG_ENABLE) == TRUE
426 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
427 !endif
428
429 #
430 # Network Pcds
431 #
432 !include NetworkPkg/NetworkPcds.dsc.inc
433
434 !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
435 ## Set Xen's debug IO port for PlatformDebugLibIoPort
436 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0xe9
437 !endif
438
439 # IRQs 5, 9, 10, 11 are level-triggered
440 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
441
442 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
443 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
444
445 ## Xen vlapic's frequence is 100 MHz
446 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
447
448 # We populate DXE IPL tables with 1G pages preferably on Xen
449 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
450
451 ################################################################################
452 #
453 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
454 #
455 ################################################################################
456
457 [PcdsDynamicDefault]
458 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
459 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
460 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
461 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
462 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
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|FALSE
486
487 # Set memory encryption mask
488 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
489
490 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
491
492 ################################################################################
493 #
494 # Components Section - list of all EDK II Modules needed by this Platform.
495 #
496 ################################################################################
497 [Components]
498 OvmfPkg/XenResetVector/XenResetVector.inf
499
500 #
501 # SEC Phase modules
502 #
503 OvmfPkg/Sec/SecMain.inf {
504 <LibraryClasses>
505 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
506 }
507
508 #
509 # PEI Phase modules
510 #
511 MdeModulePkg/Core/Pei/PeiMain.inf
512 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
513 <LibraryClasses>
514 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
515 }
516 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
517 <LibraryClasses>
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
519 }
520 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
521 <LibraryClasses>
522 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
523 }
524 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
525
526 OvmfPkg/XenPlatformPei/XenPlatformPei.inf
527 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
528 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
529
530 #
531 # DXE Phase modules
532 #
533 MdeModulePkg/Core/Dxe/DxeMain.inf {
534 <LibraryClasses>
535 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
536 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
537 }
538
539 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
540 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
541 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
542 <LibraryClasses>
543 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
544 }
545
546 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
547
548 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
549
550 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
551 OvmfPkg/XenTimerDxe/XenTimerDxe.inf
552 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
553 UefiCpuPkg/CpuDxe/CpuDxe.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 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
560 }
561 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
562 <LibraryClasses>
563 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
564 }
565 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
566 MdeModulePkg/Universal/Metronome/Metronome.inf
567 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
568 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
569 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
570 <LibraryClasses>
571 !ifdef $(CSM_ENABLE)
572 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
573 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
574 !endif
575 }
576 MdeModulePkg/Logo/LogoDxe.inf
577 MdeModulePkg/Application/UiApp/UiApp.inf {
578 <LibraryClasses>
579 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
580 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
581 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
582 !ifdef $(CSM_ENABLE)
583 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
584 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
585 !endif
586 }
587 OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf
588 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
589 OvmfPkg/XenBusDxe/XenBusDxe.inf
590 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
591 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
592 <LibraryClasses>
593 SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf
594 }
595 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
596 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
597 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
598 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
599 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
600 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
601 <LibraryClasses>
602 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
603 }
604 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
605 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
606 <LibraryClasses>
607 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
609 }
610 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
611 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
612 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
613 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
614 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
615 FatPkg/EnhancedFatDxe/Fat.inf
616 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
617 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
618 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
619 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
620 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
621 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
622 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
623 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
624 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
625 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
626 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
627
628 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
629 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
630
631 #
632 # ISA Support
633 #
634 OvmfPkg/SioBusDxe/SioBusDxe.inf
635 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
636 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
637
638 #
639 # SMBIOS Support
640 #
641 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
642 <LibraryClasses>
643 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
644 }
645 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
646
647 #
648 # ACPI Support
649 #
650 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
651 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
652 OvmfPkg/AcpiTables/AcpiTables.inf
653 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
654 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
655 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
656
657 #
658 # Network Support
659 #
660 !include NetworkPkg/NetworkComponents.dsc.inc
661
662 !if $(NETWORK_TLS_ENABLE) == TRUE
663 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
664 <LibraryClasses>
665 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
666 }
667 !endif
668
669 #
670 # Usb Support
671 #
672 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
673 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
674 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
675 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
676 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
677 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
678
679 !ifdef $(CSM_ENABLE)
680 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
681 <LibraryClasses>
682 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
683 }
684 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
685 OvmfPkg/Csm/Csm16/Csm16.inf
686 !endif
687
688 !if $(TOOL_CHAIN_TAG) != "XCODE5"
689 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
690 <PcdsFixedAtBuild>
691 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
692 }
693 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
694 <PcdsFixedAtBuild>
695 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
696 }
697 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
698 <PcdsFixedAtBuild>
699 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
700 }
701 !endif
702 ShellPkg/Application/Shell/Shell.inf {
703 <LibraryClasses>
704 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
705 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
706 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
707 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
708 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
709 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
710 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
711 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
712 !if $(NETWORK_IP6_ENABLE) == TRUE
713 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
714 !endif
715 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
716 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
717 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
718
719 <PcdsFixedAtBuild>
720 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
721 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
722 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
723 }
724
725 OvmfPkg/PlatformDxe/Platform.inf
726 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
727 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
728
729 #
730 # Variable driver stack (non-SMM)
731 #
732 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
733 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
734 <LibraryClasses>
735 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
736 }
737 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
738 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
739 <LibraryClasses>
740 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
741 }