summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/tty')
-rw-r--r--src/kernel/arch/i386/tty/tty.c2
-rw-r--r--src/kernel/arch/i386/tty/tty.h (renamed from src/kernel/arch/i386/tty/vga.h)2
-rw-r--r--src/kernel/arch/i386/tty/vga.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c
index aa63507..9451059 100644
--- a/src/kernel/arch/i386/tty/tty.c
+++ b/src/kernel/arch/i386/tty/tty.c
@@ -1,6 +1,6 @@
#include <kernel/arch/generic.h>
#include <kernel/arch/i386/driver/serial.h>
-#include <kernel/arch/i386/tty/vga.h>
+#include <kernel/arch/i386/tty/tty.h>
#include <shared/printf.h>
void tty_init(void) {
diff --git a/src/kernel/arch/i386/tty/vga.h b/src/kernel/arch/i386/tty/tty.h
index 69b1ab7..b96003d 100644
--- a/src/kernel/arch/i386/tty/vga.h
+++ b/src/kernel/arch/i386/tty/tty.h
@@ -3,3 +3,5 @@
void vga_write(const char *buf, size_t len);
void vga_clear(void);
+
+void tty_init(void);
diff --git a/src/kernel/arch/i386/tty/vga.c b/src/kernel/arch/i386/tty/vga.c
index 24bbf98..9efd326 100644
--- a/src/kernel/arch/i386/tty/vga.c
+++ b/src/kernel/arch/i386/tty/vga.c
@@ -1,4 +1,4 @@
-#include <kernel/arch/i386/tty/vga.h>
+#include <kernel/arch/i386/tty/tty.h>
struct vga_cell {
unsigned char c;