From 4165209842edf74bd786f6525a58b7b0bb9790d5 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 22:20:32 +0200 Subject: implement serial output --- src/kernel/arch/i386/tty/tty.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/kernel/arch/i386/tty/tty.c') diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c index 670dd5b..300bbcc 100644 --- a/src/kernel/arch/i386/tty/tty.c +++ b/src/kernel/arch/i386/tty/tty.c @@ -1,10 +1,13 @@ +#include #include #include void tty_init() { vga_clear(); + serial_init(); } void tty_write(const char *buf, size_t len) { vga_write(buf, len); + serial_write(buf, len); } -- cgit v1.2.3