diff options
author | dzwdz | 2021-10-02 19:48:17 +0000 |
---|---|---|
committer | dzwdz | 2021-10-02 19:48:17 +0000 |
commit | 16a5b4c9ed410daba848a781f8b8978846c6b836 (patch) | |
tree | c305f5671da65a217ef934b602b8d8735790ab62 /src/kernel/arch/io.h | |
parent | 1fb05a21e8ae570c4c3902ae5fe6635df029bcda (diff) |
implement serial/tty input
Diffstat (limited to 'src/kernel/arch/io.h')
-rw-r--r-- | src/kernel/arch/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/io.h b/src/kernel/arch/io.h index ef8cb17..acba67a 100644 --- a/src/kernel/arch/io.h +++ b/src/kernel/arch/io.h @@ -2,6 +2,7 @@ #include <stddef.h> void tty_init(void); +void tty_read(char *buf, size_t len); void tty_write(const char *buf, size_t len); static inline void _tty_hex(const char *buf, size_t len) { |