]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Bhyve/BhyveX64.dsc
OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver
[mirror_edk2.git] / OvmfPkg / Bhyve / BhyveX64.dsc
1 #
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.
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 PLATFORM_NAME = Bhyve
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
26
27 #
28 # Defines for default states. These can be changed on the command line.
29 # -D FLAG=VALUE
30 #
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
36
37 #
38 # Network definition
39 #
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
45
46 !include NetworkPkg/NetworkDefines.dsc.inc
47
48 #
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
51 # permitted.
52 #
53 !ifdef $(FD_SIZE_1MB)
54 DEFINE FD_SIZE_IN_KB = 1024
55 !else
56 !ifdef $(FD_SIZE_2MB)
57 DEFINE FD_SIZE_IN_KB = 2048
58 !else
59 !ifdef $(FD_SIZE_4MB)
60 DEFINE FD_SIZE_IN_KB = 4096
61 !else
62 DEFINE FD_SIZE_IN_KB = 4096
63 !endif
64 !endif
65 !endif
66
67 [BuildOptions]
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
73 !endif
74 !if $(SOURCE_DEBUG_ENABLE) == TRUE
75 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
76 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
77 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78 !endif
79 RELEASE_*_*_GENFW_FLAGS = --zero
80
81 #
82 # Disable deprecated APIs.
83 #
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
87
88 !include NetworkPkg/NetworkBuildOptions.dsc.inc
89
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
95
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
103
104 ################################################################################
105 #
106 # SKU Identification section - list of all SKU IDs supported by this Platform.
107 #
108 ################################################################################
109 [SkuIds]
110 0|DEFAULT
111
112 ################################################################################
113 #
114 # Library Class section - list of all Library Classes needed by this Platform.
115 #
116 ################################################################################
117
118 !include MdePkg/MdeLibs.dsc.inc
119
120 [LibraryClasses]
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
173
174 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
175 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
176
177 !if $(SOURCE_DEBUG_ENABLE) == TRUE
178 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
179 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
180 !else
181 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
182 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
183 !endif
184
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
189
190 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
191 !if $(NETWORK_TLS_ENABLE) == TRUE
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
193 !else
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
195 !endif
196 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
197
198 !if $(SECURE_BOOT_ENABLE) == TRUE
199 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
200 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
201 !else
202 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
203 !endif
204 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
205 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
206 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
207
208 #
209 # Network libraries
210 #
211 !include NetworkPkg/NetworkLibs.dsc.inc
212
213 !if $(NETWORK_TLS_ENABLE) == TRUE
214 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
215 !endif
216
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
223
224
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
230 !else
231 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
232 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
233 !endif
234
235 [LibraryClasses.common]
236 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
237 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
238
239 [LibraryClasses.common.SEC]
240 !ifdef $(DEBUG_ON_SERIAL_PORT)
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242 !else
243 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
244 !endif
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
249 !endif
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
255
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
267 !else
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269 !endif
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271
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
283 !else
284 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
285 !endif
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
291 !endif
292 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
293 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
294
295 !if $(TPM_ENABLE) == TRUE
296 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
297 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
298 !endif
299
300 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
301
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
309 !else
310 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
311 !endif
312 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
313 !if $(SOURCE_DEBUG_ENABLE) == TRUE
314 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
315 !endif
316 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
318
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
327 !else
328 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
329 !endif
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
334
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
343 !else
344 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
345 !endif
346 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
347 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
348
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
357 !else
358 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
359 !endif
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
366 !endif
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
371 !endif
372
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
380 !else
381 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
382 !endif
383 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
384
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
395 !else
396 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
397 !endif
398 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
399 !if $(SOURCE_DEBUG_ENABLE) == TRUE
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
401 !endif
402 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
403 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
404
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
415 !else
416 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
417 !endif
418 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
419
420 ################################################################################
421 #
422 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
423 #
424 ################################################################################
425 [PcdsFeatureFlag]
426 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
432
433 [PcdsFixedAtBuild]
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
447 !endif
448 !endif
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
455 !endif
456 !endif
457 !if $(NETWORK_TLS_ENABLE) == TRUE
458 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
459 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
460 !endif
461
462 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
463
464 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
465
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
487
488 !if $(SOURCE_DEBUG_ENABLE) == TRUE
489 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
490 !else
491 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
492 !endif
493
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.
497 #
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
501
502 !if $(SOURCE_DEBUG_ENABLE) == TRUE
503 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
504 !endif
505
506 #
507 # Network Pcds
508 #
509 !include NetworkPkg/NetworkPcds.dsc.inc
510
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 }
513
514 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
515
516 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
517 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
518
519 ################################################################################
520 #
521 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
522 #
523 ################################################################################
524
525 [PcdsDynamicDefault]
526 # only set when
527 # ($(SMM_REQUIRE) == FALSE)
528 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
529
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
543
544 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
545
546 # Set video resolution for text setup.
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
548 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
549
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
551 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
552 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
553
554 # Noexec settings for DXE.
555 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
556
557 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
559 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
560
561 # Set memory encryption mask
562 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
563
564 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
565
566 !if $(TPM_ENABLE) == TRUE
567 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
568 !endif
569
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
575
576 [PcdsDynamicHii]
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
580 !endif
581
582 ################################################################################
583 #
584 # Components Section - list of all EDK II Modules needed by this Platform.
585 #
586 ################################################################################
587 [Components]
588 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
589
590 #
591 # SEC Phase modules
592 #
593 OvmfPkg/Sec/SecMain.inf {
594 <LibraryClasses>
595 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
596 }
597
598 #
599 # PEI Phase modules
600 #
601 MdeModulePkg/Core/Pei/PeiMain.inf
602 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
603 <LibraryClasses>
604 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
605 }
606 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
607 <LibraryClasses>
608 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
609 }
610 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
611 <LibraryClasses>
612 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
613 }
614 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
615
616 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
617 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
618 <LibraryClasses>
619 }
620
621 !if $(TPM_ENABLE) == TRUE
622 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf
623 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
624 <LibraryClasses>
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
631 }
632 !endif
633
634 #
635 # DXE Phase modules
636 #
637 MdeModulePkg/Core/Dxe/DxeMain.inf {
638 <LibraryClasses>
639 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
640 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
641 }
642
643 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
644 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
645 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
646 <LibraryClasses>
647 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
648 }
649
650 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
651
652 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
653 <LibraryClasses>
654 !if $(SECURE_BOOT_ENABLE) == TRUE
655 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
656 !endif
657 !if $(TPM_ENABLE) == TRUE
658 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
659 !endif
660 }
661
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 {
668 <LibraryClasses>
669 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
670 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
671 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
672 }
673 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
674 <LibraryClasses>
675 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
676 }
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 {
682 <LibraryClasses>
683 !ifdef $(CSM_ENABLE)
684 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
685 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
686 !endif
687 }
688 MdeModulePkg/Logo/LogoDxe.inf
689 MdeModulePkg/Application/UiApp/UiApp.inf {
690 <LibraryClasses>
691 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
692 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
693 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
694 !ifdef $(CSM_ENABLE)
695 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
696 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
697 !endif
698 }
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 {
710 <LibraryClasses>
711 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
712 }
713 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
714 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
715 <LibraryClasses>
716 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
717 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
718 }
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
736
737 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
738 <LibraryClasses>
739 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
740 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
741 }
742
743 #
744 # ISA Support
745 #
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
750
751 #
752 # SMBIOS Support
753 #
754 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
755 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
756
757 #
758 # ACPI Support
759 #
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
766
767 #
768 # Network Support
769 #
770 !include NetworkPkg/NetworkComponents.dsc.inc
771
772 !if $(NETWORK_TLS_ENABLE) == TRUE
773 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
774 <LibraryClasses>
775 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
776 }
777 !endif
778 OvmfPkg/VirtioNetDxe/VirtioNet.inf
779
780 !ifdef $(CSM_ENABLE)
781 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
782 <LibraryClasses>
783 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
784 }
785 !endif
786 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
787 !ifdef $(CSM_ENABLE)
788 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
789 !endif
790
791 !if $(TOOL_CHAIN_TAG) != "XCODE5"
792 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
793 <PcdsFixedAtBuild>
794 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
795 }
796 !endif
797 ShellPkg/Application/Shell/Shell.inf {
798 <LibraryClasses>
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
809 !endif
810 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
811 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
812 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
813
814 <PcdsFixedAtBuild>
815 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
816 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
817 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
818 }
819
820 !if $(SECURE_BOOT_ENABLE) == TRUE
821 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
822 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
823 !endif
824
825 OvmfPkg/PlatformDxe/Platform.inf
826 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
827 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
828
829
830 #
831 # Variable driver stack (non-SMM)
832 #
833 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
834 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
835 <LibraryClasses>
836 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
837 }
838 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
839 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
840 <LibraryClasses>
841 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
842 }
843
844
845 #
846 # TPM support
847 #
848 !if $(TPM_ENABLE) == TRUE
849 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
850 <LibraryClasses>
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
859 }
860 !if $(TPM_CONFIG_ENABLE) == TRUE
861 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
862 !endif
863 !endif