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