diff options
| author | Miguel <m.i@gmx.at> | 2018-09-09 11:49:30 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-09 11:49:30 +0200 |
| commit | e85a68e1536a0f6505300e1cb79f06b9743b00f7 (patch) | |
| tree | c503a7681720925c5f4923e26c01f7b2e697023d /kernel/syscalls.h | |
| parent | fc1d491479abd74a1e038ad9ff7d4d330d79e4a8 (diff) | |
fixing implicit func declarations!
Diffstat (limited to 'kernel/syscalls.h')
| -rw-r--r-- | kernel/syscalls.h | 5 |
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?? |
