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 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
156 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
157 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
158 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
159 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
160 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
161 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
162 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
163 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
164 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
165 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
166 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
167 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
168 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
169 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
170 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
171 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
172 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
174 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
175 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
177 !if $(SOURCE_DEBUG_ENABLE) == TRUE
178 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
179 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
181 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
182 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
185 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
186 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
187 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
188 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
190 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
191 !if $(NETWORK_TLS_ENABLE) == TRUE
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
196 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
198 !if $(SECURE_BOOT_ENABLE) == TRUE
199 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
200 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
202 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
204 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
205 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
206 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
211 !include NetworkPkg/NetworkLibs.dsc.inc
213 !if $(NETWORK_TLS_ENABLE) == TRUE
214 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
217 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
218 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
219 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
220 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
221 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
222 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
225 !if $(TPM_ENABLE) == TRUE
226 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
227 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
228 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
229 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
231 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
232 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
235 [LibraryClasses.common]
236 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
237 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
239 [LibraryClasses.common.SEC]
240 !ifdef $(DEBUG_ON_SERIAL_PORT)
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
243 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
245 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
246 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
247 !if $(SOURCE_DEBUG_ENABLE) == TRUE
248 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
250 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
251 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
252 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
253 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
254 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
256 [LibraryClasses.common.PEI_CORE]
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
261 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
265 !ifdef $(DEBUG_ON_SERIAL_PORT)
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
272 [LibraryClasses.common.PEIM]
273 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
274 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
275 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
276 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
277 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
278 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
279 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
280 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
281 !ifdef $(DEBUG_ON_SERIAL_PORT)
282 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
284 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
286 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
287 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
288 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
289 !if $(SOURCE_DEBUG_ENABLE) == TRUE
290 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
292 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
293 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
295 !if $(TPM_ENABLE) == TRUE
296 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
297 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
300 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
302 [LibraryClasses.common.DXE_CORE]
303 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
304 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
305 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
307 !ifdef $(DEBUG_ON_SERIAL_PORT)
308 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
310 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
312 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
313 !if $(SOURCE_DEBUG_ENABLE) == TRUE
314 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
316 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
319 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
320 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
323 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
324 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
325 !ifdef $(DEBUG_ON_SERIAL_PORT)
326 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
331 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
335 [LibraryClasses.common.UEFI_DRIVER]
336 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
337 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
338 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
339 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
340 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
341 !ifdef $(DEBUG_ON_SERIAL_PORT)
342 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
346 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
347 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
349 [LibraryClasses.common.DXE_DRIVER]
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
352 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
353 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
354 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
355 !ifdef $(DEBUG_ON_SERIAL_PORT)
356 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
360 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
361 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
362 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
363 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
364 !if $(SOURCE_DEBUG_ENABLE) == TRUE
365 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
367 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
368 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
369 !if $(TPM_ENABLE) == TRUE
370 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
373 [LibraryClasses.common.UEFI_APPLICATION]
374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
375 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
376 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
378 !ifdef $(DEBUG_ON_SERIAL_PORT)
379 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
381 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
383 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
385 [LibraryClasses.common.DXE_SMM_DRIVER]
386 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
387 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
388 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
389 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
390 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
391 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
392 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
393 !ifdef $(DEBUG_ON_SERIAL_PORT)
394 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
396 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
398 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
399 !if $(SOURCE_DEBUG_ENABLE) == TRUE
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
402 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
405 [LibraryClasses.common.SMM_CORE]
406 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
407 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
408 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
409 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
410 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
411 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
412 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
413 !ifdef $(DEBUG_ON_SERIAL_PORT)
414 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
416 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
418 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
420 ################################################################################
422 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
424 ################################################################################
426 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
434 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
436 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
437 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
438 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
439 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
440 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
441 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
442 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
443 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
444 !if $(NETWORK_TLS_ENABLE) == FALSE
445 # match PcdFlashNvStorageVariableSize purely for convenience
446 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
449 !if $(FD_SIZE_IN_KB) == 4096
450 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
451 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
452 !if $(NETWORK_TLS_ENABLE) == FALSE
453 # match PcdFlashNvStorageVariableSize purely for convenience
454 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
457 !if $(NETWORK_TLS_ENABLE) == TRUE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
459 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
462 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
464 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
466 # DEBUG_INIT 0x00000001 // Initialization
467 # DEBUG_WARN 0x00000002 // Warnings
468 # DEBUG_LOAD 0x00000004 // Load events
469 # DEBUG_FS 0x00000008 // EFI File system
470 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
471 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
472 # DEBUG_INFO 0x00000040 // Informational debug messages
473 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
474 # DEBUG_VARIABLE 0x00000100 // Variable
475 # DEBUG_BM 0x00000400 // Boot Manager
476 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
477 # DEBUG_NET 0x00004000 // SNP Driver
478 # DEBUG_UNDI 0x00010000 // UNDI Driver
479 # DEBUG_LOADFILE 0x00020000 // LoadFile
480 # DEBUG_EVENT 0x00080000 // Event messages
481 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
482 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
483 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
484 # // significantly impact boot performance
485 # DEBUG_ERROR 0x80000000 // Error
486 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
488 !if $(SOURCE_DEBUG_ENABLE) == TRUE
489 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
491 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
494 # This PCD is used to set the base address of the PCI express hierarchy. It
495 # is only consulted when OVMF runs on Q35. In that case it is programmed into
496 # the PCIEXBAR register.
498 # On Q35 machine types that QEMU intends to support in the long term, QEMU
499 # never lets the RAM below 4 GB exceed 2816 MB.
500 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
502 !if $(SOURCE_DEBUG_ENABLE) == TRUE
503 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
509 !include NetworkPkg/NetworkPcds.dsc.inc
511 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
512 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
514 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
516 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
517 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
519 ################################################################################
521 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
523 ################################################################################
527 # ($(SMM_REQUIRE) == FALSE)
528 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
532 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
535 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
536 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
542 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
544 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
546 # Set video resolution for text setup.
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
552 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
554 # Noexec settings for DXE.
555 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
557 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
559 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
561 # Set memory encryption mask
562 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
564 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
566 !if $(TPM_ENABLE) == TRUE
567 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
570 # MdeModulePkg resolution sets up the system display resolution
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
572 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
574 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
577 !if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE
578 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
579 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
582 ################################################################################
584 # Components Section - list of all EDK II Modules needed by this Platform.
586 ################################################################################
588 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
593 OvmfPkg/Sec/SecMain.inf {
595 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
601 MdeModulePkg/Core/Pei/PeiMain.inf
602 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
606 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
610 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
614 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
616 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
617 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
621 !if $(TPM_ENABLE) == TRUE
622 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
623 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
625 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
626 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
627 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
628 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
629 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
630 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
637 MdeModulePkg/Core/Dxe/DxeMain.inf {
639 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
640 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
643 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
644 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
645 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
647 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
650 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
652 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
654 !if $(SECURE_BOOT_ENABLE) == TRUE
655 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
657 !if $(TPM_ENABLE) == TRUE
658 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
662 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
663 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
664 UefiCpuPkg/CpuDxe/CpuDxe.inf
665 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.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