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