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

Unified Diff: firmware/lib/tpm_lite/tlcl.c

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 | « firmware/include/tlcl.h ('k') | utility/tlcl_generator.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/lib/tpm_lite/tlcl.c
diff --git a/firmware/lib/tpm_lite/tlcl.c b/firmware/lib/tpm_lite/tlcl.c
index 12742d8eb3fe44439cfa4fcf09a2e0aa834ce939..018a139144fe02a7c688b1088bc90d658127443a 100644
--- a/firmware/lib/tpm_lite/tlcl.c
+++ b/firmware/lib/tpm_lite/tlcl.c
@@ -100,6 +100,11 @@ uint32_t TlclStartup(void) {
return Send(tpm_startup_cmd.buffer);
}
+uint32_t TlclSaveState(void) {
+ VBDEBUG(("TPM: SaveState\n"));
+ return Send(tpm_savestate_cmd.buffer);
+}
+
uint32_t TlclResume(void) {
VBDEBUG(("TPM: Resume\n"));
return Send(tpm_resume_cmd.buffer);
« no previous file with comments | « firmware/include/tlcl.h ('k') | utility/tlcl_generator.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698