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