TianoCore EDK2 master
|
#include "TcgMor.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | OnReadyToBoot (IN EFI_EVENT Event, IN VOID *Context) |
VOID | InitiateTPerReset (IN EFI_STORAGE_SECURITY_COMMAND_PROTOCOL *Ssp, IN UINT32 MediaId) |
VOID EFIAPI | TPerResetAtEndOfDxe (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | MorDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
UINT8 | mMorControl |
TCG MOR (Memory Overwrite Request) Control Driver.
This driver initialize MemoryOverwriteRequestControl variable. It will clear MOR_CLEAR_MEMORY_BIT bit if it is set. It will also do TPer Reset for those encrypted drives through EFI_STORAGE_SECURITY_COMMAND_PROTOCOL at EndOfDxe.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TcgMor.c.
VOID InitiateTPerReset | ( | IN EFI_STORAGE_SECURITY_COMMAND_PROTOCOL * | Ssp, |
IN UINT32 | MediaId | ||
) |
Send TPer Reset command to reset eDrive to lock all protected bands. Typically, there are 2 mechanism for resetting eDrive. They are:
[in] | Ssp | The pointer to EFI_STORAGE_SECURITY_COMMAND_PROTOCOL instance. |
[in] | MediaId | ID of the medium to receive data from or send data to. |
EFI_STATUS EFIAPI MorDriverEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entry Point for TCG MOR Control driver.
[in] | ImageHandle | Image handle of this driver. |
[in] | SystemTable | A Pointer to the EFI System Table. |
EFI_SUCCESS |
The firmware is required to create the MemoryOverwriteRequestControl UEFI variable.