]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-06-15 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 15 Jun 2008 14:19:34 +0000 (14:19 +0000)
committerrobertmh <robertmh@localhost>
Sun, 15 Jun 2008 14:19:34 +0000 (14:19 +0000)
        * 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().

ChangeLog
term/i386/pc/console.c

index 94e95fdef0c1d5a02f721bfc6ac50115446317c6..e2d30dce35a88a865cdb1c615f361647fd2088b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 04a1ae1e479234e2e76abdeeeec0b0921825a863..1d199e927322b536823c8bfd85dea9a061175773 100644 (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