diff options
Diffstat (limited to 'doc/syscalls.txt')
-rw-r--r-- | doc/syscalls.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/syscalls.txt b/doc/syscalls.txt index 89a1003..c94db19 100644 --- a/doc/syscalls.txt +++ b/doc/syscalls.txt @@ -14,7 +14,12 @@ id=eax Name Parameters Description edx: stack 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 proc_setheap + + 8 sbrk ebx: size Allocates some memory + 9 brk ebx: new_end Allocates/frees some memory + + 10 mmap (see linux specs) + 11 munmap (see linux specs) If a processes wishes to exit with an error code, it HAS to use process_exit. thread_exit will do nothing. |