Implement serial on IEEE1275 and EFI.
* docs/grub.texi (Platform-specific limitations): Fix the columen video on emu. Mention arc and emu as the only platforms without serial support. * grub-core/Makefile.core.def (serial): Enable on all terminfomodule and ieee1275 platforms. * grub-core/term/efi/serial.c: New file. * grub-core/term/ieee1275/serial.c: Likewise. * grub-core/term/serial.c (grub_serial_find): Disable direct port specification if no ns8250 driver is available. (grub_cmd_serial): Likewise. (GRUB_MOD_INIT) [GRUB_MACHINE_IEEE1275]: Init ofserial. (GRUB_MOD_INIT) [GRUB_MACHINE_EFI]: Init efiserial. * include/grub/efi/api.h (GRUB_EFI_SERIAL_IO_GUID): New define. (grub_efi_parity_type_t): New type. (grub_efi_stop_bits_t): Likewise. (grub_efi_serial_io_interface): New struct. * include/grub/serial.h (grub_serial_port): Make 'broken' field available for all interfaces. Add EFI and IEEE1275 fields. (grub_ofserial_init): New proto. (grub_efiserial_init): Likeiwse. * util/grub.d/00_header.in: Don't check for the presence of serial module.
This commit is contained in:
parent
0ec820904e
commit
a9c7fd1c6c
9 changed files with 566 additions and 19 deletions
|
@ -4105,6 +4105,9 @@ ARC platform is unable to change datetime (firmware doesn't seem to provide a
|
|||
function for it).
|
||||
EMU has similar limitation.
|
||||
|
||||
ARC platform no serial port is available.
|
||||
EMU has similar limitation.
|
||||
|
||||
Console charset refers only to firmware-assisted console. gfxterm is always
|
||||
Unicode (see Internationalisation section for its limitations). Serial is
|
||||
configurable to UTF-8 or ASCII (see Internationalisation). In case of qemu
|
||||
|
@ -4149,7 +4152,6 @@ and mips-qemu_mips can use only memory up to first hole.
|
|||
@item video @tab yes @tab yes @tab yes @tab yes
|
||||
@item console charset @tab CP437 @tab CP437 @tab CP437 @tab CP437
|
||||
@item network @tab yes (*) @tab no @tab no @tab no
|
||||
@item serial @tab yes @tab yes @tab yes @tab yes
|
||||
@item ATA/AHCI @tab yes @tab yes @tab yes @tab yes
|
||||
@item AT keyboard @tab yes @tab yes @tab yes @tab yes
|
||||
@item USB @tab yes @tab yes @tab yes @tab yes
|
||||
|
@ -4167,7 +4169,6 @@ and mips-qemu_mips can use only memory up to first hole.
|
|||
@item video @tab yes @tab yes @tab no @tab no
|
||||
@item console charset @tab Unicode @tab Unicode @tab ASCII @tab Unicode
|
||||
@item network @tab yes @tab yes @tab yes @tab yes
|
||||
@item serial @tab yes @tab yes @tab yes @tab no
|
||||
@item ATA/AHCI @tab yes @tab yes @tab yes @tab no
|
||||
@item AT keyboard @tab yes @tab yes @tab yes @tab no
|
||||
@item USB @tab yes @tab yes @tab yes @tab no
|
||||
|
@ -4185,7 +4186,6 @@ and mips-qemu_mips can use only memory up to first hole.
|
|||
@item video @tab yes @tab no @tab yes @tab no
|
||||
@item console charset @tab N/A @tab ASCII @tab ASCII @tab ASCII
|
||||
@item network @tab no @tab yes (*) @tab yes @tab no
|
||||
@item serial @tab yes @tab no @tab no @tab no
|
||||
@item ATA/AHCI @tab yes @tab no @tab no @tab no
|
||||
@item AT keyboard @tab yes @tab no @tab no @tab no
|
||||
@item USB @tab yes @tab no @tab no @tab no
|
||||
|
@ -4200,10 +4200,9 @@ and mips-qemu_mips can use only memory up to first hole.
|
|||
|
||||
@multitable @columnfractions .20 .20 .20 .20 .20
|
||||
@item @tab MIPS qemu @tab emu
|
||||
@item video @tab no @tab no
|
||||
@item video @tab no @tab yes
|
||||
@item console charset @tab CP437 @tab ASCII
|
||||
@item network @tab no @tab yes
|
||||
@item serial @tab yes @tab no
|
||||
@item ATA/AHCI @tab yes @tab no
|
||||
@item AT keyboard @tab yes @tab no
|
||||
@item USB @tab N/A @tab yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue