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