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 * Data structure of Google Binary Block (GBB) | 5 * Data structure of Google Binary Block (GBB) |
6 */ | 6 */ |
7 | 7 |
8 #ifndef VBOOT_REFERENCE_GBB_HEADER_H_ | 8 #ifndef VBOOT_REFERENCE_GBB_HEADER_H_ |
9 #define VBOOT_REFERENCE_GBB_HEADER_H_ | 9 #define VBOOT_REFERENCE_GBB_HEADER_H_ |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 uint16_t minor_version; // see GBB_MINOR_VER | 28 uint16_t minor_version; // see GBB_MINOR_VER |
29 uint32_t header_size; // size of GBB header in bytes | 29 uint32_t header_size; // size of GBB header in bytes |
30 uint32_t reserved; | 30 uint32_t reserved; |
31 | 31 |
32 uint32_t hwid_offset; // HWID offset from header | 32 uint32_t hwid_offset; // HWID offset from header |
33 uint32_t hwid_size; // HWID size in bytes | 33 uint32_t hwid_size; // HWID size in bytes |
34 uint32_t rootkey_offset; // Root Key offset from header | 34 uint32_t rootkey_offset; // Root Key offset from header |
35 uint32_t rootkey_size; // Root Key size in bytes | 35 uint32_t rootkey_size; // Root Key size in bytes |
36 uint32_t bmpfv_offset; // BMP FV offset from header | 36 uint32_t bmpfv_offset; // BMP FV offset from header |
37 uint32_t bmpfv_size; // BMP FV size in bytes | 37 uint32_t bmpfv_size; // BMP FV size in bytes |
| 38 uint32_t recovery_key_offset; // Recovery Key offset from header |
| 39 uint32_t recovery_key_size; // Recovery Key size in bytes |
38 | 40 |
39 uint8_t pad[88]; // to match GBB_HEADER_SIZE | 41 uint8_t pad[80]; // to match GBB_HEADER_SIZE |
40 } GoogleBinaryBlockHeader; | 42 } GoogleBinaryBlockHeader; |
41 | 43 |
42 #ifdef __cplusplus | 44 #ifdef __cplusplus |
43 } | 45 } |
44 #endif // __cplusplus | 46 #endif // __cplusplus |
45 | 47 |
46 #endif /* VBOOT_REFERENCE_GBB_HEADER_H_ */ | 48 #endif /* VBOOT_REFERENCE_GBB_HEADER_H_ */ |
47 | |
OLD | NEW |