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