]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
According to UEFI spec 2.3.1a. hardware error record variable should use the EFI_HARD...
[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 - 2012, 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 gEfiSystemNvDataFvGuid ## CONSUMES
71 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES
72
73 [Pcd]
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
75 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
76 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
77 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
78 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
79 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
80 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
81
82 [FeaturePcd]
83 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)
84
85 [Depex]
86 TRUE
87
88