]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
Add SMM Variable implementation.
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmm.inf
1 ## @file
2 # Component description file for SMM Variable module.
3 #
4 # This module installs SMM variable protocol into SMM protocol database,
5 # which can be used by SMM driver, and installs SMM variable protocol
6 # into BS protocol database, which can be used to notify the SMM Runtime
7 # Dxe driver that the SMM variable service is ready.
8 # This module should be used with SMM Runtime DXE module together. The
9 # SMM Runtime DXE module would install variable arch protocol and variable
10 # write arch protocol based on SMM variable module.
11 # Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
12 #
13 # This program and the accompanying materials
14 # are licensed and made available under the terms and conditions of the BSD License
15 # which accompanies this distribution. The full text of the license may be found at
16 # http://opensource.org/licenses/bsd-license.php
17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #
20 #
21 ##
22
23 [Defines]
24 INF_VERSION = 0x00010005
25 BASE_NAME = VariableSmm
26 FILE_GUID = 23A089B3-EED5-4ac5-B2AB-43E3298C2343
27 MODULE_TYPE = DXE_SMM_DRIVER
28 VERSION_STRING = 1.0
29 PI_SPECIFICATION_VERSION = 0x0001000A
30 ENTRY_POINT = VariableServiceInitialize
31
32 #
33 # The following information is for reference only and not required by the build tools.
34 #
35 # VALID_ARCHITECTURES = IA32 X64
36 #
37
38
39 [Sources]
40 Reclaim.c
41 Variable.c
42 VariableSmm.c
43 Variable.h
44 VariableSmmCommon.h
45
46 [Packages]
47 MdePkg/MdePkg.dec
48 MdeModulePkg/MdeModulePkg.dec
49
50 [LibraryClasses]
51 UefiDriverEntryPoint
52 MemoryAllocationLib
53 BaseLib
54 SynchronizationLib
55 UefiLib
56 SmmLib
57 SmmServicesTableLib
58 BaseMemoryLib
59 DebugLib
60 DxeServicesTableLib
61
62 [Protocols]
63 gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
64 gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES
65 gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES
66
67 [Guids]
68 gEfiVariableGuid ## PRODUCES ## Configuration Table Guid
69 gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
70
71 [Pcd]
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
75 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
76 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
77 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
78 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
79
80 [FeaturePcd]
81 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)
82
83 [Depex]
84 TRUE
85
86