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