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

Unified Diff: nvboot_bct.h

Issue 6524004: Add bct_dump tool. (Closed)
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« bct_dump.c ('K') | « bct_dump.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nvboot_bct.h
diff --git a/nvboot_bct.h b/nvboot_bct.h
index 734ed3bfad9cea043312ab3fb21cf8754dc2560f..c2831159081c77a57660a404061af86cb3a5d81d 100644
--- a/nvboot_bct.h
+++ b/nvboot_bct.h
@@ -132,19 +132,19 @@ typedef struct nvboot_badblock_table_rec
*/
typedef struct nvboot_config_table_rec
{
- nvboot_hash crypto_hash;
- nvboot_hash random_aes_blk;
- u_int32_t boot_data_version;
- u_int32_t block_size_log2;
- u_int32_t page_size_log2;
- u_int32_t partition_size;
- u_int32_t bct_used_data[NVBOOT_BCT_USED_DATA_SIZE];
- nvboot_badblock_table badblock_table;
- u_int32_t bootloader_used;
- nv_bootloader_info bootloader[NVBOOT_MAX_BOOTLOADERS];
- u_int8_t customer_data[NVBOOT_BCT_CUSTOMER_DATA_SIZE];
- u_int8_t enable_fail_back;
- u_int8_t reserved[NVBOOT_BCT_RESERVED_SIZE];
+ nvboot_hash crypto_hash; // 16 @ 0x0000
+ nvboot_hash random_aes_blk; // 16 @ 0x0010
+ u_int32_t boot_data_version; // 4 @ 0x0020
+ u_int32_t block_size_log2; // 4 @ 0x0024
+ u_int32_t page_size_log2; // 4 @ 0x0028
+ u_int32_t partition_size; // 4 @ 0x002c
+ u_int32_t bct_used_data[NVBOOT_BCT_USED_DATA_SIZE]; // 2136 @ 0x0030
+ nvboot_badblock_table badblock_table; // 518 @ 0x0888
+ u_int32_t bootloader_used; // 4 @ 0x0a8e
+ nv_bootloader_info bootloader[NVBOOT_MAX_BOOTLOADERS]; // 176 @ 0x0a92
+ u_int8_t customer_data[NVBOOT_BCT_CUSTOMER_DATA_SIZE]; // 1192 @ 0x0b42
+ u_int8_t enable_fail_back; // 1 @ 0x0fea
+ u_int8_t reserved[NVBOOT_BCT_RESERVED_SIZE]; // 3 @ 0x0feb
} nvboot_config_table;
/** @} */
« bct_dump.c ('K') | « bct_dump.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698