aboutsummaryrefslogtreecommitdiffstats
path: root/src/post.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-09-18 10:47:23 +0200
committerKevin O'Connor <kevin@koconnor.net>2017-09-22 11:13:22 -0400
commitd6728f301d7e6e31ba0ee2fa51ed4a24feab8860 (patch)
treeecd2513c252137d032ab726a289406fd1df93f75 /src/post.c
parent0ebc29f9c4db27f7f0a9d3dcc49563811ce06546 (diff)
downloadseabios-d6728f301d7e6e31ba0ee2fa51ed4a24feab8860.tar.gz
add serial console support
Redirect int10 calls to serial console output. Parse serial input and queue key events. The serial console can work both as primary display and in parallel to another vga display (splitmode). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/post.c')
-rw-r--r--src/post.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/post.c b/src/post.c
index 2a06d44d..f93106a1 100644
--- a/src/post.c
+++ b/src/post.c
@@ -208,6 +208,8 @@ maininit(void)
// Run vga option rom
vgarom_setup();
+ sercon_setup();
+ enable_vga_console();
// Do hardware initialization (if running synchronously)
if (!threads_during_optionroms()) {