2 # Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
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.
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
38 DEFINE NETWORK_TLS_ENABLE = FALSE
39 DEFINE NETWORK_IP6_ENABLE = FALSE
40 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
42 DEFINE NETWORK_ISCSI_ENABLE = TRUE
44 !include NetworkPkg/NetworkDefines.dsc.inc
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
48 # one of the supported values, in place of any of the convenience macros, is
52 DEFINE FD_SIZE_IN_KB = 1024
55 DEFINE FD_SIZE_IN_KB = 2048
58 DEFINE FD_SIZE_IN_KB = 4096
60 DEFINE FD_SIZE_IN_KB = 4096
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
69 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
72 !if $(SOURCE_DEBUG_ENABLE) == TRUE
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
77 RELEASE_*_*_GENFW_FLAGS = --zero
80 # Disable deprecated APIs.
82 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
83 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
84 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
86 !include NetworkPkg/NetworkBuildOptions.dsc.inc
88 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
89 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
90 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
91 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
92 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
94 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
95 # protection of DXE_SMM_DRIVER/SMM_CORE modules
96 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
102 ################################################################################
104 # SKU Identification section - list of all SKU IDs supported by this Platform.
106 ################################################################################
110 ################################################################################
112 # Library Class section - list of all Library Classes needed by this Platform.
114 ################################################################################
116 !include MdePkg/MdeLibs.dsc.inc
119 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
120 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
121 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
122 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
123 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
124 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
125 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
126 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
127 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
128 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
129 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
130 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
132 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
133 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
134 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
135 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
136 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
137 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
138 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
139 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
140 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
141 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
142 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
143 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
144 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
145 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
146 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
147 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
148 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
149 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
150 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
151 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
152 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
153 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
154 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
155 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
156 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
157 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
158 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
159 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
160 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
161 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
162 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
163 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
164 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
165 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
166 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
167 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
168 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
169 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
170 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
171 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
173 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
174 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
176 !if $(SOURCE_DEBUG_ENABLE) == TRUE
177 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
178 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
180 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
181 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
184 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
185 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
186 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
187 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
189 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
190 !if $(NETWORK_TLS_ENABLE) == TRUE
191 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
193 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
195 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
197 !if $(SECURE_BOOT_ENABLE) == TRUE
198 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
199 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
200 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
201 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
203 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
205 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
206 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
207 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
212 !include NetworkPkg/NetworkLibs.dsc.inc
214 !if $(NETWORK_TLS_ENABLE) == TRUE
215 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
218 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
219 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
220 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
221 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
222 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
223 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
225 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
226 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
228 [LibraryClasses.common]
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
230 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
232 [LibraryClasses.common.SEC]
233 !ifdef $(DEBUG_ON_SERIAL_PORT)
234 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
236 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
238 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
239 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
240 !if $(SOURCE_DEBUG_ENABLE) == TRUE
241 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
243 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
244 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
245 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
246 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
247 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
248 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
250 [LibraryClasses.common.PEI_CORE]
251 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
252 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
253 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
254 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
255 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
256 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
257 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
258 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
259 !ifdef $(DEBUG_ON_SERIAL_PORT)
260 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
262 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
264 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
266 [LibraryClasses.common.PEIM]
267 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
268 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
269 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
270 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
271 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
272 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
273 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
274 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
275 !ifdef $(DEBUG_ON_SERIAL_PORT)
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
280 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
281 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
282 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
283 !if $(SOURCE_DEBUG_ENABLE) == TRUE
284 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
286 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
287 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
289 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
291 [LibraryClasses.common.DXE_CORE]
292 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
293 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
294 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
295 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
296 !ifdef $(DEBUG_ON_SERIAL_PORT)
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
301 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
302 !if $(SOURCE_DEBUG_ENABLE) == TRUE
303 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
305 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
306 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
308 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
309 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
310 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
311 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
312 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
313 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
314 !ifdef $(DEBUG_ON_SERIAL_PORT)
315 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
317 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
319 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
320 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
321 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
322 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
324 [LibraryClasses.common.UEFI_DRIVER]
325 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
327 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
328 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
329 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
330 !ifdef $(DEBUG_ON_SERIAL_PORT)
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
335 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
336 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
338 [LibraryClasses.common.DXE_DRIVER]
339 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
340 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
341 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
342 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
343 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
344 !ifdef $(DEBUG_ON_SERIAL_PORT)
345 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
347 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
349 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
350 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
351 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
352 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
353 !if $(SOURCE_DEBUG_ENABLE) == TRUE
354 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
356 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
357 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
359 [LibraryClasses.common.UEFI_APPLICATION]
360 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
361 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
362 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
363 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
364 !ifdef $(DEBUG_ON_SERIAL_PORT)
365 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
367 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
369 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
371 [LibraryClasses.common.DXE_SMM_DRIVER]
372 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
373 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
374 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
377 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
378 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
379 !ifdef $(DEBUG_ON_SERIAL_PORT)
380 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
382 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
384 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
385 !if $(SOURCE_DEBUG_ENABLE) == TRUE
386 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
388 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
389 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
391 [LibraryClasses.common.SMM_CORE]
392 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
393 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
394 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
395 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
396 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
397 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
398 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
399 !ifdef $(DEBUG_ON_SERIAL_PORT)
400 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
402 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
404 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
406 ################################################################################
408 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
410 ################################################################################
412 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
413 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
414 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
415 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
416 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
417 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
420 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
421 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
422 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
424 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
425 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
426 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
427 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
428 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
429 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
430 !if $(NETWORK_TLS_ENABLE) == FALSE
431 # match PcdFlashNvStorageVariableSize purely for convenience
432 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
435 !if $(FD_SIZE_IN_KB) == 4096
436 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
437 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
438 !if $(NETWORK_TLS_ENABLE) == FALSE
439 # match PcdFlashNvStorageVariableSize purely for convenience
440 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
443 !if $(NETWORK_TLS_ENABLE) == TRUE
444 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
445 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
448 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
450 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
452 # DEBUG_INIT 0x00000001 // Initialization
453 # DEBUG_WARN 0x00000002 // Warnings
454 # DEBUG_LOAD 0x00000004 // Load events
455 # DEBUG_FS 0x00000008 // EFI File system
456 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
457 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
458 # DEBUG_INFO 0x00000040 // Informational debug messages
459 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
460 # DEBUG_VARIABLE 0x00000100 // Variable
461 # DEBUG_BM 0x00000400 // Boot Manager
462 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
463 # DEBUG_NET 0x00004000 // SNP Driver
464 # DEBUG_UNDI 0x00010000 // UNDI Driver
465 # DEBUG_LOADFILE 0x00020000 // LoadFile
466 # DEBUG_EVENT 0x00080000 // Event messages
467 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
468 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
469 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
470 # // significantly impact boot performance
471 # DEBUG_ERROR 0x80000000 // Error
472 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
474 !if $(SOURCE_DEBUG_ENABLE) == TRUE
475 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
477 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
480 # This PCD is used to set the base address of the PCI express hierarchy. It
481 # is only consulted when OVMF runs on Q35. In that case it is programmed into
482 # the PCIEXBAR register.
484 # On Q35 machine types that QEMU intends to support in the long term, QEMU
485 # never lets the RAM below 4 GB exceed 2816 MB.
486 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
488 !if $(SOURCE_DEBUG_ENABLE) == TRUE
489 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
495 !include NetworkPkg/NetworkPcds.dsc.inc
497 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
498 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
500 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
502 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
503 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
505 ################################################################################
507 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
509 ################################################################################
513 # ($(SMM_REQUIRE) == FALSE)
514 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
516 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
517 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
518 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
519 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
520 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
521 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
522 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
523 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
524 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
525 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
526 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
527 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0xC0000000
528 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x20000000
529 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
530 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
532 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
534 # Set video resolution for text setup.
535 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
536 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
538 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
539 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
542 # Noexec settings for DXE.
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
545 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
546 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
547 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
549 # Set memory encryption mask
550 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
552 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
554 # MdeModulePkg resolution sets up the system display resolution
555 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
556 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
557 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
558 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
560 ################################################################################
562 # Components Section - list of all EDK II Modules needed by this Platform.
564 ################################################################################
566 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
571 OvmfPkg/Sec/SecMain.inf {
573 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
579 MdeModulePkg/Core/Pei/PeiMain.inf
580 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
582 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
584 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
586 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
588 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
590 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
592 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
594 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
595 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
602 MdeModulePkg/Core/Dxe/DxeMain.inf {
604 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
605 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
608 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
609 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
610 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
615 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
617 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
619 !if $(SECURE_BOOT_ENABLE) == TRUE
620 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
624 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
625 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
626 UefiCpuPkg/CpuDxe/CpuDxe.inf
627 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
628 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
629 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
631 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf
632 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
633 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
635 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
637 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
639 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
640 MdeModulePkg/Universal/Metronome/Metronome.inf
641 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
642 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
643 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
646 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
647 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
650 MdeModulePkg/Logo/LogoDxe.inf
651 MdeModulePkg/Application/UiApp/UiApp.inf {
653 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
654 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
655 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
657 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
658 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
661 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
662 OvmfPkg/Virtio10Dxe/Virtio10.inf
663 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
664 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
665 OvmfPkg/VirtioRngDxe/VirtioRng.inf
666 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
667 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
668 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
669 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
670 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
671 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
673 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
675 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
676 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
678 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
679 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
681 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
682 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
683 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
684 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
685 FatPkg/EnhancedFatDxe/Fat.inf
686 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
687 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
688 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
689 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
690 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
691 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
692 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
693 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
694 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
695 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
696 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
698 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
700 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
701 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
707 OvmfPkg/SioBusDxe/SioBusDxe.inf
708 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
709 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
710 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
715 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
716 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
721 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
722 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
723 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
724 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
725 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
726 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
731 !include NetworkPkg/NetworkComponents.dsc.inc
733 !if $(NETWORK_TLS_ENABLE) == TRUE
734 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
736 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
739 OvmfPkg/VirtioNetDxe/VirtioNet.inf
744 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
745 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
746 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
747 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
750 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
752 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
755 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
757 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
760 !if $(TOOL_CHAIN_TAG) != "XCODE5"
761 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
763 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
766 ShellPkg/Application/Shell/Shell.inf {
768 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
769 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
770 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
771 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
772 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
773 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
774 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
775 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
776 !if $(NETWORK_IP6_ENABLE) == TRUE
777 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
779 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
780 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
781 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
784 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
785 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
786 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
789 !if $(SECURE_BOOT_ENABLE) == TRUE
790 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
791 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
794 OvmfPkg/PlatformDxe/Platform.inf
795 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
797 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
799 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
803 # Variable driver stack (non-SMM)
805 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
806 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
808 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
810 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
811 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
813 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf