From aba6ed4b91aff5d914be11704e34de75bfd4d003 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 10 Sep 2010 18:46:00 +0200 Subject: 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. --- src/kernel/linker/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/linker') diff --git a/src/kernel/linker/elf.c b/src/kernel/linker/elf.c index 6ad5d34..7eaae94 100644 --- a/src/kernel/linker/elf.c +++ b/src/kernel/linker/elf.c @@ -44,7 +44,7 @@ struct process* elf_exec(uint8_t *data, int privilege) { thread_entry e = elf_load(data, p); - thread_new(p, e, 0); + thread_new(p, e, 0, 0); return p; } -- cgit v1.2.3