summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/serial.h
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/serial.h
parentab1843f5de80752ba40fb1ea5075eb7e3dad8171 (diff)
implement serial output
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.h')
-rw-r--r--src/kernel/arch/i386/tty/serial.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/tty/serial.h b/src/kernel/arch/i386/tty/serial.h
new file mode 100644
index 0000000..ac7131b
--- /dev/null
+++ b/src/kernel/arch/i386/tty/serial.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <stddef.h>
+
+void serial_write(const char *buf, size_t len);
+void serial_init();