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

Side by Side Diff: firmware/lib/cgptlib/include/cgptlib_internal.h

Issue 6626020: Only advance kernel version when the booted partition has a valid key block (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: 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 | « firmware/lib/cgptlib/cgptlib.c ('k') | firmware/lib/cgptlib/include/gpt.h » ('j') | 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-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 5
6 #ifndef VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ 6 #ifndef VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_
7 #define VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ 7 #define VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_
8 8
9 #include "sysincludes.h" 9 #include "sysincludes.h"
10 #include "cgptlib.h" 10 #include "cgptlib.h"
11 #include "gpt.h" 11 #include "gpt.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 /* Return 1 if the entry is unused, 0 if it is used. */ 113 /* Return 1 if the entry is unused, 0 if it is used. */
114 int IsUnusedEntry(const GptEntry* e); 114 int IsUnusedEntry(const GptEntry* e);
115 115
116 /* Returns 1 if the entry is a Chrome OS kernel partition, else 0. */ 116 /* Returns 1 if the entry is a Chrome OS kernel partition, else 0. */
117 int IsKernelEntry(const GptEntry* e); 117 int IsKernelEntry(const GptEntry* e);
118 118
119 /* Copies the current kernel partition's UniquePartitionGuid to the dest */ 119 /* Copies the current kernel partition's UniquePartitionGuid to the dest */
120 void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest); 120 void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest);
121 121
122 #endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */ 122 #endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */
OLDNEW
« no previous file with comments | « firmware/lib/cgptlib/cgptlib.c ('k') | firmware/lib/cgptlib/include/gpt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698