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