]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2007-11-18 Christian Franke <franke@computer.org>
authorrobertmh <robertmh@localhost>
Sun, 18 Nov 2007 07:10:47 +0000 (07:10 +0000)
committerrobertmh <robertmh@localhost>
Sun, 18 Nov 2007 07:10:47 +0000 (07:10 +0000)
* include/grub/i386/pc/init.h (struct grub_machine_mmap_entry):
Add attribute packed, gcc 3.4.4 on Cygwin aligns this
to 64 bit boundary by default.

ChangeLog
include/grub/i386/pc/init.h

index 4aa50c24ec0b941cee49cf33c38d037acfc26ae9..78d610798838e88a6eaecc3c45c568fb9dbe7614 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-18  Christian Franke  <franke@computer.org>
+
+       * include/grub/i386/pc/init.h (struct grub_machine_mmap_entry):
+       Add attribute packed, gcc 3.4.4 on Cygwin aligns this
+       to 64 bit boundary by default.
+
 2007-11-18  Bean  <bean123ch@gmail.com>
 
        * conf/common.rmk (pkgdata_MODULES): Add hexdump.mod.
index 9ff593427aa53f3c2e16aac55e106a64cb07e451..b2bde34106806972f38ab503678f79fc46802d47 100644 (file)
@@ -39,7 +39,7 @@ struct grub_machine_mmap_entry
   grub_uint64_t addr;
   grub_uint64_t len;
   grub_uint32_t type;
-};
+} __attribute__((packed));
 
 /* Get a memory map entry. Return next continuation value. Zero means
    the end.  */