diff options
author | Marvin Borner | 2019-12-07 13:40:28 +0100 |
---|---|---|
committer | Marvin Borner | 2019-12-07 13:40:28 +0100 |
commit | d94b024b73aeca06de417e0fd3c502495312a8b2 (patch) | |
tree | bff5cc1b757eeed7f58878cc13551c63464c5a31 /src/userspace/syscall.h | |
parent | 322167ceab19588473f9074e761390fdeb701790 (diff) |
Added userspace libc and began userspace based shell
Diffstat (limited to 'src/userspace/syscall.h')
-rw-r--r-- | src/userspace/syscall.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/userspace/syscall.h b/src/userspace/syscall.h index 162b219..6750093 100644 --- a/src/userspace/syscall.h +++ b/src/userspace/syscall.h @@ -62,11 +62,15 @@ /** * DECLARATIONS */ -DECL_SYSCALL3(write, int, const char *, int); +DECL_SYSCALL1(write, char *); + +DECL_SYSCALL0(read); /** * DEFINITIONS */ -DEFN_SYSCALL3(write, 1, int, const char *, int); +DEFN_SYSCALL1(write, 1, char *); + +DEFN_SYSCALL0(read, 2); #endif |