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