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

Side by Side Diff: src/platform/vboot_reference/vboot_firmware/lib/kernel_image_fw.c

Issue 2219004: Rearrange vboot_reference directories to isolate external components. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 /* Lock Kernel TPM rollback indices from further writes. 426 /* Lock Kernel TPM rollback indices from further writes.
427 * TODO(gauravsh): Figure out if these can be combined into one 427 * TODO(gauravsh): Figure out if these can be combined into one
428 * 32-bit location since we seem to always use them together. This can help 428 * 32-bit location since we seem to always use them together. This can help
429 * us minimize the number of NVRAM writes/locks (which are limited over flash 429 * us minimize the number of NVRAM writes/locks (which are limited over flash
430 * memory lifetimes. 430 * memory lifetimes.
431 */ 431 */
432 LockStoredVersion(KERNEL_KEY_VERSION); 432 LockStoredVersion(KERNEL_KEY_VERSION);
433 LockStoredVersion(KERNEL_VERSION); 433 LockStoredVersion(KERNEL_VERSION);
434 return kernel_to_boot; 434 return kernel_to_boot;
435 } 435 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698