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