]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtQemu: enable the TPM2 configuration module
[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 }
352 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
353 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
354 !else
355 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
356 !endif
357 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
358 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
359 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
360 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
361 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
362 <LibraryClasses>
363 NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf
364 }
365 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
366
367 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
368 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
369 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
370 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
371 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
372
373 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
374
375 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
376 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {
377 <LibraryClasses>
378 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf
379 }
380 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
381 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
382
383 #
384 # Status Code Routing
385 #
386 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
387
388 #
389 # Platform Driver
390 #
391 ArmVirtPkg/VirtioFdtDxe/VirtioFdtDxe.inf
392 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
393 ArmVirtPkg/HighMemDxe/HighMemDxe.inf
394 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
395 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
396 OvmfPkg/VirtioNetDxe/VirtioNet.inf
397 OvmfPkg/VirtioRngDxe/VirtioRng.inf
398
399 #
400 # FAT filesystem + GPT/MBR partitioning + UDF filesystem
401 #
402 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
403 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
404 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
405 FatPkg/EnhancedFatDxe/Fat.inf
406 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
407
408 #
409 # Bds
410 #
411 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
412 <LibraryClasses>
413 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
414 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
415 }
416 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
417 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
418 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
419 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
420 MdeModulePkg/Logo/LogoDxe.inf
421 MdeModulePkg/Application/UiApp/UiApp.inf {
422 <LibraryClasses>
423 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
424 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
425 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
426 }
427
428 #
429 # Networking stack
430 #
431 !include NetworkPkg/NetworkComponents.dsc.inc
432 !if $(NETWORK_TLS_ENABLE) == TRUE
433 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
434 <LibraryClasses>
435 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
436 }
437 !endif
438
439 #
440 # SCSI Bus and Disk Driver
441 #
442 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
443 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
444
445 #
446 # SMBIOS Support
447 #
448 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
449 <LibraryClasses>
450 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
451 }
452 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
453
454 #
455 # PCI support
456 #
457 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf {
458 <LibraryClasses>
459 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
460 }
461 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
462 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
463 <LibraryClasses>
464 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
465 }
466 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
467 OvmfPkg/Virtio10Dxe/Virtio10.inf
468
469 #
470 # Video support
471 #
472 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
473 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
474 OvmfPkg/PlatformDxe/Platform.inf
475
476 #
477 # USB Support
478 #
479 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
480 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
481 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
482 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
483 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
484 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
485
486 #
487 # TPM2 support
488 #
489 !if $(TPM2_ENABLE) == TRUE
490 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
491 <LibraryClasses>
492 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
493 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
494 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
495 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
496 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
497 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
498 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
499 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
500 }
501 !if $(TPM2_CONFIG_ENABLE) == TRUE
502 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
503 !endif
504 !endif
505
506 #
507 # ACPI Support
508 #
509 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
510 [Components.AARCH64]
511 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
512 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf {
513 <LibraryClasses>
514 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
515 }