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

Side by Side Diff: tests/tpm_lite/writelimit.c

Issue 3116025: Added new commands and reactivated full rebuild after fixing for ARM ebuild. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: move to new build flow (no changes expected) Created 10 years, 3 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 unified diff | Download patch
« no previous file with comments | « tests/tpm_lite/spaceperm.c ('k') | utility/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* Test of recovery when we hit the NVRAM write limit for an unowned TPM. 6 /* Test of recovery when we hit the NVRAM write limit for an unowned TPM.
7 */ 7 */
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <tss/tcs.h>
13 12
14 #include "tlcl.h" 13 #include "tlcl.h"
15 #include "utility.h" 14 #include "utility.h"
16 15
17 #define INDEX0 0xda70 16 #define INDEX0 0xda70
18 #define TPM_MAX_NV_WRITES_NOOWNER 64 17 #define TPM_MAX_NV_WRITES_NOOWNER 64
19 18
20 int main(int argc, char** argv) { 19 int main(int argc, char** argv) {
21 int i; 20 int i;
22 uint32_t result; 21 uint32_t result;
(...skipping 29 matching lines...) Expand all
52 error("unexpected error code %d (0x%x)\n"); 51 error("unexpected error code %d (0x%x)\n");
53 } 52 }
54 } 53 }
55 } 54 }
56 55
57 /* Done for now. 56 /* Done for now.
58 */ 57 */
59 printf("Test completed successfully\n"); 58 printf("Test completed successfully\n");
60 exit(0); 59 exit(0);
61 } 60 }
OLDNEW
« no previous file with comments | « tests/tpm_lite/spaceperm.c ('k') | utility/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698