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