]>
Commit | Line | Data |
---|---|---|
0c18794e | 1 | ## @file\r |
60c944c7 | 2 | # Runtime DXE part corresponding to SMM authenticated variable module\r |
0c18794e | 3 | #\r |
60c944c7 DG |
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 | |
0c18794e | 6 | #\r |
dc204d5a JY |
7 | # Caution: This module requires additional review when modified.\r |
8 | # This driver will have external input - variable data.\r | |
60c944c7 DG |
9 | # This external input must be validated carefully to avoid security issues such as \r |
10 | # buffer overflow or integer overflow.\r | |
36bdec3c CZ |
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 | |
dc204d5a | 15 | #\r |
17409b7a | 16 | # Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r |
0c18794e | 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 | |
201edad3 | 28 | BASE_NAME = VariableAuthSmmRuntimeDxe\r |
60c944c7 | 29 | MODULE_UNI_FILE = VariableAuthSmmRuntimeDxe.uni\r |
0c18794e | 30 | FILE_GUID = 067E2381-7234-4798-B49C-D5FECBFF6D07\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 | |
c1d93242 | 45 | Measurement.c\r |
0c18794e | 46 | \r |
47 | [Packages]\r | |
48 | MdePkg/MdePkg.dec\r | |
49 | MdeModulePkg/MdeModulePkg.dec\r | |
50 | SecurityPkg/SecurityPkg.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 | PcdLib \r | |
c1d93242 | 61 | TpmMeasurementLib\r |
0c18794e | 62 | \r |
63 | [Protocols]\r | |
60c944c7 DG |
64 | gEfiVariableWriteArchProtocolGuid ## PRODUCES\r |
65 | gEfiVariableArchProtocolGuid ## PRODUCES\r | |
66 | gEfiSmmCommunicationProtocolGuid ## CONSUMES\r | |
67 | gEdkiiVariableLockProtocolGuid ## PRODUCES\r | |
68 | \r | |
69 | ## CONSUMES\r | |
70 | ## NOTIFY\r | |
71 | ## UNDEFINED # Used to do smm communication\r | |
0c18794e | 72 | gEfiSmmVariableProtocolGuid\r |
17409b7a | 73 | gEdkiiVarCheckProtocolGuid ## PRODUCES\r |
0c18794e | 74 | \r |
75 | [Guids]\r | |
60c944c7 DG |
76 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r |
77 | gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r | |
78 | \r | |
79 | ## CONSUMES ## UNDEFINED # Locate protocol\r | |
80 | ## CONSUMES ## UNDEFINED # Protocol notify\r | |
0c18794e | 81 | gSmmVariableWriteGuid\r |
60c944c7 DG |
82 | \r |
83 | \r | |
84 | ## SOMETIMES_CONSUMES ## Variable:L"PK"\r | |
85 | ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r | |
86 | ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r | |
87 | gEfiGlobalVariableGuid\r | |
88 | \r | |
89 | ## SOMETIMES_CONSUMES ## Variable:L"DB"\r | |
90 | ## SOMETIMES_CONSUMES ## Variable:L"DBX"\r | |
c1d93242 | 91 | gEfiImageSecurityDatabaseGuid\r |
0c18794e | 92 | \r |
93 | [Pcd]\r | |
60c944c7 | 94 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r |
13af4ab0 | 95 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize ## CONSUMES\r |
60c944c7 | 96 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r |
60c944c7 | 97 | \r |
0c18794e | 98 | [Depex]\r |
99 | gEfiSmmCommunicationProtocolGuid\r | |
60c944c7 DG |
100 | \r |
101 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
102 | VariableSmmRuntimeDxeExtra.uni\r |