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