From e8cf65c07d78e3cfbac953b1b97c51998a5900df Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Tue, 1 May 2012 14:55:18 +0200 Subject: Now using Doug Lea's malloc in kernel land. Next: same in userland. --- doc/syscalls.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3