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