]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfXen.dsc
OvmfPkg/OvmfXen: use a TimerLib instance that depends only on the CPU
[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
198 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
199 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
200
201 [LibraryClasses.common]
202 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
203
204 [LibraryClasses.common.SEC]
205 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
206 !ifdef $(DEBUG_ON_SERIAL_PORT)
207 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
208 !else
209 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
210 !endif
211 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
212 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
213 !ifdef $(SOURCE_DEBUG_ENABLE)
214 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
215 !endif
216 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
217 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
218 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
219 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
220 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
221
222 [LibraryClasses.common.PEI_CORE]
223 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
224 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
225 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
226 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
227 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
228 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
229 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
230 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
231 !ifdef $(DEBUG_ON_SERIAL_PORT)
232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
233 !else
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
235 !endif
236 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
237
238 [LibraryClasses.common.PEIM]
239 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
240 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
241 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
242 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
243 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
245 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
246 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
247 !ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
249 !else
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
251 !endif
252 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
253 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
254 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
255 !ifdef $(SOURCE_DEBUG_ENABLE)
256 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
257 !endif
258 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
259 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
260 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
261 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
262 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
263
264 [LibraryClasses.common.DXE_CORE]
265 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
266 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
267 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
268 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
269 !ifdef $(DEBUG_ON_SERIAL_PORT)
270 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
271 !else
272 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
273 !endif
274 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
275 !ifdef $(SOURCE_DEBUG_ENABLE)
276 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
277 !endif
278 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
279 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
280
281 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
283 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
284 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
285 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
286 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
287 !ifdef $(DEBUG_ON_SERIAL_PORT)
288 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
289 !else
290 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
291 !endif
292 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
293 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
294 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
295 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
296
297 [LibraryClasses.common.UEFI_DRIVER]
298 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
299 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
300 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
301 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
302 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
303 !ifdef $(DEBUG_ON_SERIAL_PORT)
304 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
305 !else
306 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
307 !endif
308 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
309 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
310
311 [LibraryClasses.common.DXE_DRIVER]
312 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
313 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
314 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
316 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
317 !ifdef $(DEBUG_ON_SERIAL_PORT)
318 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
319 !else
320 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
321 !endif
322 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
323 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
324 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
325 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
326 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
327 !ifdef $(SOURCE_DEBUG_ENABLE)
328 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
329 !endif
330 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
331 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
332 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
333
334 [LibraryClasses.common.UEFI_APPLICATION]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
339 !ifdef $(DEBUG_ON_SERIAL_PORT)
340 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
341 !else
342 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
343 !endif
344 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
345
346 ################################################################################
347 #
348 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
349 #
350 ################################################################################
351 [PcdsFeatureFlag]
352 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
353 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
354 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
355 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
356 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
357 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
358 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
359 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
360
361 [PcdsFixedAtBuild]
362 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
363 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
364 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
365 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
366 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
367 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
368 !if $(NETWORK_TLS_ENABLE) == FALSE
369 # match PcdFlashNvStorageVariableSize purely for convenience
370 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
371 !endif
372 !endif
373 !if $(FD_SIZE_IN_KB) == 4096
374 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
375 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
376 !if $(NETWORK_TLS_ENABLE) == FALSE
377 # match PcdFlashNvStorageVariableSize purely for convenience
378 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
379 !endif
380 !endif
381 !if $(NETWORK_TLS_ENABLE) == TRUE
382 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
383 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
384 !endif
385
386 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
387
388 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
389
390 # DEBUG_INIT 0x00000001 // Initialization
391 # DEBUG_WARN 0x00000002 // Warnings
392 # DEBUG_LOAD 0x00000004 // Load events
393 # DEBUG_FS 0x00000008 // EFI File system
394 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
395 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
396 # DEBUG_INFO 0x00000040 // Informational debug messages
397 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
398 # DEBUG_VARIABLE 0x00000100 // Variable
399 # DEBUG_BM 0x00000400 // Boot Manager
400 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
401 # DEBUG_NET 0x00004000 // SNP Driver
402 # DEBUG_UNDI 0x00010000 // UNDI Driver
403 # DEBUG_LOADFILE 0x00020000 // LoadFile
404 # DEBUG_EVENT 0x00080000 // Event messages
405 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
406 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
407 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
408 # // significantly impact boot performance
409 # DEBUG_ERROR 0x80000000 // Error
410 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
411
412 !ifdef $(SOURCE_DEBUG_ENABLE)
413 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
414 !else
415 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
416 !endif
417
418 # This PCD is used to set the base address of the PCI express hierarchy. It
419 # is only consulted when OVMF runs on Q35. In that case it is programmed into
420 # the PCIEXBAR register.
421 #
422 # On Q35 machine types that QEMU intends to support in the long term, QEMU
423 # never lets the RAM below 4 GB exceed 2816 MB.
424 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
425
426 !ifdef $(SOURCE_DEBUG_ENABLE)
427 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
428 !endif
429
430 #
431 # Network Pcds
432 #
433 !include NetworkPkg/NetworkPcds.dsc.inc
434
435 # IRQs 5, 9, 10, 11 are level-triggered
436 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
437
438 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
439 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
440
441 ################################################################################
442 #
443 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
444 #
445 ################################################################################
446
447 [PcdsDynamicDefault]
448 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
449 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
450 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
451 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
452 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
453 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
454 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
455 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
456 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
457 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
458 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
459 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
460 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
461 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
462 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
463
464 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
465
466 # Set video resolution for text setup.
467 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
468 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
469
470 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
471 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
472 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
473
474 # Noexec settings for DXE.
475 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
476 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
477
478 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
479 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
480 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
481
482 # Set memory encryption mask
483 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
484
485 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
486
487 ################################################################################
488 #
489 # Components Section - list of all EDK II Modules needed by this Platform.
490 #
491 ################################################################################
492 [Components]
493 OvmfPkg/XenResetVector/XenResetVector.inf
494
495 #
496 # SEC Phase modules
497 #
498 OvmfPkg/Sec/SecMain.inf {
499 <LibraryClasses>
500 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
501 }
502
503 #
504 # PEI Phase modules
505 #
506 MdeModulePkg/Core/Pei/PeiMain.inf
507 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
508 <LibraryClasses>
509 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
510 }
511 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
512 <LibraryClasses>
513 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
514 }
515 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
516 <LibraryClasses>
517 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
518 }
519 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
520
521 OvmfPkg/XenPlatformPei/XenPlatformPei.inf
522 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
523 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
524
525 #
526 # DXE Phase modules
527 #
528 MdeModulePkg/Core/Dxe/DxeMain.inf {
529 <LibraryClasses>
530 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
531 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
532 }
533
534 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
535 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
536 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
537 <LibraryClasses>
538 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
539 }
540
541 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
542
543 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
544
545 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
546 OvmfPkg/8259InterruptControllerDxe/8259.inf
547 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
548 UefiCpuPkg/CpuDxe/CpuDxe.inf
549 OvmfPkg/8254TimerDxe/8254Timer.inf
550 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
551 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
552 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
553 <LibraryClasses>
554 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
555 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
556 }
557 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
558 <LibraryClasses>
559 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
560 }
561 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
562 MdeModulePkg/Universal/Metronome/Metronome.inf
563 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
564 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
565 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
566 <LibraryClasses>
567 !ifdef $(CSM_ENABLE)
568 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
569 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
570 !endif
571 }
572 MdeModulePkg/Logo/LogoDxe.inf
573 MdeModulePkg/Application/UiApp/UiApp.inf {
574 <LibraryClasses>
575 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
576 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
577 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
578 !ifdef $(CSM_ENABLE)
579 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
580 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
581 !endif
582 }
583 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
584 OvmfPkg/XenBusDxe/XenBusDxe.inf
585 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
586 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
587 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
588 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
589 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
590 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
591 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
592 <LibraryClasses>
593 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
594 }
595 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
596 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
597 <LibraryClasses>
598 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
599 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
600 }
601 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
602 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
603 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
604 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
605 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
606 FatPkg/EnhancedFatDxe/Fat.inf
607 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
608 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
609 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
610 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
611 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
612 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
613 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
614 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
615 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
616 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
617 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
618
619 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
620 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
621
622 #
623 # ISA Support
624 #
625 OvmfPkg/SioBusDxe/SioBusDxe.inf
626 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
627 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
628
629 #
630 # SMBIOS Support
631 #
632 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
633 <LibraryClasses>
634 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
635 }
636 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
637
638 #
639 # ACPI Support
640 #
641 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
642 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
643 OvmfPkg/AcpiTables/AcpiTables.inf
644 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
645 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
646 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
647
648 #
649 # Network Support
650 #
651 !include NetworkPkg/NetworkComponents.dsc.inc
652
653 !if $(NETWORK_TLS_ENABLE) == TRUE
654 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
655 <LibraryClasses>
656 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
657 }
658 !endif
659
660 #
661 # Usb Support
662 #
663 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
664 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
665 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
666 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
667 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
668 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
669
670 !ifdef $(CSM_ENABLE)
671 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
672 <LibraryClasses>
673 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
674 }
675 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
676 OvmfPkg/Csm/Csm16/Csm16.inf
677 !endif
678
679 !if $(TOOL_CHAIN_TAG) != "XCODE5"
680 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
681 <PcdsFixedAtBuild>
682 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
683 }
684 !endif
685 ShellPkg/Application/Shell/Shell.inf {
686 <LibraryClasses>
687 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
688 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
689 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
690 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
691 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
692 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
693 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
694 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
695 !if $(NETWORK_IP6_ENABLE) == TRUE
696 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
697 !endif
698 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
699 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
700 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
701
702 <PcdsFixedAtBuild>
703 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
704 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
705 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
706 }
707
708 OvmfPkg/PlatformDxe/Platform.inf
709 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
710 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
711
712 #
713 # Variable driver stack (non-SMM)
714 #
715 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
716 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
717 <LibraryClasses>
718 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
719 }
720 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
721 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
722 <LibraryClasses>
723 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
724 }