grub/video
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
..
i386/pc 2009-08-04 Robert Millan <rmh.grub@aybabtu.com> 2009-08-04 21:28:19 +00:00
readers 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
bitmap.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
video.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00