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