Add __attribute__((packed)) just in case

This commit is contained in:
topjohnwu 2019-10-08 16:55:25 -04:00
parent c42a51dcbb
commit d25ae5e0a9

View File

@ -52,7 +52,7 @@ struct bhtable_v2 {
uint32_t offset; /* DTB offset in DTBH */ uint32_t offset; /* DTB offset in DTBH */
uint32_t len; /* DTB size */ uint32_t len; /* DTB size */
uint32_t space; /* 0x00000020 */ uint32_t space; /* 0x00000020 */
}; } __attribute__((packed));
struct dtb_blob { struct dtb_blob {
void *fdt; void *fdt;