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