]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf
ShellPkg/UefiShellAcpiViewCommandLib: Add support for PPTT
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableStandaloneMm.inf
CommitLineData
688b2cad
AB
1## @file\r
2# Provides SMM variable service.\r
3#\r
4# This module installs SMM variable protocol into SMM protocol database,\r
5# which can be used by SMM driver, and installs SMM variable protocol\r
6# into BS protocol database, which can be used to notify the SMM Runtime\r
7# Dxe driver that the SMM variable service is ready.\r
8# This module should be used with SMM Runtime DXE module together. The\r
9# SMM Runtime DXE module would install variable arch protocol and variable\r
10# write arch protocol based on SMM variable module.\r
11#\r
12# Caution: This module requires additional review when modified.\r
13# This driver will have external input - variable data and communicate buffer in SMM mode.\r
14# This external input must be validated carefully to avoid security issues such as\r
15# buffer overflow or integer overflow.\r
16# The whole SMM authentication variable design relies on the integrity of flash part and SMM.\r
17# which is assumed to be protected by platform. All variable code and metadata in flash/SMM Memory\r
18# may not be modified without authorization. If platform fails to protect these resources,\r
19# the authentication service provided in this driver will be broken, and the behavior is undefined.\r
20#\r
21# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
22# Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR>\r
23# This program and the accompanying materials\r
24# are licensed and made available under the terms and conditions of the BSD License\r
25# which accompanies this distribution. The full text of the license may be found at\r
26# http://opensource.org/licenses/bsd-license.php\r
27# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
28# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
29#\r
30##\r
31\r
32[Defines]\r
33 INF_VERSION = 0x0001001B\r
34 BASE_NAME = VariableStandaloneMm\r
35 FILE_GUID = 7ee2c0c1-c21a-4113-a53a-66824a95696f\r
36 MODULE_TYPE = MM_STANDALONE\r
37 VERSION_STRING = 1.0\r
38 PI_SPECIFICATION_VERSION = 0x00010032\r
39 ENTRY_POINT = VariableServiceInitialize\r
40\r
41#\r
42# The following information is for reference only and not required by the build tools.\r
43#\r
44# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64\r
45#\r
46\r
47\r
48[Sources]\r
49 Reclaim.c\r
50 Variable.c\r
51 VariableSmm.c\r
52 VariableStandaloneMm.c\r
53 VarCheck.c\r
54 Variable.h\r
55 PrivilegePolymorphic.h\r
56 VariableExLib.c\r
57 TcgMorLockSmm.c\r
58 SpeculationBarrierSmm.c\r
59\r
60[Packages]\r
61 MdePkg/MdePkg.dec\r
62 MdeModulePkg/MdeModulePkg.dec\r
63 StandaloneMmPkg/StandaloneMmPkg.dec\r
64\r
65[LibraryClasses]\r
66 AuthVariableLib\r
67 BaseLib\r
68 BaseMemoryLib\r
69 DebugLib\r
70 HobLib\r
71 MemoryAllocationLib\r
72 MmServicesTableLib\r
73 StandaloneMmDriverEntryPoint\r
74 SynchronizationLib\r
75 VarCheckLib\r
76\r
77[Protocols]\r
78 gEfiSmmFirmwareVolumeBlockProtocolGuid ## CONSUMES\r
79 ## CONSUMES\r
80 ## NOTIFY\r
81 gEfiSmmFaultTolerantWriteProtocolGuid\r
82 ## PRODUCES\r
83 ## UNDEFINED # SmiHandlerRegister\r
84 gEfiSmmVariableProtocolGuid\r
85 gEfiMmEndOfDxeProtocolGuid ## NOTIFY\r
86 gEdkiiSmmVarCheckProtocolGuid ## PRODUCES\r
87\r
88[Guids]\r
89 ## SOMETIMES_CONSUMES ## GUID # Signature of Variable store header\r
90 ## SOMETIMES_PRODUCES ## GUID # Signature of Variable store header\r
91 ## SOMETIMES_CONSUMES ## HOB\r
92 ## SOMETIMES_PRODUCES ## SystemTable\r
93 gEfiAuthenticatedVariableGuid\r
94\r
95 ## SOMETIMES_CONSUMES ## GUID # Signature of Variable store header\r
96 ## SOMETIMES_PRODUCES ## GUID # Signature of Variable store header\r
97 ## SOMETIMES_CONSUMES ## HOB\r
98 ## SOMETIMES_PRODUCES ## SystemTable\r
99 gEfiVariableGuid\r
100\r
101 ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"\r
102 ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"\r
103 ## SOMETIMES_CONSUMES ## Variable:L"Lang"\r
104 ## SOMETIMES_PRODUCES ## Variable:L"Lang"\r
105 gEfiGlobalVariableGuid\r
106\r
107 gEfiMemoryOverwriteControlDataGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"\r
108 gEfiMemoryOverwriteRequestControlLockGuid ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControlLock"\r
109\r
110 gEfiSystemNvDataFvGuid ## CONSUMES ## GUID\r
111 gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB\r
112\r
113 ## SOMETIMES_CONSUMES ## Variable:L"VarErrorFlag"\r
114 ## SOMETIMES_PRODUCES ## Variable:L"VarErrorFlag"\r
115 gEdkiiVarErrorFlagGuid\r
116\r
117[FixedPcd]\r
118 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES\r
119 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES\r
120 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES\r
121 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r
122 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize ## CONSUMES\r
123 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize ## CONSUMES\r
124 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r
125 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES\r
126 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES\r
127 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxUserNvVariableSpaceSize ## CONSUMES\r
128 gEfiMdeModulePkgTokenSpaceGuid.PcdBoottimeReservedNvVariableSpaceSize ## CONSUMES\r
129 gEfiMdeModulePkgTokenSpaceGuid.PcdReclaimVariableSpaceAtEndOfDxe ## CONSUMES\r
130\r
131[FeaturePcd]\r
132 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.\r
133 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES # Auto update PlatformLang/Lang\r
134\r
135[Depex]\r
136 TRUE\r