+2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
+ [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out
+ (now unused).
+ (grub_keyboard_controller_init)
+ [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to
+ read the initial state since controller isn't inited yet.
+
2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/relocator.c (malloc_in_range): Take into account that
grub_outb (c, KEYBOARD_REG_DATA);
}
+#if !defined (GRUB_MACHINE_MIPS_YEELOONG) && !defined (GRUB_MACHINE_QEMU)
+
static grub_uint8_t
grub_keyboard_controller_read (void)
{
return grub_inb (KEYBOARD_REG_DATA);
}
+#endif
+
static int
write_mode (int mode)
{
keyboard_controller_wait_until_ready ();
grub_inb (KEYBOARD_REG_DATA);
}
+#if defined (GRUB_MACHINE_MIPS_YEELOONG) || defined (GRUB_MACHINE_QEMU)
+ grub_keyboard_controller_orig = 0;
+ grub_keyboard_orig_set = 2;
+#else
grub_keyboard_controller_orig = grub_keyboard_controller_read ();
grub_keyboard_orig_set = query_mode ();
+#endif
set_scancodes ();
keyboard_controller_led (led_status);