OLD | NEW |
1 /** | 1 /** |
2 * Copyright (c) 2011 NVIDIA Corporation. All rights reserved. | 2 * Copyright (c) 2011 NVIDIA Corporation. All rights reserved. |
3 * | 3 * |
4 * See file CREDITS for list of people who contributed to this | 4 * See file CREDITS for list of people who contributed to this |
5 * project. | 5 * project. |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or | 7 * This program is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU General Public License as | 8 * modify it under the terms of the GNU General Public License as |
9 * published by the Free Software Foundation; either version 2 of | 9 * published by the Free Software Foundation; either version 2 of |
10 * the License, or (at your option) any later version. | 10 * the License, or (at your option) any later version. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 /** | 125 /** |
126 * Contains the information needed to load BLs from the secondary boot device. | 126 * Contains the information needed to load BLs from the secondary boot device. |
127 * | 127 * |
128 * - Supplying NumParamSets = 0 indicates not to load any of them. | 128 * - Supplying NumParamSets = 0 indicates not to load any of them. |
129 * - Supplying NumDramSets = 0 indicates not to load any of them. | 129 * - Supplying NumDramSets = 0 indicates not to load any of them. |
130 * - The \c random_aes_blk member exists to increase the difficulty of | 130 * - The \c random_aes_blk member exists to increase the difficulty of |
131 * key attacks based on knowledge of this structure. | 131 * key attacks based on knowledge of this structure. |
132 */ | 132 */ |
133 typedef struct nvboot_config_table_rec | 133 typedef struct nvboot_config_table_rec |
134 { | 134 { |
135 » nvboot_hash crypto_hash; | 135 » nvboot_hash crypto_hash; // 16 @ 0x0000 |
136 » nvboot_hash random_aes_blk; | 136 » nvboot_hash random_aes_blk; // 16 @ 0x0010 |
137 » u_int32_t boot_data_version; | 137 » u_int32_t boot_data_version; // 4 @ 0x0020 |
138 » u_int32_t block_size_log2; | 138 » u_int32_t block_size_log2; // 4 @ 0x0024 |
139 » u_int32_t page_size_log2; | 139 » u_int32_t page_size_log2; // 4 @ 0x0028 |
140 » u_int32_t partition_size; | 140 » u_int32_t partition_size; // 4 @ 0x002c |
141 » u_int32_t bct_used_data[NVBOOT_BCT_USED_DATA_SIZE]; | 141 » u_int32_t bct_used_data[NVBOOT_BCT_USED_DATA_SIZE]; // 2136 @ 0x0030 |
142 » nvboot_badblock_table badblock_table; | 142 » nvboot_badblock_table badblock_table; // 518 @ 0x0888 |
143 » u_int32_t bootloader_used; | 143 » u_int32_t bootloader_used; // 4 @ 0x0a8e |
144 » nv_bootloader_info bootloader[NVBOOT_MAX_BOOTLOADERS]; | 144 » nv_bootloader_info bootloader[NVBOOT_MAX_BOOTLOADERS]; // 176 @ 0x0a92 |
145 » u_int8_t customer_data[NVBOOT_BCT_CUSTOMER_DATA_SIZE]; | 145 » u_int8_t customer_data[NVBOOT_BCT_CUSTOMER_DATA_SIZE]; // 1192 @ 0x0b42 |
146 » u_int8_t enable_fail_back; | 146 » u_int8_t enable_fail_back; // 1 @ 0x0fea |
147 » u_int8_t reserved[NVBOOT_BCT_RESERVED_SIZE]; | 147 » u_int8_t reserved[NVBOOT_BCT_RESERVED_SIZE]; // 3 @ 0x0feb |
148 } nvboot_config_table; | 148 } nvboot_config_table; |
149 | 149 |
150 /** @} */ | 150 /** @} */ |
151 #endif /* #ifndef INCLUDED_NVBOOT_BCT_H */ | 151 #endif /* #ifndef INCLUDED_NVBOOT_BCT_H */ |
OLD | NEW |