OLD | NEW |
---|---|
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_CGPT_H_ | 6 #ifndef VBOOT_REFERENCE_CGPT_H_ |
7 #define VBOOT_REFERENCE_CGPT_H_ | 7 #define VBOOT_REFERENCE_CGPT_H_ |
Bill Richardson
2010/05/17 15:15:03
Change the #define to match the new file name.
Louis
2010/05/18 08:18:02
Done.
| |
8 | 8 |
9 #include "gpt.h" | 9 #include "gpt.h" |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 enum { | 12 enum { |
13 GPT_SUCCESS = 0, | 13 GPT_SUCCESS = 0, |
14 GPT_ERROR_NO_VALID_KERNEL, | 14 GPT_ERROR_NO_VALID_KERNEL, |
15 GPT_ERROR_INVALID_HEADERS, | 15 GPT_ERROR_INVALID_HEADERS, |
16 GPT_ERROR_INVALID_ENTRIES, | 16 GPT_ERROR_INVALID_ENTRIES, |
17 GPT_ERROR_INVALID_SECTOR_SIZE, | 17 GPT_ERROR_INVALID_SECTOR_SIZE, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 * of update (GPT_UPDATE_ENTRY_*). | 127 * of update (GPT_UPDATE_ENTRY_*). |
128 * | 128 * |
129 * On return the modified field may be set, if the GPT data has been modified | 129 * On return the modified field may be set, if the GPT data has been modified |
130 * and should be written to disk. | 130 * and should be written to disk. |
131 * | 131 * |
132 * Returns GPT_SUCCESS if successful, else | 132 * Returns GPT_SUCCESS if successful, else |
133 * GPT_ERROR_INVALID_UPDATE_TYPE, invalid 'update_type' is given. | 133 * GPT_ERROR_INVALID_UPDATE_TYPE, invalid 'update_type' is given. |
134 */ | 134 */ |
135 | 135 |
136 #endif /* VBOOT_REFERENCE_CGPT_H_ */ | 136 #endif /* VBOOT_REFERENCE_CGPT_H_ */ |
OLD | NEW |