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

Side by Side Diff: utility/crossystem_main.c

Issue 6695012: Add function for VDAT processing. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Address review comments Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « host/lib/crossystem.c ('k') | no next file » | 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) 2011 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2011 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 * Chrome OS firmware/system interface utility 5 * Chrome OS firmware/system interface utility
6 */ 6 */
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 {"mainfw_act", 1, 0, "Active main firmware"}, 42 {"mainfw_act", 1, 0, "Active main firmware"},
43 {"mainfw_type", 1, 0, "Active main firmware type"}, 43 {"mainfw_type", 1, 0, "Active main firmware type"},
44 {"ecfw_act", 1, 0, "Active EC firmware"}, 44 {"ecfw_act", 1, 0, "Active EC firmware"},
45 {"kernkey_vfy", 1, 0, "Type of verification done on kernel key block"}, 45 {"kernkey_vfy", 1, 0, "Type of verification done on kernel key block"},
46 /* Writable integers */ 46 /* Writable integers */
47 {"nvram_cleared", 0, 1, "Have NV settings been lost? Write 0 to clear"}, 47 {"nvram_cleared", 0, 1, "Have NV settings been lost? Write 0 to clear"},
48 {"kern_nv", 0, 1, "Non-volatile field for kernel use", "0x%08x"}, 48 {"kern_nv", 0, 1, "Non-volatile field for kernel use", "0x%08x"},
49 {"recovery_request", 0, 1, "Recovery mode request (writable)"}, 49 {"recovery_request", 0, 1, "Recovery mode request (writable)"},
50 {"dbg_reset", 0, 1, "Debug reset mode request (writable)"}, 50 {"dbg_reset", 0, 1, "Debug reset mode request (writable)"},
51 {"fwb_tries", 0, 1, "Try firmware B count (writable)"}, 51 {"fwb_tries", 0, 1, "Try firmware B count (writable)"},
52 {"vdat", 1, 0, "Raw VDAT contents."},
52 53
53 /* TODO: implement the following: 54 /* TODO: implement the following:
54 * nvram_cleared 55 * nvram_cleared
55 */ 56 */
56 57
57 /* Terminate with null name */ 58 /* Terminate with null name */
58 {NULL, 0, 0, NULL} 59 {NULL, 0, 0, NULL}
59 }; 60 };
60 61
61 62
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 if (has_set) 226 if (has_set)
226 retval = SetParam(p, value); 227 retval = SetParam(p, value);
227 else if (has_expect) 228 else if (has_expect)
228 retval = CheckParam(p, value); 229 retval = CheckParam(p, value);
229 else 230 else
230 retval = PrintParam(p); 231 retval = PrintParam(p);
231 } 232 }
232 233
233 return retval; 234 return retval;
234 } 235 }
OLDNEW
« no previous file with comments | « host/lib/crossystem.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698