diff options
Diffstat (limited to 'kernel/kernel.c')
| -rw-r--r-- | kernel/kernel.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index 0fb337f..dd3f502 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -11,6 +11,7 @@ #include "types.h" #include "lib/logger/log.h" +#include "fifo.h" #include "timer.h" #include "mem.h" #include "vmem.h" @@ -28,7 +29,6 @@ #include "terminal/vt52.h" #include "driver/console.h" -#include "fs/fifo.h" // // The Foolish structure of Fool OS! @@ -61,8 +61,7 @@ static void stdin_put_char(uint8_t c) static void init_stdio() { - fifo in=fifo_init(1); - fifo out=fifo_init(1); +// get_fool().std_in // // Setup terminal output / input @@ -75,8 +74,11 @@ static void init_stdio() input.put_char=stdin_put_char; tty1=vt52_init(&screen,&input); + get_fool()->std_out.data=&tty1; + get_fool()->std_out.put=vt52_put; keyboard_init(put_kb); + } |
