## @file\r
# Initilizes MemoryOverwriteRequestControl variable\r
#\r
-# This module will clear MOR_CLEAR_MEMORY_BIT bit if it is set.\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 - 2014, 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
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\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
+# 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
## 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 OR gEfiTrEEProtocolGuid )\r
+ ( gEfiTcgProtocolGuid OR gEfiTcg2ProtocolGuid )\r
\r
[UserExtensions.TianoCore."ExtraFiles"]\r
TcgMorExtra.uni\r