From ad1ec29070e1ffba7461687cd268e64be06aa78b Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Tue, 30 Mar 2010 19:22:23 +0200 Subject: More work on IPC and userland tools. --- doc/syscalls.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/syscalls.txt') diff --git a/doc/syscalls.txt b/doc/syscalls.txt index 6846fb9..67b4b3c 100644 --- a/doc/syscalls.txt +++ b/doc/syscalls.txt @@ -31,6 +31,8 @@ id=eax Name Parameters Description 17 request ebx: object descriptor Send a blocking request to object ecx: pointer to user_sendrequest struct with information 18 send_msg same as above Send a nonblocking request to object, same as above + 19 proc_setheap ebx: start address Creates/resizes/moves the heap segment allocated to this process (one per process) + ecx: end address If a processes wishes to exit with an error code, it HAS to use process_exit. thread_exit will do nothing. @@ -73,7 +75,7 @@ Returns: - 2 if a request is being processed = request_answer (15) -Parameters: an object descriptor, two ints forming a long long if necessary +Parameters: an object descriptor, two ints forming a long long if necessary, an int which is the return status (error code) of the function Returns: nothing Answers a request marked as currently being processed, ignoring cases where : - descriptor does not exist -- cgit v1.2.3