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

Go to the source code of this file.

Functions

UINT8 GetCachedIdleByPass (VOID)
 
TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface (VOID)
 
EFI_STATUS InternalTpm2DeviceLibDTpmCommonConstructor (VOID)
 

Detailed Description

This file abstract internal interfaces of which implementation differs per library instance.

Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm2DeviceLibDTpmBase.c.

Function Documentation

◆ GetCachedIdleByPass()

UINT8 GetCachedIdleByPass ( VOID  )

Return cached PTP CRB interface IdleByPass state.

Returns
Cached PTP CRB interface IdleByPass state.

Definition at line 21 of file Tpm2DeviceLibDTpmBase.c.

◆ GetCachedPtpInterface()

TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface ( VOID  )

Return cached PTP interface type.

Returns
Cached PTP interface type.

Definition at line 34 of file Tpm2DeviceLibDTpmBase.c.

◆ InternalTpm2DeviceLibDTpmCommonConstructor()

EFI_STATUS InternalTpm2DeviceLibDTpmCommonConstructor ( VOID  )

The common function cache current active TpmInterfaceType when needed.

Return values
EFI_SUCCESSDTPM2.0 instance is registered, or system does not support register DTPM2.0 instance

Definition at line 47 of file Tpm2DeviceLibDTpmBase.c.