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

Unified Diff: src/platform/tpm_lite/src/testsuite/readonly.c

Issue 847005: Bug fixes and timing code. This is the first fully functional code, (Closed)
Patch Set: 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/tlcl/generator.c » ('j') | src/platform/tpm_lite/src/tlcl/tlcl.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/tpm_lite/src/testsuite/readonly.c
diff --git a/src/platform/tpm_lite/src/testsuite/readonly.c b/src/platform/tpm_lite/src/testsuite/readonly.c
index 47ee0a4b18eec6a6196a4223bee42cde57a48fd7..2cd432546bf49c87ae0f6ea42c5d69f24e85dfed 100644
--- a/src/platform/tpm_lite/src/testsuite/readonly.c
+++ b/src/platform/tpm_lite/src/testsuite/readonly.c
@@ -35,7 +35,7 @@
*/
void InitializeSpaces(void) {
uint32_t zero = 0;
- uint32_t perm = TPM_NV_PER_WRITE_STCLEAR;
+ uint32_t perm = TPM_NV_PER_WRITE_STCLEAR | TPM_NV_PER_PPWRITE;
printf("Initializing spaces\n");
TlclSetNvLocked(); /* useful only the first time */
@@ -67,10 +67,8 @@ int main(void) {
TlclLibinit();
-#if 0
TlclStartup();
TlclSelftestfull();
-#endif
TlclAssertPhysicalPresence();
« no previous file with comments | « no previous file | src/platform/tpm_lite/src/tlcl/generator.c » ('j') | src/platform/tpm_lite/src/tlcl/tlcl.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698