2008-06-15 Robert Millan <rmh@aybabtu.com>

* term/i386/pc/console.c [GRUB_MACHINE_LINUXBIOS] (grub_console_init):
        Initialize keyboard controller after registering the terminal, so that
        grub_printf() can be called from grub_keyboard_controller_init().
This commit is contained in:
robertmh 2008-06-15 14:19:34 +00:00
parent 21cf716ad4
commit a7cbd45a07
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2008-06-15 Robert Millan <rmh@aybabtu.com>
* term/i386/pc/console.c [GRUB_MACHINE_LINUXBIOS] (grub_console_init):
Initialize keyboard controller after registering the terminal, so that
grub_printf() can be called from grub_keyboard_controller_init().
2008-06-15 Robert Millan <rmh@aybabtu.com>
* fs/sfs.c (grub_sfs_read_extent): Fix the count of nodes in

View file

@ -149,12 +149,12 @@ static struct grub_term grub_console_term =
void
grub_console_init (void)
{
grub_term_register (&grub_console_term);
grub_term_set_current (&grub_console_term);
#ifdef GRUB_MACHINE_LINUXBIOS
grub_keyboard_controller_init ();
#endif
grub_term_register (&grub_console_term);
grub_term_set_current (&grub_console_term);
}
void