Chromium Code Reviews| 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_INTERNAL_H_ | 6 #ifndef VBOOT_REFERENCE_CGPT_INTERNAL_H_ |
| 7 #define VBOOT_REFERENCE_CGPT_INTERNAL_H_ | 7 #define VBOOT_REFERENCE_CGPT_INTERNAL_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 <stdint.h> | 9 #include <stdint.h> |
| 10 #include "cgpt.h" | 10 #include "cgptlib.h" |
| 11 | 11 |
| 12 int CheckParameters(GptData *gpt); | 12 int CheckParameters(GptData *gpt); |
| 13 uint32_t CheckHeaderSignature(GptData *gpt); | 13 uint32_t CheckHeaderSignature(GptData *gpt); |
| 14 uint32_t CheckRevision(GptData *gpt); | 14 uint32_t CheckRevision(GptData *gpt); |
| 15 uint32_t CheckSize(GptData *gpt); | 15 uint32_t CheckSize(GptData *gpt); |
| 16 uint32_t CheckReservedFields(GptData *gpt); | 16 uint32_t CheckReservedFields(GptData *gpt); |
| 17 uint32_t CheckMyLba(GptData *gpt); | 17 uint32_t CheckMyLba(GptData *gpt); |
| 18 uint32_t CheckSizeOfPartitionEntry(GptData *gpt); | 18 uint32_t CheckSizeOfPartitionEntry(GptData *gpt); |
| 19 uint32_t CheckNumberOfEntries(GptData *gpt); | 19 uint32_t CheckNumberOfEntries(GptData *gpt); |
| 20 uint32_t CheckEntriesLba(GptData *gpt); | 20 uint32_t CheckEntriesLba(GptData *gpt); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 #define CGPT_ATTRIBUTE_MAX_TRIES (15ULL) | 73 #define CGPT_ATTRIBUTE_MAX_TRIES (15ULL) |
| 74 #define CGPT_ATTRIBUTE_TRIES_MASK (CGPT_ATTRIBUTE_MAX_TRIES << \ | 74 #define CGPT_ATTRIBUTE_TRIES_MASK (CGPT_ATTRIBUTE_MAX_TRIES << \ |
| 75 CGPT_ATTRIBUTE_TRIES_OFFSET) | 75 CGPT_ATTRIBUTE_TRIES_OFFSET) |
| 76 | 76 |
| 77 #define CGPT_ATTRIBUTE_PRIORITY_OFFSET 48 | 77 #define CGPT_ATTRIBUTE_PRIORITY_OFFSET 48 |
| 78 #define CGPT_ATTRIBUTE_MAX_PRIORITY (15ULL) | 78 #define CGPT_ATTRIBUTE_MAX_PRIORITY (15ULL) |
| 79 #define CGPT_ATTRIBUTE_PRIORITY_MASK (CGPT_ATTRIBUTE_MAX_PRIORITY << \ | 79 #define CGPT_ATTRIBUTE_PRIORITY_MASK (CGPT_ATTRIBUTE_MAX_PRIORITY << \ |
| 80 CGPT_ATTRIBUTE_PRIORITY_OFFSET) | 80 CGPT_ATTRIBUTE_PRIORITY_OFFSET) |
| 81 | 81 |
| 82 #endif /* VBOOT_REFERENCE_CGPT_INTERNAL_H_ */ | 82 #endif /* VBOOT_REFERENCE_CGPT_INTERNAL_H_ */ |
| OLD | NEW |