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