Set default console on non-i386-pc
This commit is contained in:
parent
840f2e6e08
commit
4fc4ee303d
5 changed files with 17 additions and 20 deletions
|
@ -233,7 +233,11 @@ static struct grub_term_input grub_at_keyboard_term =
|
|||
|
||||
GRUB_MOD_INIT(at_keyboard)
|
||||
{
|
||||
#if defined (GRUB_MACHINE_COREBOOT) || defined (GRUB_MACHINE_QEMU)
|
||||
grub_term_register_input_active ("at_keyboard", &grub_at_keyboard_term);
|
||||
#else
|
||||
grub_term_register_input ("at_keyboard", &grub_at_keyboard_term);
|
||||
#endif
|
||||
}
|
||||
|
||||
GRUB_MOD_FINI(at_keyboard)
|
||||
|
|
|
@ -163,19 +163,16 @@ static struct grub_term_output grub_vga_text_term =
|
|||
.setcolorstate = grub_console_setcolorstate,
|
||||
.setcolor = grub_console_setcolor,
|
||||
.getcolor = grub_console_getcolor,
|
||||
.setcursor = grub_vga_text_setcursor,
|
||||
#if defined (GRUB_MACHINE_COREBOOT) || defined (GRUB_MACHINE_QEMU)
|
||||
.flags = GRUB_TERM_ACTIVE,
|
||||
#endif
|
||||
.setcursor = grub_vga_text_setcursor
|
||||
};
|
||||
|
||||
GRUB_MOD_INIT(vga_text)
|
||||
{
|
||||
#if defined (GRUB_MACHINE_COREBOOT) || defined (GRUB_MACHINE_QEMU)
|
||||
grub_vga_text_init_fini ();
|
||||
#endif
|
||||
|
||||
grub_term_register_output_active ("vga_text", &grub_vga_text_term);
|
||||
#else
|
||||
grub_term_register_output ("vga_text", &grub_vga_text_term);
|
||||
#endif
|
||||
}
|
||||
|
||||
GRUB_MOD_FINI(vga_text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue