From 63b04ffc264aab5313811f1aa7ffc30715814e67 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 13 Nov 2014 02:27:05 +0100 Subject: cleanup and refactoring. abstracting away console --- kernel/syscalls.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kernel/syscalls.c') diff --git a/kernel/syscalls.c b/kernel/syscalls.c index 267c96f..b5a581d 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -4,6 +4,8 @@ #include "lib/bool/bool.h" #include "fs/fs.h" #include "fs/ext2.h" +#include "kernel/console.h" + // int syscall_write(int file, char *buf, int len) @@ -11,7 +13,8 @@ int syscall_write(int file, char *buf, int len) // ALL output to stdout for(int i=0;i