summaryrefslogtreecommitdiff
path: root/SecurityPkg/Include
diff options
context:
space:
mode:
authorjyao1 <jyao1>2013-10-21 05:56:07 +0000
committerjyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524>2013-10-21 05:56:07 +0000
commit9318b08eb51fbd780a16206009284efc63f3d201 (patch)
treeeb03dc08aedcd1f2cccae2a3ed86abf12813bc5b /SecurityPkg/Include
parent22031c4f6bdbca8abf6220d99657294e8f763d3c (diff)
downloadedk2-platforms-9318b08eb51fbd780a16206009284efc63f3d201.tar.xz
Add TPM1.2 SaveState API.
Signed off by: Yao, Jiewen <Jiewen.yao@intel.com> Reviewed by: Dong Guo <Gui.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14791 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r--SecurityPkg/Include/Library/Tpm12CommandLib.h12
1 files changed, 12 insertions, 0 deletions
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
@@ -32,6 +32,18 @@ Tpm12Startup (
);
/**
+ 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.
@retval EFI_SUCCESS Operation completed successfully.