diff options
Diffstat (limited to 'kernel/syscalls.c')
| -rw-r--r-- | kernel/syscalls.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/stat.h> @@ -12,6 +14,7 @@ #include <stdbool.h> #include <stddef.h> #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; } |
