diff options
author | Marvin Borner | 2020-06-17 18:31:46 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-17 18:31:46 +0200 |
commit | eed77bd2970a00d1394ed027ceca5b646e4671ce (patch) | |
tree | c44643d98aed2b6818f2b33417c0dea9c5853094 /src/userspace/libc/syscall.c | |
parent | 49dfa1f4021026bf7c4d77817959c8aa24067016 (diff) |
Started rewrite
Diffstat (limited to 'src/userspace/libc/syscall.c')
-rw-r--r-- | src/userspace/libc/syscall.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c deleted file mode 100644 index fb00a12..0000000 --- a/src/userspace/libc/syscall.c +++ /dev/null @@ -1,30 +0,0 @@ -#include <common.h> -#include <stdint.h> -#include <syscall.h> - -/** - * DEFINITIONS - */ -DEFN_SYSCALL0(halt, SYS_HALT); - -DEFN_SYSCALL1(exit, SYS_EXIT, u32); - -DEFN_SYSCALL4(read, SYS_READ, char *, u32, u32, u8 *); - -DEFN_SYSCALL4(write, SYS_WRITE, char *, u32, u32, u8 *); - -DEFN_SYSCALL1(exec, SYS_EXEC, char *); - -DEFN_SYSCALL1(spawn, SYS_SPAWN, char *); - -DEFN_SYSCALL3(wait, SYS_WAIT, u32, u32 *, u32); - -DEFN_SYSCALL0(get_pid, SYS_GET_PID); - -DEFN_SYSCALL1(malloc, SYS_MALLOC, u32); - -DEFN_SYSCALL1(free, SYS_FREE, u32); - -DEFN_SYSCALL1(get, SYS_GET, u32); - -DEFN_SYSCALL2(map, SYS_MAP, u32, u8 *);
\ No newline at end of file |