diff --git a/ChangeLog b/ChangeLog index 4a8237953..00f2d7fdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-14 Vladimir Serbinenko + + * include/grub/i386/coreboot/lbio.h: Add missing attribute (packed). + 2013-12-14 Vladimir Serbinenko * util/grub-pe2elf.c: Fix handling of .bss. diff --git a/include/grub/i386/coreboot/lbio.h b/include/grub/i386/coreboot/lbio.h index 9a9304625..dc9cead0c 100644 --- a/include/grub/i386/coreboot/lbio.h +++ b/include/grub/i386/coreboot/lbio.h @@ -86,7 +86,7 @@ struct grub_linuxbios_table_framebuffer { grub_uint8_t blue_mask_size; grub_uint8_t reserved_field_pos; grub_uint8_t reserved_mask_size; -}; +} __attribute__((packed)); struct grub_linuxbios_mem_region { @@ -94,7 +94,7 @@ struct grub_linuxbios_mem_region grub_uint64_t size; #define GRUB_MACHINE_MEMORY_AVAILABLE 1 grub_uint32_t type; -}; +} __attribute__ ((packed)); typedef struct grub_linuxbios_mem_region *mem_region_t; grub_err_t