This patch series adds serial console support to seabios. Patches 1-4 add some bits the serial console patch depends on. Patch 5 adds the actual serial console support, for both primary display mode and splitmode (running in parallel to a vga display).
The recommended way to activate the serial console is "qemu -machine graphics=no".
Patch 6 is just for testing convenience and will not be merged. It makes the seabios serial console a drop-in replacement for sgabios, i.e. it is possible to activate it using "qemu -device sga".
Gerd Hoffmann (6): std: add cp437 to unicode map kbd: make enqueue_key public, add ascii_to_keycode romfile: add support for constant files. paravirt: serial console configuration. add serial console support [hack] ignore sgabios, enable sercon instead
Makefile | 3 +- src/config.h | 1 - src/cp437.h | 1 + src/romfile.h | 2 + src/util.h | 6 + src/clock.c | 1 + src/cp437.c | 275 ++++++++++++++++++++++ src/fw/paravirt.c | 8 + src/kbd.c | 18 +- src/misc.c | 8 - src/optionroms.c | 16 +- src/post.c | 2 + src/romfile.c | 46 ++++ src/sercon.c | 673 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/Kconfig | 5 + src/romlayout.S | 50 +++- 16 files changed, 1097 insertions(+), 18 deletions(-) create mode 100644 src/cp437.h create mode 100644 src/cp437.c create mode 100644 src/sercon.c