SecurityPkg/Library/Tpm2CommandLib/Tpm2Startup.c File Reference


Functions

EFI_STATUS EFIAPI Tpm2Startup (IN TPM_SU StartupType)
EFI_STATUS EFIAPI Tpm2Shutdown (IN TPM_SU ShutdownType)

Detailed Description

Implement TPM2 Startup related command.

Copyright (c) 2013, 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 EFIAPI Tpm2Shutdown ( IN TPM_SU  ShutdownType  ) 

Send Shutdown command to TPM2.

Parameters:
[in] ShutdownType TPM_SU_CLEAR or TPM_SU_STATE.
Return values:
EFI_SUCCESS Operation completed successfully.
EFI_DEVICE_ERROR Unexpected device behavior.

References EFI_STATUS(), and Tpm2SubmitCommand().

EFI_STATUS EFIAPI Tpm2Startup ( IN TPM_SU  StartupType  ) 

Send Startup command to TPM2.

Parameters:
[in] StartupType TPM_SU_CLEAR or TPM_SU_STATE
Return values:
EFI_SUCCESS Operation completed successfully.
EFI_DEVICE_ERROR Unexpected device behavior.

References EFI_STATUS(), and Tpm2SubmitCommand().

Referenced by PeimEntryMA().


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