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