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