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