]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
ArmVirtPkg: Add PCIe host bridge utility lib for ArmVirtPkg
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
6# Copyright (c) Microsoft Corporation.\r
7#\r
8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
9#\r
10##\r
11\r
12################################################################################\r
13#\r
14# Defines Section - statements that will be processed to create a Makefile.\r
15#\r
16################################################################################\r
17[Defines]\r
18 PLATFORM_NAME = Ovmf\r
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
20 PLATFORM_VERSION = 0.1\r
21 DSC_SPECIFICATION = 0x00010005\r
22 OUTPUT_DIRECTORY = Build/Ovmf3264\r
23 SUPPORTED_ARCHITECTURES = IA32|X64\r
24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
25 SKUID_IDENTIFIER = DEFAULT\r
26 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf\r
27\r
28 #\r
29 # Defines for default states. These can be changed on the command line.\r
30 # -D FLAG=VALUE\r
31 #\r
32 DEFINE SECURE_BOOT_ENABLE = FALSE\r
33 DEFINE SMM_REQUIRE = FALSE\r
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
35 DEFINE TPM_ENABLE = FALSE\r
36 DEFINE TPM_CONFIG_ENABLE = FALSE\r
37\r
38 #\r
39 # Network definition\r
40 #\r
41 DEFINE NETWORK_TLS_ENABLE = FALSE\r
42 DEFINE NETWORK_IP6_ENABLE = FALSE\r
43 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
44 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
45 DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
46\r
47!include NetworkPkg/NetworkDefines.dsc.inc\r
48\r
49 #\r
50 # Device drivers\r
51 #\r
52 DEFINE PVSCSI_ENABLE = TRUE\r
53 DEFINE MPT_SCSI_ENABLE = TRUE\r
54 DEFINE LSI_SCSI_ENABLE = FALSE\r
55\r
56 #\r
57 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
58 # one of the supported values, in place of any of the convenience macros, is\r
59 # permitted.\r
60 #\r
61!ifdef $(FD_SIZE_1MB)\r
62 DEFINE FD_SIZE_IN_KB = 1024\r
63!else\r
64!ifdef $(FD_SIZE_2MB)\r
65 DEFINE FD_SIZE_IN_KB = 2048\r
66!else\r
67!ifdef $(FD_SIZE_4MB)\r
68 DEFINE FD_SIZE_IN_KB = 4096\r
69!else\r
70 DEFINE FD_SIZE_IN_KB = 4096\r
71!endif\r
72!endif\r
73!endif\r
74\r
75[BuildOptions]\r
76 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
77 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
78 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
79!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r
80 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
81!endif\r
82!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
83 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
84 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
85 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
86!endif\r
87 RELEASE_*_*_GENFW_FLAGS = --zero\r
88\r
89 #\r
90 # Disable deprecated APIs.\r
91 #\r
92 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
93 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
94 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
95\r
96!include NetworkPkg/NetworkBuildOptions.dsc.inc\r
97\r
98[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
103\r
104# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
105# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
106[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
107 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
108 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
109 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
110 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
111\r
112################################################################################\r
113#\r
114# SKU Identification section - list of all SKU IDs supported by this Platform.\r
115#\r
116################################################################################\r
117[SkuIds]\r
118 0|DEFAULT\r
119\r
120################################################################################\r
121#\r
122# Library Class section - list of all Library Classes needed by this Platform.\r
123#\r
124################################################################################\r
125\r
126!include MdePkg/MdeLibs.dsc.inc\r
127\r
128[LibraryClasses]\r
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
130 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
131 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf\r
132 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
133 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
134 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
135 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
136 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
137 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
138 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
139 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
140 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
141 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
142 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
143 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
144 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
145 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
146 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
147 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
148 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
149 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
150 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
151 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
152 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
154 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
155 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
156 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
157 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
158 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
159 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
160 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
161 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
162 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
163 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
164 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
165 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r
166 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
167 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
168 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
169 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
170 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
171 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
172 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
173 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
174 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
175 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
176 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
177 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
178 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
179 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf\r
180 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
181 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
182 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r
183!if $(SMM_REQUIRE) == FALSE\r
184 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
185!endif\r
186 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
187 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
188\r
189!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
190 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
191 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
192!else\r
193 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
194 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
195!endif\r
196\r
197 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
198 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
199\r
200 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
201!if $(NETWORK_TLS_ENABLE) == TRUE\r
202 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
203!else\r
204 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
205!endif\r
206 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
207\r
208!if $(SECURE_BOOT_ENABLE) == TRUE\r
209 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
210 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
211!else\r
212 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
213!endif\r
214 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
215 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
216 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
217\r
218\r
219 #\r
220 # Network libraries\r
221 #\r
222!include NetworkPkg/NetworkLibs.dsc.inc\r
223\r
224!if $(NETWORK_TLS_ENABLE) == TRUE\r
225 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
226!endif\r
227\r
228 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
229 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
230 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
231 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
232 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
233\r
234!if $(TPM_ENABLE) == TRUE\r
235 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
236 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
237 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf\r
238 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
239 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
240!else\r
241 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r
242 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
243!endif\r
244\r
245[LibraryClasses.common]\r
246 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
247 VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r
248\r
249[LibraryClasses.common.SEC]\r
250 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
251 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
252!ifdef $(DEBUG_ON_SERIAL_PORT)\r
253 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
254!else\r
255 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
256!endif\r
257 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
258 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
259!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
260 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
261!endif\r
262 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
263 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
264 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
265 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
266!if $(TOOL_CHAIN_TAG) == "XCODE5"\r
267 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r
268!else\r
269 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
270!endif\r
271\r
272[LibraryClasses.common.PEI_CORE]\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 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.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\r
288[LibraryClasses.common.PEIM]\r
289 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
290 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
291 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
292 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
293 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
294 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
295 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
296 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
297!ifdef $(DEBUG_ON_SERIAL_PORT)\r
298 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
299!else\r
300 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
301!endif\r
302 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
303 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
304 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
305!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
306 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
307!endif\r
308 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
309 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
310 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
311 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
312 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
313\r
314!if $(TPM_ENABLE) == TRUE\r
315 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
316 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
317 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
318!endif\r
319\r
320 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r
321\r
322[LibraryClasses.common.DXE_CORE]\r
323 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
324 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
325 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
327!ifdef $(DEBUG_ON_SERIAL_PORT)\r
328 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
329!else\r
330 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
331!endif\r
332 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
333!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
334 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
335!endif\r
336 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
337 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
338\r
339[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
340 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
341 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
342 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
343 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
344 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
346 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
347!ifdef $(DEBUG_ON_SERIAL_PORT)\r
348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
349!else\r
350 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
351!endif\r
352 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
353 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
354 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
355 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
356 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
357!if $(SMM_REQUIRE) == TRUE\r
358 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
359!endif\r
360\r
361[LibraryClasses.common.UEFI_DRIVER]\r
362 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
363 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
364 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
365 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
366 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
367 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
368 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
369!ifdef $(DEBUG_ON_SERIAL_PORT)\r
370 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
371!else\r
372 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
373!endif\r
374 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
375 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
376\r
377[LibraryClasses.common.DXE_DRIVER]\r
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
379 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
380 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
381 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
382 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
383 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
384 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
385!ifdef $(DEBUG_ON_SERIAL_PORT)\r
386 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
387!else\r
388 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
389!endif\r
390 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
391 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
392 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
393 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
394!if $(SMM_REQUIRE) == TRUE\r
395 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
396!else\r
397 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
398!endif\r
399!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
400 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
401!endif\r
402 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
403 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
404 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
405 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r
406!if $(TPM_ENABLE) == TRUE\r
407 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
408 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
409!endif\r
410\r
411[LibraryClasses.common.UEFI_APPLICATION]\r
412 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
413 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
414 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
415 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
416 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
417 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
418!ifdef $(DEBUG_ON_SERIAL_PORT)\r
419 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
420!else\r
421 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
422!endif\r
423 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
424\r
425[LibraryClasses.common.DXE_SMM_DRIVER]\r
426 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
427 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
428 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
429 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
430 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
431 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
432 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
433 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
434 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
435!ifdef $(DEBUG_ON_SERIAL_PORT)\r
436 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
437!else\r
438 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
439!endif\r
440 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
441!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
442 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
443!endif\r
444 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
445 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
446\r
447[LibraryClasses.common.SMM_CORE]\r
448 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
449 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
450 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
451 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
452 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
453 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
454 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
455 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
456 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
457!ifdef $(DEBUG_ON_SERIAL_PORT)\r
458 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
459!else\r
460 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
461!endif\r
462 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
463\r
464################################################################################\r
465#\r
466# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
467#\r
468################################################################################\r
469[PcdsFeatureFlag]\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
471 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
472 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
473 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
474 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
475 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
476!ifdef $(CSM_ENABLE)\r
477 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
478!endif\r
479!if $(SMM_REQUIRE) == TRUE\r
480 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
481 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE\r
482 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE\r
483!endif\r
484\r
485[PcdsFixedAtBuild]\r
486 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
487!if $(SMM_REQUIRE) == FALSE\r
488 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
489!endif\r
490 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
491 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
492!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
493 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
494 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
495!if $(NETWORK_TLS_ENABLE) == FALSE\r
496 # match PcdFlashNvStorageVariableSize purely for convenience\r
497 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
498!endif\r
499!endif\r
500!if $(FD_SIZE_IN_KB) == 4096\r
501 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
502 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
503!if $(NETWORK_TLS_ENABLE) == FALSE\r
504 # match PcdFlashNvStorageVariableSize purely for convenience\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
506!endif\r
507!endif\r
508!if $(NETWORK_TLS_ENABLE) == TRUE\r
509 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
510 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
511!endif\r
512\r
513 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
514 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
515 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
516\r
517 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
518\r
519 # DEBUG_INIT 0x00000001 // Initialization\r
520 # DEBUG_WARN 0x00000002 // Warnings\r
521 # DEBUG_LOAD 0x00000004 // Load events\r
522 # DEBUG_FS 0x00000008 // EFI File system\r
523 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
524 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
525 # DEBUG_INFO 0x00000040 // Informational debug messages\r
526 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
527 # DEBUG_VARIABLE 0x00000100 // Variable\r
528 # DEBUG_BM 0x00000400 // Boot Manager\r
529 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
530 # DEBUG_NET 0x00004000 // SNP Driver\r
531 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
532 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
533 # DEBUG_EVENT 0x00080000 // Event messages\r
534 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
535 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
536 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
537 # // significantly impact boot performance\r
538 # DEBUG_ERROR 0x80000000 // Error\r
539 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
540\r
541!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
542 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
543!else\r
544 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
545!endif\r
546\r
547 # This PCD is used to set the base address of the PCI express hierarchy. It\r
548 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
549 # the PCIEXBAR register.\r
550 #\r
551 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
552 # never lets the RAM below 4 GB exceed 2816 MB.\r
553 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
554\r
555!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
556 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
557!endif\r
558\r
559[PcdsFixedAtBuild.IA32]\r
560 #\r
561 # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r
562 # best (please refer to git-blame for past updates). The values capture a set\r
563 # of BIN hints that made sense at a particular time, for some (now likely\r
564 # unknown) workloads / boot paths.\r
565 #\r
566 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r
567 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10\r
568 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r
569 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r
570 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r
571\r
572[PcdsFixedAtBuild.X64]\r
573 #\r
574 # Network Pcds\r
575 #\r
576!include NetworkPkg/NetworkPcds.dsc.inc\r
577\r
578 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r
579\r
580!if $(SMM_REQUIRE) == TRUE\r
581 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
582!endif\r
583\r
584 # IRQs 5, 9, 10, 11 are level-triggered\r
585 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
586\r
587 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
588 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
589\r
590################################################################################\r
591#\r
592# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
593#\r
594################################################################################\r
595\r
596[PcdsDynamicDefault]\r
597 # only set when\r
598 # ($(SMM_REQUIRE) == FALSE)\r
599 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
600\r
601!if $(SMM_REQUIRE) == FALSE\r
602 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
603 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
604 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
605!endif\r
606 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
607 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
608 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
609 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
610 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
611 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
612 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
613 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
614 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
615!ifdef $(CSM_ENABLE)\r
616 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0\r
617!else\r
618 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
619!endif\r
620\r
621 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
622\r
623 # Set video resolution for text setup.\r
624 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
625 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
626\r
627 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
628 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
629 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
630\r
631 # Noexec settings for DXE.\r
632 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
633\r
634 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
635 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
636 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r
637\r
638 # Set memory encryption mask\r
639 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
640\r
641 # Set SEV-ES defaults\r
642 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r
643 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0\r
644 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r
645\r
646!if $(SMM_REQUIRE) == TRUE\r
647 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
648 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE\r
649 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
650 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
651!endif\r
652\r
653 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
654\r
655!if $(TPM_ENABLE) == TRUE\r
656 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\r
657!endif\r
658\r
659[PcdsDynamicDefault.X64]\r
660 # IPv4 and IPv6 PXE Boot support.\r
661 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r
662 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r
663\r
664[PcdsDynamicHii]\r
665!if $(TPM_ENABLE) == TRUE && $(TPM_CONFIG_ENABLE) == TRUE\r
666 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
667 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
668!endif\r
669\r
670################################################################################\r
671#\r
672# Components Section - list of all EDK II Modules needed by this Platform.\r
673#\r
674################################################################################\r
675[Components.IA32]\r
676 OvmfPkg/ResetVector/ResetVector.inf\r
677\r
678 #\r
679 # SEC Phase modules\r
680 #\r
681 OvmfPkg/Sec/SecMain.inf {\r
682 <LibraryClasses>\r
683 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
684 }\r
685\r
686 #\r
687 # PEI Phase modules\r
688 #\r
689 MdeModulePkg/Core/Pei/PeiMain.inf\r
690 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
691 <LibraryClasses>\r
692 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
693 }\r
694 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
695 <LibraryClasses>\r
696 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
697 }\r
698 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
699 <LibraryClasses>\r
700 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
701 }\r
702 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
703\r
704 OvmfPkg/PlatformPei/PlatformPei.inf\r
705 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
706 <LibraryClasses>\r
707!if $(SMM_REQUIRE) == TRUE\r
708 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
709!endif\r
710 }\r
711!if $(SMM_REQUIRE) == TRUE\r
712 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
713 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
714 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
715!endif\r
716 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
717\r
718!if $(TPM_ENABLE) == TRUE\r
719 OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf\r
720 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
721 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
722 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
723 <LibraryClasses>\r
724 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
725 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
726 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
727 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
728 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
729 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
730 }\r
731!endif\r
732\r
733[Components.X64]\r
734 #\r
735 # DXE Phase modules\r
736 #\r
737 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
738 <LibraryClasses>\r
739 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
740 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
741 }\r
742\r
743 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
744 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
745 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
746 <LibraryClasses>\r
747 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
748 }\r
749\r
750 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
751\r
752 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
753 <LibraryClasses>\r
754!if $(SECURE_BOOT_ENABLE) == TRUE\r
755 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
756!endif\r
757!if $(TPM_ENABLE) == TRUE\r
758 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
759 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
760!endif\r
761 }\r
762\r
763 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
764 OvmfPkg/8259InterruptControllerDxe/8259.inf\r
765 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
766 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
767 OvmfPkg/8254TimerDxe/8254Timer.inf\r
768 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
769 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
770 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
771 <LibraryClasses>\r
772 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
773 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
774 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
775 }\r
776 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
777 <LibraryClasses>\r
778 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
779 }\r
780 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
781 MdeModulePkg/Universal/Metronome/Metronome.inf\r
782 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
783 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
784 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
785 <LibraryClasses>\r
786 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
787!ifdef $(CSM_ENABLE)\r
788 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
789 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
790!endif\r
791 }\r
792 MdeModulePkg/Logo/LogoDxe.inf\r
793 MdeModulePkg/Application/UiApp/UiApp.inf {\r
794 <LibraryClasses>\r
795 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
796 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
797 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
798!ifdef $(CSM_ENABLE)\r
799 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
800 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
801!endif\r
802 }\r
803 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf\r
804 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
805 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
806 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
807 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
808 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
809!if $(PVSCSI_ENABLE) == TRUE\r
810 OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r
811!endif\r
812!if $(MPT_SCSI_ENABLE) == TRUE\r
813 OvmfPkg/MptScsiDxe/MptScsiDxe.inf\r
814!endif\r
815!if $(LSI_SCSI_ENABLE) == TRUE\r
816 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf\r
817!endif\r
818 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
819 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
820 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
821 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
822 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
823 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
824 <LibraryClasses>\r
825 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
826 }\r
827 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
828 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
829 <LibraryClasses>\r
830 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
831 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
832 }\r
833 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
834 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
835 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
836 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
837 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
838 FatPkg/EnhancedFatDxe/Fat.inf\r
839 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
840 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r
841 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
842 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
843 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
844 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
845 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
846 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
847 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
848 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
849 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
850 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
851\r
852!ifndef $(CSM_ENABLE)\r
853 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
854!endif\r
855 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
856 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
857\r
858 #\r
859 # ISA Support\r
860 #\r
861 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
862 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
863 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
864\r
865 #\r
866 # SMBIOS Support\r
867 #\r
868 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
869 <LibraryClasses>\r
870 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
871 }\r
872 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
873\r
874 #\r
875 # ACPI Support\r
876 #\r
877 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
878 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf\r
879 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
880 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
881 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
882\r
883 #\r
884 # Network Support\r
885 #\r
886!include NetworkPkg/NetworkComponents.dsc.inc\r
887\r
888 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {\r
889 <LibraryClasses>\r
890 NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf\r
891 }\r
892\r
893!if $(NETWORK_TLS_ENABLE) == TRUE\r
894 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r
895 <LibraryClasses>\r
896 NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r
897 }\r
898!endif\r
899 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
900\r
901 #\r
902 # Usb Support\r
903 #\r
904 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
905 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
906 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
907 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
908 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
909 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
910\r
911!ifdef $(CSM_ENABLE)\r
912 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
913 <LibraryClasses>\r
914 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
915 }\r
916 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
917 OvmfPkg/Csm/Csm16/Csm16.inf\r
918!endif\r
919\r
920!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
921 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
922 <PcdsFixedAtBuild>\r
923 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
924 }\r
925 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r
926 <PcdsFixedAtBuild>\r
927 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
928 }\r
929 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
930 <PcdsFixedAtBuild>\r
931 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
932 }\r
933!endif\r
934 ShellPkg/Application/Shell/Shell.inf {\r
935 <LibraryClasses>\r
936 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
937 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
938 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
939 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
940 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
941 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
942 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
943 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
944!if $(NETWORK_IP6_ENABLE) == TRUE\r
945 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
946!endif\r
947 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
948 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
949 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
950\r
951 <PcdsFixedAtBuild>\r
952 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
953 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
954 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
955 }\r
956\r
957!if $(SECURE_BOOT_ENABLE) == TRUE\r
958 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
959 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
960!endif\r
961\r
962 OvmfPkg/PlatformDxe/Platform.inf\r
963 OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
964 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
965\r
966!if $(SMM_REQUIRE) == TRUE\r
967 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
968 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
969 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
970\r
971 #\r
972 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
973 #\r
974 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
975\r
976 #\r
977 # SMM_CORE\r
978 #\r
979 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
980\r
981 #\r
982 # Privileged drivers (DXE_SMM_DRIVER modules)\r
983 #\r
984 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf\r
985 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
986 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
987 <LibraryClasses>\r
988 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
989 }\r
990 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
991 <LibraryClasses>\r
992 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf\r
993 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
994 }\r
995\r
996 #\r
997 # Variable driver stack (SMM)\r
998 #\r
999 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
1000 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
1001 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
1002 <LibraryClasses>\r
1003 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
1004 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r
1005 }\r
1006 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
1007\r
1008!else\r
1009\r
1010 #\r
1011 # Variable driver stack (non-SMM)\r
1012 #\r
1013 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
1014 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
1015 <LibraryClasses>\r
1016 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
1017 }\r
1018 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
1019 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
1020 <LibraryClasses>\r
1021 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
1022 }\r
1023!endif\r
1024\r
1025 #\r
1026 # TPM support\r
1027 #\r
1028!if $(TPM_ENABLE) == TRUE\r
1029 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
1030 <LibraryClasses>\r
1031 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
1032 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
1033 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
1034 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
1035 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
1036 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
1037 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
1038 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1039 }\r
1040!if $(TPM_CONFIG_ENABLE) == TRUE\r
1041 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
1042!endif\r
1043 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {\r
1044 <LibraryClasses>\r
1045 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
1046 }\r
1047!endif\r