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