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
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 !include MdePkg/MdeLibs.dsc.inc
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
122 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
123 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
124 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
125 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
126 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
127 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
128 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
129 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
130 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
131 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
132 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
133 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
134 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
135 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
136 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
137 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
138 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
139 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
140 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
141 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
142 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
143 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
144 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
145 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
146 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
147 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
148 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
149 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
150 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
151 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
152 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
153 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
154 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
155 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
156 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
157 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
158 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
159 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
160 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
161 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
162 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
163 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
164 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.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
224 !if $(TPM_ENABLE) == TRUE
225 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
226 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
227 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
228 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
231 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
234 [LibraryClasses.common]
235 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
236 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
238 [LibraryClasses.common.SEC]
239 !ifdef $(DEBUG_ON_SERIAL_PORT)
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
245 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
246 !if $(SOURCE_DEBUG_ENABLE) == TRUE
247 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
249 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
252 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
255 [LibraryClasses.common.PEI_CORE]
256 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
257 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
258 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
259 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
260 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
261 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
262 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
263 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
264 !ifdef $(DEBUG_ON_SERIAL_PORT)
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271 [LibraryClasses.common.PEIM]
272 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
274 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
275 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
276 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
277 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
278 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
279 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
286 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
287 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
288 !if $(SOURCE_DEBUG_ENABLE) == TRUE
289 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
291 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
292 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
294 !if $(TPM_ENABLE) == TRUE
295 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
296 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
299 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
301 [LibraryClasses.common.DXE_CORE]
302 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
303 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
304 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
305 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
306 !ifdef $(DEBUG_ON_SERIAL_PORT)
307 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
312 !if $(SOURCE_DEBUG_ENABLE) == TRUE
313 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
315 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
316 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
318 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
319 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
320 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
321 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
322 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
323 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
324 !ifdef $(DEBUG_ON_SERIAL_PORT)
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
327 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
329 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
330 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
331 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
332 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
334 [LibraryClasses.common.UEFI_DRIVER]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
338 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
340 !ifdef $(DEBUG_ON_SERIAL_PORT)
341 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
343 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
345 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
346 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
348 [LibraryClasses.common.DXE_DRIVER]
349 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
350 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
351 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
352 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
353 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
354 !ifdef $(DEBUG_ON_SERIAL_PORT)
355 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
357 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
359 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
360 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
361 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
362 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
363 !if $(SOURCE_DEBUG_ENABLE) == TRUE
364 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
366 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
367 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
368 !if $(TPM_ENABLE) == TRUE
369 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
372 [LibraryClasses.common.UEFI_APPLICATION]
373 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
374 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
375 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
376 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
377 !ifdef $(DEBUG_ON_SERIAL_PORT)
378 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
380 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
382 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
384 [LibraryClasses.common.DXE_SMM_DRIVER]
385 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
386 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
388 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
389 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
390 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
391 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
392 !ifdef $(DEBUG_ON_SERIAL_PORT)
393 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
395 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
398 !if $(SOURCE_DEBUG_ENABLE) == TRUE
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
401 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
402 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
404 [LibraryClasses.common.SMM_CORE]
405 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
406 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
407 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
408 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
410 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
411 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
412 !ifdef $(DEBUG_ON_SERIAL_PORT)
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419 ################################################################################
421 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
423 ################################################################################
425 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
426 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
433 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
434 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
438 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
439 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
442 !if $(NETWORK_TLS_ENABLE) == FALSE
443 # match PcdFlashNvStorageVariableSize purely for convenience
444 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
447 !if $(FD_SIZE_IN_KB) == 4096
448 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
450 !if $(NETWORK_TLS_ENABLE) == FALSE
451 # match PcdFlashNvStorageVariableSize purely for convenience
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
455 !if $(NETWORK_TLS_ENABLE) == TRUE
456 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
457 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
460 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
462 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
464 # DEBUG_INIT 0x00000001 // Initialization
465 # DEBUG_WARN 0x00000002 // Warnings
466 # DEBUG_LOAD 0x00000004 // Load events
467 # DEBUG_FS 0x00000008 // EFI File system
468 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
469 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
470 # DEBUG_INFO 0x00000040 // Informational debug messages
471 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
472 # DEBUG_VARIABLE 0x00000100 // Variable
473 # DEBUG_BM 0x00000400 // Boot Manager
474 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
475 # DEBUG_NET 0x00004000 // SNP Driver
476 # DEBUG_UNDI 0x00010000 // UNDI Driver
477 # DEBUG_LOADFILE 0x00020000 // LoadFile
478 # DEBUG_EVENT 0x00080000 // Event messages
479 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
480 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
481 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
482 # // significantly impact boot performance
483 # DEBUG_ERROR 0x80000000 // Error
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
486 !if $(SOURCE_DEBUG_ENABLE) == TRUE
487 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
489 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
492 # This PCD is used to set the base address of the PCI express hierarchy. It
493 # is only consulted when OVMF runs on Q35. In that case it is programmed into
494 # the PCIEXBAR register.
496 # On Q35 machine types that QEMU intends to support in the long term, QEMU
497 # never lets the RAM below 4 GB exceed 2816 MB.
498 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
500 !if $(SOURCE_DEBUG_ENABLE) == TRUE
501 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
507 !include NetworkPkg/NetworkPcds.dsc.inc
509 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
510 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
512 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
514 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
515 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
517 ################################################################################
519 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
521 ################################################################################
525 # ($(SMM_REQUIRE) == FALSE)
526 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
528 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
532 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
534 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
535 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
543 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
545 # Set video resolution for text setup.
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
551 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
553 # Noexec settings for DXE.
554 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560 # Set memory encryption mask
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
565 !if $(TPM_ENABLE) == TRUE
566 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
569 # MdeModulePkg resolution sets up the system display resolution
570 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
576 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
577 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
578 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
581 ################################################################################
583 # Components Section - list of all EDK II Modules needed by this Platform.
585 ################################################################################
587 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
592 OvmfPkg/Sec/SecMain.inf {
594 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
600 MdeModulePkg/Core/Pei/PeiMain.inf
601 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
603 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
605 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
607 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
609 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
611 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
613 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
615 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
616 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
620 !if $(TPM_ENABLE) == TRUE
621 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
622 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
624 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
625 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
636 MdeModulePkg/Core/Dxe/DxeMain.inf {
638 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
639 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
642 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
643 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
644 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
646 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
649 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
651 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
653 !if $(SECURE_BOOT_ENABLE) == TRUE
654 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
656 !if $(TPM_ENABLE) == TRUE
657 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
661 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
662 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
663 UefiCpuPkg/CpuDxe/CpuDxe.inf
664 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
665 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
666 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
667 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
669 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
670 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
671 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
673 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
675 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
677 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
678 MdeModulePkg/Universal/Metronome/Metronome.inf
679 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
680 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
681 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
684 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
685 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
688 MdeModulePkg/Logo/LogoDxe.inf
689 MdeModulePkg/Application/UiApp/UiApp.inf {
691 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
692 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
693 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
695 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
696 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
699 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
700 OvmfPkg/Virtio10Dxe/Virtio10.inf
701 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
702 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
703 OvmfPkg/VirtioRngDxe/VirtioRng.inf
704 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
705 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
706 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
707 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
708 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
709 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
711 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
713 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
714 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
716 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
717 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
719 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
720 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
721 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
722 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
723 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
724 FatPkg/EnhancedFatDxe/Fat.inf
725 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
726 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
727 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
728 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
729 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
730 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
731 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
732 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
733 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
734 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
735 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
737 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
739 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
740 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
746 OvmfPkg/SioBusDxe/SioBusDxe.inf
747 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
748 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
749 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
754 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
755 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
760 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
761 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
762 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
763 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
764 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
765 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
770 !include NetworkPkg/NetworkComponents.dsc.inc
772 !if $(NETWORK_TLS_ENABLE) == TRUE
773 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
775 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
778 OvmfPkg/VirtioNetDxe/VirtioNet.inf
781 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
783 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
786 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
788 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
791 !if $(TOOL_CHAIN_TAG) != "XCODE5"
792 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
794 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
797 ShellPkg/Application/Shell/Shell.inf {
799 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
800 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
801 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
802 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
803 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
804 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
805 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
806 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
807 !if $(NETWORK_IP6_ENABLE) == TRUE
808 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
810 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
811 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
812 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
815 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
816 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
817 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
820 !if $(SECURE_BOOT_ENABLE) == TRUE
821 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
822 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
825 OvmfPkg/PlatformDxe/Platform.inf
826 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
827 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
831 # Variable driver stack (non-SMM)
833 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
834 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
836 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
838 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
839 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
841 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
848 !if $(TPM_ENABLE) == TRUE
849 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
851 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
852 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
853 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
854 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
855 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
856 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
857 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
858 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
860 !if $(TPM_CONFIG_ENABLE) == TRUE
861 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf