]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
MdeModulePkg Variable: Align TPL level for (Smm)EndOfDxe callback
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmmRuntimeDxe.inf
CommitLineData
8a2d4996 1## @file\r
fa0737a8 2# Runtime DXE part corresponding to SMM authenticated variable module.\r
8a2d4996 3#\r
fa0737a8
SZ
4# This module installs variable arch protocol and variable write arch protocol to provide\r
5# variable service. This module need work together with SMM authenticated variable module.\r
6036e94d 6#\r
18a7dbbc
SZ
7# Caution: This module requires additional review when modified.\r
8# This driver will have external input - variable data.\r
9# This external input must be validated carefully to avoid security issues such as\r
10# buffer overflow or integer overflow.\r
fa0737a8
SZ
11# The whole SMM authentication variable design relies on the integrity of flash part and SMM.\r
12# which is assumed to be protected by platform. All variable code and metadata in flash/SMM Memory\r
13# may not be modified without authorization. If platform fails to protect these resources,\r
14# the authentication service provided in this driver will be broken, and the behavior is undefined.\r
18a7dbbc 15#\r
dc9bd6ed 16# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
fa0737a8
SZ
17# This program and the accompanying materials\r
18# are licensed and made available under the terms and conditions of the BSD License\r
19# which accompanies this distribution. The full text of the license may be found at\r
20# http://opensource.org/licenses/bsd-license.php\r
21# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
22# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
8a2d4996 23#\r
24##\r
25\r
26[Defines]\r
27 INF_VERSION = 0x00010005\r
28 BASE_NAME = VariableSmmRuntimeDxe\r
6036e94d 29 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni\r
8a2d4996 30 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1\r
31 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
32 VERSION_STRING = 1.0\r
33 ENTRY_POINT = VariableSmmRuntimeInitialize\r
34\r
35#\r
36# The following information is for reference only and not required by the build tools.\r
37#\r
38# VALID_ARCHITECTURES = IA32 X64\r
39#\r
40# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent\r
41#\r
42\r
43[Sources]\r
44 VariableSmmRuntimeDxe.c\r
00663d04 45 PrivilegePolymorphic.h\r
fa0737a8 46 Measurement.c\r
8a2d4996 47\r
48[Packages]\r
49 MdePkg/MdePkg.dec\r
50 MdeModulePkg/MdeModulePkg.dec\r
8a2d4996 51\r
52[LibraryClasses]\r
53 MemoryAllocationLib\r
fa0737a8 54 BaseLib\r
8a2d4996 55 UefiBootServicesTableLib\r
56 DebugLib\r
57 UefiRuntimeLib\r
58 DxeServicesTableLib\r
59 UefiDriverEntryPoint\r
fa0737a8 60 TpmMeasurementLib\r
8a2d4996 61\r
62[Protocols]\r
6036e94d
SZ
63 gEfiVariableWriteArchProtocolGuid ## PRODUCES\r
64 gEfiVariableArchProtocolGuid ## PRODUCES\r
65 gEfiSmmCommunicationProtocolGuid ## CONSUMES\r
66 ## CONSUMES\r
67 ## NOTIFY\r
68 ## UNDEFINED # Used to do smm communication\r
8a2d4996 69 gEfiSmmVariableProtocolGuid\r
6036e94d 70 gEdkiiVariableLockProtocolGuid ## PRODUCES\r
efb01a10 71 gEdkiiVarCheckProtocolGuid ## PRODUCES\r
8a2d4996 72\r
73[Guids]\r
6036e94d
SZ
74 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
75 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
76 ## CONSUMES ## GUID # Locate protocol\r
77 ## CONSUMES ## GUID # Protocol notify\r
d00ed85e 78 gSmmVariableWriteGuid\r
8a2d4996 79\r
fa0737a8
SZ
80 ## SOMETIMES_CONSUMES ## Variable:L"PK"\r
81 ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
82 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
83 gEfiGlobalVariableGuid\r
84\r
dc9bd6ed
ZC
85 ## SOMETIMES_CONSUMES ## Variable:L"db"\r
86 ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
87 ## SOMETIMES_CONSUMES ## Variable:L"dbt"\r
fa0737a8
SZ
88 gEfiImageSecurityDatabaseGuid\r
89\r
8a2d4996 90[Depex]\r
91 gEfiSmmCommunicationProtocolGuid\r
6036e94d
SZ
92\r
93[UserExtensions.TianoCore."ExtraFiles"]\r
94 VariableSmmRuntimeDxeExtra.uni\r