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 - 2019, Intel Corporation. All rights reserved.<BR>
17 # Copyright (c) Microsoft Corporation.<BR>
18 # SPDX-License-Identifier: BSD-2-Clause-Patent
23 INF_VERSION = 0x00010005
24 BASE_NAME = VariableSmmRuntimeDxe
25 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni
26 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1
27 MODULE_TYPE = DXE_RUNTIME_DRIVER
29 ENTRY_POINT = VariableSmmRuntimeInitialize
32 # The following information is for reference only and not required by the build tools.
34 # VALID_ARCHITECTURES = IA32 X64
36 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent
40 VariableSmmRuntimeDxe.c
41 PrivilegePolymorphic.h
46 VariablePolicySmmDxe.c
50 MdeModulePkg/MdeModulePkg.dec
55 UefiBootServicesTableLib
66 gEfiVariableWriteArchProtocolGuid ## PRODUCES
67 gEfiVariableArchProtocolGuid ## PRODUCES
68 gEfiMmCommunication2ProtocolGuid ## CONSUMES
71 ## UNDEFINED # Used to do smm communication
72 gEfiSmmVariableProtocolGuid
73 gEdkiiVariableLockProtocolGuid ## PRODUCES
74 gEdkiiVarCheckProtocolGuid ## PRODUCES
75 gEdkiiVariablePolicyProtocolGuid ## PRODUCES
78 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache ## CONSUMES
79 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES
82 gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable ## CONSUMES
85 ## PRODUCES ## GUID # Signature of Variable store header
86 ## CONSUMES ## GUID # Signature of Variable store header
87 ## SOMETIMES_PRODUCES ## SystemTable
88 gEfiAuthenticatedVariableGuid
90 ## PRODUCES ## GUID # Signature of Variable store header
91 ## CONSUMES ## GUID # Signature of Variable store header
92 ## SOMETIMES_PRODUCES ## SystemTable
95 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
96 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
97 ## CONSUMES ## GUID # Locate protocol
98 ## CONSUMES ## GUID # Protocol notify
101 ## SOMETIMES_CONSUMES ## Variable:L"PK"
102 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
103 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
104 gEfiGlobalVariableGuid
106 ## SOMETIMES_CONSUMES ## Variable:L"db"
107 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
108 ## SOMETIMES_CONSUMES ## Variable:L"dbt"
109 gEfiImageSecurityDatabaseGuid
111 gVarCheckPolicyLibMmiHandlerGuid
112 gEfiEndOfDxeEventGroupGuid
115 gEfiMmCommunication2ProtocolGuid
117 [UserExtensions.TianoCore."ExtraFiles"]
118 VariableSmmRuntimeDxeExtra.uni