]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Bhyve/BhyveX64.dsc
UefiCpuPkg: Add MicrocodeLib for loading microcode
[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
155 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
156 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
157 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
158 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
159 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
160 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
161 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
162 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
163 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
164 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
165 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
166 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf\r
167 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf\r
e557442e 168 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf\r
656419f9 169 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
b97dc4b9 170 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r
656419f9
RC
171 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
172\r
173 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
174 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
175\r
176!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
177 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
178 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
179!else\r
180 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
181 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
182!endif\r
183\r
184 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf\r
185 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
186 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
187 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
188\r
189 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
190!if $(NETWORK_TLS_ENABLE) == TRUE\r
191 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
192!else\r
193 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
194!endif\r
a09df5d2 195 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
656419f9
RC
196\r
197!if $(SECURE_BOOT_ENABLE) == TRUE\r
198 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf\r
199 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
200!else\r
201 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
202!endif\r
203 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
337fda06
RC
204 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
205 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
656419f9
RC
206\r
207 #\r
208 # Network libraries\r
209 #\r
210!include NetworkPkg/NetworkLibs.dsc.inc\r
211\r
212!if $(NETWORK_TLS_ENABLE) == TRUE\r
213 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
214!endif\r
215\r
216 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
217 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
218 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
219 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
220 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
221 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
222\r
223\r
224!if $(TPM_ENABLE) == TRUE\r
225 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
226 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
227 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
228 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
229!else\r
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
231 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
232!endif\r
233\r
234[LibraryClasses.common]\r
235 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
5e9a8a6d 236 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
656419f9
RC
237\r
238[LibraryClasses.common.SEC]\r
239!ifdef $(DEBUG_ON_SERIAL_PORT)\r
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
241!else\r
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
243!endif\r
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
245 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
246!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
247 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
248!endif\r
249 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
252 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
254\r
255[LibraryClasses.common.PEI_CORE]\r
256 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
257 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
258 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
259 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
260 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
261 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
262 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
263 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
264!ifdef $(DEBUG_ON_SERIAL_PORT)\r
265 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
266!else\r
267 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
268!endif\r
269 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
270\r
271[LibraryClasses.common.PEIM]\r
272 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
273 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
274 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
275 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
276 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
277 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
278 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
279 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
280!ifdef $(DEBUG_ON_SERIAL_PORT)\r
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
282!else\r
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
284!endif\r
285 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
286 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
287 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
288!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
289 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
290!endif\r
291 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
292 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
293\r
294!if $(TPM_ENABLE) == TRUE\r
295 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
296 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
297!endif\r
298\r
b97dc4b9
TL
299 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r
300\r
656419f9
RC
301[LibraryClasses.common.DXE_CORE]\r
302 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
303 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
304 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
305 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
306!ifdef $(DEBUG_ON_SERIAL_PORT)\r
307 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
308!else\r
309 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
310!endif\r
311 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
312!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
313 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
314!endif\r
315 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
316 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
317\r
318[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
319 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
320 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
321 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
322 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
323 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
324!ifdef $(DEBUG_ON_SERIAL_PORT)\r
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
326!else\r
327 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
328!endif\r
329 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
330 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
331 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
337fda06 332 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
656419f9
RC
333\r
334[LibraryClasses.common.UEFI_DRIVER]\r
335 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
337 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
338 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
339 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
340!ifdef $(DEBUG_ON_SERIAL_PORT)\r
341 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
342!else\r
343 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
344!endif\r
345 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
346 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
347\r
348[LibraryClasses.common.DXE_DRIVER]\r
349 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
350 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
351 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
352 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
353 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
354!ifdef $(DEBUG_ON_SERIAL_PORT)\r
355 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
356!else\r
357 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
358!endif\r
e557442e 359 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf\r
656419f9
RC
360 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
361 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
362 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
363!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
364 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
365!endif\r
366 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
367 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
368!if $(TPM_ENABLE) == TRUE\r
369 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
370!endif\r
371\r
372[LibraryClasses.common.UEFI_APPLICATION]\r
373 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
374 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
375 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
376 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
377!ifdef $(DEBUG_ON_SERIAL_PORT)\r
378 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
379!else\r
380 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
381!endif\r
382 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
383\r
384[LibraryClasses.common.DXE_SMM_DRIVER]\r
385 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
386 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
388 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
389 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
390 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
391 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
392!ifdef $(DEBUG_ON_SERIAL_PORT)\r
393 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
394!else\r
395 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
396!endif\r
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
398!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
400!endif\r
401 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
402 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
403\r
404[LibraryClasses.common.SMM_CORE]\r
405 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
406 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
407 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
408 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
409 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
410 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
411 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
412!ifdef $(DEBUG_ON_SERIAL_PORT)\r
413 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
414!else\r
415 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
416!endif\r
417 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
418\r
419################################################################################\r
420#\r
421# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
422#\r
423################################################################################\r
424[PcdsFeatureFlag]\r
425 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
426 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
427 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
428 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
429 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
431\r
432[PcdsFixedAtBuild]\r
433 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
434 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
d3f3c942 438 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
656419f9
RC
439!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
442!if $(NETWORK_TLS_ENABLE) == FALSE\r
443 # match PcdFlashNvStorageVariableSize purely for convenience\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
445!endif\r
446!endif\r
447!if $(FD_SIZE_IN_KB) == 4096\r
448 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
449 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
450!if $(NETWORK_TLS_ENABLE) == FALSE\r
451 # match PcdFlashNvStorageVariableSize purely for convenience\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
453!endif\r
454!endif\r
455!if $(NETWORK_TLS_ENABLE) == TRUE\r
456 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
457 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
458!endif\r
459\r
460 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
461\r
462 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
463\r
464 # DEBUG_INIT 0x00000001 // Initialization\r
465 # DEBUG_WARN 0x00000002 // Warnings\r
466 # DEBUG_LOAD 0x00000004 // Load events\r
467 # DEBUG_FS 0x00000008 // EFI File system\r
468 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
469 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
470 # DEBUG_INFO 0x00000040 // Informational debug messages\r
471 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
472 # DEBUG_VARIABLE 0x00000100 // Variable\r
473 # DEBUG_BM 0x00000400 // Boot Manager\r
474 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
475 # DEBUG_NET 0x00004000 // SNP Driver\r
476 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
477 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
478 # DEBUG_EVENT 0x00080000 // Event messages\r
479 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
480 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
481 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
482 # // significantly impact boot performance\r
483 # DEBUG_ERROR 0x80000000 // Error\r
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
485\r
486!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
487 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
488!else\r
489 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
490!endif\r
491\r
492 # This PCD is used to set the base address of the PCI express hierarchy. It\r
493 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
494 # the PCIEXBAR register.\r
495 #\r
496 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
497 # never lets the RAM below 4 GB exceed 2816 MB.\r
498 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
499\r
500!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
501 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
502!endif\r
503\r
504 #\r
505 # Network Pcds\r
506 #\r
507!include NetworkPkg/NetworkPcds.dsc.inc\r
508\r
509 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
510 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
511\r
512 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
513\r
514 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"\r
e557442e 515 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8\r
656419f9
RC
516\r
517################################################################################\r
518#\r
519# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
520#\r
521################################################################################\r
522\r
523[PcdsDynamicDefault]\r
524 # only set when\r
525 # ($(SMM_REQUIRE) == FALSE)\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
527\r
528 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
531 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
532 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
533 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
534 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
535 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
542\r
543 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
544\r
545 # Set video resolution for text setup.\r
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
548\r
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
551 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
552\r
553 # Noexec settings for DXE.\r
554 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
555\r
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
559\r
560 # Set memory encryption mask\r
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
562\r
563 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
564\r
565!if $(TPM_ENABLE) == TRUE\r
566 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
567!endif\r
568\r
569 # MdeModulePkg resolution sets up the system display resolution\r
570 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
571 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
572 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0\r
573 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0\r
574\r
575[PcdsDynamicHii]\r
576!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE\r
577 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
578 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
579!endif\r
580\r
581################################################################################\r
582#\r
583# Components Section - list of all EDK II Modules needed by this Platform.\r
584#\r
585################################################################################\r
586[Components]\r
5e9a8a6d 587 OvmfPkg/Bhyve/ResetVector/ResetVector.inf\r
656419f9
RC
588\r
589 #\r
590 # SEC Phase modules\r
591 #\r
592 OvmfPkg/Sec/SecMain.inf {\r
593 <LibraryClasses>\r
594 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
595 }\r
596\r
597 #\r
598 # PEI Phase modules\r
599 #\r
600 MdeModulePkg/Core/Pei/PeiMain.inf\r
601 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
602 <LibraryClasses>\r
603 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
604 }\r
605 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
606 <LibraryClasses>\r
607 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
608 }\r
609 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
610 <LibraryClasses>\r
611 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
612 }\r
613 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
614\r
615 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf\r
616 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
617 <LibraryClasses>\r
618 }\r
619\r
620!if $(TPM_ENABLE) == TRUE\r
621 OvmfPkg/Bhyve/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
622 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
623 <LibraryClasses>\r
624 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
625 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
626 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
627 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
628 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
629 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
630 }\r
631!endif\r
632\r
633 #\r
634 # DXE Phase modules\r
635 #\r
636 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
637 <LibraryClasses>\r
638 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
639 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
640 }\r
641\r
642 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
643 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
644 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
645 <LibraryClasses>\r
646 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
647 }\r
648\r
649 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
650\r
651 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
652 <LibraryClasses>\r
653!if $(SECURE_BOOT_ENABLE) == TRUE\r
654 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
655!endif\r
656!if $(TPM_ENABLE) == TRUE\r
657 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
658!endif\r
659 }\r
660\r
661 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
662 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
663 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
664 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
665 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
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