diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 17:42:36 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 17:42:36 +0200 |
commit | e9683297bf480f9590b0e5796f4520fb430e2e03 (patch) | |
tree | 93ef75cd154edf4c342d0a22cd56eb3670feb2b5 /src/kernel/task/syscall.c | |
parent | e8cf65c07d78e3cfbac953b1b97c51998a5900df (diff) | |
download | TCE-e9683297bf480f9590b0e5796f4520fb430e2e03.tar.gz TCE-e9683297bf480f9590b0e5796f4520fb430e2e03.zip |
Now using Doug Lea's malloc for userland too. And improved stability.
Diffstat (limited to 'src/kernel/task/syscall.c')
-rw-r--r-- | src/kernel/task/syscall.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/kernel/task/syscall.c b/src/kernel/task/syscall.c index 5d40596..bd27eba 100644 --- a/src/kernel/task/syscall.c +++ b/src/kernel/task/syscall.c @@ -16,13 +16,14 @@ #define CALL4V(name, scname) static void scname(struct registers* r) { name(r->ebx, r->ecx, r->edx, r->esi); } CALL0V(thread_exit, thread_exit_sc); -CALL0V(tasking_switch, schedule_sc); +CALL0V(schedule, schedule_sc); CALL1V(thread_sleep, thread_sleep_sc); CALL1V(process_exit, process_exit_sc); CALL1(monitor_write, printk_sc); CALL1V(idt_waitIrq, irq_wait_sc); CALL0(proc_priv, proc_priv_sc); -CALL2(process_setheapseg, proc_setheap_sc); +CALL1(process_sbrk, proc_sbrk_sc); +CALL1V(process_brk, proc_brk_sc); static void thread_new_sc(struct registers* r) { cli(); @@ -39,5 +40,6 @@ int_callback syscalls[NUMBER_OF_SYSCALLS] = { thread_new_sc, //5 irq_wait_sc, proc_priv_sc, - proc_setheap_sc, + proc_sbrk_sc, + proc_brk_sc, 0 }; |