Functions | |
EFI_STATUS EFIAPI | Tpm2Startup (IN TPM_SU StartupType) |
EFI_STATUS EFIAPI | Tpm2Shutdown (IN TPM_SU ShutdownType) |
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.
EFI_STATUS EFIAPI Tpm2Shutdown | ( | IN TPM_SU | ShutdownType | ) |
Send Shutdown command to TPM2.
[in] | ShutdownType | TPM_SU_CLEAR or TPM_SU_STATE. |
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.
[in] | StartupType | TPM_SU_CLEAR or TPM_SU_STATE |
EFI_SUCCESS | Operation completed successfully. | |
EFI_DEVICE_ERROR | Unexpected device behavior. |
References EFI_STATUS(), and Tpm2SubmitCommand().
Referenced by PeimEntryMA().