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

Side by Side Diff: src/platform/vboot_reference/vkernel/kernel_image_fw.c

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 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
« no previous file with comments | « src/platform/vboot_reference/vkernel/kernel_image.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) 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 * Functions for verifying a verified boot kernel image. 5 * Functions for verifying a verified boot kernel image.
6 * (Firmware portion) 6 * (Firmware portion)
7 */ 7 */
8 8
9 #include "kernel_image_fw.h" 9 #include "kernel_image_fw.h"
10 10
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 /* Lock Kernel TPM rollback indices from further writes. 357 /* Lock Kernel TPM rollback indices from further writes.
358 * TODO(gauravsh): Figure out if these can be combined into one 358 * TODO(gauravsh): Figure out if these can be combined into one
359 * 32-bit location since we seem to always use them together. This can help 359 * 32-bit location since we seem to always use them together. This can help
360 * us minimize the number of NVRAM writes/locks (which are limited over flash 360 * us minimize the number of NVRAM writes/locks (which are limited over flash
361 * memory lifetimes. 361 * memory lifetimes.
362 */ 362 */
363 LockStoredVersion(KERNEL_KEY_VERSION); 363 LockStoredVersion(KERNEL_KEY_VERSION);
364 LockStoredVersion(KERNEL_VERSION); 364 LockStoredVersion(KERNEL_VERSION);
365 return kernel_to_boot; 365 return kernel_to_boot;
366 } 366 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/vkernel/kernel_image.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698