diff options
Diffstat (limited to 'src/library/gc/syscall.c')
-rw-r--r-- | src/library/gc/syscall.c | 48 |
1 files changed, 6 insertions, 42 deletions
diff --git a/src/library/gc/syscall.c b/src/library/gc/syscall.c index b16881e..3100dd7 100644 --- a/src/library/gc/syscall.c +++ b/src/library/gc/syscall.c @@ -55,50 +55,14 @@ int proc_priv() { return call(7, 0, 0, 0, 0, 0); } -int shm_create(size_t offset, size_t length) { - return call(8, offset, length, 0, 0, 0); -} - -int shm_delete(size_t offset) { - return call(9, offset, 0, 0, 0, 0); -} - -int object_create() { - return call(10, 0, 0, 0, 0, 0); -} - -int object_owned(int descriptor) { - return call(11, descriptor, 0, 0, 0, 0); -} - -void object_close(int descriptor) { - call(12, descriptor, 0, 0, 0, 0); -} - -int request_get(int descriptor, struct user_request *rq, int wait) { - return call(13, descriptor, (size_t)rq, wait, 0, 0); -} - -int request_has(int descriptor) { - return call(14, descriptor, 0, 0, 0, 0); -} - -void request_answer(int descriptor, uint32_t answer1, uint32_t answer2, int errcode) { - call(15, descriptor, answer1, answer2, errcode, 0); -} - -int request_mapShm(int descriptor, size_t offset, int number) { - return call(16, descriptor, offset, number, 0, 0); -} - -int request(int descriptor, struct user_sendrequest *rq) { - return call(17, descriptor, (size_t)rq, 0, 0, 0); +int proc_setheap(size_t start, size_t end) { + return call(8, start, end, 0, 0, 0); } -int send_msg(int descriptor, struct user_sendrequest *rq) { - return call(18, descriptor, (size_t)rq, 0, 0, 0); +int shm_create(size_t offset, size_t length) { + return call(9, offset, length, 0, 0, 0); } -int proc_setheap(size_t start, size_t end) { - return call(19, start, end, 0, 0, 0); +int shm_delete(size_t offset) { + return call(10, offset, 0, 0, 0, 0); } |