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