SecurityPkg/Tcg/Tcg2Config/TpmDetection.c File Reference


Functions

BOOLEAN IsDtpmPresent (VOID)
UINT8 DetectTpmDevice (IN UINT8 SetupTpmDevice)

Detailed Description

TPM1.2/dTPM2.0 auto detection.

Copyright (c) 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

UINT8 DetectTpmDevice ( IN UINT8  SetupTpmDevice  ) 

This routine check both SetupVariable and real TPM device, and return final TpmDevice configuration.

Parameters:
SetupTpmDevice TpmDevice configuration in setup driver
Returns:
TpmDevice configuration

BOOLEAN IsDtpmPresent ( VOID   ) 

This routine return if dTPM (1.2 or 2.0) present.

Return values:
TRUE dTPM present
FALSE dTPM not present

References TRUE, and UINTN().

Referenced by DetectTpmDevice().


Generated on Thu Sep 24 23:44:24 2015 for SecurityPkg[ALL] by  doxygen 1.5.7.1