summaryrefslogtreecommitdiff
path: root/kernel/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls.h')
-rw-r--r--kernel/syscalls.h5
1 files changed, 5 insertions, 0 deletions
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??