2 # Runtime DXE part corresponding to SMM authenticated variable module.
4 # This module installs variable arch protocol and variable write arch protocol to provide
5 # variable service. This module need work together with SMM authenticated variable module.
7 # Caution: This module requires additional review when modified.
8 # This driver will have external input - variable data.
9 # This external input must be validated carefully to avoid security issues such as
10 # buffer overflow or integer overflow.
11 # The whole SMM authentication variable design relies on the integrity of flash part and SMM.
12 # which is assumed to be protected by platform. All variable code and metadata in flash/SMM Memory
13 # may not be modified without authorization. If platform fails to protect these resources,
14 # the authentication service provided in this driver will be broken, and the behavior is undefined.
16 # Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
17 # This program and the accompanying materials
18 # are licensed and made available under the terms and conditions of the BSD License
19 # which accompanies this distribution. The full text of the license may be found at
20 # http://opensource.org/licenses/bsd-license.php
21 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
22 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
27 INF_VERSION = 0x00010005
28 BASE_NAME = VariableSmmRuntimeDxe
29 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni
30 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1
31 MODULE_TYPE = DXE_RUNTIME_DRIVER
33 ENTRY_POINT = VariableSmmRuntimeInitialize
36 # The following information is for reference only and not required by the build tools.
38 # VALID_ARCHITECTURES = IA32 X64
40 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent
44 VariableSmmRuntimeDxe.c
45 PrivilegePolymorphic.h
50 MdeModulePkg/MdeModulePkg.dec
55 UefiBootServicesTableLib
63 gEfiVariableWriteArchProtocolGuid ## PRODUCES
64 gEfiVariableArchProtocolGuid ## PRODUCES
65 gEfiSmmCommunicationProtocolGuid ## CONSUMES
68 ## UNDEFINED # Used to do smm communication
69 gEfiSmmVariableProtocolGuid
70 gEdkiiVariableLockProtocolGuid ## PRODUCES
71 gEdkiiVarCheckProtocolGuid ## PRODUCES
74 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
75 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
76 ## CONSUMES ## GUID # Locate protocol
77 ## CONSUMES ## GUID # Protocol notify
80 ## SOMETIMES_CONSUMES ## Variable:L"PK"
81 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
82 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
83 gEfiGlobalVariableGuid
85 ## SOMETIMES_CONSUMES ## Variable:L"db"
86 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
87 ## SOMETIMES_CONSUMES ## Variable:L"dbt"
88 gEfiImageSecurityDatabaseGuid
91 gEfiSmmCommunicationProtocolGuid
93 [UserExtensions.TianoCore."ExtraFiles"]
94 VariableSmmRuntimeDxeExtra.uni