diff options
author | jyao1 <jyao1> | 2013-10-21 05:56:07 +0000 |
---|---|---|
committer | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-21 05:56:07 +0000 |
commit | 9318b08eb51fbd780a16206009284efc63f3d201 (patch) | |
tree | eb03dc08aedcd1f2cccae2a3ed86abf12813bc5b /SecurityPkg/Include/Library | |
parent | 22031c4f6bdbca8abf6220d99657294e8f763d3c (diff) | |
download | edk2-9318b08eb51fbd780a16206009284efc63f3d201.tar.gz edk2-9318b08eb51fbd780a16206009284efc63f3d201.tar.bz2 edk2-9318b08eb51fbd780a16206009284efc63f3d201.zip |
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/Library')
-rw-r--r-- | SecurityPkg/Include/Library/Tpm12CommandLib.h | 12 |
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.
|