From e85a68e1536a0f6505300e1cb79f06b9743b00f7 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 9 Sep 2018 11:49:30 +0200 Subject: fixing implicit func declarations! --- kernel/syscalls.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kernel/syscalls.h') diff --git a/kernel/syscalls.h b/kernel/syscalls.h index 56e78a2..7335e2c 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -22,6 +22,11 @@ #define SYSCALL_POLL 80 //shit!? #define SYSCALL_CLONE 83 +uint32_t syscall_generic(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint32_t pid); +int chk_syscall_read(int file, char *buf, int len); +int syscall_open(char *name, int flags, int mode); +int syscall_write(int file, char *buf, int len); + // new planned syscalls for graphx // TODO: split ncurses and our syscalls?? -- cgit v1.2.3