summaryrefslogtreecommitdiff
path: root/doc/syscalls.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syscalls.txt')
-rw-r--r--doc/syscalls.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/syscalls.txt b/doc/syscalls.txt
index 530fbab..baa537e 100644
--- a/doc/syscalls.txt
+++ b/doc/syscalls.txt
@@ -11,5 +11,6 @@ id=eax Name Parameters Description
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
+ 6 irq_wait ebx: irq number Waits for an IRQ (requires privilege PL_DRIVER)
If a processes wishes to exit with an error code, it HAS to use process_exit. thread_exit will do nothing.