2 # Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
3 # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
4 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
5 # Copyright (c) 2014, Pluribus Networks, Inc.
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 ################################################################################
13 # Defines Section - statements that will be processed to create a Makefile.
15 ################################################################################
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
28 # Defines for default states. These can be changed on the command line.
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
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
46 !include NetworkPkg/NetworkDefines.dsc.inc
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
54 DEFINE FD_SIZE_IN_KB = 1024
57 DEFINE FD_SIZE_IN_KB = 2048
60 DEFINE FD_SIZE_IN_KB = 4096
62 DEFINE FD_SIZE_IN_KB = 4096
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
74 !if $(SOURCE_DEBUG_ENABLE) == TRUE
75 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
76 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
77 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
81 # Disable deprecated APIs.
83 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
84 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
85 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
87 !include NetworkPkg/NetworkBuildOptions.dsc.inc
89 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
90 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
91 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
92 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
93 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
95 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
96 # protection of DXE_SMM_DRIVER/SMM_CORE modules
97 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
98 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
99 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
100 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
101 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
103 ################################################################################
105 # SKU Identification section - list of all SKU IDs supported by this Platform.
107 ################################################################################
111 ################################################################################
113 # Library Class section - list of all Library Classes needed by this Platform.
115 ################################################################################
117 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
118 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
119 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
120 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
121 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
122 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
123 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
124 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
125 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
126 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
127 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
128 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
129 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
130 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
131 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
132 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
133 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
134 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
135 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
136 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
137 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
138 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
139 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
140 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
141 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
142 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
143 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
144 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
145 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
146 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
147 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
148 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
149 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
150 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
151 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
152 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
153 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
154 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
155 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
156 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
157 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
158 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
159 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
160 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
161 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
162 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
163 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
164 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
165 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
166 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
167 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
169 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
170 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
172 !if $(SOURCE_DEBUG_ENABLE) == TRUE
173 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
174 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
176 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
177 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
180 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
181 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
182 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
183 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
185 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
186 !if $(NETWORK_TLS_ENABLE) == TRUE
187 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
189 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
191 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
193 !if $(SECURE_BOOT_ENABLE) == TRUE
194 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
195 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
197 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
199 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
200 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
201 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
206 !include NetworkPkg/NetworkLibs.dsc.inc
208 !if $(NETWORK_TLS_ENABLE) == TRUE
209 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
212 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
213 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
214 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
215 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
216 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
217 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
220 !if $(TPM_ENABLE) == TRUE
221 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
222 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
223 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
224 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
226 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
227 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
230 [LibraryClasses.common]
231 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
232 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
234 [LibraryClasses.common.SEC]
235 !ifdef $(DEBUG_ON_SERIAL_PORT)
236 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
238 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
240 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
241 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
242 !if $(SOURCE_DEBUG_ENABLE) == TRUE
243 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
245 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
246 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
247 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
248 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
249 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
251 [LibraryClasses.common.PEI_CORE]
252 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
253 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
254 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
255 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
256 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
257 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
258 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
259 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
260 !ifdef $(DEBUG_ON_SERIAL_PORT)
261 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
263 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
265 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
267 [LibraryClasses.common.PEIM]
268 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
269 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
270 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
271 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
272 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
273 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
274 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
275 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
276 !ifdef $(DEBUG_ON_SERIAL_PORT)
277 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
279 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
281 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
282 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
283 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
284 !if $(SOURCE_DEBUG_ENABLE) == TRUE
285 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
287 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
288 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
290 !if $(TPM_ENABLE) == TRUE
291 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
292 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
295 [LibraryClasses.common.DXE_CORE]
296 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
297 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
298 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
299 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
300 !ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
305 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
306 !if $(SOURCE_DEBUG_ENABLE) == TRUE
307 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
309 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
312 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
314 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
315 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
316 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
317 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
318 !ifdef $(DEBUG_ON_SERIAL_PORT)
319 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
321 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
323 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
324 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
325 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
326 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
328 [LibraryClasses.common.UEFI_DRIVER]
329 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
330 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
331 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
332 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
333 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
334 !ifdef $(DEBUG_ON_SERIAL_PORT)
335 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
337 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
339 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
340 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
342 [LibraryClasses.common.DXE_DRIVER]
343 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
344 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
347 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
348 !ifdef $(DEBUG_ON_SERIAL_PORT)
349 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
351 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
353 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
354 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
355 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
356 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
357 !if $(SOURCE_DEBUG_ENABLE) == TRUE
358 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
360 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
361 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
362 !if $(TPM_ENABLE) == TRUE
363 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
366 [LibraryClasses.common.UEFI_APPLICATION]
367 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 !ifdef $(DEBUG_ON_SERIAL_PORT)
372 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
374 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
378 [LibraryClasses.common.DXE_SMM_DRIVER]
379 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
380 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
381 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
382 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
383 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
384 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
385 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
386 !ifdef $(DEBUG_ON_SERIAL_PORT)
387 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
389 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
391 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
392 !if $(SOURCE_DEBUG_ENABLE) == TRUE
393 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
395 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
396 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
398 [LibraryClasses.common.SMM_CORE]
399 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
400 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
401 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
402 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
403 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
404 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
405 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
406 !ifdef $(DEBUG_ON_SERIAL_PORT)
407 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
409 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
411 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
413 ################################################################################
415 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
417 ################################################################################
419 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
420 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
421 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
424 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
430 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
431 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
432 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
433 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
434 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
435 !if $(NETWORK_TLS_ENABLE) == FALSE
436 # match PcdFlashNvStorageVariableSize purely for convenience
437 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
440 !if $(FD_SIZE_IN_KB) == 4096
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
442 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
443 !if $(NETWORK_TLS_ENABLE) == FALSE
444 # match PcdFlashNvStorageVariableSize purely for convenience
445 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
448 !if $(NETWORK_TLS_ENABLE) == TRUE
449 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
453 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
455 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
457 # DEBUG_INIT 0x00000001 // Initialization
458 # DEBUG_WARN 0x00000002 // Warnings
459 # DEBUG_LOAD 0x00000004 // Load events
460 # DEBUG_FS 0x00000008 // EFI File system
461 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
462 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
463 # DEBUG_INFO 0x00000040 // Informational debug messages
464 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
465 # DEBUG_VARIABLE 0x00000100 // Variable
466 # DEBUG_BM 0x00000400 // Boot Manager
467 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
468 # DEBUG_NET 0x00004000 // SNP Driver
469 # DEBUG_UNDI 0x00010000 // UNDI Driver
470 # DEBUG_LOADFILE 0x00020000 // LoadFile
471 # DEBUG_EVENT 0x00080000 // Event messages
472 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
473 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
474 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
475 # // significantly impact boot performance
476 # DEBUG_ERROR 0x80000000 // Error
477 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
479 !if $(SOURCE_DEBUG_ENABLE) == TRUE
480 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
482 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
485 # This PCD is used to set the base address of the PCI express hierarchy. It
486 # is only consulted when OVMF runs on Q35. In that case it is programmed into
487 # the PCIEXBAR register.
489 # On Q35 machine types that QEMU intends to support in the long term, QEMU
490 # never lets the RAM below 4 GB exceed 2816 MB.
491 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
493 !if $(SOURCE_DEBUG_ENABLE) == TRUE
494 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
500 !include NetworkPkg/NetworkPcds.dsc.inc
502 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
503 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
505 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
507 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
508 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
510 ################################################################################
512 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
514 ################################################################################
518 # ($(SMM_REQUIRE) == FALSE)
519 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
521 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
522 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
523 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
524 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
525 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
526 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
527 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
528 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
529 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
530 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
531 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
532 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
533 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
534 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
536 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
538 # Set video resolution for text setup.
539 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
540 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
544 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
546 # Noexec settings for DXE.
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
549 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
550 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
551 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
553 # Set memory encryption mask
554 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
556 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
558 !if $(TPM_ENABLE) == TRUE
559 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
562 # MdeModulePkg resolution sets up the system display resolution
563 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
564 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
565 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
566 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
569 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
570 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
571 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
574 ################################################################################
576 # Components Section - list of all EDK II Modules needed by this Platform.
578 ################################################################################
580 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
585 OvmfPkg/Sec/SecMain.inf {
587 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
593 MdeModulePkg/Core/Pei/PeiMain.inf
594 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
596 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
598 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
600 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
602 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
606 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
608 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
609 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
613 !if $(TPM_ENABLE) == TRUE
614 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
615 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
617 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
618 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
619 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
620 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
621 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
622 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
629 MdeModulePkg/Core/Dxe/DxeMain.inf {
631 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
632 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
635 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
636 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
637 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
639 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
642 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
644 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
646 !if $(SECURE_BOOT_ENABLE) == TRUE
647 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
649 !if $(TPM_ENABLE) == TRUE
650 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
654 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
655 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
656 UefiCpuPkg/CpuDxe/CpuDxe.inf
657 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
658 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
659 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
660 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
662 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
663 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
665 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
667 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
669 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
670 MdeModulePkg/Universal/Metronome/Metronome.inf
671 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
672 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
673 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
676 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
677 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
680 MdeModulePkg/Logo/LogoDxe.inf
681 MdeModulePkg/Application/UiApp/UiApp.inf {
683 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
684 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
685 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
687 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
688 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
691 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
692 OvmfPkg/Virtio10Dxe/Virtio10.inf
693 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
694 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
695 OvmfPkg/VirtioRngDxe/VirtioRng.inf
696 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
697 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
698 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
699 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
700 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
701 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
703 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
705 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
706 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
708 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
709 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
711 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
712 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
713 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
714 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
715 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
716 FatPkg/EnhancedFatDxe/Fat.inf
717 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
718 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
719 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
720 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
721 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
722 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
723 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
724 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
725 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
726 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
727 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
729 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
731 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
732 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
738 OvmfPkg/SioBusDxe/SioBusDxe.inf
739 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
740 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
741 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
746 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
747 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
752 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
753 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
754 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
755 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
756 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
757 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
762 !include NetworkPkg/NetworkComponents.dsc.inc
764 !if $(NETWORK_TLS_ENABLE) == TRUE
765 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
767 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
770 OvmfPkg/VirtioNetDxe/VirtioNet.inf
773 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
775 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
778 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
780 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
783 !if $(TOOL_CHAIN_TAG) != "XCODE5"
784 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
786 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
789 ShellPkg/Application/Shell/Shell.inf {
791 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
792 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
793 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
794 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
795 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
796 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
797 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
798 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
799 !if $(NETWORK_IP6_ENABLE) == TRUE
800 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
802 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
803 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
804 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
807 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
808 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
809 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
812 !if $(SECURE_BOOT_ENABLE) == TRUE
813 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
814 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
817 OvmfPkg/PlatformDxe/Platform.inf
818 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
819 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
823 # Variable driver stack (non-SMM)
825 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
826 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
828 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
830 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
831 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
833 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
840 !if $(TPM_ENABLE) == TRUE
841 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
843 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
844 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
845 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
846 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
847 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
848 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
849 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
850 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
852 !if $(TPM_CONFIG_ENABLE) == TRUE
853 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf