TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm2DeviceLibDTpmStandaloneMm.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)
 

Variables

TPM2_PTP_INTERFACE_TYPE mActiveTpmInterfaceType
 
UINT8 mCRBIdleByPass
 

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 Tpm2DeviceLibDTpmStandaloneMm.c.

Function Documentation

◆ GetCachedIdleByPass()

UINT8 GetCachedIdleByPass ( VOID  )

Return cached PTP CRB interface IdleByPass state.

Returns
Cached PTP CRB interface IdleByPass state.

Definition at line 23 of file Tpm2DeviceLibDTpmStandaloneMm.c.

◆ GetCachedPtpInterface()

TPM2_PTP_INTERFACE_TYPE GetCachedPtpInterface ( VOID  )

Return cached PTP interface type.

Returns
Cached PTP interface type.

Definition at line 36 of file Tpm2DeviceLibDTpmStandaloneMm.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 49 of file Tpm2DeviceLibDTpmStandaloneMm.c.

Variable Documentation

◆ mActiveTpmInterfaceType

TPM2_PTP_INTERFACE_TYPE mActiveTpmInterfaceType

Definition at line 14 of file Tpm2DeviceLibDTpmStandaloneMm.c.

◆ mCRBIdleByPass

UINT8 mCRBIdleByPass

Definition at line 15 of file Tpm2DeviceLibDTpmStandaloneMm.c.