summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-09-10 18:46:00 +0200
committerAlexis211 <alexis211@gmail.com>2010-09-10 18:46:00 +0200
commitaba6ed4b91aff5d914be11704e34de75bfd4d003 (patch)
tree3d5cf90e9ccad09d352c6a61e90027ef552dd87f /src/include
parent5fc3baaa17a6ffb34490bb8accb86f53ef3d6d15 (diff)
downloadTCE-aba6ed4b91aff5d914be11704e34de75bfd4d003.tar.gz
TCE-aba6ed4b91aff5d914be11704e34de75bfd4d003.zip
Each thread has its own stack. Added simple unit tests for kmalloc,kfree
Found a bug in heap_contract (not sure) but didn't fix it.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gc/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gc/syscall.h b/src/include/gc/syscall.h
index 9ac6748..e6005c1 100644
--- a/src/include/gc/syscall.h
+++ b/src/include/gc/syscall.h
@@ -25,6 +25,8 @@ struct user_sendrequest {
int errcode;
};
+#define NEW_STACK_SIZE 0x8000
+
void thread_exit();
void schedule();
void thread_sleep(int time);