2 # Provides SMM authenticated variable service
4 # This module installs SMM variable protocol into SMM protocol database,
5 # which can be used by SMM driver, and installs SMM variable protocol
6 # into BS protocol database, which can be used to notify the SMM Runtime
7 # Dxe driver that the SMM variable service is ready.
8 # This module should be used with SMM Runtime DXE module together. The
9 # SMM Runtime DXE module installs variable arch protocol and variable
10 # write arch protocol based on SMM variable module.
12 # Caution: This module requires additional review when modified.
13 # This driver will have external input - variable data and communicate buffer in SMM mode.
14 # This external input must be validated carefully to avoid security issues such as
15 # buffer overflow or integer overflow.
17 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
18 # This program and the accompanying materials
19 # are licensed and made available under the terms and conditions of the BSD License
20 # which accompanies this distribution. The full text of the license may be found at
21 # http://opensource.org/licenses/bsd-license.php
22 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
23 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
28 INF_VERSION = 0x00010005
29 BASE_NAME = VariableAuthSmm
30 MODULE_UNI_FILE = VariableAuthSmm.uni
31 FILE_GUID = D34BDC5E-968A-40f5-A48C-E594F45AE211
32 MODULE_TYPE = DXE_SMM_DRIVER
34 PI_SPECIFICATION_VERSION = 0x0001000A
35 ENTRY_POINT = VariableServiceInitialize
38 # The following information is for reference only and not required by the build tools.
40 # VALID_ARCHITECTURES = IA32 X64
54 MdeModulePkg/MdeModulePkg.dec
55 CryptoPkg/CryptoPkg.dec
56 SecurityPkg/SecurityPkg.dec
73 gEfiSmmFirmwareVolumeBlockProtocolGuid ## CONSUMES
74 gEfiSmmAccess2ProtocolGuid ## CONSUMES
77 ## UNDEFINED # SmiHandlerRegister
78 gEfiSmmVariableProtocolGuid
82 gEfiSmmFaultTolerantWriteProtocolGuid
83 gEfiSmmEndOfDxeProtocolGuid ## NOTIFY
86 ## PRODUCES ## GUID # Variable store header
87 ## CONSUMES ## GUID # Variable store header
88 ## SOMETIMES_CONSUMES ## HOB
89 gEfiAuthenticatedVariableGuid
91 ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"
92 ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"
93 ## SOMETIMES_CONSUMES ## Variable:L"Lang"
94 ## SOMETIMES_PRODUCES ## Variable:L"Lang"
95 ## SOMETIMES_CONSUMES ## Variable:L"HwErrRecSupport"
96 ## CONSUMES ## Variable:L"SetupMode"
97 ## PRODUCES ## Variable:L"SetupMode"
98 ## SOMETIMES_CONSUMES ## Variable:L"PK"
99 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
100 ## CONSUMES ## Variable:L"SecureBoot"
101 ## PRODUCES ## Variable:L"SecureBoot"
102 ## CONSUMES ## Variable:L"SignatureSupport"
103 ## PRODUCES ## Variable:L"SignatureSupport"
104 ## PRODUCES ## Variable:L"VendorKeys"
105 gEfiGlobalVariableGuid
107 ## SOMETIMES_CONSUMES ## Variable:L"DB"
108 ## SOMETIMES_CONSUMES ## Variable:L"DBX"
109 gEfiImageSecurityDatabaseGuid
111 ## CONSUMES ## Variable:L"SecureBootEnable"
112 ## PRODUCES ## Variable:L"SecureBootEnable"
113 gEfiSecureBootEnableDisableGuid
115 ## CONSUMES ## Variable:L"CustomMode"
116 ## PRODUCES ## Variable:L"CustomMode"
117 gEfiCustomModeEnableGuid
119 ## CONSUMES ## Variable:L"certdb"
120 ## PRODUCES ## Variable:L"certdb"
123 ## CONSUMES ## Variable:L"VendorKeysNv"
124 ## PRODUCES ## Variable:L"VendorKeysNv"
127 gSmmVariableWriteGuid ## PRODUCES ## GUID # Install protocol
128 gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the format of the CertData.
129 gEfiCertPkcs7Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the format of the CertData.
130 gEfiCertX509Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
131 gEfiSystemNvDataFvGuid ## CONSUMES ## GUID
132 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"
133 gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB
136 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES
137 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES
138 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES
139 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
140 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
141 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES
142 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES
145 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.
146 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES # Auto update PlatformLang/Lang
151 [UserExtensions.TianoCore."ExtraFiles"]