]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Bhyve/BhyveX64.dsc
OvmfPkg: restore CompatImageLoaderDxe chunk
[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
656419f9
RC
34\r
35 #\r
36 # Network definition\r
37 #\r
38 DEFINE NETWORK_TLS_ENABLE = FALSE\r
39 DEFINE NETWORK_IP6_ENABLE = FALSE\r
40 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
c8b94334 42 DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
656419f9
RC
43\r
44!include NetworkPkg/NetworkDefines.dsc.inc\r
45\r
46 #\r
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
48 # one of the supported values, in place of any of the convenience macros, is\r
49 # permitted.\r
50 #\r
51!ifdef $(FD_SIZE_1MB)\r
52 DEFINE FD_SIZE_IN_KB = 1024\r
53!else\r
54!ifdef $(FD_SIZE_2MB)\r
55 DEFINE FD_SIZE_IN_KB = 2048\r
56!else\r
57!ifdef $(FD_SIZE_4MB)\r
58 DEFINE FD_SIZE_IN_KB = 4096\r
59!else\r
60 DEFINE FD_SIZE_IN_KB = 4096\r
61!endif\r
62!endif\r
63!endif\r
64\r
65[BuildOptions]\r
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
69!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
71!endif\r
72!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
76!endif\r
f037af6e 77 RELEASE_*_*_GENFW_FLAGS = --zero\r
656419f9
RC
78\r
79 #\r
80 # Disable deprecated APIs.\r
81 #\r
82 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
83 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
84 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
85\r
c8b94334
ZG
86!include NetworkPkg/NetworkBuildOptions.dsc.inc\r
87\r
656419f9
RC
88[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
89 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
90 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
91 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
92 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
93\r
94# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
95# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
96[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
101\r
102################################################################################\r
103#\r
104# SKU Identification section - list of all SKU IDs supported by this Platform.\r
105#\r
106################################################################################\r
107[SkuIds]\r
108 0|DEFAULT\r
109\r
110################################################################################\r
111#\r
112# Library Class section - list of all Library Classes needed by this Platform.\r
113#\r
114################################################################################\r
d4ab7201
DB
115\r
116!include MdePkg/MdeLibs.dsc.inc\r
117\r
656419f9
RC
118[LibraryClasses]\r
119 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
120 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf\r
121 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
122 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
123 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
124 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
125 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
126 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
127 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
128 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
129 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
130 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
132 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
133 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
134 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
135 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
136 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
137 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
138 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
139 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
140 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
141 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
142 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
143 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
144 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
145 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
146 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
147 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
148 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
2a7e1e89 149 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf\r
656419f9
RC
150 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
151 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
152 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
153 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
030f71df 154 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r
656419f9
RC
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
1e0c441c 165 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
656419f9
RC
166 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
167 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf\r
168 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf\r
e557442e 169 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf\r
656419f9 170 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
b97dc4b9 171 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r
656419f9 172 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
25201821 173 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf\r
656419f9
RC
174\r
175 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
176 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
177\r
178!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
179 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
180 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
181!else\r
182 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
183 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
184!endif\r
185\r
186 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf\r
187 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
188 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
189 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
190\r
191 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
192!if $(NETWORK_TLS_ENABLE) == TRUE\r
193 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
194!else\r
195 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
196!endif\r
a09df5d2 197 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
656419f9
RC
198\r
199!if $(SECURE_BOOT_ENABLE) == TRUE\r
200 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf\r
201 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
3d427c5f
GB
202 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
203 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
656419f9
RC
204!else\r
205 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
206!endif\r
207 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
337fda06
RC
208 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
209 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
656419f9
RC
210\r
211 #\r
212 # Network libraries\r
213 #\r
214!include NetworkPkg/NetworkLibs.dsc.inc\r
215\r
216!if $(NETWORK_TLS_ENABLE) == TRUE\r
217 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
218!endif\r
219\r
220 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
221 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
222 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
223 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
224 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
225 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
226\r
656419f9
RC
227 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
228 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
656419f9
RC
229\r
230[LibraryClasses.common]\r
231 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
5e9a8a6d 232 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
2b80269d 233 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r
656419f9
RC
234\r
235[LibraryClasses.common.SEC]\r
236!ifdef $(DEBUG_ON_SERIAL_PORT)\r
237 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
238!else\r
239 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
240!endif\r
241 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
242 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
243!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
244 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
245!endif\r
246 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
247 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
248 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
249 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
250 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
2686468c 251 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf\r
656419f9
RC
252\r
253[LibraryClasses.common.PEI_CORE]\r
254 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
255 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
256 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
257 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
258 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
259 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
260 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
261 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
262!ifdef $(DEBUG_ON_SERIAL_PORT)\r
263 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
264!else\r
265 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
266!endif\r
267 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
268\r
269[LibraryClasses.common.PEIM]\r
270 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
271 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
272 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
273 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
274 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
275 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
276 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
277 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
278!ifdef $(DEBUG_ON_SERIAL_PORT)\r
279 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
280!else\r
281 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
282!endif\r
283 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
284 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
285 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
286!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
287 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
288!endif\r
289 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
290 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
291\r
b97dc4b9
TL
292 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r
293\r
656419f9
RC
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
337fda06 325 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
656419f9
RC
326\r
327[LibraryClasses.common.UEFI_DRIVER]\r
328 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
329 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
330 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
331 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
332 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
333!ifdef $(DEBUG_ON_SERIAL_PORT)\r
334 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
335!else\r
336 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
337!endif\r
338 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
339 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
340\r
341[LibraryClasses.common.DXE_DRIVER]\r
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
344 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
345 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
346 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
347!ifdef $(DEBUG_ON_SERIAL_PORT)\r
348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
349!else\r
350 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
351!endif\r
e557442e 352 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf\r
656419f9
RC
353 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
354 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
355 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
356!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
357 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
358!endif\r
359 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
360 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
656419f9
RC
361\r
362[LibraryClasses.common.UEFI_APPLICATION]\r
363 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
364 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
365 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
366 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
367!ifdef $(DEBUG_ON_SERIAL_PORT)\r
368 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
369!else\r
370 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
371!endif\r
372 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
373\r
374[LibraryClasses.common.DXE_SMM_DRIVER]\r
375 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
376 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
377 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
378 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
379 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
380 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
381 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
382!ifdef $(DEBUG_ON_SERIAL_PORT)\r
383 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
384!else\r
385 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
386!endif\r
387 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
388!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
389 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
390!endif\r
391 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
392 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
393\r
394[LibraryClasses.common.SMM_CORE]\r
395 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
396 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
397 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
398 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
399 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
400 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
401 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
402!ifdef $(DEBUG_ON_SERIAL_PORT)\r
403 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
404!else\r
405 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
406!endif\r
407 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
408\r
409################################################################################\r
410#\r
411# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
412#\r
413################################################################################\r
414[PcdsFeatureFlag]\r
415 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
416 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
417 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
418 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
419 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
420 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
421\r
422[PcdsFixedAtBuild]\r
e43cca74 423 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
656419f9
RC
424 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
425 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
426 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
427 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
428 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
d3f3c942 429 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
656419f9
RC
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
2b20a34f 520 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
521 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
656419f9
RC
522 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
523 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
656419f9
RC
524 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
525 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
527 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
528 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
529 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
44ced037
CK
530 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0xC0000000\r
531 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x20000000\r
656419f9
RC
532 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
533 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
534\r
535 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
536\r
537 # Set video resolution for text setup.\r
538 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
539 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
540\r
541 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
543 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
544\r
545 # Noexec settings for DXE.\r
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
547\r
548 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
549 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
550 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
551\r
552 # Set memory encryption mask\r
553 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
554\r
fd306d1d
MX
555 # Set Tdx shared bit mask\r
556 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0\r
557\r
656419f9
RC
558 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
559\r
656419f9
RC
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
656419f9
RC
566################################################################################\r
567#\r
568# Components Section - list of all EDK II Modules needed by this Platform.\r
569#\r
570################################################################################\r
571[Components]\r
5e9a8a6d 572 OvmfPkg/Bhyve/ResetVector/ResetVector.inf\r
656419f9
RC
573\r
574 #\r
575 # SEC Phase modules\r
576 #\r
577 OvmfPkg/Sec/SecMain.inf {\r
578 <LibraryClasses>\r
579 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
580 }\r
581\r
582 #\r
583 # PEI Phase modules\r
584 #\r
585 MdeModulePkg/Core/Pei/PeiMain.inf\r
586 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
587 <LibraryClasses>\r
588 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
589 }\r
590 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
591 <LibraryClasses>\r
592 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
593 }\r
594 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
595 <LibraryClasses>\r
596 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
597 }\r
598 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
599\r
600 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf\r
601 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
602 <LibraryClasses>\r
603 }\r
604\r
656419f9
RC
605 #\r
606 # DXE Phase modules\r
607 #\r
608 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
609 <LibraryClasses>\r
610 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
611 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
612 }\r
613\r
614 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
615 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
616 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
617 <LibraryClasses>\r
618 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
619 }\r
620\r
621 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
622\r
623 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
624 <LibraryClasses>\r
625!if $(SECURE_BOOT_ENABLE) == TRUE\r
626 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
656419f9
RC
627!endif\r
628 }\r
629\r
630 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
631 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
632 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
633 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
656419f9
RC
634 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
635 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
636 <LibraryClasses>\r
c2f24ba3 637 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf\r
7a6172f8 638 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
656419f9
RC
639 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
640 }\r
641 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
642 <LibraryClasses>\r
643 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
644 }\r
645 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
646 MdeModulePkg/Universal/Metronome/Metronome.inf\r
647 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
648 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
649 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
650 <LibraryClasses>\r
651!ifdef $(CSM_ENABLE)\r
652 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf\r
653 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
654!endif\r
655 }\r
656 MdeModulePkg/Logo/LogoDxe.inf\r
657 MdeModulePkg/Application/UiApp/UiApp.inf {\r
658 <LibraryClasses>\r
659 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
660 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
661 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
662!ifdef $(CSM_ENABLE)\r
663 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
664 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
665!endif\r
666 }\r
667 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
668 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
669 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
670 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
671 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
672 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
673 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
674 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
675 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
676 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
677 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
678 <LibraryClasses>\r
679 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
680 }\r
681 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
682 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
683 <LibraryClasses>\r
684 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
685 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
686 }\r
656419f9
RC
687 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
688 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
689 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
690 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
691 FatPkg/EnhancedFatDxe/Fat.inf\r
692 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
693 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
694 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
695 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
696 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
697 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
698 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
699 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
700 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
701 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
702 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
703\r
704 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {\r
705 <LibraryClasses>\r
706 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
707 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
708 }\r
709\r
710 #\r
711 # ISA Support\r
712 #\r
713 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
714 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
715 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
716 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
717\r
718 #\r
719 # SMBIOS Support\r
720 #\r
721 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
722 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
723\r
724 #\r
725 # ACPI Support\r
726 #\r
727 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
728 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
729 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf\r
730 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
731 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
732 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
733\r
734 #\r
735 # Network Support\r
736 #\r
737!include NetworkPkg/NetworkComponents.dsc.inc\r
738\r
739!if $(NETWORK_TLS_ENABLE) == TRUE\r
740 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
741 <LibraryClasses>\r
f129b1f0 742 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
656419f9
RC
743 }\r
744!endif\r
745 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
746\r
1e0c441c
CK
747 #\r
748 # Usb Support\r
749 #\r
750 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
751 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
752 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
753 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
754\r
656419f9
RC
755!ifdef $(CSM_ENABLE)\r
756 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
757 <LibraryClasses>\r
758 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
759 }\r
760!endif\r
761# OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
762!ifdef $(CSM_ENABLE)\r
763 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf\r
764!endif\r
765\r
766!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
767 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
768 <PcdsFixedAtBuild>\r
769 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
770 }\r
771!endif\r
772 ShellPkg/Application/Shell/Shell.inf {\r
773 <LibraryClasses>\r
774 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
775 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
776 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
777 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
778 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
779 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
780 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
781 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
782!if $(NETWORK_IP6_ENABLE) == TRUE\r
783 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
784!endif\r
785 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
786 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
787 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
788\r
789 <PcdsFixedAtBuild>\r
790 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
791 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
792 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
793 }\r
794\r
795!if $(SECURE_BOOT_ENABLE) == TRUE\r
796 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
797 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
798!endif\r
799\r
800 OvmfPkg/PlatformDxe/Platform.inf\r
19914edc
BS
801 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {\r
802 <LibraryClasses>\r
803 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
804 }\r
656419f9
RC
805 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
806\r
807\r
808 #\r
809 # Variable driver stack (non-SMM)\r
810 #\r
811 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
812 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
813 <LibraryClasses>\r
814 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
815 }\r
816 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
817 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
818 <LibraryClasses>\r
819 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
820 }\r
821\r