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