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