]>
Commit | Line | Data |
---|---|---|
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 - 2011, 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 | ||
45 | [Packages] | |
46 | MdePkg/MdePkg.dec | |
47 | MdeModulePkg/MdeModulePkg.dec | |
48 | ||
49 | [LibraryClasses] | |
50 | UefiDriverEntryPoint | |
51 | MemoryAllocationLib | |
52 | BaseLib | |
53 | SynchronizationLib | |
54 | UefiLib | |
55 | SmmServicesTableLib | |
56 | BaseMemoryLib | |
57 | DebugLib | |
58 | DxeServicesTableLib | |
59 | HobLib | |
60 | ||
61 | [Protocols] | |
62 | gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES | |
63 | gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES | |
64 | gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES | |
65 | ||
66 | [Guids] | |
67 | gEfiVariableGuid ## PRODUCES ## Configuration Table Guid | |
68 | gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid | |
69 | gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write 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 |