mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
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:
1 parent
4fe8c0ccf6
commit
8e68069b48
2 files changed
+10
-1
No files matched your search
+5
-1
@@ -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));
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user