]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Bhyve/BhyveX64.dsc
cbf896e89bd25f3e4d184e8705f5db6ba33a2456
[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
35 #
36 # Network definition
37 #
38 DEFINE NETWORK_TLS_ENABLE = FALSE
39 DEFINE NETWORK_IP6_ENABLE = FALSE
40 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
42 DEFINE NETWORK_ISCSI_ENABLE = TRUE
43
44 !include NetworkPkg/NetworkDefines.dsc.inc
45
46 #
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
48 # one of the supported values, in place of any of the convenience macros, is
49 # permitted.
50 #
51 !ifdef $(FD_SIZE_1MB)
52 DEFINE FD_SIZE_IN_KB = 1024
53 !else
54 !ifdef $(FD_SIZE_2MB)
55 DEFINE FD_SIZE_IN_KB = 2048
56 !else
57 !ifdef $(FD_SIZE_4MB)
58 DEFINE FD_SIZE_IN_KB = 4096
59 !else
60 DEFINE FD_SIZE_IN_KB = 4096
61 !endif
62 !endif
63 !endif
64
65 [BuildOptions]
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
69 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
71 !endif
72 !if $(SOURCE_DEBUG_ENABLE) == TRUE
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
76 !endif
77 RELEASE_*_*_GENFW_FLAGS = --zero
78
79 #
80 # Disable deprecated APIs.
81 #
82 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
83 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
84 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
85
86 !include NetworkPkg/NetworkBuildOptions.dsc.inc
87
88 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
89 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
90 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
91 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
92 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
93
94 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
95 # protection of DXE_SMM_DRIVER/SMM_CORE modules
96 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
101
102 ################################################################################
103 #
104 # SKU Identification section - list of all SKU IDs supported by this Platform.
105 #
106 ################################################################################
107 [SkuIds]
108 0|DEFAULT
109
110 ################################################################################
111 #
112 # Library Class section - list of all Library Classes needed by this Platform.
113 #
114 ################################################################################
115
116 !include MdePkg/MdeLibs.dsc.inc
117
118 [LibraryClasses]
119 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
120 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf
121 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
122 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
123 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
124 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
125 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
126 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
127 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
128 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
129 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
130 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
132 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
133 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
134 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
135 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
136 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
137 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
138 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
139 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
140 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
141 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
142 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
143 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
144 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
145 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
146 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
147 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
148 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
149 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
150 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
151 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
152 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
153 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
154 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
155 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
156 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
157 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
158 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
159 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
160 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
161 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
162 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
163 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
164 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
165 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf
166 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
167 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf
168 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
169 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
170 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
171
172 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
173 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
174
175 !if $(SOURCE_DEBUG_ENABLE) == TRUE
176 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
177 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
178 !else
179 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
180 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
181 !endif
182
183 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf
184 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
185 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
186 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
187
188 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
189 !if $(NETWORK_TLS_ENABLE) == TRUE
190 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
191 !else
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
193 !endif
194 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
195
196 !if $(SECURE_BOOT_ENABLE) == TRUE
197 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf
198 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
199 !else
200 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
201 !endif
202 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
203 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
204 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
205
206 #
207 # Network libraries
208 #
209 !include NetworkPkg/NetworkLibs.dsc.inc
210
211 !if $(NETWORK_TLS_ENABLE) == TRUE
212 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
213 !endif
214
215 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
216 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
217 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
218 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
219 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
220 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
221
222 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
223 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
224
225 [LibraryClasses.common]
226 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
227 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
228
229 [LibraryClasses.common.SEC]
230 !ifdef $(DEBUG_ON_SERIAL_PORT)
231 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
232 !else
233 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
234 !endif
235 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
236 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
237 !if $(SOURCE_DEBUG_ENABLE) == TRUE
238 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
239 !endif
240 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
241 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
242 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
243 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
244 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
245
246 [LibraryClasses.common.PEI_CORE]
247 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
248 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
249 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
250 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
251 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
252 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
253 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
254 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
255 !ifdef $(DEBUG_ON_SERIAL_PORT)
256 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
257 !else
258 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
259 !endif
260 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
261
262 [LibraryClasses.common.PEIM]
263 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
264 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
265 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
266 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
267 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
268 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
269 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
270 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
271 !ifdef $(DEBUG_ON_SERIAL_PORT)
272 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
273 !else
274 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
275 !endif
276 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
277 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
278 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
279 !if $(SOURCE_DEBUG_ENABLE) == TRUE
280 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
281 !endif
282 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
283 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
284
285 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
286
287 [LibraryClasses.common.DXE_CORE]
288 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
289 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
290 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
291 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
292 !ifdef $(DEBUG_ON_SERIAL_PORT)
293 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
294 !else
295 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
296 !endif
297 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
298 !if $(SOURCE_DEBUG_ENABLE) == TRUE
299 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
300 !endif
301 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
302 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
303
304 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
305 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
306 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
307 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
308 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
309 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
310 !ifdef $(DEBUG_ON_SERIAL_PORT)
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
312 !else
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
314 !endif
315 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
316 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
317 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
318 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
319
320 [LibraryClasses.common.UEFI_DRIVER]
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
322 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
323 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
324 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
326 !ifdef $(DEBUG_ON_SERIAL_PORT)
327 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 !else
329 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
330 !endif
331 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
332 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
333
334 [LibraryClasses.common.DXE_DRIVER]
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
337 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
338 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
339 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
340 !ifdef $(DEBUG_ON_SERIAL_PORT)
341 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
342 !else
343 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
344 !endif
345 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf
346 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
347 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
348 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
349 !if $(SOURCE_DEBUG_ENABLE) == TRUE
350 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
351 !endif
352 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
353 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
354
355 [LibraryClasses.common.UEFI_APPLICATION]
356 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
357 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
358 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
359 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
360 !ifdef $(DEBUG_ON_SERIAL_PORT)
361 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
362 !else
363 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
364 !endif
365 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
366
367 [LibraryClasses.common.DXE_SMM_DRIVER]
368 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
369 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
371 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
372 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
373 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
374 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
375 !ifdef $(DEBUG_ON_SERIAL_PORT)
376 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
377 !else
378 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
379 !endif
380 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
381 !if $(SOURCE_DEBUG_ENABLE) == TRUE
382 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
383 !endif
384 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
385 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
386
387 [LibraryClasses.common.SMM_CORE]
388 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
389 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
390 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
391 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
392 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
393 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
394 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
395 !ifdef $(DEBUG_ON_SERIAL_PORT)
396 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
397 !else
398 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
399 !endif
400 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
401
402 ################################################################################
403 #
404 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
405 #
406 ################################################################################
407 [PcdsFeatureFlag]
408 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
409 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
410 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
411 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
412 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
413 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
414
415 [PcdsFixedAtBuild]
416 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
417 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
418 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
419 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
420 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
421 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
422 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
423 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
424 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
425 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
426 !if $(NETWORK_TLS_ENABLE) == FALSE
427 # match PcdFlashNvStorageVariableSize purely for convenience
428 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
429 !endif
430 !endif
431 !if $(FD_SIZE_IN_KB) == 4096
432 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
433 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
434 !if $(NETWORK_TLS_ENABLE) == FALSE
435 # match PcdFlashNvStorageVariableSize purely for convenience
436 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
437 !endif
438 !endif
439 !if $(NETWORK_TLS_ENABLE) == TRUE
440 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
442 !endif
443
444 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
445
446 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
447
448 # DEBUG_INIT 0x00000001 // Initialization
449 # DEBUG_WARN 0x00000002 // Warnings
450 # DEBUG_LOAD 0x00000004 // Load events
451 # DEBUG_FS 0x00000008 // EFI File system
452 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
453 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
454 # DEBUG_INFO 0x00000040 // Informational debug messages
455 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
456 # DEBUG_VARIABLE 0x00000100 // Variable
457 # DEBUG_BM 0x00000400 // Boot Manager
458 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
459 # DEBUG_NET 0x00004000 // SNP Driver
460 # DEBUG_UNDI 0x00010000 // UNDI Driver
461 # DEBUG_LOADFILE 0x00020000 // LoadFile
462 # DEBUG_EVENT 0x00080000 // Event messages
463 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
464 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
465 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
466 # // significantly impact boot performance
467 # DEBUG_ERROR 0x80000000 // Error
468 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
469
470 !if $(SOURCE_DEBUG_ENABLE) == TRUE
471 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
472 !else
473 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
474 !endif
475
476 # This PCD is used to set the base address of the PCI express hierarchy. It
477 # is only consulted when OVMF runs on Q35. In that case it is programmed into
478 # the PCIEXBAR register.
479 #
480 # On Q35 machine types that QEMU intends to support in the long term, QEMU
481 # never lets the RAM below 4 GB exceed 2816 MB.
482 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
483
484 !if $(SOURCE_DEBUG_ENABLE) == TRUE
485 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
486 !endif
487
488 #
489 # Network Pcds
490 #
491 !include NetworkPkg/NetworkPcds.dsc.inc
492
493 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
494 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
495
496 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
497
498 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"
499 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8
500
501 ################################################################################
502 #
503 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
504 #
505 ################################################################################
506
507 [PcdsDynamicDefault]
508 # only set when
509 # ($(SMM_REQUIRE) == FALSE)
510 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
511
512 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
513 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
514 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
515 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
516 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
517 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
518 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
519 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
520 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
521 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
522 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
523 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
524 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
525
526 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
527
528 # Set video resolution for text setup.
529 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
530 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
531
532 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
533 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
534 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
535
536 # Noexec settings for DXE.
537 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
538
539 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
540 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
541 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
542
543 # Set memory encryption mask
544 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
545
546 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
547
548 # MdeModulePkg resolution sets up the system display resolution
549 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
550 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
551 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
552 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
553
554 ################################################################################
555 #
556 # Components Section - list of all EDK II Modules needed by this Platform.
557 #
558 ################################################################################
559 [Components]
560 OvmfPkg/Bhyve/ResetVector/ResetVector.inf
561
562 #
563 # SEC Phase modules
564 #
565 OvmfPkg/Sec/SecMain.inf {
566 <LibraryClasses>
567 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
568 }
569
570 #
571 # PEI Phase modules
572 #
573 MdeModulePkg/Core/Pei/PeiMain.inf
574 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
575 <LibraryClasses>
576 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
577 }
578 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
579 <LibraryClasses>
580 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
581 }
582 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
583 <LibraryClasses>
584 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
585 }
586 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
587
588 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf
589 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
590 <LibraryClasses>
591 }
592
593 #
594 # DXE Phase modules
595 #
596 MdeModulePkg/Core/Dxe/DxeMain.inf {
597 <LibraryClasses>
598 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
599 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
600 }
601
602 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
603 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
604 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
605 <LibraryClasses>
606 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
607 }
608
609 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
610
611 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
612 <LibraryClasses>
613 !if $(SECURE_BOOT_ENABLE) == TRUE
614 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
615 !endif
616 }
617
618 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
619 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
620 UefiCpuPkg/CpuDxe/CpuDxe.inf
621 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
622 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
623 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
624 <LibraryClasses>
625 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf
626 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
627 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
628 }
629 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
630 <LibraryClasses>
631 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
632 }
633 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
634 MdeModulePkg/Universal/Metronome/Metronome.inf
635 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
636 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
637 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
638 <LibraryClasses>
639 !ifdef $(CSM_ENABLE)
640 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf
641 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
642 !endif
643 }
644 MdeModulePkg/Logo/LogoDxe.inf
645 MdeModulePkg/Application/UiApp/UiApp.inf {
646 <LibraryClasses>
647 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
648 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
649 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
650 !ifdef $(CSM_ENABLE)
651 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
652 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
653 !endif
654 }
655 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
656 OvmfPkg/Virtio10Dxe/Virtio10.inf
657 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
658 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
659 OvmfPkg/VirtioRngDxe/VirtioRng.inf
660 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
661 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
662 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
663 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
664 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
665 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
666 <LibraryClasses>
667 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
668 }
669 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
670 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
671 <LibraryClasses>
672 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
673 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
674 }
675 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
676 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
677 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
678 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
679 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
680 FatPkg/EnhancedFatDxe/Fat.inf
681 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
682 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
683 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
684 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
685 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
686 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
687 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
688 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
689 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
690 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
691 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
692
693 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {
694 <LibraryClasses>
695 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
696 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
697 }
698
699 #
700 # ISA Support
701 #
702 OvmfPkg/SioBusDxe/SioBusDxe.inf
703 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
704 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
705 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
706
707 #
708 # SMBIOS Support
709 #
710 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
711 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
712
713 #
714 # ACPI Support
715 #
716 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
717 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
718 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf
719 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
720 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
721 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
722
723 #
724 # Network Support
725 #
726 !include NetworkPkg/NetworkComponents.dsc.inc
727
728 !if $(NETWORK_TLS_ENABLE) == TRUE
729 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
730 <LibraryClasses>
731 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
732 }
733 !endif
734 OvmfPkg/VirtioNetDxe/VirtioNet.inf
735
736 !ifdef $(CSM_ENABLE)
737 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
738 <LibraryClasses>
739 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
740 }
741 !endif
742 # OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
743 !ifdef $(CSM_ENABLE)
744 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf
745 !endif
746
747 !if $(TOOL_CHAIN_TAG) != "XCODE5"
748 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
749 <PcdsFixedAtBuild>
750 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
751 }
752 !endif
753 ShellPkg/Application/Shell/Shell.inf {
754 <LibraryClasses>
755 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
756 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
757 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
758 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
759 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
760 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
761 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
762 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
763 !if $(NETWORK_IP6_ENABLE) == TRUE
764 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
765 !endif
766 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
767 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
768 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
769
770 <PcdsFixedAtBuild>
771 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
772 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
773 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
774 }
775
776 !if $(SECURE_BOOT_ENABLE) == TRUE
777 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
778 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
779 !endif
780
781 OvmfPkg/PlatformDxe/Platform.inf
782 OvmfPkg/AmdSevDxe/AmdSevDxe.inf
783 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
784
785
786 #
787 # Variable driver stack (non-SMM)
788 #
789 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
790 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
791 <LibraryClasses>
792 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
793 }
794 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
795 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
796 <LibraryClasses>
797 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
798 }
799