]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
MdeModulePkg/SecurityPkg Variable: Calculate enough space for PlatformLang and Lang...
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmm.inf
CommitLineData
4b738c76
HT
1## @file\r
2# Component description file for SMM Variable module.\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 issue like\r
15# buffer overflow, integer overflow.\r
16#\r
b2bd493e 17# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
4b738c76
HT
18# This program and the accompanying materials\r
19# are licensed and made available under the terms and conditions of the BSD License\r
20# which accompanies this distribution. The full text of the license may be found at\r
21# http://opensource.org/licenses/bsd-license.php\r
22# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
23# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
24#\r
25#\r
26##\r
27\r
28[Defines]\r
29 INF_VERSION = 0x00010005\r
30 BASE_NAME = VariableSmm\r
31 FILE_GUID = 23A089B3-EED5-4ac5-B2AB-43E3298C2343\r
32 MODULE_TYPE = DXE_SMM_DRIVER\r
33 VERSION_STRING = 1.0\r
34 PI_SPECIFICATION_VERSION = 0x0001000A\r
35 ENTRY_POINT = VariableServiceInitialize\r
36\r
37#\r
38# The following information is for reference only and not required by the build tools.\r
39#\r
40# VALID_ARCHITECTURES = IA32 X64\r
41#\r
42\r
43\r
44[Sources]\r
45 Reclaim.c\r
46 Variable.c\r
47 VariableSmm.c\r
48 Variable.h\r
49\r
50[Packages]\r
51 MdePkg/MdePkg.dec\r
52 MdeModulePkg/MdeModulePkg.dec\r
53\r
54[LibraryClasses]\r
55 UefiDriverEntryPoint\r
56 MemoryAllocationLib\r
57 BaseLib\r
58 SynchronizationLib\r
59 UefiLib\r
60 SmmServicesTableLib\r
61 BaseMemoryLib\r
62 DebugLib\r
63 DxeServicesTableLib\r
64 HobLib\r
65 PcdLib\r
66\r
67[Protocols]\r
68 gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r
69 gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES\r
70 gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES\r
71 gEfiSmmAccess2ProtocolGuid ## ALWAYS_CONSUMES\r
72 gEfiSmmEndOfDxeProtocolGuid ## ALWAYS_CONSUMES\r
73\r
74[Guids]\r
75 gEfiVariableGuid ## PRODUCES ## Configuration Table Guid \r
76 gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r
77 gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write Guid \r
78 gEfiSystemNvDataFvGuid ## CONSUMES\r
79 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES\r
80 gEdkiiFaultTolerantWriteGuid ## CONSUMES\r
81\r
82[Pcd]\r
83 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r
85 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64\r
86 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r
87 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
88 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
89 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r
90 \r
91[FeaturePcd]\r
b2bd493e
SZ
92 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.\r
93 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES\r
4b738c76
HT
94\r
95[Depex]\r
96 TRUE\r
97\r
98 \r