]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
MdeModulePkg: Variable: Update PCR[7] measure for new TCG spec
[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
fa0737a8 45 Measurement.c\r
8a2d4996 46\r
47[Packages]\r
48 MdePkg/MdePkg.dec\r
49 MdeModulePkg/MdeModulePkg.dec\r
8a2d4996 50\r
51[LibraryClasses]\r
52 MemoryAllocationLib\r
fa0737a8 53 BaseLib\r
8a2d4996 54 UefiBootServicesTableLib\r
55 DebugLib\r
56 UefiRuntimeLib\r
57 DxeServicesTableLib\r
58 UefiDriverEntryPoint\r
fa0737a8 59 TpmMeasurementLib\r
8a2d4996 60\r
61[Protocols]\r
6036e94d
SZ
62 gEfiVariableWriteArchProtocolGuid ## PRODUCES\r
63 gEfiVariableArchProtocolGuid ## PRODUCES\r
64 gEfiSmmCommunicationProtocolGuid ## CONSUMES\r
65 ## CONSUMES\r
66 ## NOTIFY\r
67 ## UNDEFINED # Used to do smm communication\r
8a2d4996 68 gEfiSmmVariableProtocolGuid\r
6036e94d 69 gEdkiiVariableLockProtocolGuid ## PRODUCES\r
efb01a10 70 gEdkiiVarCheckProtocolGuid ## PRODUCES\r
8a2d4996 71\r
72[Guids]\r
6036e94d
SZ
73 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
74 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
75 ## CONSUMES ## GUID # Locate protocol\r
76 ## CONSUMES ## GUID # Protocol notify\r
d00ed85e 77 gSmmVariableWriteGuid\r
8a2d4996 78\r
fa0737a8
SZ
79 ## SOMETIMES_CONSUMES ## Variable:L"PK"\r
80 ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
81 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
82 gEfiGlobalVariableGuid\r
83\r
dc9bd6ed
ZC
84 ## SOMETIMES_CONSUMES ## Variable:L"db"\r
85 ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
86 ## SOMETIMES_CONSUMES ## Variable:L"dbt"\r
fa0737a8
SZ
87 gEfiImageSecurityDatabaseGuid\r
88\r
8a2d4996 89[Depex]\r
90 gEfiSmmCommunicationProtocolGuid\r
6036e94d
SZ
91\r
92[UserExtensions.TianoCore."ExtraFiles"]\r
93 VariableSmmRuntimeDxeExtra.uni\r