]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtQemu: enable the DXE phase TPM2 support module
[mirror_edk2.git] / ArmVirtPkg / ArmVirtQemu.dsc
CommitLineData
6f5872b1 1#\r
7fbd1eb2 2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
6f5872b1 3# Copyright (c) 2014, Linaro Limited. All rights reserved.\r
2ff39d58 4# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.\r
6f5872b1 5#\r
9792fb0e 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
6f5872b1
MC
7#\r
8#\r
9\r
10################################################################################\r
11#\r
12# Defines Section - statements that will be processed to create a Makefile.\r
13#\r
14################################################################################\r
15[Defines]\r
7fbd1eb2 16 PLATFORM_NAME = ArmVirtQemu\r
6f5872b1
MC
17 PLATFORM_GUID = 37d7e986-f7e9-45c2-8067-e371421a626c\r
18 PLATFORM_VERSION = 0.1\r
19 DSC_SPECIFICATION = 0x00010005\r
7fbd1eb2 20 OUTPUT_DIRECTORY = Build/ArmVirtQemu-$(ARCH)\r
6f5872b1 21 SUPPORTED_ARCHITECTURES = AARCH64|ARM\r
80ee06ce 22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
6f5872b1 23 SKUID_IDENTIFIER = DEFAULT\r
7fbd1eb2 24 FLASH_DEFINITION = ArmVirtPkg/ArmVirtQemu.fdf\r
6f5872b1 25\r
80f882ab
AB
26 #\r
27 # Defines for default states. These can be changed on the command line.\r
28 # -D FLAG=VALUE\r
29 #\r
81d5daea 30 DEFINE TTY_TERMINAL = FALSE\r
80f882ab 31 DEFINE SECURE_BOOT_ENABLE = FALSE\r
f5cb3767 32 DEFINE TPM2_ENABLE = FALSE\r
157a3b1a
FS
33\r
34 #\r
35 # Network definition\r
36 #\r
37 DEFINE NETWORK_IP6_ENABLE = FALSE\r
38 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
39 DEFINE NETWORK_SNP_ENABLE = FALSE\r
40 DEFINE NETWORK_TLS_ENABLE = FALSE\r
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
42\r
43!if $(NETWORK_SNP_ENABLE) == TRUE\r
44 !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"\r
45!endif\r
46\r
157a3b1a 47!include NetworkPkg/NetworkDefines.dsc.inc\r
80f882ab 48\r
7fbd1eb2 49!include ArmVirtPkg/ArmVirt.dsc.inc\r
6f5872b1 50\r
6f5872b1 51[LibraryClasses.common]\r
550eaa4a 52 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
5db1cce1
AB
53 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r
54\r
6f5872b1
MC
55 # Virtio Support\r
56 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
57 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
7fbd1eb2 58 QemuFwCfgLib|ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
837d340e 59 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf\r
6f5872b1 60\r
39da4861 61 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf\r
6f5872b1
MC
62\r
63 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
7fbd1eb2 64 NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf\r
6f5872b1 65\r
43ac100e 66 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
2c8805bc 67 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
1946faa7 68 PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
1797f32e 69 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
43ac100e 70 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
c64688f3 71 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
d85c5e31 72 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
2ff39d58 73 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
a06d0bb5 74 PciPcdProducerLib|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
53ee81bb
AB
75 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
76 PciHostBridgeLib|ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf\r
43ac100e 77\r
ddd34a81
AB
78!if $(TPM2_ENABLE) == TRUE\r
79 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
82f6f44f
AB
80 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
81 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
82!else\r
83 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
ddd34a81
AB
84!endif\r
85\r
04865126
AB
86[LibraryClasses.common.PEIM]\r
87 ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf\r
88\r
f5cb3767 89!if $(TPM2_ENABLE) == TRUE\r
ddd34a81 90 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
f5cb3767 91 ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf\r
ddd34a81 92 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
f5cb3767
AB
93!endif\r
94\r
5c574b22
LE
95[LibraryClasses.common.DXE_DRIVER]\r
96 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
97\r
82f6f44f
AB
98!if $(TPM2_ENABLE) == TRUE\r
99 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
100!endif\r
101\r
6f5872b1
MC
102[LibraryClasses.common.UEFI_DRIVER]\r
103 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
104\r
6f5872b1
MC
105################################################################################\r
106#\r
107# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
108#\r
109################################################################################\r
110\r
111[PcdsFeatureFlag.common]\r
10233c9e 112 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE\r
274b4a8d
LE
113 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE\r
114\r
6f5872b1
MC
115 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
116 # It could be set FALSE to save size.\r
d01c77bb
LE
117 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
118 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
6f5872b1 119\r
c0b612b3
LE
120 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
121\r
f5cb3767
AB
122 gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|$(TPM2_ENABLE)\r
123\r
6f5872b1 124[PcdsFixedAtBuild.common]\r
6f5872b1
MC
125!if $(ARCH) == AARCH64\r
126 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
127!endif\r
128\r
129 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4007c000\r
130 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
2d063646
LC
131 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
132 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
ffe048a0
LE
133!if $(NETWORK_TLS_ENABLE) == TRUE\r
134 #\r
135 # The cumulative and individual VOLATILE variable size limits should be set\r
136 # high enough for accommodating several and/or large CA certificates.\r
137 #\r
138 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
139 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
140!endif\r
6f5872b1
MC
141\r
142 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
143 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
144\r
6f5872b1
MC
145 #\r
146 # ARM PrimeCell\r
147 #\r
148\r
149 ## PL011 - Serial Terminal\r
150 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
151\r
1c51e601 152 ## Default Terminal Type\r
a5955fa3 153 ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
1c51e601 154!if $(TTY_TERMINAL) == TRUE\r
a5955fa3 155 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4\r
81d5daea
LE
156 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID\r
157 gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}\r
aa754e83 158!else\r
a5955fa3 159 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
aa754e83 160!endif\r
6f5872b1
MC
161\r
162 #\r
ab879e4c 163 # ARM Virtual Architectural Timer -- fetch frequency from QEMU (TCG) or KVM\r
6f5872b1 164 #\r
ab879e4c 165 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0\r
6f5872b1 166\r
157a3b1a
FS
167 #\r
168 # Network Pcds\r
169 #\r
170!include NetworkPkg/NetworkPcds.dsc.inc\r
b4ec32c2 171\r
6f5872b1
MC
172 # System Memory Base -- fixed at 0x4000_0000\r
173 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000\r
174\r
175 # initial location of the device tree blob passed by QEMU -- base of DRAM\r
7fbd1eb2 176 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x40000000\r
6f5872b1 177\r
43ac100e 178 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
1946faa7 179 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
43ac100e 180\r
1ff2b5a8
LE
181 #\r
182 # The maximum physical I/O addressability of the processor, set with\r
183 # BuildCpuHob().\r
184 #\r
185 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
186\r
a1e30dfd
LE
187 #\r
188 # Enable the non-executable DXE stack. (This gets set up by DxeIpl)\r
189 #\r
190 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE\r
191\r
da06a2a2
LE
192!if $(SECURE_BOOT_ENABLE) == TRUE\r
193 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
194 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
195 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
196 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
197!endif\r
198\r
5c574b22
LE
199 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|3\r
200\r
64df44b7 201[PcdsFixedAtBuild.AARCH64]\r
ca6d61b2
AB
202 # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point,\r
203 # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the\r
204 # presence of the 32-bit entry point anyway (because many AARCH64 systems\r
205 # don't have 32-bit addressable physical RAM), and the additional allocations\r
206 # below 4 GB needlessly fragment the memory map. So expose the 64-bit entry\r
207 # point only, for entry point versions >= 3.0.\r
208 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2\r
209\r
e0692789
AB
210 # ACPI predates the AARCH64 architecture by 5 versions, so\r
211 # we only target OSes that support ACPI v5.0 or later\r
212 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20\r
213\r
65bb13b0 214[PcdsDynamicDefault.common]\r
48799ab2
LE
215 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
216\r
2c3ce491
JJ
217 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI\r
218 # enumeration to complete before installing ACPI tables.\r
219 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
220\r
6f5872b1
MC
221 # System Memory Size -- 1 MB initially, actual size will be fetched from DT\r
222 gArmTokenSpaceGuid.PcdSystemMemorySize|0x00100000\r
223\r
6f5872b1
MC
224 gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0\r
225 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0\r
226 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0\r
227 gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0\r
228\r
229 #\r
230 # ARM General Interrupt Controller\r
231 #\r
232 gArmTokenSpaceGuid.PcdGicDistributorBase|0x0\r
7b70dabb 233 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0\r
6f5872b1
MC
234 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0\r
235\r
236 ## PL031 RealTimeClock\r
237 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0\r
238\r
a06d0bb5
AB
239 # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this\r
240 # PCD and PcdPciDisableBusEnumeration above have not been assigned yet\r
241 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF\r
65bb13b0 242\r
53ee81bb
AB
243 gArmTokenSpaceGuid.PcdPciIoTranslation|0x0\r
244\r
d01c77bb
LE
245 #\r
246 # Set video resolution for boot options and for text setup.\r
247 # PlatformDxe can set the former at runtime.\r
248 #\r
249 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
250 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
66b43839
RN
251 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
252 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
d01c77bb 253\r
c98da334
LE
254 #\r
255 # SMBIOS entry point version\r
256 #\r
257 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300\r
9b1c5be0 258 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
f52af489 259 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
c98da334 260\r
82662a3b
AB
261 #\r
262 # TPM2 support\r
263 #\r
264 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0\r
ddd34a81
AB
265!if $(TPM2_ENABLE) == TRUE\r
266 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
267 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0\r
268!endif\r
82662a3b 269\r
7e5f1b67
AB
270[PcdsDynamicHii]\r
271 gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gArmVirtVariableGuid|0x0|FALSE|NV,BS\r
272\r
6f5872b1
MC
273################################################################################\r
274#\r
275# Components Section - list of all EDK II Modules needed by this Platform\r
276#\r
277################################################################################\r
278[Components.common]\r
279 #\r
280 # PEI Phase modules\r
281 #\r
94904a84 282 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf\r
6f5872b1 283 MdeModulePkg/Core/Pei/PeiMain.inf\r
874399d4
AB
284 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
285 <LibraryClasses>\r
286 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
287 }\r
6f5872b1
MC
288 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
289 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
290 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
291\r
292 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
80f882ab 293\r
f5cb3767
AB
294!if $(TPM2_ENABLE) == TRUE\r
295 MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {\r
296 <LibraryClasses>\r
297 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf\r
298 }\r
ddd34a81
AB
299 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
300 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
301 <LibraryClasses>\r
302 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
303 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
304 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
305 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
306 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
307 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
308 }\r
f5cb3767
AB
309!endif\r
310\r
6f5872b1
MC
311 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
312 <LibraryClasses>\r
9435a57e 313 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
6f5872b1
MC
314 }\r
315\r
316 #\r
317 # DXE\r
318 #\r
319 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
320 <LibraryClasses>\r
321 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
f9dff902 322 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
6f5872b1 323 }\r
31b3b02a
AB
324 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
325 <LibraryClasses>\r
326 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
327 }\r
6f5872b1
MC
328\r
329 #\r
330 # Architectural Protocols\r
331 #\r
332 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
333 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
7a9f5b20
SZ
334 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
335 <LibraryClasses>\r
336 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
bf453d58 337 NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf\r
44d71c21
AB
338 # don't use unaligned CopyMem () on the UEFI varstore NOR flash region\r
339 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
7a9f5b20 340 }\r
80f882ab
AB
341!if $(SECURE_BOOT_ENABLE) == TRUE\r
342 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
343 <LibraryClasses>\r
344 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
345 }\r
80f882ab 346 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
034dec6c 347 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
80f882ab 348!else\r
6f5872b1 349 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
80f882ab
AB
350!endif\r
351 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
6f5872b1
MC
352 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
353 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
7b1dc6c5 354 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
7fba5299
AB
355 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {\r
356 <LibraryClasses>\r
357 NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf\r
358 }\r
6f5872b1
MC
359 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
360\r
361 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
362 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
363 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
364 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
ad7f6bc2 365 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
6f5872b1
MC
366\r
367 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
368\r
369 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
ffced385
AB
370 ArmPkg/Drivers/TimerDxe/TimerDxe.inf {\r
371 <LibraryClasses>\r
372 NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf\r
373 }\r
80f882ab 374 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
6f5872b1
MC
375 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
376\r
5c574b22
LE
377 #\r
378 # Status Code Routing\r
379 #\r
380 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
381\r
6f5872b1
MC
382 #\r
383 # Platform Driver\r
384 #\r
57b6122f 385 ArmVirtPkg/VirtioFdtDxe/VirtioFdtDxe.inf\r
44b9e615 386 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf\r
68312710 387 ArmVirtPkg/HighMemDxe/HighMemDxe.inf\r
6f5872b1
MC
388 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
389 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
390 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
e881ab44 391 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
6f5872b1
MC
392\r
393 #\r
88fff4f6 394 # FAT filesystem + GPT/MBR partitioning + UDF filesystem\r
6f5872b1
MC
395 #\r
396 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
397 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
398 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
42e3d9eb 399 FatPkg/EnhancedFatDxe/Fat.inf\r
88fff4f6 400 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
6f5872b1
MC
401\r
402 #\r
403 # Bds\r
404 #\r
f9dff902
LE
405 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
406 <LibraryClasses>\r
407 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
408 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
409 }\r
43ac100e
OM
410 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
411 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
98528385 412 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
738f70ae
RN
413 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
414 MdeModulePkg/Logo/LogoDxe.inf\r
1946faa7
LE
415 MdeModulePkg/Application/UiApp/UiApp.inf {\r
416 <LibraryClasses>\r
417 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
418 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
419 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
420 }\r
6f5872b1 421\r
2f295918
LE
422 #\r
423 # Networking stack\r
424 #\r
157a3b1a 425!include NetworkPkg/NetworkComponents.dsc.inc\r
ffe048a0
LE
426!if $(NETWORK_TLS_ENABLE) == TRUE\r
427 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
428 <LibraryClasses>\r
429 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
430 }\r
431!endif\r
2f295918 432\r
6f5872b1
MC
433 #\r
434 # SCSI Bus and Disk Driver\r
435 #\r
436 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
437 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
1c5adbef 438\r
ceb05740
LE
439 #\r
440 # SMBIOS Support\r
441 #\r
34eeb676
LE
442 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
443 <LibraryClasses>\r
444 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
445 }\r
ceb05740
LE
446 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
447\r
10233c9e
LE
448 #\r
449 # PCI support\r
450 #\r
53ee81bb
AB
451 ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf {\r
452 <LibraryClasses>\r
453 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
454 }\r
455 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
ffea0a2c
AB
456 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
457 <LibraryClasses>\r
458 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
459 }\r
10233c9e 460 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
3898f492 461 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
d01c77bb
LE
462\r
463 #\r
464 # Video support\r
465 #\r
c64688f3 466 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
92f200c2 467 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
d01c77bb 468 OvmfPkg/PlatformDxe/Platform.inf\r
e17b1db5
LE
469\r
470 #\r
471 # USB Support\r
472 #\r
473 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
474 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
eee32602 475 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
e17b1db5
LE
476 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
477 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
62ef40c4 478 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
9038538b 479\r
82f6f44f
AB
480 #\r
481 # TPM2 support\r
482 #\r
483!if $(TPM2_ENABLE) == TRUE\r
484 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
485 <LibraryClasses>\r
486 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
487 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
488 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
489 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
490 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
491 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
492 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
493 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
494 }\r
495!endif\r
496\r
8e2efec6
AB
497 #\r
498 # ACPI Support\r
499 #\r
3a2c1548 500 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf\r
01430be5 501[Components.AARCH64]\r
13a50a6f 502 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
ffea0a2c
AB
503 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf {\r
504 <LibraryClasses>\r
505 NULL|ArmVirtPkg/Library/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf\r
506 }\r