diff options
Diffstat (limited to 'src/userspace/libc')
-rw-r--r-- | src/userspace/libc/syscall.c | 6 | ||||
-rw-r--r-- | src/userspace/libc/syscall.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c index cf9dc89..d5c6708 100644 --- a/src/userspace/libc/syscall.c +++ b/src/userspace/libc/syscall.c @@ -21,4 +21,8 @@ DEFN_SYSCALL0(get_pid, SYS_GET_PID); DEFN_SYSCALL1(malloc, SYS_MALLOC, u32); -DEFN_SYSCALL1(free, SYS_FREE, u32);
\ No newline at end of file +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 diff --git a/src/userspace/libc/syscall.h b/src/userspace/libc/syscall.h index 038f985..30925da 100644 --- a/src/userspace/libc/syscall.h +++ b/src/userspace/libc/syscall.h @@ -86,4 +86,8 @@ DECL_SYSCALL1(malloc, u32); DECL_SYSCALL1(free, u32); +DECL_SYSCALL1(get, u32); + +DECL_SYSCALL2(map, u32, u8 *); + #endif
\ No newline at end of file |