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