]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
Add pointer check for NULL before dereference it.
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmm.inf
CommitLineData
8a2d4996 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.
d00ed85e 11# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
8a2d4996 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
8a2d4996 44
45[Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48
49[LibraryClasses]
50 UefiDriverEntryPoint
51 MemoryAllocationLib
52 BaseLib
53 SynchronizationLib
54 UefiLib
8a2d4996 55 SmmServicesTableLib
56 BaseMemoryLib
57 DebugLib
58 DxeServicesTableLib
59
60[Protocols]
61 gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
62 gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES
63 gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES
64
65[Guids]
66 gEfiVariableGuid ## PRODUCES ## Configuration Table Guid
67 gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
d00ed85e 68 gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write Guid
8a2d4996 69
70[Pcd]
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
74 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
75 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
76 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
77 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
78
79[FeaturePcd]
80 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)
81
82[Depex]
83 TRUE
84
85