]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules
[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 [PcdsDynamicDefault.common]
213 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
214
215 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
216 # enumeration to complete before installing ACPI tables.
217 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
218
219 # System Memory Size -- 1 MB initially, actual size will be fetched from DT
220 gArmTokenSpaceGuid.PcdSystemMemorySize|0x00100000
221
222 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
223 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0
224 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0
225 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0
226
227 #
228 # ARM General Interrupt Controller
229 #
230 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0
231 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0
232 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0
233
234 ## PL031 RealTimeClock
235 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0
236
237 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
238 # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
239 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
240
241 gArmTokenSpaceGuid.PcdPciIoTranslation|0x0
242
243 #
244 # Set video resolution for boot options and for text setup.
245 # PlatformDxe can set the former at runtime.
246 #
247 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
248 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
249 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
250 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
251
252 #
253 # SMBIOS entry point version
254 #
255 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
256 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
257 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
258
259 #
260 # TPM2 support
261 #
262 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
263 !if $(TPM2_ENABLE) == TRUE
264 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
265 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0
266 !endif
267
268 [PcdsDynamicHii]
269 gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gArmVirtVariableGuid|0x0|FALSE|NV,BS
270
271 !if $(TPM2_CONFIG_ENABLE) == TRUE
272 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
273 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
274 !endif
275
276 ################################################################################
277 #
278 # Components Section - list of all EDK II Modules needed by this Platform
279 #
280 ################################################################################
281 [Components.common]
282 #
283 # PEI Phase modules
284 #
285 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
286 MdeModulePkg/Core/Pei/PeiMain.inf
287 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
288 <LibraryClasses>
289 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
290 }
291 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
292 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
293 ArmPkg/Drivers/CpuPei/CpuPei.inf
294
295 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
296
297 !if $(TPM2_ENABLE) == TRUE
298 MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {
299 <LibraryClasses>
300 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf
301 }
302 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
303 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
304 <LibraryClasses>
305 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
306 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
307 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
308 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
309 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
310 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
311 }
312 !endif
313
314 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
315 <LibraryClasses>
316 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
317 }
318
319 #
320 # DXE
321 #
322 MdeModulePkg/Core/Dxe/DxeMain.inf {
323 <LibraryClasses>
324 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
325 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
326 }
327 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
328 <LibraryClasses>
329 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
330 }
331
332 #
333 # Architectural Protocols
334 #
335 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
336 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
337 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
338 <LibraryClasses>
339 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
340 NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
341 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
342 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
343 }
344 !if $(SECURE_BOOT_ENABLE) == TRUE
345 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
346 <LibraryClasses>
347 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
348 !if $(TPM2_ENABLE) == TRUE
349 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
350 !endif
351 }
352 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
353 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
354 !else
355 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
356 !endif
357 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
358 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
359 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
360 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
361 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
362 <LibraryClasses>
363 NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf
364 }
365 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
366
367 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
368 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
369 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
370 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
371 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
372
373 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
374
375 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
376 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {
377 <LibraryClasses>
378 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf
379 }
380 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
381 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
382
383 #
384 # Status Code Routing
385 #
386 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
387
388 #
389 # Platform Driver
390 #
391 ArmVirtPkg/VirtioFdtDxe/VirtioFdtDxe.inf
392 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
393 ArmVirtPkg/HighMemDxe/HighMemDxe.inf
394 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
395 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
396 OvmfPkg/VirtioNetDxe/VirtioNet.inf
397 OvmfPkg/VirtioRngDxe/VirtioRng.inf
398
399 #
400 # FAT filesystem + GPT/MBR partitioning + UDF filesystem
401 #
402 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
403 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
404 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
405 FatPkg/EnhancedFatDxe/Fat.inf
406 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
407
408 #
409 # Bds
410 #
411 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
412 <LibraryClasses>
413 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
414 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
415 }
416 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
417 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
418 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
419 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
420 MdeModulePkg/Logo/LogoDxe.inf
421 MdeModulePkg/Application/UiApp/UiApp.inf {
422 <LibraryClasses>
423 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
424 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
425 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
426 }
427 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
428
429 #
430 # Networking stack
431 #
432 !include NetworkPkg/NetworkComponents.dsc.inc
433 !if $(NETWORK_TLS_ENABLE) == TRUE
434 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
435 <LibraryClasses>
436 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
437 }
438 !endif
439
440 #
441 # SCSI Bus and Disk Driver
442 #
443 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
444 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
445
446 #
447 # NVME Driver
448 #
449 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
450
451 #
452 # SMBIOS Support
453 #
454 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
455 <LibraryClasses>
456 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
457 }
458 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
459
460 #
461 # PCI support
462 #
463 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf {
464 <LibraryClasses>
465 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
466 }
467 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
468 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
469 <LibraryClasses>
470 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
471 }
472 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
473 OvmfPkg/Virtio10Dxe/Virtio10.inf
474
475 #
476 # Video support
477 #
478 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
479 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
480 OvmfPkg/PlatformDxe/Platform.inf
481
482 #
483 # USB Support
484 #
485 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
486 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
487 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
488 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
489 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
490 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
491
492 #
493 # TPM2 support
494 #
495 !if $(TPM2_ENABLE) == TRUE
496 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
497 <LibraryClasses>
498 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
499 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
500 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
501 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
502 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
503 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
504 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
505 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
506 }
507 !if $(TPM2_CONFIG_ENABLE) == TRUE
508 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
509 !endif
510 !endif
511
512 #
513 # ACPI Support
514 #
515 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
516 [Components.AARCH64]
517 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
518 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf {
519 <LibraryClasses>
520 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
521 }