Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: firmware/include/tlcl.h

Issue 6696043: Added TPM_SaveState command. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | firmware/lib/tpm_lite/tlcl.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/include/tlcl.h
diff --git a/firmware/include/tlcl.h b/firmware/include/tlcl.h
index 95310541416072c4b7d968b5393de19c4bee14af..a76a003da5bd4e7ac54d64adef93a299579eb25b 100644
--- a/firmware/include/tlcl.h
+++ b/firmware/include/tlcl.h
@@ -35,6 +35,11 @@ void TlclSetLogLevel(int level);
*/
uint32_t TlclStartup(void);
+/* Save the TPM state. Normally done by the kernel before a suspend, included
+ * here for tests. The TPM error code is returned (0 for success).
+ */
+uint32_t TlclSaveState(void);
+
/* Resumes by sending a TPM_Startup(ST_STATE). The TPM error code is returned
* (0 for success).
*/
« no previous file with comments | « no previous file | firmware/lib/tpm_lite/tlcl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698