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