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