summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-01 14:55:18 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-01 14:55:18 +0200
commite8cf65c07d78e3cfbac953b1b97c51998a5900df (patch)
tree7b75741a1d38b5da1ee79e877709b6b4723c4713 /doc
parent5cac9acd3aedc8043d4272d93c56805c46ff6214 (diff)
downloadTCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.tar.gz
TCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.zip
Now using Doug Lea's malloc in kernel land. Next: same in userland.
Diffstat (limited to 'doc')
-rw-r--r--doc/syscalls.txt7
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.