2006-05-02 Vesa Jaaskelainen <chaac@nic.fi>

* stage2/shared.h (vbe_mode): Back ported aligment fix from GRUB 2
        to GRUB Legacy.  Problem reported by Gerardo Richarte.
This commit is contained in:
chaac 2006-05-02 20:46:24 +00:00
parent 4fe8c0ccf6
commit 8e68069b48
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-05-02 Vesa Jaaskelainen <chaac@nic.fi>
* stage2/shared.h (vbe_mode): Back ported aligment fix from GRUB 2
to GRUB Legacy. Problem reported by Gerardo Richarte.
2006-04-23 Robert Millan <robertmh@gnu.org>
* grub/asmstub.c (get_diskinfo): Optimize sysctl routine.

View file

@ -499,7 +499,11 @@ struct vbe_mode
unsigned char linear_reserved_field_position;
unsigned long max_pixel_clock;
unsigned char reserved3[189];
/* Reserved field to make structure to be 256 bytes long, VESA BIOS
Extension 3.0 Specification says to reserve 189 bytes here but
that doesn't make structure to be 256 bytes. So additional one is
added here. */
unsigned char reserved3[189 + 1];
} __attribute__ ((packed));