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