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

Unified Diff: firmware/stub/tlcl.c

Issue 2857030: Exhaustive test for rollback code (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Fix write count handling and improve comments. Created 10 years, 5 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/linktest/main.c ('k') | firmware/version.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/stub/tlcl.c
diff --git a/firmware/stub/tlcl.c b/firmware/stub/tlcl.c
index cad286a8c11746e31b0a3371689163c48da81e45..1a44ea1c9f5db2c803e3c14800317adb247d0414 100644
--- a/firmware/stub/tlcl.c
+++ b/firmware/stub/tlcl.c
@@ -11,6 +11,8 @@
__pragma(warning (disable: 4100))
void TlclLibInit(void) { return; }
+void TlclCloseDevice(void) { return; }
+void TlclOpenDevice(void) { return; }
uint32_t TlclStartup(void) { return TPM_SUCCESS; }
uint32_t TlclSelftestfull(void) { return TPM_SUCCESS; }
uint32_t TlclContinueSelfTest(void) { return TPM_SUCCESS; }
@@ -31,6 +33,7 @@ uint32_t TlclSetNvLocked(void) { return TPM_SUCCESS; }
int TlclIsOwned(void) { return TPM_SUCCESS; }
uint32_t TlclForceClear(void) { return TPM_SUCCESS; }
uint32_t TlclSetEnable(void) { return TPM_SUCCESS; }
+uint32_t TlclClearEnable(void) { return TPM_SUCCESS; }
uint32_t TlclSetDeactivated(int deactivated) { return TPM_SUCCESS; }
uint32_t TlclSetGlobalLock(void) { return TPM_SUCCESS; }
uint32_t TlclGetFlags(uint8_t* disable, uint8_t* deactivated) {
« no previous file with comments | « firmware/linktest/main.c ('k') | firmware/version.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698