]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Runtime DXE part corresponding to SMM authenticated variable module.\r | |
3 | #\r | |
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 | |
6 | #\r | |
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 | |
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 | |
15 | #\r | |
16 | # Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r | |
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 | |
23 | #\r | |
24 | ##\r | |
25 | \r | |
26 | [Defines]\r | |
27 | INF_VERSION = 0x00010005\r | |
28 | BASE_NAME = VariableSmmRuntimeDxe\r | |
29 | MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni\r | |
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 | |
45 | PrivilegePolymorphic.h\r | |
46 | Measurement.c\r | |
47 | \r | |
48 | [Packages]\r | |
49 | MdePkg/MdePkg.dec\r | |
50 | MdeModulePkg/MdeModulePkg.dec\r | |
51 | \r | |
52 | [LibraryClasses]\r | |
53 | MemoryAllocationLib\r | |
54 | BaseLib\r | |
55 | UefiBootServicesTableLib\r | |
56 | DebugLib\r | |
57 | UefiRuntimeLib\r | |
58 | DxeServicesTableLib\r | |
59 | UefiDriverEntryPoint\r | |
60 | TpmMeasurementLib\r | |
61 | \r | |
62 | [Protocols]\r | |
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 | |
69 | gEfiSmmVariableProtocolGuid\r | |
70 | gEdkiiVariableLockProtocolGuid ## PRODUCES\r | |
71 | gEdkiiVarCheckProtocolGuid ## PRODUCES\r | |
72 | \r | |
73 | [Guids]\r | |
74 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r | |
75 | gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r | |
76 | ## CONSUMES ## GUID # Locate protocol\r | |
77 | ## CONSUMES ## GUID # Protocol notify\r | |
78 | gSmmVariableWriteGuid\r | |
79 | \r | |
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 | |
85 | ## SOMETIMES_CONSUMES ## Variable:L"db"\r | |
86 | ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r | |
87 | ## SOMETIMES_CONSUMES ## Variable:L"dbt"\r | |
88 | gEfiImageSecurityDatabaseGuid\r | |
89 | \r | |
90 | [Depex]\r | |
91 | gEfiSmmCommunicationProtocolGuid\r | |
92 | \r | |
93 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
94 | VariableSmmRuntimeDxeExtra.uni\r |