VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/ArmVirtQemu.dsc@ 106357

Last change on this file since 106357 was 106353, checked in by vboxsync, 4 months ago

Devices/EFI/Firmware: Include the SATA controler driver in the firmware so Windows has a supported storage device for booting of off, bugref:10732

  • Property svn:eol-style set to native
File size: 23.0 KB
Line 
1#
2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3# Copyright (c) 2014, Linaro Limited. All rights reserved.
4# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
5#
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7#
8#
9
10################################################################################
11#
12# Defines Section - statements that will be processed to create a Makefile.
13#
14################################################################################
15[Defines]
16 PLATFORM_NAME = ArmVirtQemu
17 PLATFORM_GUID = 37d7e986-f7e9-45c2-8067-e371421a626c
18 PLATFORM_VERSION = 0.1
19 DSC_SPECIFICATION = 0x00010005
20!ifndef $(VBOX_OUTPUT_BASE_DIR)
21 OUTPUT_DIRECTORY = Build/ArmVirtQemu-$(ARCH)
22!else
23!if $(ARCH) == AARCH64
24 OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/aarch64
25!else
26 OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/aarch32
27!endif
28!endif
29 SUPPORTED_ARCHITECTURES = AARCH64|ARM
30 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
31 SKUID_IDENTIFIER = DEFAULT
32 FLASH_DEFINITION = ArmVirtPkg/ArmVirtQemu.fdf
33
34 #
35 # Defines for default states. These can be changed on the command line.
36 # -D FLAG=VALUE
37 #
38 DEFINE TTY_TERMINAL = FALSE
39 DEFINE SECURE_BOOT_ENABLE = FALSE
40 DEFINE TPM2_ENABLE = FALSE
41 DEFINE TPM2_CONFIG_ENABLE = FALSE
42 DEFINE CAVIUM_ERRATUM_27456 = FALSE
43
44 #
45 # Network definition
46 #
47 DEFINE NETWORK_IP6_ENABLE = FALSE
48 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
49 DEFINE NETWORK_SNP_ENABLE = FALSE
50 DEFINE NETWORK_TLS_ENABLE = FALSE
51 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
52 DEFINE NETWORK_ISCSI_ENABLE = FALSE
53
54!if $(NETWORK_SNP_ENABLE) == TRUE
55 !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
56!endif
57
58!include NetworkPkg/NetworkDefines.dsc.inc
59
60!include MdePkg/MdeLibs.dsc.inc
61
62!include ArmVirtPkg/ArmVirt.dsc.inc
63
64[LibraryClasses.common]
65 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
66 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
67
68 # Virtio Support
69 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
70 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
71 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioDxeLib.inf
72 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
73 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
74 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
75
76 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
77 VirtNorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf
78
79 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
80 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
81 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibLight/PlatformBootManagerLib.inf
82 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
83 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
84 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
85 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
86 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
87 PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
88 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
89 PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
90 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
91 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
92
93!if $(TPM2_ENABLE) == TRUE
94 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
95 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
96 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
97 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
98!else
99 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
100 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
101!endif
102
103[LibraryClasses.AARCH64]
104!ifndef $(VBOX)
105 ArmPlatformLib|ArmVirtPkg/Library/ArmPlatformLibQemu/ArmPlatformLibQemu.inf
106!else
107 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
108!endif
109
110[LibraryClasses.ARM]
111 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
112
113[LibraryClasses.common.PEIM]
114!ifndef $(VBOX)
115 ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf
116!else
117 ArmVirtMemInfoLib|VBoxPkg/Library/VBoxVirtMemInfoLib/VBoxVirtMemInfoPeiLib.inf
118!endif
119
120!if $(TPM2_ENABLE) == TRUE
121 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
122 ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
123 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
124!endif
125
126[LibraryClasses.AARCH64.PEIM]
127 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
128
129[LibraryClasses.common.DXE_DRIVER]
130 AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
131 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
132
133!if $(TPM2_ENABLE) == TRUE
134 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
135!endif
136
137[LibraryClasses.common.UEFI_DRIVER]
138 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
139
140[BuildOptions]
141!ifndef $(VBOX) # Don't clear the XIPFLAGS as we run with MMU disabled (no early ID mapping).
142!if $(CAVIUM_ERRATUM_27456) == TRUE
143 GCC:*_*_AARCH64_PP_FLAGS = -DCAVIUM_ERRATUM_27456
144!endif
145!endif
146
147!include NetworkPkg/NetworkBuildOptions.dsc.inc
148
149################################################################################
150#
151# Pcd Section - list of all EDK II PCD Entries defined by this Platform
152#
153################################################################################
154
155[PcdsFeatureFlag.common]
156 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE
157 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE
158
159 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
160 # It could be set FALSE to save size.
161 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
162 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
163
164 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
165
166 gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|$(TPM2_ENABLE)
167
168[PcdsFixedAtBuild.common]
169!if $(ARCH) == AARCH64
170 gArmTokenSpaceGuid.PcdVFPEnabled|1
171!endif
172
173 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4007c000
174 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
175 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
176 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
177!if $(NETWORK_TLS_ENABLE) == TRUE
178 #
179 # The cumulative and individual VOLATILE variable size limits should be set
180 # high enough for accommodating several and/or large CA certificates.
181 #
182 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
183 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
184!endif
185
186 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
187 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
188
189 #
190 # ARM PrimeCell
191 #
192
193 ## PL011 - Serial Terminal
194 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
195
196 ## Default Terminal Type
197 ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
198!if $(TTY_TERMINAL) == TRUE
199 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
200 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
201 gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
202!else
203 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
204!endif
205
206 #
207 # ARM Virtual Architectural Timer -- fetch frequency from QEMU (TCG) or KVM
208 #
209 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0
210
211 #
212 # Network Pcds
213 #
214!include NetworkPkg/NetworkPcds.dsc.inc
215
216!ifndef $(VBOX)
217 # System Memory Base -- fixed at 0x4000_0000
218 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000
219
220 # initial location of the device tree blob passed by QEMU -- base of DRAM
221 gUefiOvmfPkgTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x40000000
222!endif
223
224 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
225 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
226
227 #
228 # The maximum physical I/O addressability of the processor, set with
229 # BuildCpuHob().
230 #
231 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
232
233 #
234 # Enable the non-executable DXE stack. (This gets set up by DxeIpl)
235 #
236 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
237
238!if $(SECURE_BOOT_ENABLE) == TRUE
239 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
240 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
241 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
242 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
243!endif
244
245 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|3
246 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
247
248 # Shadowing PEI modules is absolutely pointless when the NOR flash is emulated
249 gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnBoot|FALSE
250
251 # System Memory Size -- 128 MB initially, actual size will be fetched from DT
252 gArmTokenSpaceGuid.PcdSystemMemorySize|0x8000000
253
254[PcdsFixedAtBuild.AARCH64]
255 # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point,
256 # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the
257 # presence of the 32-bit entry point anyway (because many AARCH64 systems
258 # don't have 32-bit addressable physical RAM), and the additional allocations
259 # below 4 GB needlessly fragment the memory map. So expose the 64-bit entry
260 # point only, for entry point versions >= 3.0.
261 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
262
263[PcdsDynamicDefault.common]
264 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
265
266 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
267 # enumeration to complete before installing ACPI tables.
268 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
269
270 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
271 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0
272 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0
273 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0
274 gArmTokenSpaceGuid.PcdArmArchTimerHypVirtIntrNum|0x0
275
276 #
277 # ARM General Interrupt Controller
278 #
279 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0
280 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0
281 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0
282
283 ## PL031 RealTimeClock
284 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0
285
286 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
287 # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
288 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
289
290 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
291
292 #
293 # Set video resolution for boot options and for text setup.
294 # PlatformDxe can set the former at runtime.
295 #
296 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
297 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
298 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
299 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
300 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
301 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
302
303 #
304 # SMBIOS entry point version
305 #
306 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
307 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
308 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
309
310 #
311 # IPv4 and IPv6 PXE Boot support.
312 #
313 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
314 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
315
316 # whether to use HVC or SMC to issue monitor calls - this typically depends
317 # on the exception level at which the UEFI system firmware executes
318 gArmTokenSpaceGuid.PcdMonitorConduitHvc|TRUE
319
320 #
321 # TPM2 support
322 #
323!if $(TPM2_ENABLE) == TRUE
324 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
325 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
326 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0
327!else
328[PcdsPatchableInModule]
329 # make this PCD patchable instead of dynamic when TPM support is not enabled
330 # this permits setting the PCD in unreachable code without pulling in dynamic PCD support
331 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
332!endif
333
334[PcdsDynamicHii]
335 gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gOvmfVariableGuid|0x0|FALSE|NV,BS
336
337!if $(TPM2_CONFIG_ENABLE) == TRUE
338 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
339 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
340!endif
341
342 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
343
344[LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
345 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
346
347################################################################################
348#
349# Components Section - list of all EDK II Modules needed by this Platform
350#
351################################################################################
352[Components.common]
353 #
354 # PEI Phase modules
355 #
356 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
357 MdeModulePkg/Core/Pei/PeiMain.inf
358 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
359 ArmVirtPkg/MemoryInitPei/MemoryInitPeim.inf
360 ArmPkg/Drivers/CpuPei/CpuPei.inf
361
362 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
363 <LibraryClasses>
364 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
365 }
366!if $(TPM2_ENABLE) == TRUE
367 MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {
368 <LibraryClasses>
369 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf
370 }
371 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
372 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
373 <LibraryClasses>
374 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
375 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
376 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
377 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
378 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
379 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
380 }
381!endif
382
383 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
384 <LibraryClasses>
385 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
386 }
387
388 #
389 # DXE
390 #
391 MdeModulePkg/Core/Dxe/DxeMain.inf {
392 <LibraryClasses>
393 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
394 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
395 }
396 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
397 <LibraryClasses>
398 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
399 }
400
401 #
402 # Architectural Protocols
403 #
404 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
405 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
406 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
407 <LibraryClasses>
408 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
409 NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
410 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
411 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
412 }
413!if $(SECURE_BOOT_ENABLE) == TRUE
414 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
415 <LibraryClasses>
416 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
417!if $(TPM2_ENABLE) == TRUE
418 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
419!endif
420 }
421 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
422 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
423!else
424 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
425!endif
426 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
427 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
428 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
429 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
430 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
431 <LibraryClasses>
432 NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf
433 }
434 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
435
436 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
437 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
438 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
439 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
440 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
441
442 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
443
444 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
445 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {
446 <LibraryClasses>
447 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf
448 }
449 OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf {
450 <LibraryClasses>
451 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
452 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
453 }
454 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
455 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
456
457 #
458 # Status Code Routing
459 #
460 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
461
462 #
463 # Platform Driver
464 #
465 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
466 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
467 OvmfPkg/Fdt/HighMemDxe/HighMemDxe.inf
468 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
469 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
470 OvmfPkg/VirtioNetDxe/VirtioNet.inf
471 OvmfPkg/VirtioRngDxe/VirtioRng.inf
472 OvmfPkg/VirtioSerialDxe/VirtioSerial.inf
473
474!ifdef $(VBOX)
475 VBoxPkg/VmwSvga3Dxe/VmwSvga3VideoDxe.inf {
476 <LibraryClasses>
477 # Optimized SetMem doesn't work on VGA framebuffer.
478 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
479 }
480
481 MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
482 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
483 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
484!endif
485
486 #
487 # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs
488 #
489 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
490 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
491 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
492 FatPkg/EnhancedFatDxe/Fat.inf
493 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
494 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
495
496 #
497 # Bds
498 #
499 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
500 <LibraryClasses>
501 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
502 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
503 }
504 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
505 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
506 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
507 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
508!ifndef $(VBOX)
509 MdeModulePkg/Logo/LogoDxe.inf
510!else
511 VBoxPkg/Logo/LogoDxe.inf
512!endif
513 MdeModulePkg/Application/UiApp/UiApp.inf {
514 <LibraryClasses>
515 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
516 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
517 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
518 }
519 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
520 <LibraryClasses>
521 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
522 }
523
524 #
525 # Networking stack
526 #
527!include NetworkPkg/NetworkComponents.dsc.inc
528
529 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
530 <LibraryClasses>
531 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
532 }
533
534!if $(NETWORK_TLS_ENABLE) == TRUE
535 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
536 <LibraryClasses>
537 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
538 }
539!endif
540
541 #
542 # SCSI Bus and Disk Driver
543 #
544 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
545 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
546
547 #
548 # NVME Driver
549 #
550 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
551
552 #
553 # SMBIOS Support
554 #
555 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
556 <LibraryClasses>
557 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
558 }
559 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
560
561 #
562 # PCI support
563 #
564 UefiCpuPkg/CpuMmio2Dxe/CpuMmio2Dxe.inf {
565 <LibraryClasses>
566 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
567 }
568 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
569 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
570 <LibraryClasses>
571 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
572 }
573 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
574 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
575 OvmfPkg/Virtio10Dxe/Virtio10.inf
576
577 #
578 # Video support
579 #
580 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
581 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
582 OvmfPkg/PlatformDxe/Platform.inf
583
584 #
585 # USB Support
586 #
587 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
588 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
589 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
590 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
591 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
592 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
593
594 #
595 # Hash2 Protocol Support
596 #
597 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
598
599 #
600 # TPM2 support
601 #
602!if $(TPM2_ENABLE) == TRUE
603 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
604 <LibraryClasses>
605 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
606 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
607 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
608 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
609 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
610 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
611 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
612 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
613 }
614!if $(TPM2_CONFIG_ENABLE) == TRUE
615 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
616!endif
617!endif
618
619 #
620 # ACPI Support
621 #
622 OvmfPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
623[Components.AARCH64]
624 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
625!ifndef $(VBOX)
626 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf {
627 <LibraryClasses>
628 NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
629 }
630!else
631 VBoxPkg/VBoxAcpiPlatformDxe/VBoxAcpiPlatformDxe.inf
632!endif
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