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