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