]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Bhyve/BhyveX64.dsc
DxeHttpIoLib: Http boot failure with no initializes timeout value.
[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
d3f3c942 434 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
656419f9
RC
435!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
437 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
438!if $(NETWORK_TLS_ENABLE) == FALSE\r
439 # match PcdFlashNvStorageVariableSize purely for convenience\r
440 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
441!endif\r
442!endif\r
443!if $(FD_SIZE_IN_KB) == 4096\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
446!if $(NETWORK_TLS_ENABLE) == FALSE\r
447 # match PcdFlashNvStorageVariableSize purely for convenience\r
448 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
449!endif\r
450!endif\r
451!if $(NETWORK_TLS_ENABLE) == TRUE\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
453 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
454!endif\r
455\r
456 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
457\r
458 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
459\r
460 # DEBUG_INIT 0x00000001 // Initialization\r
461 # DEBUG_WARN 0x00000002 // Warnings\r
462 # DEBUG_LOAD 0x00000004 // Load events\r
463 # DEBUG_FS 0x00000008 // EFI File system\r
464 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
465 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
466 # DEBUG_INFO 0x00000040 // Informational debug messages\r
467 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
468 # DEBUG_VARIABLE 0x00000100 // Variable\r
469 # DEBUG_BM 0x00000400 // Boot Manager\r
470 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
471 # DEBUG_NET 0x00004000 // SNP Driver\r
472 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
473 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
474 # DEBUG_EVENT 0x00080000 // Event messages\r
475 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
476 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
477 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
478 # // significantly impact boot performance\r
479 # DEBUG_ERROR 0x80000000 // Error\r
480 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
481\r
482!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
484!else\r
485 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
486!endif\r
487\r
488 # This PCD is used to set the base address of the PCI express hierarchy. It\r
489 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
490 # the PCIEXBAR register.\r
491 #\r
492 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
493 # never lets the RAM below 4 GB exceed 2816 MB.\r
494 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
495\r
496!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
497 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
498!endif\r
499\r
500 #\r
501 # Network Pcds\r
502 #\r
503!include NetworkPkg/NetworkPcds.dsc.inc\r
504\r
505 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
506 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
507\r
508 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
509\r
510 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"\r
e557442e 511 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8\r
656419f9
RC
512\r
513################################################################################\r
514#\r
515# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
516#\r
517################################################################################\r
518\r
519[PcdsDynamicDefault]\r
520 # only set when\r
521 # ($(SMM_REQUIRE) == FALSE)\r
522 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
523\r
524 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
525 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
527 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
528 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
529 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
530 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
531 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
532 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
533 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
534 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
535 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
538\r
539 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
540\r
541 # Set video resolution for text setup.\r
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
544\r
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
547 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
548\r
549 # Noexec settings for DXE.\r
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
551\r
552 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
553 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
554 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
555\r
556 # Set memory encryption mask\r
557 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
558\r
559 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
560\r
561!if $(TPM_ENABLE) == TRUE\r
562 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
563!endif\r
564\r
565 # MdeModulePkg resolution sets up the system display resolution\r
566 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
567 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
568 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0\r
569 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0\r
570\r
571[PcdsDynamicHii]\r
572!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE\r
573 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
574 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
575!endif\r
576\r
577################################################################################\r
578#\r
579# Components Section - list of all EDK II Modules needed by this Platform.\r
580#\r
581################################################################################\r
582[Components]\r
5e9a8a6d 583 OvmfPkg/Bhyve/ResetVector/ResetVector.inf\r
656419f9
RC
584\r
585 #\r
586 # SEC Phase modules\r
587 #\r
588 OvmfPkg/Sec/SecMain.inf {\r
589 <LibraryClasses>\r
590 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
591 }\r
592\r
593 #\r
594 # PEI Phase modules\r
595 #\r
596 MdeModulePkg/Core/Pei/PeiMain.inf\r
597 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
598 <LibraryClasses>\r
599 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
600 }\r
601 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
602 <LibraryClasses>\r
603 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
604 }\r
605 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
606 <LibraryClasses>\r
607 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
608 }\r
609 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
610\r
611 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf\r
612 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
613 <LibraryClasses>\r
614 }\r
615\r
616!if $(TPM_ENABLE) == TRUE\r
617 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
618 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
619 <LibraryClasses>\r
620 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
621 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
622 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
623 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
624 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
625 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
626 }\r
627!endif\r
628\r
629 #\r
630 # DXE Phase modules\r
631 #\r
632 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
633 <LibraryClasses>\r
634 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
635 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
636 }\r
637\r
638 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
639 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
640 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
641 <LibraryClasses>\r
642 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
643 }\r
644\r
645 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
646\r
647 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
648 <LibraryClasses>\r
649!if $(SECURE_BOOT_ENABLE) == TRUE\r
650 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
651!endif\r
652!if $(TPM_ENABLE) == TRUE\r
653 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
654!endif\r
655 }\r
656\r
657 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
658 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
659 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
660 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
661 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
662 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
663 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
664 <LibraryClasses>\r
665 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
666 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
667 }\r
668 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
669 <LibraryClasses>\r
670 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
671 }\r
672 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
673 MdeModulePkg/Universal/Metronome/Metronome.inf\r
674 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
675 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
676 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
677 <LibraryClasses>\r
678!ifdef $(CSM_ENABLE)\r
679 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf\r
680 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
681!endif\r
682 }\r
683 MdeModulePkg/Logo/LogoDxe.inf\r
684 MdeModulePkg/Application/UiApp/UiApp.inf {\r
685 <LibraryClasses>\r
686 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
687 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
688 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
689!ifdef $(CSM_ENABLE)\r
690 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
691 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
692!endif\r
693 }\r
694 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
695 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
696 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
697 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
698 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
699 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
700 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
701 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
702 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
703 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
704 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
705 <LibraryClasses>\r
706 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
707 }\r
708 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
709 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
710 <LibraryClasses>\r
711 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
712 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
713 }\r
714 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
715 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
716 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
717 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
718 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
719 FatPkg/EnhancedFatDxe/Fat.inf\r
720 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
721 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
722 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
723 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
724 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
725 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
726 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
727 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
728 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
729 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
730 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
731\r
732 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {\r
733 <LibraryClasses>\r
734 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
735 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
736 }\r
737\r
738 #\r
739 # ISA Support\r
740 #\r
741 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
742 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
743 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
744 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
745\r
746 #\r
747 # SMBIOS Support\r
748 #\r
749 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
750 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
751\r
752 #\r
753 # ACPI Support\r
754 #\r
755 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
756 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
757 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf\r
758 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
759 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
760 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
761\r
762 #\r
763 # Network Support\r
764 #\r
765!include NetworkPkg/NetworkComponents.dsc.inc\r
766\r
767!if $(NETWORK_TLS_ENABLE) == TRUE\r
768 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
769 <LibraryClasses>\r
770 NULL|OvmfPkg/Bhyve/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
771 }\r
772!endif\r
773 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
774\r
775!ifdef $(CSM_ENABLE)\r
776 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
777 <LibraryClasses>\r
778 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
779 }\r
780!endif\r
781# OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
782!ifdef $(CSM_ENABLE)\r
783 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf\r
784!endif\r
785\r
786!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
787 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
788 <PcdsFixedAtBuild>\r
789 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
790 }\r
791!endif\r
792 ShellPkg/Application/Shell/Shell.inf {\r
793 <LibraryClasses>\r
794 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
795 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
796 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
797 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
798 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
799 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
800 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
801 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
802!if $(NETWORK_IP6_ENABLE) == TRUE\r
803 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
804!endif\r
805 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
806 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
807 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
808\r
809 <PcdsFixedAtBuild>\r
810 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
811 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
812 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
813 }\r
814\r
815!if $(SECURE_BOOT_ENABLE) == TRUE\r
816 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
817 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
818!endif\r
819\r
820 OvmfPkg/PlatformDxe/Platform.inf\r
821 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
822 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
823\r
824\r
825 #\r
826 # Variable driver stack (non-SMM)\r
827 #\r
828 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
829 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
830 <LibraryClasses>\r
831 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
832 }\r
833 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
834 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
835 <LibraryClasses>\r
836 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
837 }\r
838\r
839\r
840 #\r
841 # TPM support\r
842 #\r
843!if $(TPM_ENABLE) == TRUE\r
844 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
845 <LibraryClasses>\r
846 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
847 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
848 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
849 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
850 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
851 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
852 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
853 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
854 }\r
855!if $(TPM_CONFIG_ENABLE) == TRUE\r
856 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
857!endif\r
858!endif\r