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

Unified Diff: firmware/include/tlcl.h

Issue 6719005: Cherry-pick vboot_reference files from TOT to support crossystem (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@0.11.257.B
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/load_firmware_fw.h ('k') | firmware/include/utility.h » ('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..10d080247270b0dbda88dc2eaa6854e8a7122c57 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).
*/
@@ -127,7 +132,7 @@ uint32_t TlclSetGlobalLock(void);
/* Performs a TPM_Extend.
*/
-uint32_t TlclExtend(int pcr_num, uint8_t* in_digest, uint8_t* out_digest);
+uint32_t TlclExtend(int pcr_num, const uint8_t* in_digest, uint8_t* out_digest);
/* Gets the permission bits for the NVRAM space with |index|.
*/
« no previous file with comments | « firmware/include/load_firmware_fw.h ('k') | firmware/include/utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698