VirtualBox

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

Last change on this file since 105670 was 105670, checked in by vboxsync, 8 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

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