TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm12PhysicalPresence.c File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ Tpm12PhysicalPresence()

EFI_STATUS EFIAPI Tpm12PhysicalPresence ( IN TPM_PHYSICAL_PRESENCE  PhysicalPresence)

Send TSC_PhysicalPresence command to TPM.

Parameters
[in]PhysicalPresenceThe state to set the TPMs Physical Presence flags.
Return values
EFI_SUCCESSOperation completed successfully.
EFI_TIMEOUTThe register can't run into the expected status in time.
EFI_BUFFER_TOO_SMALLResponse data buffer is too small.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 37 of file Tpm12PhysicalPresence.c.