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

Side by Side Diff: utility/crossystem_main.c

Issue 6826057: Add crossystem loc_idx (Closed) Base URL: ssh://gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 8 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 /* Writable integers */ 59 /* Writable integers */
60 {"nvram_cleared", CAN_WRITE, "Have NV settings been lost? Write 0 to clear"}, 60 {"nvram_cleared", CAN_WRITE, "Have NV settings been lost? Write 0 to clear"},
61 {"kern_nv", CAN_WRITE, "Non-volatile field for kernel use", "0x%08x"}, 61 {"kern_nv", CAN_WRITE, "Non-volatile field for kernel use", "0x%08x"},
62 {"recovery_request", CAN_WRITE, "Recovery mode request (writable)"}, 62 {"recovery_request", CAN_WRITE, "Recovery mode request (writable)"},
63 {"dbg_reset", CAN_WRITE, "Debug reset mode request (writable)"}, 63 {"dbg_reset", CAN_WRITE, "Debug reset mode request (writable)"},
64 {"fwb_tries", CAN_WRITE, "Try firmware B count (writable)"}, 64 {"fwb_tries", CAN_WRITE, "Try firmware B count (writable)"},
65 {"fwupdate_tries", CAN_WRITE, 65 {"fwupdate_tries", CAN_WRITE,
66 "Times to try OS firmware update (writable, inside kern_nv)"}, 66 "Times to try OS firmware update (writable, inside kern_nv)"},
67 {"vbtest_errfunc", CAN_WRITE, "Verified boot test error function (writable)"}, 67 {"vbtest_errfunc", CAN_WRITE, "Verified boot test error function (writable)"},
68 {"vbtest_errno", CAN_WRITE, "Verified boot test error number (writable)"}, 68 {"vbtest_errno", CAN_WRITE, "Verified boot test error number (writable)"},
69 {"loc_idx", CAN_WRITE, "Localization index for firmware screens (writable)"},
69 /* Fields not shown in a print-all list */ 70 /* Fields not shown in a print-all list */
70 {"vdat_lfdebug", IS_STRING|NO_PRINT_ALL, 71 {"vdat_lfdebug", IS_STRING|NO_PRINT_ALL,
71 "LoadFirmware() debug data (not in print-all)"}, 72 "LoadFirmware() debug data (not in print-all)"},
72 {"vdat_lkdebug", IS_STRING|NO_PRINT_ALL, 73 {"vdat_lkdebug", IS_STRING|NO_PRINT_ALL,
73 "LoadKernel() debug data (not in print-all)"}, 74 "LoadKernel() debug data (not in print-all)"},
74 /* Terminate with null name */ 75 /* Terminate with null name */
75 {NULL, 0, NULL} 76 {NULL, 0, NULL}
76 }; 77 };
77 78
78 79
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 if (has_set) 264 if (has_set)
264 retval = SetParam(p, value); 265 retval = SetParam(p, value);
265 else if (has_expect) 266 else if (has_expect)
266 retval = CheckParam(p, value); 267 retval = CheckParam(p, value);
267 else 268 else
268 retval = PrintParam(p); 269 retval = PrintParam(p);
269 } 270 }
270 271
271 return retval; 272 return retval;
272 } 273 }
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