grub2/include/grub/i386/pc
robertmh f56a875639 2009-08-04 Robert Millan <rmh.grub@aybabtu.com>
Fix a bug resulting in black screen when loading Linux using a
        packed video mode.

        * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette_width): New
        function.

        * include/grub/i386/pc/vbe.h (GRUB_VBE_CAPABILITY_DACWIDTH): New macro.
        (grub_vbe_bios_getset_dac_palette_width): New function.
        (grub_vbe_bios_get_dac_palette_width)
        (grub_vbe_bios_set_dac_palette_width): New macros (act as wrappers for
        grub_vbe_bios_getset_dac_palette_width()).

        * video/i386/pc/vbe.c (grub_vbe_probe): Use `GRUB_VBE_STATUS_OK' to
        check for return status.
        (grub_vbe_get_video_mode_info): When getting information for a packed
        mode (<= 8 bpp), obtain DAC palette width using
        grub_vbe_bios_getset_dac_palette_width(), and use that for initializing
        {red,green,blue}_mark_size.
2009-08-04 21:28:19 +00:00
..
biosdisk.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
biosnum.h 2009-06-11 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-11 16:13:39 +00:00
boot.h 2009-07-15 Pavel Roskin <proski@gnu.org> 2009-07-15 15:06:12 +00:00
chainloader.h 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
console.h 2008-11-12 Robert Millan <rmh@aybabtu.com> 2008-11-12 17:43:39 +00:00
efiemu.h 2009-05-02 Vladimir Serbinenko <phcoder@gmail.com> 2009-05-02 22:40:21 +00:00
init.h 2009-04-26 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-26 15:09:30 +00:00
kernel.h 2009-07-19 Pavel Roskin <proski@gnu.org> 2009-07-19 20:23:33 +00:00
loader.h 2007-10-17 Robert Millan <rmh@aybabtu.com> 2007-10-17 09:38:55 +00:00
machine.h 2007-11-10 Robert Millan <rmh@aybabtu.com> 2007-11-10 20:23:14 +00:00
memory.h remove all trailing whitespace 2009-06-10 21:04:23 +00:00
pxe.h 2008-08-05 Bean <bean123ch@gmail.com> 2008-08-05 15:15:59 +00:00
serial.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
time.h 2007-10-22 Robert Millan <rmh@aybabtu.com> 2007-10-22 19:59:33 +00:00
vbe.h 2009-08-04 Robert Millan <rmh.grub@aybabtu.com> 2009-08-04 21:28:19 +00:00
vbeblit.h 2008-09-07 Vesa Jääskeläinen <chaac@nic.fi> 2008-09-07 15:55:58 +00:00
vbefill.h 2008-09-07 Vesa Jääskeläinen <chaac@nic.fi> 2008-09-07 15:55:58 +00:00
vbeutil.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
vga.h 2008-01-21 Robert Millan <rmh@aybabtu.com> 2008-01-21 15:48:27 +00:00