summaryrefslogtreecommitdiff
path: root/doc/syscalls.txt
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-03-23 16:34:36 +0100
committerAlexis211 <alexis211@gmail.com>2010-03-23 16:34:36 +0100
commitcbadacbb881200b601c7b53b29aa0c1b78747692 (patch)
treec3230c4d2dc8f75d126826954b80a37770ad26c7 /doc/syscalls.txt
parent6266a24cd2f71a0bad0e55c1eedd480790868c0f (diff)
downloadTCE-cbadacbb881200b601c7b53b29aa0c1b78747692.tar.gz
TCE-cbadacbb881200b601c7b53b29aa0c1b78747692.zip
More work on IPC
Diffstat (limited to 'doc/syscalls.txt')
-rw-r--r--doc/syscalls.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/syscalls.txt b/doc/syscalls.txt
index baa537e..663618d 100644
--- a/doc/syscalls.txt
+++ b/doc/syscalls.txt
@@ -12,5 +12,9 @@ id=eax Name Parameters Description
5 thread_new ebx: entry point Creates a new thread
ecx: data pointer
6 irq_wait ebx: irq number Waits for an IRQ (requires privilege PL_DRIVER)
+ 7 proc_priv none Returns current process privilege level
+ 8 shm_create ebx: offset Create a shared memory segment at offset (ret = errcode)
+ ecx: length
+ 9 shm_delete ebx: offset Delete a shared memory segment at offset (ret = errcode)
If a processes wishes to exit with an error code, it HAS to use process_exit. thread_exit will do nothing.