diff options
Diffstat (limited to 'kernel/syscalls.c')
| -rw-r--r-- | kernel/syscalls.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c index 0c334bc..db23a17 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -5,6 +5,7 @@ #include "fs/fs.h" #include "fs/ext2.h" #include "kernel.h" +#include "driver/vesa.h" #include "fifo.h" #include "fd.h" #include "terminal/terminal.h" @@ -259,8 +260,14 @@ int syscall_open(char *name, int flags, int mode) } else { + // FIRST TIME WE SEE THE GENIUS OF OUR ABSTRACTIONS (I HOPE...) screen.put_char=console_put_char; screen.update_cursor=update_cursor; + + // FIRST TIME WE SEE THE GENIUS OF OUR ABSTRACTIONS (I HOPE...) + screen.put_char=vesa_console_put_char; + screen.update_cursor=vesa_update_cursor; + tty1=terminal_init(&screen,NULL); fifos[next_fifo].data=&tty1; |
