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