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