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