From fd5a9b87e47bc072aa63fcaf5735232a37338303 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 2 Sep 2018 15:47:29 +0200 Subject: cleanup filenames --- kernel/syscalls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kernel/syscalls.c') diff --git a/kernel/syscalls.c b/kernel/syscalls.c index f92ef4d..67ae48d 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -1,10 +1,12 @@ #include "lib/string/string.h" +#include "lib/printf/printf.h" #include "fs/fs.h" #include "fs/ext2.h" #include "kernel.h" #include "driver/vesa.h" #include "fifo.h" #include "fd.h" +#include "fs/elf.h" #include "driver/terminal.h" #include "driver/screen.h" #include @@ -12,6 +14,7 @@ #include #include #include "syscalls.h" +#include "scheduler.h" // TODO: use includes!!! uint64_t timer_get_ms(); @@ -57,9 +60,7 @@ int syscall_gettimeofday(struct timeval *tv, struct timezone *tz) int syscall_lseek(int file,int ptr,int dir) { - kpanic("unhandled syscall: lseek"); - return 0; } -- cgit v1.2.3