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
201 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
203 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
204 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
205 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
210 !include NetworkPkg/NetworkLibs.dsc.inc
212 !if $(NETWORK_TLS_ENABLE) == TRUE
213 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
216 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
217 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
218 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
219 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
220 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
221 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
223 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
224 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
226 [LibraryClasses.common]
227 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
228 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
230 [LibraryClasses.common.SEC]
231 !ifdef $(DEBUG_ON_SERIAL_PORT)
232 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
234 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
236 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
237 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
238 !if $(SOURCE_DEBUG_ENABLE) == TRUE
239 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
242 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
243 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
245 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
247 [LibraryClasses.common.PEI_CORE]
248 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
249 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
252 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
253 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
254 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
255 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
256 !ifdef $(DEBUG_ON_SERIAL_PORT)
257 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
259 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
263 [LibraryClasses.common.PEIM]
264 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
265 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
266 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
267 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
268 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
269 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
270 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
271 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
272 !ifdef $(DEBUG_ON_SERIAL_PORT)
273 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
275 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
277 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
278 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
279 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
280 !if $(SOURCE_DEBUG_ENABLE) == TRUE
281 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
283 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
284 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
286 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
288 [LibraryClasses.common.DXE_CORE]
289 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
290 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
291 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
292 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
293 !ifdef $(DEBUG_ON_SERIAL_PORT)
294 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
296 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
298 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
305 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
306 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
308 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
309 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
311 !ifdef $(DEBUG_ON_SERIAL_PORT)
312 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
314 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
316 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
317 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
318 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
319 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
321 [LibraryClasses.common.UEFI_DRIVER]
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
323 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
324 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
325 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
327 !ifdef $(DEBUG_ON_SERIAL_PORT)
328 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
330 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
332 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
333 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
335 [LibraryClasses.common.DXE_DRIVER]
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
341 !ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
346 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
347 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
348 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
349 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
350 !if $(SOURCE_DEBUG_ENABLE) == TRUE
351 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
353 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
354 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
356 [LibraryClasses.common.UEFI_APPLICATION]
357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
358 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
359 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
360 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
361 !ifdef $(DEBUG_ON_SERIAL_PORT)
362 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
364 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
366 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
368 [LibraryClasses.common.DXE_SMM_DRIVER]
369 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
370 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
371 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
372 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
373 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
374 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
375 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
376 !ifdef $(DEBUG_ON_SERIAL_PORT)
377 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
379 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
381 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
382 !if $(SOURCE_DEBUG_ENABLE) == TRUE
383 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
385 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
386 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
388 [LibraryClasses.common.SMM_CORE]
389 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
390 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
391 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
392 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
393 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
394 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
395 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
396 !ifdef $(DEBUG_ON_SERIAL_PORT)
397 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
399 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
401 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
403 ################################################################################
405 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
407 ################################################################################
409 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
410 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
411 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
412 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
413 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
414 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
417 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
418 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
419 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
420 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
421 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
422 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
423 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
424 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
425 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
426 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
427 !if $(NETWORK_TLS_ENABLE) == FALSE
428 # match PcdFlashNvStorageVariableSize purely for convenience
429 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
432 !if $(FD_SIZE_IN_KB) == 4096
433 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
434 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
435 !if $(NETWORK_TLS_ENABLE) == FALSE
436 # match PcdFlashNvStorageVariableSize purely for convenience
437 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
440 !if $(NETWORK_TLS_ENABLE) == TRUE
441 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
442 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
445 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
447 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
449 # DEBUG_INIT 0x00000001 // Initialization
450 # DEBUG_WARN 0x00000002 // Warnings
451 # DEBUG_LOAD 0x00000004 // Load events
452 # DEBUG_FS 0x00000008 // EFI File system
453 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
454 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
455 # DEBUG_INFO 0x00000040 // Informational debug messages
456 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
457 # DEBUG_VARIABLE 0x00000100 // Variable
458 # DEBUG_BM 0x00000400 // Boot Manager
459 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
460 # DEBUG_NET 0x00004000 // SNP Driver
461 # DEBUG_UNDI 0x00010000 // UNDI Driver
462 # DEBUG_LOADFILE 0x00020000 // LoadFile
463 # DEBUG_EVENT 0x00080000 // Event messages
464 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
465 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
466 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
467 # // significantly impact boot performance
468 # DEBUG_ERROR 0x80000000 // Error
469 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
471 !if $(SOURCE_DEBUG_ENABLE) == TRUE
472 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
474 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
477 # This PCD is used to set the base address of the PCI express hierarchy. It
478 # is only consulted when OVMF runs on Q35. In that case it is programmed into
479 # the PCIEXBAR register.
481 # On Q35 machine types that QEMU intends to support in the long term, QEMU
482 # never lets the RAM below 4 GB exceed 2816 MB.
483 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
485 !if $(SOURCE_DEBUG_ENABLE) == TRUE
486 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
492 !include NetworkPkg/NetworkPcds.dsc.inc
494 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
495 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
497 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
499 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
500 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
502 ################################################################################
504 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
506 ################################################################################
510 # ($(SMM_REQUIRE) == FALSE)
511 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
513 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
514 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
515 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
516 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
517 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
518 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
519 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
520 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
521 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
522 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0xC0000000
523 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x20000000
524 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
525 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
527 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
529 # Set video resolution for text setup.
530 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
531 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
533 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
534 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
535 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
537 # Noexec settings for DXE.
538 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
540 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
541 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
542 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
544 # Set memory encryption mask
545 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
547 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
549 # MdeModulePkg resolution sets up the system display resolution
550 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
551 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
552 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
553 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
555 ################################################################################
557 # Components Section - list of all EDK II Modules needed by this Platform.
559 ################################################################################
561 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
566 OvmfPkg/Sec/SecMain.inf {
568 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
574 MdeModulePkg/Core/Pei/PeiMain.inf
575 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
577 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
579 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
581 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
583 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
585 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
587 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
589 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
590 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
597 MdeModulePkg/Core/Dxe/DxeMain.inf {
599 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
600 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
603 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
604 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
605 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
607 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
610 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
612 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
614 !if $(SECURE_BOOT_ENABLE) == TRUE
615 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
619 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
620 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
621 UefiCpuPkg/CpuDxe/CpuDxe.inf
622 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
623 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
624 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
626 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf
627 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
628 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
630 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
632 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
634 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
635 MdeModulePkg/Universal/Metronome/Metronome.inf
636 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
637 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
638 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
641 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
642 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
645 MdeModulePkg/Logo/LogoDxe.inf
646 MdeModulePkg/Application/UiApp/UiApp.inf {
648 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
649 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
650 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
652 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
653 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
656 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
657 OvmfPkg/Virtio10Dxe/Virtio10.inf
658 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
659 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
660 OvmfPkg/VirtioRngDxe/VirtioRng.inf
661 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
662 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
663 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
664 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
665 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
666 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
668 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
670 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
671 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
673 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
674 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
676 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
677 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
678 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
679 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
680 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
681 FatPkg/EnhancedFatDxe/Fat.inf
682 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
683 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
684 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
685 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
686 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
687 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
688 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
689 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
690 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
691 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
692 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
694 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
696 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
697 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
703 OvmfPkg/SioBusDxe/SioBusDxe.inf
704 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
705 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
706 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
711 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
712 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
717 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
718 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
719 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
720 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
721 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
722 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
727 !include NetworkPkg/NetworkComponents.dsc.inc
729 !if $(NETWORK_TLS_ENABLE) == TRUE
730 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
732 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
735 OvmfPkg/VirtioNetDxe/VirtioNet.inf
740 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
741 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
742 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
743 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
746 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
748 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
751 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
753 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
756 !if $(TOOL_CHAIN_TAG) != "XCODE5"
757 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
759 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
762 ShellPkg/Application/Shell/Shell.inf {
764 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
765 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
766 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
767 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
768 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
769 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
770 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
771 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
772 !if $(NETWORK_IP6_ENABLE) == TRUE
773 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
775 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
776 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
777 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
780 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
781 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
782 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
785 !if $(SECURE_BOOT_ENABLE) == TRUE
786 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
787 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
790 OvmfPkg/PlatformDxe/Platform.inf
791 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
792 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
796 # Variable driver stack (non-SMM)
798 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
799 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
801 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
803 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
804 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
806 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf