SecurityPkg/Tcg/TcgPei/TisPei.c File Reference


Functions

EFI_STATUS TisTpmCommand (IN EFI_PEI_SERVICES **PeiServices, IN TIS_PC_REGISTERS_PTR TisReg, IN UINT8 *BufferIn, IN UINT32 SizeIn, IN OUT UINT8 *BufferOut, IN OUT UINT32 *SizeOut)

Detailed Description

TIS (TPM Interface Specification) functions used by TPM PEI driver.

Copyright (c) 2005 - 2011, 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

EFI_STATUS TisTpmCommand ( IN EFI_PEI_SERVICES **  PeiServices,
IN TIS_PC_REGISTERS_PTR  TisReg,
IN UINT8 *  BufferIn,
IN UINT32  SizeIn,
IN OUT UINT8 *  BufferOut,
IN OUT UINT32 *  SizeOut 
)

Send a command to TPM for execution and return response data.

Parameters:
[in] PeiServices Describes the list of possible PEI Services.
[in] TisReg TPM register space base address.
[in] BufferIn Buffer for command data.
[in] SizeIn Size of command data.
[in,out] BufferOut Buffer for response data.
[in,out] SizeOut Size of response data.
Return values:
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.

References EFI_STATUS(), TIS_PC_STS_DATA, TIS_PC_STS_EXPECT, TIS_PC_STS_GO, TIS_PC_STS_READY, TIS_PC_VALID, TIS_TIMEOUT_B, TIS_TIMEOUT_C, TisPcPrepareCommand(), TisPcReadBurstCount(), TisPcWaitRegisterBits(), and UINTN().


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