TianoCore EDK2 master
|
#include <IndustryStandard/UefiTcgPlatform.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/Tpm2DeviceLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
Go to the source code of this file.
Data Structures | |
struct | TPM2_STARTUP_COMMAND |
struct | TPM2_STARTUP_RESPONSE |
struct | TPM2_SHUTDOWN_COMMAND |
struct | TPM2_SHUTDOWN_RESPONSE |
Functions | |
EFI_STATUS EFIAPI | Tpm2Startup (IN TPM_SU StartupType) |
EFI_STATUS EFIAPI | Tpm2Shutdown (IN TPM_SU ShutdownType) |
Implement TPM2 Startup related command.
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm2Startup.c.
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. |
Definition at line 95 of file Tpm2Startup.c.
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. |
Definition at line 49 of file Tpm2Startup.c.