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