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

Side by Side Diff: utility/crossystem_main.c

Issue 6826014: Change description of fwupdate_tries (Closed) Base URL: ssh://gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: post merge 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 | « no previous file | 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 {"mainfw_type", IS_STRING, "Active main firmware type"}, 55 {"mainfw_type", IS_STRING, "Active main firmware type"},
56 {"ecfw_act", IS_STRING, "Active EC firmware"}, 56 {"ecfw_act", IS_STRING, "Active EC firmware"},
57 {"kernkey_vfy", IS_STRING, "Type of verification done on kernel key block"}, 57 {"kernkey_vfy", IS_STRING, "Type of verification done on kernel key block"},
58 {"vdat_timers", IS_STRING, "Timer values from VbSharedData"}, 58 {"vdat_timers", IS_STRING, "Timer values from VbSharedData"},
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, "Times to try OS firmware update (writable)"}, 65 {"fwupdate_tries", CAN_WRITE,
66 "Times to try OS firmware update (writable, inside kern_nv)"},
66 {"vbtest_errfunc", CAN_WRITE, "Verified boot test error function (writable)"}, 67 {"vbtest_errfunc", CAN_WRITE, "Verified boot test error function (writable)"},
67 {"vbtest_errno", CAN_WRITE, "Verified boot test error number (writable)"}, 68 {"vbtest_errno", CAN_WRITE, "Verified boot test error number (writable)"},
68 /* Fields not shown in a print-all list */ 69 /* Fields not shown in a print-all list */
69 {"vdat_lfdebug", IS_STRING|NO_PRINT_ALL, 70 {"vdat_lfdebug", IS_STRING|NO_PRINT_ALL,
70 "LoadFirmware() debug data (not in print-all)"}, 71 "LoadFirmware() debug data (not in print-all)"},
71 {"vdat_lkdebug", IS_STRING|NO_PRINT_ALL, 72 {"vdat_lkdebug", IS_STRING|NO_PRINT_ALL,
72 "LoadKernel() debug data (not in print-all)"}, 73 "LoadKernel() debug data (not in print-all)"},
73 /* Terminate with null name */ 74 /* Terminate with null name */
74 {NULL, 0, NULL} 75 {NULL, 0, NULL}
75 }; 76 };
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 if (has_set) 258 if (has_set)
258 retval = SetParam(p, value); 259 retval = SetParam(p, value);
259 else if (has_expect) 260 else if (has_expect)
260 retval = CheckParam(p, value); 261 retval = CheckParam(p, value);
261 else 262 else
262 retval = PrintParam(p); 263 retval = PrintParam(p);
263 } 264 }
264 265
265 return retval; 266 return retval;
266 } 267 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698