From ab1843f5de80752ba40fb1ea5075eb7e3dad8171 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 21:21:56 +0200 Subject: rename `log_` to `tty_`, `tty_` to `vga_` --- src/kernel/arch/i386/tty/tty.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/kernel/arch/i386/tty/tty.c (limited to 'src/kernel/arch/i386/tty/tty.c') diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c new file mode 100644 index 0000000..670dd5b --- /dev/null +++ b/src/kernel/arch/i386/tty/tty.c @@ -0,0 +1,10 @@ +#include +#include + +void tty_init() { + vga_clear(); +} + +void tty_write(const char *buf, size_t len) { + vga_write(buf, len); +} -- cgit v1.2.3