VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfXen.dsc@ 106129

Last change on this file since 106129 was 105670, checked in by vboxsync, 6 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette