1 | ## @file
|
---|
2 | # RISC-V EFI on RiscVVirtQem platform
|
---|
3 | #
|
---|
4 | # Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
---|
5 | # Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>
|
---|
6 | #
|
---|
7 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 | #
|
---|
9 | ##
|
---|
10 |
|
---|
11 | ################################################################################
|
---|
12 | #
|
---|
13 | # Defines Section - statements that will be processed to create a Makefile.
|
---|
14 | #
|
---|
15 | ################################################################################
|
---|
16 | [Defines]
|
---|
17 | PLATFORM_NAME = RiscVVirtQemu
|
---|
18 | PLATFORM_GUID = 39DADB39-1B21-4867-838E-830B6149B9E0
|
---|
19 | PLATFORM_VERSION = 0.1
|
---|
20 | DSC_SPECIFICATION = 0x0001001c
|
---|
21 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
|
---|
22 | SUPPORTED_ARCHITECTURES = RISCV64
|
---|
23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
---|
24 | SKUID_IDENTIFIER = DEFAULT
|
---|
25 | FLASH_DEFINITION = OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf
|
---|
26 |
|
---|
27 | #
|
---|
28 | # Enable below options may cause build error or may not work on
|
---|
29 | # the initial version of RISC-V package
|
---|
30 | # Defines for default states. These can be changed on the command line.
|
---|
31 | # -D FLAG=VALUE
|
---|
32 | #
|
---|
33 | DEFINE TTY_TERMINAL = FALSE
|
---|
34 | DEFINE SECURE_BOOT_ENABLE = FALSE
|
---|
35 | DEFINE TPM2_ENABLE = FALSE
|
---|
36 | DEFINE TPM2_CONFIG_ENABLE = FALSE
|
---|
37 | DEFINE DEBUG_ON_SERIAL_PORT = TRUE
|
---|
38 |
|
---|
39 | #
|
---|
40 | # Network definition
|
---|
41 | #
|
---|
42 | DEFINE NETWORK_IP6_ENABLE = FALSE
|
---|
43 | DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
|
---|
44 | DEFINE NETWORK_SNP_ENABLE = FALSE
|
---|
45 | DEFINE NETWORK_TLS_ENABLE = FALSE
|
---|
46 | DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
---|
47 | DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
---|
48 |
|
---|
49 | !if $(NETWORK_SNP_ENABLE) == TRUE
|
---|
50 | !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
|
---|
51 | !endif
|
---|
52 |
|
---|
53 |
|
---|
54 | !include MdePkg/MdeLibs.dsc.inc
|
---|
55 | !include NetworkPkg/Network.dsc.inc
|
---|
56 |
|
---|
57 | [BuildOptions]
|
---|
58 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
---|
59 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
60 | GCC:*_*_RISCV64_GENFW_FLAGS = --keepexceptiontable
|
---|
61 | !endif
|
---|
62 |
|
---|
63 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
---|
64 | GCC: *_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
---|
65 | MSFT: *_*_*_DLINK_FLAGS = /ALIGN:4096
|
---|
66 |
|
---|
67 | ################################################################################
|
---|
68 | #
|
---|
69 | # Library Class section - list of all Library Classes needed by this Platform.
|
---|
70 | #
|
---|
71 | ################################################################################
|
---|
72 |
|
---|
73 | !include OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc
|
---|
74 |
|
---|
75 | !include MdePkg/MdeLibs.dsc.inc
|
---|
76 |
|
---|
77 | [LibraryClasses.common]
|
---|
78 | # Virtio Support
|
---|
79 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
|
---|
80 | VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
|
---|
81 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioDxeLib.inf
|
---|
82 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
|
---|
83 | QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
|
---|
84 | QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
|
---|
85 |
|
---|
86 | TimerLib|UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
|
---|
87 | VirtNorFlashPlatformLib|OvmfPkg/RiscVVirt/Library/VirtNorFlashPlatformLib/VirtNorFlashDeviceTreeLib.inf
|
---|
88 |
|
---|
89 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
---|
90 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
|
---|
91 | PlatformBootManagerLib|OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
|
---|
92 | PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
|
---|
93 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
|
---|
94 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
|
---|
95 | QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
|
---|
96 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
|
---|
97 | PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
|
---|
98 | PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
|
---|
99 | PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
|
---|
100 | PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
|
---|
101 | PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
|
---|
102 | PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
---|
103 | ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
|
---|
104 |
|
---|
105 | !if $(TPM2_ENABLE) == TRUE
|
---|
106 | Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
---|
107 | Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
|
---|
108 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
|
---|
109 | TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
|
---|
110 | !else
|
---|
111 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
|
---|
112 | TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
|
---|
113 | !endif
|
---|
114 |
|
---|
115 | [LibraryClasses.common.DXE_DRIVER]
|
---|
116 | AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
|
---|
117 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
118 | PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
|
---|
119 |
|
---|
120 | !if $(TPM2_ENABLE) == TRUE
|
---|
121 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
|
---|
122 | !endif
|
---|
123 |
|
---|
124 | [LibraryClasses.common.UEFI_DRIVER]
|
---|
125 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
126 | PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
|
---|
127 |
|
---|
128 | ################################################################################
|
---|
129 | #
|
---|
130 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
---|
131 | #
|
---|
132 | ################################################################################
|
---|
133 | [PcdsFeatureFlag.common]
|
---|
134 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE
|
---|
135 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE
|
---|
136 |
|
---|
137 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
|
---|
138 | # It could be set FALSE to save size.
|
---|
139 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
---|
140 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
|
---|
141 |
|
---|
142 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
---|
143 |
|
---|
144 | [PcdsFixedAtBuild.common]
|
---|
145 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
|
---|
146 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
|
---|
147 | !if $(NETWORK_TLS_ENABLE) == TRUE
|
---|
148 | #
|
---|
149 | # The cumulative and individual VOLATILE variable size limits should be set
|
---|
150 | # high enough for accommodating several and/or large CA certificates.
|
---|
151 | #
|
---|
152 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
|
---|
153 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
|
---|
154 | !endif
|
---|
155 |
|
---|
156 | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"2.7"
|
---|
157 |
|
---|
158 | # Serial Port
|
---|
159 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
|
---|
160 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10000000
|
---|
161 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|9600
|
---|
162 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
|
---|
163 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|3686400
|
---|
164 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
|
---|
165 |
|
---|
166 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
---|
167 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
|
---|
168 |
|
---|
169 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
170 | # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
|
---|
171 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
|
---|
172 | gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
|
---|
173 | gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
|
---|
174 | !endif
|
---|
175 |
|
---|
176 | gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
|
---|
177 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x02
|
---|
178 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
|
---|
179 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
|
---|
180 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
|
---|
181 |
|
---|
182 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
|
---|
183 |
|
---|
184 | [PcdsDynamicDefault.common]
|
---|
185 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
|
---|
186 |
|
---|
187 | ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
|
---|
188 | # enumeration to complete before installing ACPI tables.
|
---|
189 | gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
|
---|
190 |
|
---|
191 | # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
|
---|
192 | # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
|
---|
193 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
|
---|
194 |
|
---|
195 | gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
|
---|
196 |
|
---|
197 | #
|
---|
198 | # Set video resolution for boot options and for text setup.
|
---|
199 | # PlatformDxe can set the former at runtime.
|
---|
200 | #
|
---|
201 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
|
---|
202 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
|
---|
203 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
|
---|
204 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
|
---|
205 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
|
---|
206 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
|
---|
207 |
|
---|
208 | #
|
---|
209 | # SMBIOS entry point version
|
---|
210 | #
|
---|
211 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
|
---|
212 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
|
---|
213 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
|
---|
214 |
|
---|
215 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
|
---|
216 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
---|
217 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
---|
218 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
---|
219 |
|
---|
220 | #
|
---|
221 | # IPv4 and IPv6 PXE Boot support.
|
---|
222 | #
|
---|
223 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
---|
224 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
---|
225 |
|
---|
226 | #
|
---|
227 | # TPM2 support
|
---|
228 | #
|
---|
229 | !if $(TPM2_ENABLE) == TRUE
|
---|
230 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
|
---|
231 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
---|
232 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0
|
---|
233 | !else
|
---|
234 | [PcdsPatchableInModule]
|
---|
235 | # make this PCD patchable instead of dynamic when TPM support is not enabled
|
---|
236 | # this permits setting the PCD in unreachable code without pulling in dynamic PCD support
|
---|
237 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
|
---|
238 | !endif
|
---|
239 |
|
---|
240 | [PcdsDynamicHii]
|
---|
241 | gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gOvmfVariableGuid|0x0|FALSE|NV,BS
|
---|
242 |
|
---|
243 | !if $(TPM2_CONFIG_ENABLE) == TRUE
|
---|
244 | gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
|
---|
245 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
|
---|
246 | !endif
|
---|
247 |
|
---|
248 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
|
---|
249 |
|
---|
250 | [LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
|
---|
251 | !if $(TPM2_ENABLE) == TRUE
|
---|
252 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
---|
253 | !else
|
---|
254 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
255 | !endif
|
---|
256 |
|
---|
257 | ################################################################################
|
---|
258 | #
|
---|
259 | # Components Section - list of all EDK II Modules needed by this Platform.
|
---|
260 | #
|
---|
261 | ################################################################################
|
---|
262 | [Components]
|
---|
263 |
|
---|
264 | #
|
---|
265 | # SEC Phase modules
|
---|
266 | #
|
---|
267 | OvmfPkg/RiscVVirt/Sec/SecMain.inf {
|
---|
268 | <LibraryClasses>
|
---|
269 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
---|
270 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
271 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
---|
272 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
|
---|
273 | PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
---|
274 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
---|
275 | }
|
---|
276 |
|
---|
277 | #
|
---|
278 | # DXE
|
---|
279 | #
|
---|
280 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
---|
281 | <LibraryClasses>
|
---|
282 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
|
---|
283 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
284 | }
|
---|
285 |
|
---|
286 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
---|
287 | <LibraryClasses>
|
---|
288 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
289 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
290 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
291 | }
|
---|
292 |
|
---|
293 | #
|
---|
294 | # Architectural Protocols
|
---|
295 | #
|
---|
296 | UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf
|
---|
297 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
298 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
|
---|
299 | <LibraryClasses>
|
---|
300 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
|
---|
301 | # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
|
---|
302 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
---|
303 | }
|
---|
304 |
|
---|
305 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
306 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
|
---|
307 | <LibraryClasses>
|
---|
308 | NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
|
---|
309 | !if $(TPM2_ENABLE) == TRUE
|
---|
310 | NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
|
---|
311 | !endif
|
---|
312 | }
|
---|
313 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
---|
314 | OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
|
---|
315 | !else
|
---|
316 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
317 | !endif
|
---|
318 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
319 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
320 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
321 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
|
---|
322 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
---|
323 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
|
---|
324 |
|
---|
325 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
326 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
327 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
328 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
329 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
|
---|
330 |
|
---|
331 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
332 |
|
---|
333 | UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
|
---|
334 | OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf
|
---|
335 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
336 |
|
---|
337 | #
|
---|
338 | # Status Code Routing
|
---|
339 | #
|
---|
340 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
341 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
342 |
|
---|
343 | #
|
---|
344 | # Platform Driver
|
---|
345 | #
|
---|
346 | OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
|
---|
347 | EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf {
|
---|
348 | <LibraryClasses>
|
---|
349 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
350 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
351 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
352 | }
|
---|
353 | OvmfPkg/Fdt/HighMemDxe/HighMemDxe.inf
|
---|
354 | OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
355 | OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
356 | OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
---|
357 | OvmfPkg/VirtioRngDxe/VirtioRng.inf
|
---|
358 |
|
---|
359 | #
|
---|
360 | # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs
|
---|
361 | #
|
---|
362 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
363 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
364 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
365 | FatPkg/EnhancedFatDxe/Fat.inf
|
---|
366 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
---|
367 | OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
|
---|
368 |
|
---|
369 | #
|
---|
370 | # Bds
|
---|
371 | #
|
---|
372 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
|
---|
373 | <LibraryClasses>
|
---|
374 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
375 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
376 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
377 | }
|
---|
378 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
379 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
380 | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
|
---|
381 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
382 | MdeModulePkg/Logo/LogoDxe.inf
|
---|
383 | MdeModulePkg/Application/UiApp/UiApp.inf {
|
---|
384 | <LibraryClasses>
|
---|
385 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
|
---|
386 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
|
---|
387 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
|
---|
388 | }
|
---|
389 | OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
|
---|
390 | <LibraryClasses>
|
---|
391 | NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
|
---|
392 | }
|
---|
393 |
|
---|
394 | NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
---|
395 | <LibraryClasses>
|
---|
396 | NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
---|
397 | }
|
---|
398 |
|
---|
399 | !if $(NETWORK_TLS_ENABLE) == TRUE
|
---|
400 | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
---|
401 | <LibraryClasses>
|
---|
402 | NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
---|
403 | }
|
---|
404 | !endif
|
---|
405 |
|
---|
406 | #
|
---|
407 | # SCSI Bus and Disk Driver
|
---|
408 | #
|
---|
409 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
410 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
411 |
|
---|
412 | #
|
---|
413 | # SATA
|
---|
414 | #
|
---|
415 | MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
|
---|
416 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
417 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
418 |
|
---|
419 | #
|
---|
420 | # NVME Driver
|
---|
421 | #
|
---|
422 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
---|
423 |
|
---|
424 | #
|
---|
425 | # SMBIOS Support
|
---|
426 | #
|
---|
427 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
|
---|
428 | <LibraryClasses>
|
---|
429 | NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
|
---|
430 | }
|
---|
431 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
432 |
|
---|
433 | #
|
---|
434 | # PCI support
|
---|
435 | #
|
---|
436 | UefiCpuPkg/CpuMmio2Dxe/CpuMmio2Dxe.inf {
|
---|
437 | <LibraryClasses>
|
---|
438 | NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
|
---|
439 | }
|
---|
440 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
441 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
|
---|
442 | <LibraryClasses>
|
---|
443 | NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
|
---|
444 | }
|
---|
445 | OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
|
---|
446 | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
447 | OvmfPkg/Virtio10Dxe/Virtio10.inf
|
---|
448 |
|
---|
449 | #
|
---|
450 | # Video support
|
---|
451 | #
|
---|
452 | OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
---|
453 | OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
---|
454 | OvmfPkg/PlatformDxe/Platform.inf
|
---|
455 |
|
---|
456 | #
|
---|
457 | # USB Support
|
---|
458 | #
|
---|
459 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
460 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
461 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
---|
462 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
463 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
464 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
465 |
|
---|
466 | #
|
---|
467 | # TPM2 support
|
---|
468 | #
|
---|
469 | !if $(TPM2_ENABLE) == TRUE
|
---|
470 | SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
|
---|
471 | <LibraryClasses>
|
---|
472 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
---|
473 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
|
---|
474 | NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
|
---|
475 | NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
|
---|
476 | NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
|
---|
477 | NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
|
---|
478 | NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
|
---|
479 | NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
|
---|
480 | }
|
---|
481 | !if $(TPM2_CONFIG_ENABLE) == TRUE
|
---|
482 | SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
|
---|
483 | !endif
|
---|
484 | !endif
|
---|
485 |
|
---|
486 | #
|
---|
487 | # ACPI Support
|
---|
488 | #
|
---|
489 | OvmfPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
|
---|
490 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
---|
491 | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf {
|
---|
492 | <LibraryClasses>
|
---|
493 | NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
|
---|
494 | }
|
---|