TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/Tpm12CommandLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/Tpm12DeviceLib.h>
Go to the source code of this file.
Data Structures | |
struct | TPM_CMD_GET_CAPABILITY |
struct | TPM_RSP_GET_CAPABILITY_PERMANENT_FLAGS |
struct | TPM_RSP_GET_CAPABILITY_STCLEAR_FLAGS |
Functions | |
EFI_STATUS EFIAPI | Tpm12GetCapabilityFlagPermanent (OUT TPM_PERMANENT_FLAGS *TpmPermanentFlags) |
EFI_STATUS EFIAPI | Tpm12GetCapabilityFlagVolatile (OUT TPM_STCLEAR_FLAGS *VolatileFlags) |
Implement TPM1.2 Get Capabilities related commands.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm12GetCapability.c.
EFI_STATUS EFIAPI Tpm12GetCapabilityFlagPermanent | ( | OUT TPM_PERMANENT_FLAGS * | TpmPermanentFlags | ) |
Get TPM capability permanent flags.
[out] | TpmPermanentFlags | Pointer to the buffer for returned flag structure. |
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. |
Definition at line 52 of file Tpm12GetCapability.c.
EFI_STATUS EFIAPI Tpm12GetCapabilityFlagVolatile | ( | OUT TPM_STCLEAR_FLAGS * | VolatileFlags | ) |
Get TPM capability volatile flags.
[out] | VolatileFlags | Pointer to the buffer for returned flag structure. |
EFI_SUCCESS | Operation completed successfully. |
EFI_DEVICE_ERROR | The command was unsuccessful. |
Definition at line 98 of file Tpm12GetCapability.c.