summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 5350109..6937031 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -27,8 +27,8 @@
#include "task.h"
#include "multiboot.h"
-#include "terminal/vt52.h"
-#include "driver/console.h"
+#include "terminal/terminal.h"
+#include "driver/screen.h"
//
@@ -46,7 +46,7 @@ fool_os *get_fool()
// stdio init : TODO: move away!
-static vt52_tty tty1;
+static terminal_tty tty1;
static term_out screen;
static term_in input;
@@ -55,7 +55,7 @@ static ringbuffer stdin_buf;
static void put_kb(uint8_t c)
{
- vt52_kb(&tty1,c);
+ terminal_kb(&tty1,c);
}
static void stdin_put_char(uint8_t c)
@@ -74,10 +74,10 @@ static void init_stdio()
input.put_char=stdin_put_char;
- tty1=vt52_init(&screen,&input);
+ tty1=terminal_init(&screen,&input);
get_fool()->std_out.data=&tty1;
- get_fool()->std_out.put=vt52_put;
+ get_fool()->std_out.put=terminal_put;
stdin_buf=ringbuffer_init(1);
get_fool()->std_in.data=&stdin_buf;