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