]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
MdeModulePkg/Variable: Add RT GetVariable() cache support
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmmRuntimeDxe.inf
1 ## @file
2 # Runtime DXE part corresponding to SMM authenticated variable module.
3 #
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.
6 #
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.
15 #
16 # Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
17 # SPDX-License-Identifier: BSD-2-Clause-Patent
18 #
19 ##
20
21 [Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = VariableSmmRuntimeDxe
24 MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni
25 FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1
26 MODULE_TYPE = DXE_RUNTIME_DRIVER
27 VERSION_STRING = 1.0
28 ENTRY_POINT = VariableSmmRuntimeInitialize
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent
36 #
37
38 [Sources]
39 VariableSmmRuntimeDxe.c
40 PrivilegePolymorphic.h
41 Measurement.c
42 VariableParsing.c
43 VariableParsing.h
44
45 [Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48
49 [LibraryClasses]
50 MemoryAllocationLib
51 BaseLib
52 UefiBootServicesTableLib
53 DebugLib
54 UefiRuntimeLib
55 DxeServicesTableLib
56 UefiDriverEntryPoint
57 TpmMeasurementLib
58
59 [Protocols]
60 gEfiVariableWriteArchProtocolGuid ## PRODUCES
61 gEfiVariableArchProtocolGuid ## PRODUCES
62 gEfiSmmCommunicationProtocolGuid ## CONSUMES
63 ## CONSUMES
64 ## NOTIFY
65 ## UNDEFINED # Used to do smm communication
66 gEfiSmmVariableProtocolGuid
67 gEdkiiVariableLockProtocolGuid ## PRODUCES
68 gEdkiiVarCheckProtocolGuid ## PRODUCES
69
70 [FeaturePcd]
71 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache ## CONSUMES
72 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES
73
74 [Guids]
75 ## PRODUCES ## GUID # Signature of Variable store header
76 ## CONSUMES ## GUID # Signature of Variable store header
77 ## SOMETIMES_PRODUCES ## SystemTable
78 gEfiAuthenticatedVariableGuid
79
80 ## PRODUCES ## GUID # Signature of Variable store header
81 ## CONSUMES ## GUID # Signature of Variable store header
82 ## SOMETIMES_PRODUCES ## SystemTable
83 gEfiVariableGuid
84
85 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
86 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
87 ## CONSUMES ## GUID # Locate protocol
88 ## CONSUMES ## GUID # Protocol notify
89 gSmmVariableWriteGuid
90
91 ## SOMETIMES_CONSUMES ## Variable:L"PK"
92 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
93 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
94 gEfiGlobalVariableGuid
95
96 ## SOMETIMES_CONSUMES ## Variable:L"db"
97 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
98 ## SOMETIMES_CONSUMES ## Variable:L"dbt"
99 gEfiImageSecurityDatabaseGuid
100
101 [Depex]
102 gEfiSmmCommunicationProtocolGuid
103
104 [UserExtensions.TianoCore."ExtraFiles"]
105 VariableSmmRuntimeDxeExtra.uni