summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-02-09 17:48:38 +0100
committerAlexis211 <alexis211@gmail.com>2010-02-09 17:48:38 +0100
commit3e1998280319e8060e797ca39b3b0b1bc766d569 (patch)
tree045c5a3e7d12a499a8f107e1223ae6880600a8c1 /doc
parent4886faa3dce410543eda2139221e03959e73a747 (diff)
downloadTCE-3e1998280319e8060e797ca39b3b0b1bc766d569.tar.gz
TCE-3e1998280319e8060e797ca39b3b0b1bc766d569.zip
Added thread_new syscall
Diffstat (limited to 'doc')
-rw-r--r--doc/syscalls.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/syscalls.txt b/doc/syscalls.txt
index 236f8c3..530fbab 100644
--- a/doc/syscalls.txt
+++ b/doc/syscalls.txt
@@ -9,5 +9,7 @@ id=eax Name Parameters Description
2 thread_sleep ebx: time (int) msecs Tell kernel to put current thread to sleep
3 process_exit ebx: return value (int) Tell kernel to end current process, cleaning up everything
4 printk ebx: addr of a string Print a message to screen
+ 5 thread_new ebx: entry point Creates a new thread
+ ecx: data pointer
If a processes wishes to exit with an error code, it HAS to use process_exit. thread_exit will do nothing.