summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/serial.h
diff options
context:
space:
mode:
authordzwdz2021-10-02 19:48:17 +0000
committerdzwdz2021-10-02 19:48:17 +0000
commit16a5b4c9ed410daba848a781f8b8978846c6b836 (patch)
treec305f5671da65a217ef934b602b8d8735790ab62 /src/kernel/arch/i386/tty/serial.h
parent1fb05a21e8ae570c4c3902ae5fe6635df029bcda (diff)
implement serial/tty input
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.h')
-rw-r--r--src/kernel/arch/i386/tty/serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/tty/serial.h b/src/kernel/arch/i386/tty/serial.h
index 2332113..751e528 100644
--- a/src/kernel/arch/i386/tty/serial.h
+++ b/src/kernel/arch/i386/tty/serial.h
@@ -1,5 +1,6 @@
#pragma once
#include <stddef.h>
+char serial_read(void);
void serial_write(const char *buf, size_t len);
void serial_init(void);