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