TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm12Startup.c File Reference
#include <PiPei.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/Tpm12DeviceLib.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Data Structures

struct  TPM_CMD_START_UP
 

Functions

EFI_STATUS EFIAPI Tpm12Startup (IN TPM_STARTUP_TYPE TpmSt)
 
EFI_STATUS EFIAPI Tpm12SaveState (VOID)
 

Detailed Description

Implement TPM1.2 Startup related command.

Copyright (c) 2013, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm12Startup.c.

Function Documentation

◆ Tpm12SaveState()

EFI_STATUS EFIAPI Tpm12SaveState ( VOID  )

Send SaveState command to TPM1.2.

Return values
EFI_SUCCESSOperation completed successfully.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 78 of file Tpm12Startup.c.

◆ Tpm12Startup()

EFI_STATUS EFIAPI Tpm12Startup ( IN TPM_STARTUP_TYPE  TpmSt)

Send Startup command to TPM1.2.

Parameters
TpmStStartup Type.
Return values
EFI_SUCCESSOperation completed successfully.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 35 of file Tpm12Startup.c.