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

Unified Diff: src/tlcl/tlcl.c

Issue 2854029: Add PhysicalDisable command. (Closed) Base URL: ssh://git@chromiumos-git/tpm_lite.git
Patch Set: . Created 10 years, 6 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 | « src/tlcl/tlcl.h ('k') | src/tlcl/version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tlcl/tlcl.c
diff --git a/src/tlcl/tlcl.c b/src/tlcl/tlcl.c
index 63c03a6c7d6e05f690e2e5f33a3f8c5131213b9b..631ecb0f13d7ef2d421a09b541b3302848ce65b9 100644
--- a/src/tlcl/tlcl.c
+++ b/src/tlcl/tlcl.c
@@ -339,6 +339,10 @@ uint32_t TlclSetEnable(void) {
return Send(tpm_physicalenable_cmd.buffer);
}
+uint32_t TlclClearEnable(void) {
+ return Send(tpm_physicaldisable_cmd.buffer);
+}
+
uint32_t TlclSetDeactivated(uint8_t flag) {
*((uint8_t*)tpm_physicalsetdeactivated_cmd.deactivated) = flag;
return Send(tpm_physicalsetdeactivated_cmd.buffer);
« no previous file with comments | « src/tlcl/tlcl.h ('k') | src/tlcl/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698