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