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