From 3e1998280319e8060e797ca39b3b0b1bc766d569 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Tue, 9 Feb 2010 17:48:38 +0100 Subject: Added thread_new syscall --- doc/syscalls.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3