]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Tcg / MemoryOverwriteControl / TcgMor.inf
index e62a90447ca250f695f8466a34bfd44ee80b3742..de624423a69bb9760048ba97ccb7c01a5235fa46 100644 (file)
@@ -1,19 +1,19 @@
 ## @file\r
-#  Component description file for Memory Overwrite Control driver.\r
+#  Initilizes MemoryOverwriteRequestControl variable\r
 #\r
-# Copyright (c) 2009 - 2011, 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
+#  This module will clear MOR_CLEAR_MEMORY_BIT bit if it is set. It will also do\r
+#  TPer Reset for those encrypted drives through EFI_STORAGE_SECURITY_COMMAND_PROTOCOL\r
+#  at EndOfDxe.\r
+#\r
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = TcgMor\r
+  MODULE_UNI_FILE                = TcgMor.uni\r
   FILE_GUID                      = AD416CE3-A483-45b1-94C2-4B4E4D575562\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
@@ -23,7 +23,7 @@
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
 [Sources]\r
 \r
 [LibraryClasses]\r
   UefiDriverEntryPoint\r
+  UefiBootServicesTableLib\r
   UefiRuntimeServicesTableLib\r
-  ReportStatusCodeLib\r
   DebugLib\r
+  UefiLib\r
+  MemoryAllocationLib\r
 \r
 [Guids]\r
-  gEfiMemoryOverwriteControlDataGuid            # GUID ALWAYS_CONSUMED\r
+  ## SOMETIMES_CONSUMES      ## Variable:L"MemoryOverwriteRequestControl"\r
+  ## PRODUCES                ## Variable:L"MemoryOverwriteRequestControl"\r
+  gEfiMemoryOverwriteControlDataGuid\r
+  gEfiEndOfDxeEventGroupGuid                  ## SOMETIMES_CONSUMES    ## Event\r
+\r
+[Protocols]\r
+  gEfiStorageSecurityCommandProtocolGuid      ## SOMETIMES_CONSUMES\r
+  gEfiBlockIoProtocolGuid                     ## SOMETIMES_CONSUMES\r
 \r
 [Depex]\r
   gEfiVariableArchProtocolGuid AND\r
   gEfiVariableWriteArchProtocolGuid AND\r
-  gEfiTcgProtocolGuid\r
+  ( gEfiTcgProtocolGuid OR gEfiTcg2ProtocolGuid )\r
 \r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  TcgMorExtra.uni\r