]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
4bd470662f09ca8c7075ca544dfce8bbca8cee0e
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmmRuntimeDxe.inf
1 ## @file
2 # This module is the Runtime DXE part correspond to SMM variable module.
3 #
4 # It installs variable arch protocol and variable write arch protocol to provide
5 # four EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo
6 # and works with SMM variable module together.
7 #
8 # Caution: This module requires additional review when modified.
9 # This driver will have external input - variable data.
10 # This external input must be validated carefully to avoid security issues such as
11 # buffer overflow or integer overflow.
12 #
13 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
14 #
15 # This program and the accompanying materials
16 # are licensed and made available under the terms and conditions of the BSD License
17 # which accompanies this distribution. The full text of the license may be found at
18 # http://opensource.org/licenses/bsd-license.php
19 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #
22 #
23 ##
24
25 [Defines]
26 INF_VERSION = 0x00010005
27 BASE_NAME = VariableSmmRuntimeDxe
28 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni
29 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1
30 MODULE_TYPE = DXE_RUNTIME_DRIVER
31 VERSION_STRING = 1.0
32 ENTRY_POINT = VariableSmmRuntimeInitialize
33
34 #
35 # The following information is for reference only and not required by the build tools.
36 #
37 # VALID_ARCHITECTURES = IA32 X64
38 #
39 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent
40 #
41
42 [Sources]
43 VariableSmmRuntimeDxe.c
44
45 [Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48
49 [LibraryClasses]
50 MemoryAllocationLib
51 BaseLib
52 UefiBootServicesTableLib
53 DebugLib
54 UefiRuntimeLib
55 DxeServicesTableLib
56 UefiDriverEntryPoint
57 PcdLib
58
59 [Protocols]
60 gEfiVariableWriteArchProtocolGuid ## PRODUCES
61 gEfiVariableArchProtocolGuid ## PRODUCES
62 gEfiSmmCommunicationProtocolGuid ## CONSUMES
63 ## CONSUMES
64 ## NOTIFY
65 ## UNDEFINED # Used to do smm communication
66 gEfiSmmVariableProtocolGuid
67 gEdkiiVariableLockProtocolGuid ## PRODUCES
68
69 [Guids]
70 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
71 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
72 ## CONSUMES ## GUID # Locate protocol
73 ## CONSUMES ## GUID # Protocol notify
74 gSmmVariableWriteGuid
75
76 [Pcd]
77 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
78 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
79
80 [Depex]
81 gEfiSmmCommunicationProtocolGuid
82
83 [UserExtensions.TianoCore."ExtraFiles"]
84 VariableSmmRuntimeDxeExtra.uni