summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/tty.c
diff options
context:
space:
mode:
authordzwdz2021-08-09 22:20:32 +0200
committerdzwdz2021-08-09 22:20:32 +0200
commit4165209842edf74bd786f6525a58b7b0bb9790d5 (patch)
treeb1e578f3fd55f2ea759cda5cfa95309ea10b4974 /src/kernel/arch/i386/tty/tty.c
parentab1843f5de80752ba40fb1ea5075eb7e3dad8171 (diff)
implement serial output
Diffstat (limited to 'src/kernel/arch/i386/tty/tty.c')
-rw-r--r--src/kernel/arch/i386/tty/tty.c3
1 files changed, 3 insertions, 0 deletions
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 <kernel/arch/i386/tty/serial.h>
#include <kernel/arch/i386/tty/vga.h>
#include <kernel/arch/log.h>
void tty_init() {
vga_clear();
+ serial_init();
}
void tty_write(const char *buf, size_t len) {
vga_write(buf, len);
+ serial_write(buf, len);
}