]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2006-05-02 Vesa Jaaskelainen <chaac@nic.fi>
authorchaac <chaac@localhost>
Tue, 2 May 2006 20:46:24 +0000 (20:46 +0000)
committerchaac <chaac@localhost>
Tue, 2 May 2006 20:46:24 +0000 (20:46 +0000)
        * stage2/shared.h (vbe_mode): Back ported aligment fix from GRUB 2
        to GRUB Legacy.  Problem reported by Gerardo Richarte.

ChangeLog
stage2/shared.h

index 6382cb772fa1240c3cb6e927aae0fdad067c8e15..fca765cd57307a9b7b35cf5eaf68b55646c679f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 77eef11fc8b3dbd3e65579d9653524c9f46d3eaf..609549a509dfe784dc83d569bdbc42abcd8b2136 100644 (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));