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