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

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

Issue 2833012: Move all system includes in vboot_firmware to sysincludes.h (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Oops, forgot the new header Created 10 years, 6 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 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 <stdint.h> 9 #include "sysincludes.h"
10 #include "cgptlib.h" 10 #include "cgptlib.h"
11 #include "gpt.h" 11 #include "gpt.h"
12 12
13 /* If gpt->current_kernel is this value, means either: 13 /* If gpt->current_kernel is this value, means either:
14 * 1. an initial value before scanning GPT entries, 14 * 1. an initial value before scanning GPT entries,
15 * 2. after scanning, no any valid kernel is found. 15 * 2. after scanning, no any valid kernel is found.
16 */ 16 */
17 #define CGPT_KERNEL_ENTRY_NOT_FOUND (-1) 17 #define CGPT_KERNEL_ENTRY_NOT_FOUND (-1)
18 18
19 /* Bit definitions and masks for GPT attributes. 19 /* Bit definitions and masks for GPT attributes.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void SetEntryPriority(GptEntry* e, int priority); 106 void SetEntryPriority(GptEntry* e, int priority);
107 void SetEntryTries(GptEntry* e, int tries); 107 void SetEntryTries(GptEntry* e, int tries);
108 108
109 /* Return 1 if the entry is unused, 0 if it is used. */ 109 /* Return 1 if the entry is unused, 0 if it is used. */
110 int IsUnusedEntry(const GptEntry* e); 110 int IsUnusedEntry(const GptEntry* e);
111 111
112 /* Returns 1 if the entry is a Chrome OS kernel partition, else 0. */ 112 /* Returns 1 if the entry is a Chrome OS kernel partition, else 0. */
113 int IsKernelEntry(const GptEntry* e); 113 int IsKernelEntry(const GptEntry* e);
114 114
115 #endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */ 115 #endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */
OLDNEW
« no previous file with comments | « vboot_firmware/lib/cgptlib/include/cgptlib.h ('k') | vboot_firmware/lib/cgptlib/include/crc32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698