VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Bhyve/BhyveX64.dsc@ 101283

Last change on this file since 101283 was 99404, checked in by vboxsync, 2 years ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette