]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
MdeModulePkg: INF/DEC file updates to EDK II packages
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmm.inf
CommitLineData
4b738c76 1## @file\r
4b738c76
HT
2# This module installs SMM variable protocol into SMM protocol database,\r
3# which can be used by SMM driver, and installs SMM variable protocol \r
4# into BS protocol database, which can be used to notify the SMM Runtime\r
5# Dxe driver that the SMM variable service is ready.\r
6# This module should be used with SMM Runtime DXE module together. The \r
7# SMM Runtime DXE module would install variable arch protocol and variable \r
8# write arch protocol based on SMM variable module.\r
9#\r
10# Caution: This module requires additional review when modified.\r
11# This driver will have external input - variable data and communicate buffer in SMM mode.\r
12# This external input must be validated carefully to avoid security issue like\r
13# buffer overflow, integer overflow.\r
14#\r
b2bd493e 15# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
4b738c76
HT
16# This program and the accompanying materials\r
17# are licensed and made available under the terms and conditions of the BSD License\r
18# which accompanies this distribution. The full text of the license may be found at\r
19# http://opensource.org/licenses/bsd-license.php\r
20# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
21# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
22#\r
23#\r
24##\r
25\r
26[Defines]\r
27 INF_VERSION = 0x00010005\r
28 BASE_NAME = VariableSmm\r
6036e94d 29 MODULE_UNI_FILE = VariableSmm.uni\r
4b738c76
HT
30 FILE_GUID = 23A089B3-EED5-4ac5-B2AB-43E3298C2343\r
31 MODULE_TYPE = DXE_SMM_DRIVER\r
32 VERSION_STRING = 1.0\r
33 PI_SPECIFICATION_VERSION = 0x0001000A\r
34 ENTRY_POINT = VariableServiceInitialize\r
35\r
36#\r
37# The following information is for reference only and not required by the build tools.\r
38#\r
39# VALID_ARCHITECTURES = IA32 X64\r
40#\r
41\r
42\r
43[Sources]\r
44 Reclaim.c\r
45 Variable.c\r
46 VariableSmm.c\r
47 Variable.h\r
48\r
49[Packages]\r
50 MdePkg/MdePkg.dec\r
51 MdeModulePkg/MdeModulePkg.dec\r
52\r
53[LibraryClasses]\r
54 UefiDriverEntryPoint\r
55 MemoryAllocationLib\r
56 BaseLib\r
57 SynchronizationLib\r
58 UefiLib\r
59 SmmServicesTableLib\r
60 BaseMemoryLib\r
61 DebugLib\r
62 DxeServicesTableLib\r
63 HobLib\r
64 PcdLib\r
65\r
66[Protocols]\r
6036e94d
SZ
67 gEfiSmmFirmwareVolumeBlockProtocolGuid ## CONSUMES\r
68 ## CONSUMES\r
69 ## NOTIFY\r
70 gEfiSmmFaultTolerantWriteProtocolGuid\r
71 ## PRODUCES\r
72 ## UNDEFINED # SmiHandlerRegister\r
73 gEfiSmmVariableProtocolGuid\r
74 gEfiSmmAccess2ProtocolGuid ## CONSUMES\r
75 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES\r
4b738c76
HT
76\r
77[Guids]\r
6036e94d
SZ
78 ## PRODUCES ## GUID # Signature of Variable store header\r
79 ## CONSUMES ## GUID # Signature of Variable store header\r
80 ## SOMETIMES_CONSUMES ## HOB\r
81 gEfiVariableGuid\r
82 ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"\r
83 ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"\r
84 ## SOMETIMES_CONSUMES ## Variable:L"Lang"\r
85 ## SOMETIMES_PRODUCES ## Variable:L"Lang"\r
86 ## SOMETIMES_CONSUMES ## Variable:L"HwErrRecSupport"\r
87 gEfiGlobalVariableGuid\r
88 gSmmVariableWriteGuid ## PRODUCES ## UNDEFINED # Install protocol\r
89 gEfiSystemNvDataFvGuid ## CONSUMES ## GUID\r
90 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"\r
91 ## SOMETIMES_CONSUMES ## HOB\r
92 gEdkiiFaultTolerantWriteGuid\r
4b738c76
HT
93\r
94[Pcd]\r
6036e94d
SZ
95 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES\r
96 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES\r
97 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES\r
98 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r
99 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r
100 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES\r
101 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES\r
4b738c76
HT
102 \r
103[FeaturePcd]\r
6036e94d
SZ
104 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.\r
105 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES\r
4b738c76
HT
106\r
107[Depex]\r
108 TRUE\r
109\r
6036e94d
SZ
110[UserExtensions.TianoCore."ExtraFiles"]\r
111 VariableSmmExtra.uni\r