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