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