--- /dev/null
+## @file\r
+# Initilizes MemoryOverwriteRequestControlLock variable\r
+#\r
+# This module will add Variable Hook and allow MemoryOverwriteRequestControlLock variable set only once.\r
+#\r
+# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = TcgMorLockSmm\r
+ MODULE_UNI_FILE = TcgMorLock.uni\r
+ FILE_GUID = E2EA6F47-E678-47FA-8C1B-02A03E825C6E\r
+ MODULE_TYPE = DXE_SMM_DRIVER\r
+ VERSION_STRING = 1.0\r
+ PI_SPECIFICATION_VERSION = 0x0001000A\r
+ ENTRY_POINT = MorLockDriverEntryPointSmm\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources]\r
+ TcgMorLock.c\r
+ TcgMorLockSmm.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ SecurityPkg/SecurityPkg.dec\r
+\r
+[LibraryClasses]\r
+ UefiDriverEntryPoint\r
+ SmmServicesTableLib\r
+ DebugLib\r
+ BaseLib\r
+ BaseMemoryLib\r
+\r
+[Guids]\r
+ ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"\r
+ gEfiMemoryOverwriteControlDataGuid\r
+\r
+ ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControlLock"\r
+ ## PRODUCES ## Variable:L"MemoryOverwriteRequestControlLock"\r
+ gEfiMemoryOverwriteRequestControlLockGuid\r
+\r
+[Protocols]\r
+ gEdkiiSmmVarCheckProtocolGuid ## CONSUMES\r
+ gEfiSmmVariableProtocolGuid ## CONSUMES\r
+\r
+[Depex]\r
+ gEfiSmmVariableProtocolGuid AND\r
+ gSmmVariableWriteGuid AND\r
+ ( gEfiTcgProtocolGuid OR gEfiTrEEProtocolGuid )\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ TcgMorLockExtra.uni\r