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