]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[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
9d510e61 17# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8a2d4996 18#\r
19##\r
20\r
21[Defines]\r
22 INF_VERSION = 0x00010005\r
23 BASE_NAME = VariableSmmRuntimeDxe\r
6036e94d 24 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni\r
8a2d4996 25 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1\r
26 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
27 VERSION_STRING = 1.0\r
28 ENTRY_POINT = VariableSmmRuntimeInitialize\r
29\r
30#\r
31# The following information is for reference only and not required by the build tools.\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64\r
34#\r
35# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent\r
36#\r
37\r
38[Sources]\r
39 VariableSmmRuntimeDxe.c\r
00663d04 40 PrivilegePolymorphic.h\r
fa0737a8 41 Measurement.c\r
8a2d4996 42\r
43[Packages]\r
44 MdePkg/MdePkg.dec\r
45 MdeModulePkg/MdeModulePkg.dec\r
8a2d4996 46\r
47[LibraryClasses]\r
48 MemoryAllocationLib\r
fa0737a8 49 BaseLib\r
8a2d4996 50 UefiBootServicesTableLib\r
51 DebugLib\r
52 UefiRuntimeLib\r
53 DxeServicesTableLib\r
54 UefiDriverEntryPoint\r
fa0737a8 55 TpmMeasurementLib\r
8a2d4996 56\r
57[Protocols]\r
6036e94d
SZ
58 gEfiVariableWriteArchProtocolGuid ## PRODUCES\r
59 gEfiVariableArchProtocolGuid ## PRODUCES\r
60 gEfiSmmCommunicationProtocolGuid ## CONSUMES\r
61 ## CONSUMES\r
62 ## NOTIFY\r
63 ## UNDEFINED # Used to do smm communication\r
8a2d4996 64 gEfiSmmVariableProtocolGuid\r
6036e94d 65 gEdkiiVariableLockProtocolGuid ## PRODUCES\r
efb01a10 66 gEdkiiVarCheckProtocolGuid ## PRODUCES\r
8a2d4996 67\r
68[Guids]\r
6036e94d
SZ
69 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
70 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
71 ## CONSUMES ## GUID # Locate protocol\r
72 ## CONSUMES ## GUID # Protocol notify\r
d00ed85e 73 gSmmVariableWriteGuid\r
8a2d4996 74\r
fa0737a8
SZ
75 ## SOMETIMES_CONSUMES ## Variable:L"PK"\r
76 ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
77 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
78 gEfiGlobalVariableGuid\r
79\r
dc9bd6ed
ZC
80 ## SOMETIMES_CONSUMES ## Variable:L"db"\r
81 ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
82 ## SOMETIMES_CONSUMES ## Variable:L"dbt"\r
fa0737a8
SZ
83 gEfiImageSecurityDatabaseGuid\r
84\r
8a2d4996 85[Depex]\r
86 gEfiSmmCommunicationProtocolGuid\r
6036e94d
SZ
87\r
88[UserExtensions.TianoCore."ExtraFiles"]\r
89 VariableSmmRuntimeDxeExtra.uni\r