VirtualBox

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

Last change on this file since 105381 was 101291, checked in by vboxsync, 14 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

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