]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/Bhyve/BhyveX64.dsc
OvmfPkg: Pipeline: Resolve SecureBootVariableLib dependency
[mirror_edk2.git] / OvmfPkg / Bhyve / BhyveX64.dsc
... / ...
CommitLineData
1#\r
2# Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>\r
3# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r
4# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
5# Copyright (c) 2014, Pluribus Networks, Inc.\r
6#\r
7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8#\r
9##\r
10\r
11################################################################################\r
12#\r
13# Defines Section - statements that will be processed to create a Makefile.\r
14#\r
15################################################################################\r
16[Defines]\r
17 PLATFORM_NAME = Bhyve\r
18 PLATFORM_GUID = 562b76ee-ceb2-4f4f-adfe-a4c8dc46e4ff\r
19 PLATFORM_VERSION = 0.1\r
20 DSC_SPECIFICATION = 1.30\r
21 OUTPUT_DIRECTORY = Build/BhyveX64\r
22 SUPPORTED_ARCHITECTURES = X64\r
23 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
24 SKUID_IDENTIFIER = DEFAULT\r
25 FLASH_DEFINITION = OvmfPkg/Bhyve/BhyveX64.fdf\r
26\r
27 #\r
28 # Defines for default states. These can be changed on the command line.\r
29 # -D FLAG=VALUE\r
30 #\r
31 DEFINE SECURE_BOOT_ENABLE = FALSE\r
32 DEFINE SMM_REQUIRE = FALSE\r
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
34\r
35 #\r
36 # Network definition\r
37 #\r
38 DEFINE NETWORK_TLS_ENABLE = FALSE\r
39 DEFINE NETWORK_IP6_ENABLE = FALSE\r
40 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
41 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
42 DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
43\r
44!include NetworkPkg/NetworkDefines.dsc.inc\r
45\r
46 #\r
47 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
48 # one of the supported values, in place of any of the convenience macros, is\r
49 # permitted.\r
50 #\r
51!ifdef $(FD_SIZE_1MB)\r
52 DEFINE FD_SIZE_IN_KB = 1024\r
53!else\r
54!ifdef $(FD_SIZE_2MB)\r
55 DEFINE FD_SIZE_IN_KB = 2048\r
56!else\r
57!ifdef $(FD_SIZE_4MB)\r
58 DEFINE FD_SIZE_IN_KB = 4096\r
59!else\r
60 DEFINE FD_SIZE_IN_KB = 4096\r
61!endif\r
62!endif\r
63!endif\r
64\r
65[BuildOptions]\r
66 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
67 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
68 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
69!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r
70 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
71!endif\r
72!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
73 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
74 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
75 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
76!endif\r
77 RELEASE_*_*_GENFW_FLAGS = --zero\r
78\r
79 #\r
80 # Disable deprecated APIs.\r
81 #\r
82 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
83 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
84 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
85\r
86!include NetworkPkg/NetworkBuildOptions.dsc.inc\r
87\r
88[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
89 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
90 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
91 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
92 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
93\r
94# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
95# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
96[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
97 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
98 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
99 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
100 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
101\r
102################################################################################\r
103#\r
104# SKU Identification section - list of all SKU IDs supported by this Platform.\r
105#\r
106################################################################################\r
107[SkuIds]\r
108 0|DEFAULT\r
109\r
110################################################################################\r
111#\r
112# Library Class section - list of all Library Classes needed by this Platform.\r
113#\r
114################################################################################\r
115\r
116!include MdePkg/MdeLibs.dsc.inc\r
117\r
118[LibraryClasses]\r
119 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
120 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf\r
121 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
122 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
123 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
124 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
125 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
126 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
127 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
128 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
129 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
130 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
132 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
133 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
134 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
135 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
136 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
137 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
138 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
139 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
140 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
141 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
142 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
143 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
144 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
145 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
146 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
147 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
148 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
149 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf\r
150 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
151 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
152 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
153 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
154 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r
155 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
156 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
157 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
158 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
159 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
160 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
161 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
162 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
163 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
164 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
165 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
166 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
167 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
168 BhyveFwCtlLib|OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf\r
169 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
170 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r
171 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
172 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf\r
173 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf\r
174 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf\r
175\r
176 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
177 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
178\r
179!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
180 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
181 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
182!else\r
183 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
184 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
185!endif\r
186\r
187 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf\r
188 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
189 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
190 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
191\r
192 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
193!if $(NETWORK_TLS_ENABLE) == TRUE\r
194 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
195!else\r
196 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
197!endif\r
198 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
199\r
200!if $(SECURE_BOOT_ENABLE) == TRUE\r
201 PlatformSecureLib|OvmfPkg/Bhyve/Library/PlatformSecureLib/PlatformSecureLib.inf\r
202 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
203 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
204 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
205 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
206!else\r
207 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
208!endif\r
209 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
210 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
211 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
212 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf\r
213\r
214 #\r
215 # Network libraries\r
216 #\r
217!include NetworkPkg/NetworkLibs.dsc.inc\r
218\r
219!if $(NETWORK_TLS_ENABLE) == TRUE\r
220 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
221!endif\r
222\r
223 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
224 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
225 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
226 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
227 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
228 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
229\r
230 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
231 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
232\r
233[LibraryClasses.common]\r
234 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
235 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
236 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r
237\r
238[LibraryClasses.common.SEC]\r
239!ifdef $(DEBUG_ON_SERIAL_PORT)\r
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
241!else\r
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
243!endif\r
244 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
245 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
246!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
247 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
248!endif\r
249 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
250 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
251 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
252 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
253 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
254 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf\r
255\r
256[LibraryClasses.common.PEI_CORE]\r
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
261 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
265!ifdef $(DEBUG_ON_SERIAL_PORT)\r
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
267!else\r
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
269!endif\r
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
271\r
272[LibraryClasses.common.PEIM]\r
273 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
274 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
275 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
276 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
277 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
278 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
279 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
280 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
281!ifdef $(DEBUG_ON_SERIAL_PORT)\r
282 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
283!else\r
284 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
285!endif\r
286 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
287 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
288 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
289!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
290 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
291!endif\r
292 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
293 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
294\r
295 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r
296\r
297[LibraryClasses.common.DXE_CORE]\r
298 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
299 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
300 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
301 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
302!ifdef $(DEBUG_ON_SERIAL_PORT)\r
303 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
304!else\r
305 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
306!endif\r
307 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
308!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
309 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
310!endif\r
311 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
312 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
313\r
314[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
316 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
317 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
318 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
319 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
320!ifdef $(DEBUG_ON_SERIAL_PORT)\r
321 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
322!else\r
323 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
324!endif\r
325 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
326 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
327 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
328 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
329\r
330[LibraryClasses.common.UEFI_DRIVER]\r
331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
333 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
334 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
336!ifdef $(DEBUG_ON_SERIAL_PORT)\r
337 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
338!else\r
339 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
340!endif\r
341 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
342 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
343\r
344[LibraryClasses.common.DXE_DRIVER]\r
345 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
346 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
347 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
348 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
349 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
350!ifdef $(DEBUG_ON_SERIAL_PORT)\r
351 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
352!else\r
353 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
354!endif\r
355 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibBhyve/PlatformBootManagerLibBhyve.inf\r
356 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
357 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
358 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
359!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
360 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
361!endif\r
362 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
363 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
364 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
365\r
366[LibraryClasses.common.UEFI_APPLICATION]\r
367 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
368 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
369 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
370 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
371!ifdef $(DEBUG_ON_SERIAL_PORT)\r
372 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
373!else\r
374 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
375!endif\r
376 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
377\r
378[LibraryClasses.common.DXE_SMM_DRIVER]\r
379 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
380 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
381 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
382 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
383 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
384 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
385 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
386!ifdef $(DEBUG_ON_SERIAL_PORT)\r
387 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
388!else\r
389 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
390!endif\r
391 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
392!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
393 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
394!endif\r
395 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
396 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
397\r
398[LibraryClasses.common.SMM_CORE]\r
399 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
400 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
401 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
402 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
403 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
404 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
405 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
406!ifdef $(DEBUG_ON_SERIAL_PORT)\r
407 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
408!else\r
409 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
410!endif\r
411 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
412\r
413################################################################################\r
414#\r
415# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
416#\r
417################################################################################\r
418[PcdsFeatureFlag]\r
419 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
420 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
421 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
422 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
423 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
424 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
425\r
426[PcdsFixedAtBuild]\r
427 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE\r
428 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
429 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
431 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
432 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
433 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
434!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
435 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
436 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
437!if $(NETWORK_TLS_ENABLE) == FALSE\r
438 # match PcdFlashNvStorageVariableSize purely for convenience\r
439 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
440!endif\r
441!endif\r
442!if $(FD_SIZE_IN_KB) == 4096\r
443 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
445!if $(NETWORK_TLS_ENABLE) == FALSE\r
446 # match PcdFlashNvStorageVariableSize purely for convenience\r
447 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
448!endif\r
449!endif\r
450!if $(NETWORK_TLS_ENABLE) == TRUE\r
451 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
453!endif\r
454\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
456\r
457 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
458\r
459 # DEBUG_INIT 0x00000001 // Initialization\r
460 # DEBUG_WARN 0x00000002 // Warnings\r
461 # DEBUG_LOAD 0x00000004 // Load events\r
462 # DEBUG_FS 0x00000008 // EFI File system\r
463 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
464 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
465 # DEBUG_INFO 0x00000040 // Informational debug messages\r
466 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
467 # DEBUG_VARIABLE 0x00000100 // Variable\r
468 # DEBUG_BM 0x00000400 // Boot Manager\r
469 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
470 # DEBUG_NET 0x00004000 // SNP Driver\r
471 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
472 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
473 # DEBUG_EVENT 0x00080000 // Event messages\r
474 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
475 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
476 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
477 # // significantly impact boot performance\r
478 # DEBUG_ERROR 0x80000000 // Error\r
479 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
480\r
481!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
482 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
483!else\r
484 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
485!endif\r
486\r
487 # This PCD is used to set the base address of the PCI express hierarchy. It\r
488 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
489 # the PCIEXBAR register.\r
490 #\r
491 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
492 # never lets the RAM below 4 GB exceed 2816 MB.\r
493 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
494\r
495!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
496 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
497!endif\r
498\r
499 #\r
500 # Network Pcds\r
501 #\r
502!include NetworkPkg/NetworkPcds.dsc.inc\r
503\r
504 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
506\r
507 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
508\r
509 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"BHYVE"\r
510 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x2F8\r
511\r
512################################################################################\r
513#\r
514# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
515#\r
516################################################################################\r
517\r
518[PcdsDynamicDefault]\r
519 # only set when\r
520 # ($(SMM_REQUIRE) == FALSE)\r
521 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
522\r
523 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
524 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
525 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
527 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
528 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
529 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
530 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
531 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
532 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
533 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
534 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0xC0000000\r
535 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x20000000\r
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
538\r
539 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
540\r
541 # Set video resolution for text setup.\r
542 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
543 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
544\r
545 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
547 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
548\r
549 # Noexec settings for DXE.\r
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
551\r
552 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
553 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
554 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
555\r
556 # Set memory encryption mask\r
557 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
558\r
559 # Set Tdx shared bit mask\r
560 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0\r
561\r
562 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
563\r
564 # MdeModulePkg resolution sets up the system display resolution\r
565 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
566 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
567 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0\r
568 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0\r
569\r
570################################################################################\r
571#\r
572# Components Section - list of all EDK II Modules needed by this Platform.\r
573#\r
574################################################################################\r
575[Components]\r
576 OvmfPkg/Bhyve/ResetVector/ResetVector.inf\r
577\r
578 #\r
579 # SEC Phase modules\r
580 #\r
581 OvmfPkg/Sec/SecMain.inf {\r
582 <LibraryClasses>\r
583 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
584 }\r
585\r
586 #\r
587 # PEI Phase modules\r
588 #\r
589 MdeModulePkg/Core/Pei/PeiMain.inf\r
590 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
591 <LibraryClasses>\r
592 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
593 }\r
594 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
595 <LibraryClasses>\r
596 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
597 }\r
598 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
599 <LibraryClasses>\r
600 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
601 }\r
602 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
603\r
604 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf\r
605 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
606 <LibraryClasses>\r
607 }\r
608\r
609 #\r
610 # DXE Phase modules\r
611 #\r
612 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
613 <LibraryClasses>\r
614 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
615 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
616 }\r
617\r
618 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
619 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
620 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
621 <LibraryClasses>\r
622 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
623 }\r
624\r
625 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
626\r
627 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
628 <LibraryClasses>\r
629!if $(SECURE_BOOT_ENABLE) == TRUE\r
630 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
631!endif\r
632 }\r
633\r
634 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
635 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
636 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
637 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
638 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
639 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
640 <LibraryClasses>\r
641 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf\r
642 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
643 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
644 }\r
645 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
646 <LibraryClasses>\r
647 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
648 }\r
649 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
650 MdeModulePkg/Universal/Metronome/Metronome.inf\r
651 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
652 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
653 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
654 <LibraryClasses>\r
655!ifdef $(CSM_ENABLE)\r
656 NULL|OvmfPkg/Bhyve/Csm/CsmSupportLib/CsmSupportLib.inf\r
657 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
658!endif\r
659 }\r
660 MdeModulePkg/Logo/LogoDxe.inf\r
661 MdeModulePkg/Application/UiApp/UiApp.inf {\r
662 <LibraryClasses>\r
663 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
664 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
665 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
666!ifdef $(CSM_ENABLE)\r
667 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
668 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
669!endif\r
670 }\r
671 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
672 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
673 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
674 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
675 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
676 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
677 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
678 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
679 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
680 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
681 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
682 <LibraryClasses>\r
683 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
684 }\r
685 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
686 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
687 <LibraryClasses>\r
688 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
689 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
690 }\r
691 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
692 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
693 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
694 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
695 FatPkg/EnhancedFatDxe/Fat.inf\r
696 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
697 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
698 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
699 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
700 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
701 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
702 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
703 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
704 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
705 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
706 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
707\r
708 OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf {\r
709 <LibraryClasses>\r
710 BltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
711 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
712 }\r
713\r
714 #\r
715 # ISA Support\r
716 #\r
717 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
718 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
719 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
720 MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
721\r
722 #\r
723 # SMBIOS Support\r
724 #\r
725 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
726 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
727\r
728 #\r
729 # ACPI Support\r
730 #\r
731 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
732 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
733 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf\r
734 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
735 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
736 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
737\r
738 #\r
739 # Network Support\r
740 #\r
741!include NetworkPkg/NetworkComponents.dsc.inc\r
742\r
743!if $(NETWORK_TLS_ENABLE) == TRUE\r
744 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
745 <LibraryClasses>\r
746 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
747 }\r
748!endif\r
749 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
750\r
751 #\r
752 # Usb Support\r
753 #\r
754 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
755 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
756 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
757 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
758\r
759!ifdef $(CSM_ENABLE)\r
760 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
761 <LibraryClasses>\r
762 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
763 }\r
764!endif\r
765# OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
766!ifdef $(CSM_ENABLE)\r
767 OvmfPkg/Bhyve/Csm/BhyveCsm16/BhyveCsm16.inf\r
768!endif\r
769\r
770!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
771 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
772 <PcdsFixedAtBuild>\r
773 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
774 }\r
775!endif\r
776 ShellPkg/Application/Shell/Shell.inf {\r
777 <LibraryClasses>\r
778 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
779 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
780 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
781 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
782 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
783 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
784 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
785 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
786!if $(NETWORK_IP6_ENABLE) == TRUE\r
787 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
788!endif\r
789 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
790 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
791 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
792\r
793 <PcdsFixedAtBuild>\r
794 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
795 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
796 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
797 }\r
798\r
799!if $(SECURE_BOOT_ENABLE) == TRUE\r
800 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
801 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
802!endif\r
803\r
804 OvmfPkg/PlatformDxe/Platform.inf\r
805 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {\r
806 <LibraryClasses>\r
807 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
808 }\r
809 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
810\r
811\r
812 #\r
813 # Variable driver stack (non-SMM)\r
814 #\r
815 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
816 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
817 <LibraryClasses>\r
818 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
819 }\r
820 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
821 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
822 <LibraryClasses>\r
823 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
824 }\r
825\r