diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-17 17:14:07 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-17 17:14:07 +0200 |
| commit | 29ea3208b004f15dafa48ae29a75ba7f0c093a74 (patch) | |
| tree | bc39ac9b187753e9a16dbac5bf9c2523b32097f9 /kernel/syscalls.c | |
| parent | 819a4e871058f2dc4a2e255ecbe5a2c49cc8450c (diff) | |
working on vt52 layer
Diffstat (limited to 'kernel/syscalls.c')
| -rw-r--r-- | kernel/syscalls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c index e9ef9d5..6bd51d1 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -5,7 +5,9 @@ #include "fs/fs.h" #include "fs/ext2.h" #include "kernel/console.h" +#include "kernel/kernel.h" #include "kernel/config.h" +#include "terminal/vt52.h" #include <sys/stat.h> #include <stdbool.h> #include <stddef.h> @@ -43,7 +45,7 @@ int syscall_write(int file, char *buf, int len) //stderr and stdout go to console for(int i=0;i<len;i++) { - console_put_char_green(buf[i]); + vt52_put( get_fool()->tty1,buf[i]); } lock_release(2); //x86_int_enable(); |
