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_ */ |