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

Unified Diff: src/platform/tpm_lite/src/include/tlcl.h

Issue 1056001: Additional cases for the test suite, and more commands added to TLCL (Closed)
Patch Set: Various fixes for review Created 10 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 | src/platform/tpm_lite/src/testsuite/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/tpm_lite/src/include/tlcl.h
diff --git a/src/platform/tpm_lite/src/include/tlcl.h b/src/platform/tpm_lite/src/include/tlcl.h
index 30c73505def661fc7e156a90c59d7fa502567f49..e0b56262d4c17081bdd4651d6488e2912b7d781c 100644
--- a/src/platform/tpm_lite/src/include/tlcl.h
+++ b/src/platform/tpm_lite/src/include/tlcl.h
@@ -26,6 +26,7 @@
/* Outputs an error message and quits the program.
*/
+POSSIBLY_UNUSED
static void error(const char *format, ...) {
va_list ap;
va_start(ap, format);
@@ -99,4 +100,20 @@ void TlclSetNvLocked(void);
*/
int TlclIsOwned(void);
+/* Issues a ForceClear.
+ */
+void TlclForceClear(void);
+
+/* Issues a PhysicalEnable.
+ */
+void TlclPhysicalEnable(void);
+
+/* Issues a PhysicalSetDeactivated. Pass 0 to activate. Returns result code.
+ */
+int TlclPhysicalSetDeactivated(uint8_t flag);
+
+/* Gets some permanent flags of interest. (Add more here as needed.)
+ */
+int TlclGetFlags(uint8_t* disable, uint8_t* deactivated);
+
#endif /* TPM_LITE_TLCL_H_ */
« no previous file with comments | « no previous file | src/platform/tpm_lite/src/testsuite/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698