2 # This module is the Runtime DXE part correspond to SMM variable module.
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.
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.
13 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
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.
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
32 ENTRY_POINT = VariableSmmRuntimeInitialize
35 # The following information is for reference only and not required by the build tools.
37 # VALID_ARCHITECTURES = IA32 X64
39 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent
43 VariableSmmRuntimeDxe.c
47 MdeModulePkg/MdeModulePkg.dec
52 UefiBootServicesTableLib
60 gEfiVariableWriteArchProtocolGuid ## PRODUCES
61 gEfiVariableArchProtocolGuid ## PRODUCES
62 gEfiSmmCommunicationProtocolGuid ## CONSUMES
65 ## UNDEFINED # Used to do smm communication
66 gEfiSmmVariableProtocolGuid
67 gEdkiiVariableLockProtocolGuid ## PRODUCES
70 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
71 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
72 ## CONSUMES ## GUID # Locate protocol
73 ## CONSUMES ## GUID # Protocol notify
77 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
78 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
81 gEfiSmmCommunicationProtocolGuid
83 [UserExtensions.TianoCore."ExtraFiles"]
84 VariableSmmRuntimeDxeExtra.uni