VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Bhyve/BhyveX64.dsc@ 89983

Last change on this file since 89983 was 89983, checked in by vboxsync, 4 years ago

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 38.2 KB
Line 
1#
2# Copyright (c) 2020, Rebecca Cran <[email protected]>
3# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
4# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
5# Copyright (c) 2014, Pluribus Networks, Inc.
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 = Bhyve
18 PLATFORM_GUID = 562b76ee-ceb2-4f4f-adfe-a4c8dc46e4ff
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 1.30
21 OUTPUT_DIRECTORY = Build/BhyveX64
22 SUPPORTED_ARCHITECTURES = X64
23 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25 FLASH_DEFINITION = OvmfPkg/Bhyve/BhyveX64.fdf
26
27 #
28 # Defines for default states. These can be changed on the command line.
29 # -D FLAG=VALUE
30 #
31 DEFINE SECURE_BOOT_ENABLE = FALSE
32 DEFINE SMM_REQUIRE = FALSE
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE
34 DEFINE TPM_ENABLE = FALSE
35 DEFINE TPM_CONFIG_ENABLE = FALSE
36
37 #
38 # Network definition
39 #
40 DEFINE NETWORK_TLS_ENABLE = FALSE
41 DEFINE NETWORK_IP6_ENABLE = FALSE
42 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
43 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
44 DEFINE NETWORK_ISCSI_ENABLE = TRUE
45
46!include NetworkPkg/NetworkDefines.dsc.inc
47
48 #
49 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
50 # one of the supported values, in place of any of the convenience macros, is
51 # permitted.
52 #
53!ifdef $(FD_SIZE_1MB)
54 DEFINE FD_SIZE_IN_KB = 1024
55!else
56!ifdef $(FD_SIZE_2MB)
57 DEFINE FD_SIZE_IN_KB = 2048
58!else
59!ifdef $(FD_SIZE_4MB)
60 DEFINE FD_SIZE_IN_KB = 4096
61!else
62 DEFINE FD_SIZE_IN_KB = 4096
63!endif
64!endif
65!endif
66
67[BuildOptions]
68 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
69 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
70 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
71!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
72 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
73!endif
74!if $(SOURCE_DEBUG_ENABLE) == TRUE
75 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
76 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
77 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78!endif
79 RELEASE_*_*_GENFW_FLAGS = --zero
80
81 #
82 # Disable deprecated APIs.
83 #
84 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
85 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
86 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
87
88!include NetworkPkg/NetworkBuildOptions.dsc.inc
89
90[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
92 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
93 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
94 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
95
96# Force PE/COFF sections to be aligned at 4KB boundaries to support page level
97# protection of DXE_SMM_DRIVER/SMM_CORE modules
98[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
103
104################################################################################
105#
106# SKU Identification section - list of all SKU IDs supported by this Platform.
107#
108################################################################################
109[SkuIds]
110 0|DEFAULT
111
112################################################################################
113#
114# Library Class section - list of all Library Classes needed by this Platform.
115#
116################################################################################
117
118!include MdePkg/MdeLibs.dsc.inc
119
120[LibraryClasses]
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
122 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
123 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
124 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
125 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
126 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
127 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
128 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
129 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
130 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
131 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
132 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
133 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
134 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
135 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
136 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
137 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
138 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
139 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
140 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
141 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
142 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
143 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
144 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
145 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
146 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
147 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
148 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
149 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
150 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
151 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
152 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
153 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
154 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
155 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
156 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
157 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
158 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
159 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
160 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
161 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
162 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
163 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
164 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
165 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
166 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
167 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
168 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
169 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
170 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
171 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
172 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
173
174 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
175 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
176
177!if $(SOURCE_DEBUG_ENABLE) == TRUE
178 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
179 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
180!else
181 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
182 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
183!endif
184
185 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
186 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
187 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
188 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
189
190 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
191!if $(NETWORK_TLS_ENABLE) == TRUE
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
193!else
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
195!endif
196 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
197
198!if $(SECURE_BOOT_ENABLE) == TRUE
199 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
200 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
201!else
202 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
203!endif
204 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
205 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
206 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
207
208 #
209 # Network libraries
210 #
211!include NetworkPkg/NetworkLibs.dsc.inc
212
213!if $(NETWORK_TLS_ENABLE) == TRUE
214 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
215!endif
216
217 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
218 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
219 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
220 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
221 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
222 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
223
224
225!if $(TPM_ENABLE) == TRUE
226 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
227 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
228 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
229 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
230!else
231 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
232 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
233!endif
234
235[LibraryClasses.common]
236 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
237 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
238
239[LibraryClasses.common.SEC]
240!ifdef $(DEBUG_ON_SERIAL_PORT)
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242!else
243 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
244!endif
245 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
246 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
247!if $(SOURCE_DEBUG_ENABLE) == TRUE
248 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
249!endif
250 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
251 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
252 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
253 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
255
256[LibraryClasses.common.PEI_CORE]
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
261 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
265!ifdef $(DEBUG_ON_SERIAL_PORT)
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
267!else
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269!endif
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271
272[LibraryClasses.common.PEIM]
273 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
274 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
275 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
276 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
277 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
278 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
279 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
280 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
281!ifdef $(DEBUG_ON_SERIAL_PORT)
282 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283!else
284 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285!endif
286 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
287 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
288 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
289!if $(SOURCE_DEBUG_ENABLE) == TRUE
290 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
291!endif
292 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
293 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
294
295!if $(TPM_ENABLE) == TRUE
296 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
297 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
298!endif
299
300 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
301
302[LibraryClasses.common.DXE_CORE]
303 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
304 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
305 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
307!ifdef $(DEBUG_ON_SERIAL_PORT)
308 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309!else
310 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311!endif
312 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
313!if $(SOURCE_DEBUG_ENABLE) == TRUE
314 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
315!endif
316 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
318
319[LibraryClasses.common.DXE_RUNTIME_DRIVER]
320 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
323 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
324 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
325!ifdef $(DEBUG_ON_SERIAL_PORT)
326 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
327!else
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
329!endif
330 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
331 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
334
335[LibraryClasses.common.UEFI_DRIVER]
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
339 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
340 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
341!ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
343!else
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
345!endif
346 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
347 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
348
349[LibraryClasses.common.DXE_DRIVER]
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
352 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
353 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
354 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
355!ifdef $(DEBUG_ON_SERIAL_PORT)
356 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
357!else
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
359!endif
360 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
361 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
362 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
363 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
364!if $(SOURCE_DEBUG_ENABLE) == TRUE
365 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
366!endif
367 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
368 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
369!if $(TPM_ENABLE) == TRUE
370 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
371!endif
372
373[LibraryClasses.common.UEFI_APPLICATION]
374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
378!ifdef $(DEBUG_ON_SERIAL_PORT)
379 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
380!else
381 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
382!endif
383 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
384
385[LibraryClasses.common.DXE_SMM_DRIVER]
386 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
387 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
388 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
389 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
390 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
391 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
392 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
393!ifdef $(DEBUG_ON_SERIAL_PORT)
394 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
395!else
396 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
397!endif
398 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
399!if $(SOURCE_DEBUG_ENABLE) == TRUE
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
401!endif
402 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
404
405[LibraryClasses.common.SMM_CORE]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
408 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
409 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
410 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
411 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
412 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
413!ifdef $(DEBUG_ON_SERIAL_PORT)
414 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415!else
416 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417!endif
418 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419
420################################################################################
421#
422# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
423#
424################################################################################
425[PcdsFeatureFlag]
426 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
432
433[PcdsFixedAtBuild]
434 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
436 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
437 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
438 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
439 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
440!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
442 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
443!if $(NETWORK_TLS_ENABLE) == FALSE
444 # match PcdFlashNvStorageVariableSize purely for convenience
445 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
446!endif
447!endif
448!if $(FD_SIZE_IN_KB) == 4096
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
451!if $(NETWORK_TLS_ENABLE) == FALSE
452 # match PcdFlashNvStorageVariableSize purely for convenience
453 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
454!endif
455!endif
456!if $(NETWORK_TLS_ENABLE) == TRUE
457 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
458 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
459!endif
460
461 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
462
463 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
464
465 # DEBUG_INIT 0x00000001 // Initialization
466 # DEBUG_WARN 0x00000002 // Warnings
467 # DEBUG_LOAD 0x00000004 // Load events
468 # DEBUG_FS 0x00000008 // EFI File system
469 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
470 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
471 # DEBUG_INFO 0x00000040 // Informational debug messages
472 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
473 # DEBUG_VARIABLE 0x00000100 // Variable
474 # DEBUG_BM 0x00000400 // Boot Manager
475 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
476 # DEBUG_NET 0x00004000 // SNP Driver
477 # DEBUG_UNDI 0x00010000 // UNDI Driver
478 # DEBUG_LOADFILE 0x00020000 // LoadFile
479 # DEBUG_EVENT 0x00080000 // Event messages
480 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
481 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
482 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
483 # // significantly impact boot performance
484 # DEBUG_ERROR 0x80000000 // Error
485 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
486
487!if $(SOURCE_DEBUG_ENABLE) == TRUE
488 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
489!else
490 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
491!endif
492
493 # This PCD is used to set the base address of the PCI express hierarchy. It
494 # is only consulted when OVMF runs on Q35. In that case it is programmed into
495 # the PCIEXBAR register.
496 #
497 # On Q35 machine types that QEMU intends to support in the long term, QEMU
498 # never lets the RAM below 4 GB exceed 2816 MB.
499 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
500
501!if $(SOURCE_DEBUG_ENABLE) == TRUE
502 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
503!endif
504
505 #
506 # Network Pcds
507 #
508!include NetworkPkg/NetworkPcds.dsc.inc
509
510 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
511 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
512
513 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
514
515 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
516 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
517
518################################################################################
519#
520# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
521#
522################################################################################
523
524[PcdsDynamicDefault]
525 # only set when
526 # ($(SMM_REQUIRE) == FALSE)
527 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
528
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
532 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
535 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
536 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
542 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
543
544 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
545
546 # Set video resolution for text setup.
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
549
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
552 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
553
554 # Noexec settings for DXE.
555 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
556
557 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
559 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560
561 # Set memory encryption mask
562 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563
564 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
565
566!if $(TPM_ENABLE) == TRUE
567 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
568!endif
569
570 # MdeModulePkg resolution sets up the system display resolution
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
575
576[PcdsDynamicHii]
577!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
578 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
579 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
580!endif
581
582################################################################################
583#
584# Components Section - list of all EDK II Modules needed by this Platform.
585#
586################################################################################
587[Components]
588 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
589
590 #
591 # SEC Phase modules
592 #
593 OvmfPkg/Sec/SecMain.inf {
594 <LibraryClasses>
595 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
596 }
597
598 #
599 # PEI Phase modules
600 #
601 MdeModulePkg/Core/Pei/PeiMain.inf
602 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
603 <LibraryClasses>
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
605 }
606 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
607 <LibraryClasses>
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
609 }
610 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
611 <LibraryClasses>
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
613 }
614 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
615
616 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
617 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
618 <LibraryClasses>
619 }
620
621!if $(TPM_ENABLE) == TRUE
622 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
623 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
624 <LibraryClasses>
625 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
630 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
631 }
632!endif
633
634 #
635 # DXE Phase modules
636 #
637 MdeModulePkg/Core/Dxe/DxeMain.inf {
638 <LibraryClasses>
639 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
640 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
641 }
642
643 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
644 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
645 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
646 <LibraryClasses>
647 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
648 }
649
650 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
651
652 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
653 <LibraryClasses>
654!if $(SECURE_BOOT_ENABLE) == TRUE
655 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
656!endif
657!if $(TPM_ENABLE) == TRUE
658 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
659!endif
660 }
661
662 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
663 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
664 UefiCpuPkg/CpuDxe/CpuDxe.inf
665 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
666 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
667 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
668 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
669 <LibraryClasses>
670 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
671 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
672 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
673 }
674 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
675 <LibraryClasses>
676 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
677 }
678 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
679 MdeModulePkg/Universal/Metronome/Metronome.inf
680 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
681 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
682 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
683 <LibraryClasses>
684!ifdef $(CSM_ENABLE)
685 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
686 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
687!endif
688 }
689 MdeModulePkg/Logo/LogoDxe.inf
690 MdeModulePkg/Application/UiApp/UiApp.inf {
691 <LibraryClasses>
692 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
693 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
694 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
695!ifdef $(CSM_ENABLE)
696 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
697 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
698!endif
699 }
700 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
701 OvmfPkg/Virtio10Dxe/Virtio10.inf
702 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
703 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
704 OvmfPkg/VirtioRngDxe/VirtioRng.inf
705 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
706 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
707 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
708 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
709 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
710 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
711 <LibraryClasses>
712 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
713 }
714 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
715 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
716 <LibraryClasses>
717 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
718 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
719 }
720 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
721 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
722 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
723 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
724 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
725 FatPkg/EnhancedFatDxe/Fat.inf
726 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
727 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
728 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
729 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
730 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
731 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
732 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
733 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
734 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
735 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
736 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
737
738 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
739 <LibraryClasses>
740 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
741 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
742 }
743
744 #
745 # ISA Support
746 #
747 OvmfPkg/SioBusDxe/SioBusDxe.inf
748 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
749 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
750 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
751
752 #
753 # SMBIOS Support
754 #
755 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
756 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
757
758 #
759 # ACPI Support
760 #
761 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
762 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
763 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
764 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
765 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
766 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
767
768 #
769 # Network Support
770 #
771!include NetworkPkg/NetworkComponents.dsc.inc
772
773!if $(NETWORK_TLS_ENABLE) == TRUE
774 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
775 <LibraryClasses>
776 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
777 }
778!endif
779 OvmfPkg/VirtioNetDxe/VirtioNet.inf
780
781!ifdef $(CSM_ENABLE)
782 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
783 <LibraryClasses>
784 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
785 }
786!endif
787# OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
788!ifdef $(CSM_ENABLE)
789 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
790!endif
791
792!if $(TOOL_CHAIN_TAG) != "XCODE5"
793 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
794 <PcdsFixedAtBuild>
795 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
796 }
797!endif
798 ShellPkg/Application/Shell/Shell.inf {
799 <LibraryClasses>
800 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
801 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
802 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
803 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
804 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
805 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
806 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
807 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
808!if $(NETWORK_IP6_ENABLE) == TRUE
809 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
810!endif
811 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
812 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
813 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
814
815 <PcdsFixedAtBuild>
816 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
817 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
818 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
819 }
820
821!if $(SECURE_BOOT_ENABLE) == TRUE
822 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
823 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
824!endif
825
826 OvmfPkg/PlatformDxe/Platform.inf
827 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
828 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
829
830
831 #
832 # Variable driver stack (non-SMM)
833 #
834 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
835 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
836 <LibraryClasses>
837 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
838 }
839 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
840 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
841 <LibraryClasses>
842 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
843 }
844
845
846 #
847 # TPM support
848 #
849!if $(TPM_ENABLE) == TRUE
850 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
851 <LibraryClasses>
852 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
853 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
854 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
855 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
856 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
857 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
858 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
859 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
860 }
861!if $(TPM_CONFIG_ENABLE) == TRUE
862 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
863!endif
864!endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette