grub/kern/i386
robertmh 76679cd3a4 2008-11-12 Robert Millan <rmh@aybabtu.com>
* conf/i386-pc.rmk (kernel_img_SOURCES): Add `term/i386/vga_common.c'.
        * conf/i386.rmk (pkglib_MODULES): Add `vga_text.mod'.
        (vga_text_mod_SOURCES, vga_text_mod_CFLAGS, vga_text_mod_LDFLAGS): New
        variables.
        * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
        `term/i386/pc/console.c' with `term/i386/vga_common.c'.

        * kern/i386/coreboot/init.c (grub_machine_init): Replace call to
        grub_console_init() with call to grub_vga_text_init().
        (grub_machine_fini): Replace call to
        grub_console_fini() with call to grub_vga_text_fini() and
        grub_at_keyboard_fini().

        * include/grub/i386/pc/console.h: Include `<grub/term.h>'.
        (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh)
        (grub_console_setcolorstate, grub_console_setcolor)
        (grub_console_getcolor): New function prototypes.

        * term/i386/pc/vga_text.c: Include `<grub/dl.h>'.
        (grub_vga_text_getxy, grub_vga_text_gotoxy, grub_vga_text_cls)
        (grub_vga_text_setcursor): Static-ize.
        (grub_vga_text_term): New structure.
        (GRUB_MOD_INIT(vga_text), GRUB_MOD_FINI(vga_text)): New functions.

        * term/i386/pc/console.c: Remove `<grub/machine/machine.h>'.
        (grub_console_cur_color, grub_console_standard_color)
        (grub_console_normal_color, grub_console_highlight_color)
        (map_char, grub_console_putchar, grub_console_getcharwidth)
        (grub_console_getwh, grub_console_setcolorstate, grub_console_setcolor)
        (grub_console_getcolor): Move from here ...
        * term/i386/vga_common.c: ... to here (same function names).
2008-11-12 15:02:17 +00:00
..
coreboot 2008-11-12 Robert Millan <rmh@aybabtu.com> 2008-11-12 15:02:17 +00:00
efi 2008-08-07 Bean <bean123ch@gmail.com> 2008-08-07 19:21:25 +00:00
ieee1275 2008-08-14 Robert Millan <rmh@aybabtu.com> 2008-08-14 18:59:33 +00:00
pc 2008-08-30 Robert Millan <rmh@aybabtu.com> 2008-08-30 17:51:24 +00:00
dl.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
halt.c 2008-08-06 Robert Millan <rmh@aybabtu.com> 2008-08-06 00:20:04 +00:00
loader.S 2008-08-12 Robert Millan <rmh@aybabtu.com> 2008-08-12 15:40:26 +00:00
multiboot_mmap.c 2008-11-12 Robert Millan <rmh@aybabtu.com> 2008-11-11 23:27:18 +00:00
pit.c 2008-08-07 Christian Franke <franke@computer.org> 2008-08-07 19:43:36 +00:00
realmode.S Oops, add missing files. 2007-10-17 20:04:23 +00:00
reboot.c 2008-08-06 Robert Millan <rmh@aybabtu.com> 2008-08-06 00:20:04 +00:00
tsc.c 2008-08-06 Robert Millan <rmh@aybabtu.com> 2008-08-06 12:27:28 +00:00