TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/Tpm12CommandLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/Tpm12DeviceLib.h>
Go to the source code of this file.
Data Structures | |
struct | TPM_CMD_PHYSICAL_PRESENCE |
Functions | |
EFI_STATUS EFIAPI | Tpm12PhysicalPresence (IN TPM_PHYSICAL_PRESENCE PhysicalPresence) |
Implement TPM1.2 Physical Presence related command.
Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm12PhysicalPresence.c.
EFI_STATUS EFIAPI Tpm12PhysicalPresence | ( | IN TPM_PHYSICAL_PRESENCE | PhysicalPresence | ) |
Send TSC_PhysicalPresence command to TPM.
[in] | PhysicalPresence | The state to set the TPMs Physical Presence flags. |
EFI_SUCCESS | Operation completed successfully. |
EFI_TIMEOUT | The register can't run into the expected status in time. |
EFI_BUFFER_TOO_SMALL | Response data buffer is too small. |
EFI_DEVICE_ERROR | Unexpected device behavior. |
Definition at line 37 of file Tpm12PhysicalPresence.c.