]> git.ipfire.org Git - thirdparty/grub.git/commit
Initialise VGA video on qemu ourselves.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 21 Jun 2010 00:29:58 +0000 (02:29 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 21 Jun 2010 00:29:58 +0000 (02:29 +0200)
commit97f5cb8c875a39aed1de47754c711474d40e777e
treed19ae74d77fef386d00b38433b2311a9ad74f914
parent4f9613a3a087316bda772ebf3568ef2cf3e2104a
parent994b0c27ea18c86beacb5b025e8491bbac775070
Initialise VGA video on qemu ourselves.

* boot/i386/qemu/boot.S: Don't call 0xc000.
* conf/i386-qemu.rmk (kern/i386/qemu/init.c_DEPENDENCIES): New variable.
(kernel_img_SOURCES): Add kern/i386/qemu/init.c and bus/pci.c.
(kernel_img_HEADERS): Add pci.h.
* conf/i386.rmk (pkglib_MODULES) [qemu]: Remove pci.mod.
* configure.ac: Force unifont on qemu and yeeloong.
* include/grub/i386/qemu/kernel.h (grub_qemu_init_cirrus): New proto.
(grub_vga_palette_write): Use correct register.
* kern/i386/coreboot/init.c (grub_machine_init) [GRUB_MACHINE_QEMU]:
Call grub_qemu_init_cirrus.
* kern/i386/qemu/init.c: New file.
* term/i386/pc/vga_text.c (inc_y): Never read outside the screen.

* commands/videotest.c (grub_cmd_videotest): Handle double buffering.