summaryrefslogtreecommitdiffstats
path: root/kernel/tty.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-03 10:47:18 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-03 10:47:18 +0100
commited28a49f16f004c36db0fd4963f61df9d4a3abf7 (patch)
tree3a691e6965e52cb9c3c523283b5f34c9cdd0a0a9 /kernel/tty.h
parent9ee01470ef6424ea448a7eddc00c1f936727b460 (diff)
downloadjeyzuos-ed28a49f16f004c36db0fd4963f61df9d4a3abf7.zip
jeyzuos-ed28a49f16f004c36db0fd4963f61df9d4a3abf7.tar.gz
add tty.c tty.h for terminal handling
Diffstat (limited to 'kernel/tty.h')
-rw-r--r--kernel/tty.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/tty.h b/kernel/tty.h
new file mode 100644
index 0000000..3c4b09e
--- /dev/null
+++ b/kernel/tty.h
@@ -0,0 +1,14 @@
+#ifndef _TTY_H_
+#define _TTY_H_
+
+#include "types.h"
+
+void tty_init();
+
+void tty_setcolor(uint8_t color);
+
+void tty_putchar(char c);
+
+void tty_writestring(const char* data);
+
+#endif