From 9318b08eb51fbd780a16206009284efc63f3d201 Mon Sep 17 00:00:00 2001 From: jyao1 Date: Mon, 21 Oct 2013 05:56:07 +0000 Subject: Add TPM1.2 SaveState API. Signed off by: Yao, Jiewen Reviewed by: Dong Guo git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14791 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Include/Library/Tpm12CommandLib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'SecurityPkg/Include') diff --git a/SecurityPkg/Include/Library/Tpm12CommandLib.h b/SecurityPkg/Include/Library/Tpm12CommandLib.h index 8b62823716..1dbc7d50c3 100644 --- a/SecurityPkg/Include/Library/Tpm12CommandLib.h +++ b/SecurityPkg/Include/Library/Tpm12CommandLib.h @@ -31,6 +31,18 @@ Tpm12Startup ( IN TPM_STARTUP_TYPE TpmSt ); +/** + Send SaveState command to TPM1.2. + + @retval EFI_SUCCESS Operation completed successfully. + @retval EFI_DEVICE_ERROR Unexpected device behavior. +**/ +EFI_STATUS +EFIAPI +Tpm12SaveState ( + VOID + ); + /** Send ForceClear command to TPM1.2. -- cgit v1.2.3