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