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
79 RELEASE_*_*_GENFW_FLAGS = --zero
82 # Disable deprecated APIs.
84 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
85 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
86 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
88 !include NetworkPkg/NetworkBuildOptions.dsc.inc
90 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
92 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
93 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
94 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
96 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
97 # protection of DXE_SMM_DRIVER/SMM_CORE modules
98 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
104 ################################################################################
106 # SKU Identification section - list of all SKU IDs supported by this Platform.
108 ################################################################################
112 ################################################################################
114 # Library Class section - list of all Library Classes needed by this Platform.
116 ################################################################################
118 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
119 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
120 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
121 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
122 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
123 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
124 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
125 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
126 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
127 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
128 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
129 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
130 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
131 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
132 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
133 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
134 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
135 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
136 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
137 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
138 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
139 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
140 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
141 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
142 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
143 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
144 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
145 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
146 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
147 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
148 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
149 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
150 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
151 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
152 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
153 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
154 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
155 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
156 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
157 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
158 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
159 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
160 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
161 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
162 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
163 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
164 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
165 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
166 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
167 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
168 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
170 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
171 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
173 !if $(SOURCE_DEBUG_ENABLE) == TRUE
174 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
175 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
177 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
178 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
181 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
182 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
183 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
184 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
186 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
187 !if $(NETWORK_TLS_ENABLE) == TRUE
188 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
190 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
192 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
194 !if $(SECURE_BOOT_ENABLE) == TRUE
195 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
196 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
198 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
200 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
201 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
202 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
207 !include NetworkPkg/NetworkLibs.dsc.inc
209 !if $(NETWORK_TLS_ENABLE) == TRUE
210 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
213 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
214 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
215 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
216 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
217 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
218 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
221 !if $(TPM_ENABLE) == TRUE
222 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
223 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
224 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
225 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
227 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
228 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
231 [LibraryClasses.common]
232 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
233 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
235 [LibraryClasses.common.SEC]
236 !ifdef $(DEBUG_ON_SERIAL_PORT)
237 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
239 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
241 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
242 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
243 !if $(SOURCE_DEBUG_ENABLE) == TRUE
244 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
246 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
247 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
248 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
249 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
250 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
252 [LibraryClasses.common.PEI_CORE]
253 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
254 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
255 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
256 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
257 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
258 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
259 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
260 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
261 !ifdef $(DEBUG_ON_SERIAL_PORT)
262 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
264 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
266 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
268 [LibraryClasses.common.PEIM]
269 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
270 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
271 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
272 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
273 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
274 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
275 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
276 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
277 !ifdef $(DEBUG_ON_SERIAL_PORT)
278 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
280 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
282 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
283 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
284 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
285 !if $(SOURCE_DEBUG_ENABLE) == TRUE
286 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
288 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
289 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
291 !if $(TPM_ENABLE) == TRUE
292 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
293 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
296 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
298 [LibraryClasses.common.DXE_CORE]
299 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
300 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
301 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
302 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
303 !ifdef $(DEBUG_ON_SERIAL_PORT)
304 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
306 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
308 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
309 !if $(SOURCE_DEBUG_ENABLE) == TRUE
310 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
312 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
313 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
315 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
316 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
317 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
318 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
319 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
320 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
321 !ifdef $(DEBUG_ON_SERIAL_PORT)
322 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
324 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
326 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
327 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
328 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
329 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
331 [LibraryClasses.common.UEFI_DRIVER]
332 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
333 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
334 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
335 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
336 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
337 !ifdef $(DEBUG_ON_SERIAL_PORT)
338 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
340 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
342 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
343 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
345 [LibraryClasses.common.DXE_DRIVER]
346 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
347 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
348 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
349 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
350 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
351 !ifdef $(DEBUG_ON_SERIAL_PORT)
352 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
354 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
356 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
357 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
358 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
359 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
360 !if $(SOURCE_DEBUG_ENABLE) == TRUE
361 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
363 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
364 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
365 !if $(TPM_ENABLE) == TRUE
366 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
369 [LibraryClasses.common.UEFI_APPLICATION]
370 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
371 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
372 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
373 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
374 !ifdef $(DEBUG_ON_SERIAL_PORT)
375 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
377 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
379 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
381 [LibraryClasses.common.DXE_SMM_DRIVER]
382 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
383 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
384 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
385 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
386 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
387 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
388 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
389 !ifdef $(DEBUG_ON_SERIAL_PORT)
390 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
392 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
394 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
395 !if $(SOURCE_DEBUG_ENABLE) == TRUE
396 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
398 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
399 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
401 [LibraryClasses.common.SMM_CORE]
402 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
403 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
404 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
405 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
406 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
407 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
408 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
409 !ifdef $(DEBUG_ON_SERIAL_PORT)
410 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
412 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
414 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
416 ################################################################################
418 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
420 ################################################################################
422 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
423 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
424 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
425 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
432 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
433 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
434 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
435 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
436 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
437 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
438 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
439 !if $(NETWORK_TLS_ENABLE) == FALSE
440 # match PcdFlashNvStorageVariableSize purely for convenience
441 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
444 !if $(FD_SIZE_IN_KB) == 4096
445 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
446 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
447 !if $(NETWORK_TLS_ENABLE) == FALSE
448 # match PcdFlashNvStorageVariableSize purely for convenience
449 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
452 !if $(NETWORK_TLS_ENABLE) == TRUE
453 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
454 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
457 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
459 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
461 # DEBUG_INIT 0x00000001 // Initialization
462 # DEBUG_WARN 0x00000002 // Warnings
463 # DEBUG_LOAD 0x00000004 // Load events
464 # DEBUG_FS 0x00000008 // EFI File system
465 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
466 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
467 # DEBUG_INFO 0x00000040 // Informational debug messages
468 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
469 # DEBUG_VARIABLE 0x00000100 // Variable
470 # DEBUG_BM 0x00000400 // Boot Manager
471 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
472 # DEBUG_NET 0x00004000 // SNP Driver
473 # DEBUG_UNDI 0x00010000 // UNDI Driver
474 # DEBUG_LOADFILE 0x00020000 // LoadFile
475 # DEBUG_EVENT 0x00080000 // Event messages
476 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
477 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
478 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
479 # // significantly impact boot performance
480 # DEBUG_ERROR 0x80000000 // Error
481 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
483 !if $(SOURCE_DEBUG_ENABLE) == TRUE
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
486 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
489 # This PCD is used to set the base address of the PCI express hierarchy. It
490 # is only consulted when OVMF runs on Q35. In that case it is programmed into
491 # the PCIEXBAR register.
493 # On Q35 machine types that QEMU intends to support in the long term, QEMU
494 # never lets the RAM below 4 GB exceed 2816 MB.
495 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
497 !if $(SOURCE_DEBUG_ENABLE) == TRUE
498 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
504 !include NetworkPkg/NetworkPcds.dsc.inc
506 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
507 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
509 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
511 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
512 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
514 ################################################################################
516 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
518 ################################################################################
522 # ($(SMM_REQUIRE) == FALSE)
523 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
525 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
527 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
528 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
529 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
530 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
531 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
532 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
533 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
534 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
535 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
540 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
542 # Set video resolution for text setup.
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
544 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
548 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
550 # Noexec settings for DXE.
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
553 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
554 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
555 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
557 # Set memory encryption mask
558 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
560 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
562 !if $(TPM_ENABLE) == TRUE
563 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
566 # MdeModulePkg resolution sets up the system display resolution
567 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
569 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
570 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
573 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
574 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
575 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
578 ################################################################################
580 # Components Section - list of all EDK II Modules needed by this Platform.
582 ################################################################################
584 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
589 OvmfPkg/Sec/SecMain.inf {
591 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
597 MdeModulePkg/Core/Pei/PeiMain.inf
598 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
600 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
602 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
606 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
610 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
612 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
613 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
617 !if $(TPM_ENABLE) == TRUE
618 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
619 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
621 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
622 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
623 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
624 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
625 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
633 MdeModulePkg/Core/Dxe/DxeMain.inf {
635 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
636 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
639 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
640 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
641 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
643 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
646 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
648 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
650 !if $(SECURE_BOOT_ENABLE) == TRUE
651 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
653 !if $(TPM_ENABLE) == TRUE
654 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
658 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
659 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
660 UefiCpuPkg/CpuDxe/CpuDxe.inf
661 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
662 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
663 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
664 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
666 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
667 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
668 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
670 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
672 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
674 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
675 MdeModulePkg/Universal/Metronome/Metronome.inf
676 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
677 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
678 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
681 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
682 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
685 MdeModulePkg/Logo/LogoDxe.inf
686 MdeModulePkg/Application/UiApp/UiApp.inf {
688 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
689 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
690 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
692 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
693 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
696 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
697 OvmfPkg/Virtio10Dxe/Virtio10.inf
698 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
699 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
700 OvmfPkg/VirtioRngDxe/VirtioRng.inf
701 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
702 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
703 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
704 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
705 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
706 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
708 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
710 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
711 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
713 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
714 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
716 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
717 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
718 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
719 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
720 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
721 FatPkg/EnhancedFatDxe/Fat.inf
722 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
723 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
724 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
725 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
726 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
727 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
728 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
729 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
730 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
731 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
732 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
734 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
736 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
737 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
743 OvmfPkg/SioBusDxe/SioBusDxe.inf
744 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
745 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
746 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
751 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
752 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
757 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
758 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
759 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
760 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
761 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
762 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
767 !include NetworkPkg/NetworkComponents.dsc.inc
769 !if $(NETWORK_TLS_ENABLE) == TRUE
770 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
772 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
775 OvmfPkg/VirtioNetDxe/VirtioNet.inf
778 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
780 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
783 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
785 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
788 !if $(TOOL_CHAIN_TAG) != "XCODE5"
789 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
791 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
794 ShellPkg/Application/Shell/Shell.inf {
796 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
797 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
798 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
799 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
800 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
801 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
802 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
803 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
804 !if $(NETWORK_IP6_ENABLE) == TRUE
805 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
807 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
808 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
809 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
812 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
813 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
814 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
817 !if $(SECURE_BOOT_ENABLE) == TRUE
818 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
819 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
822 OvmfPkg/PlatformDxe/Platform.inf
823 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
824 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
828 # Variable driver stack (non-SMM)
830 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
831 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
833 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
835 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
836 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
838 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
845 !if $(TPM_ENABLE) == TRUE
846 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
848 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
849 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
850 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
851 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
852 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
853 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
854 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
855 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
857 !if $(TPM_CONFIG_ENABLE) == TRUE
858 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf