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