diff options
author | Alexis211 <alexis211@gmail.com> | 2010-02-05 17:33:08 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-02-05 17:33:08 +0100 |
commit | 674014901a1e90ce1587a7709fe9bf5893b0e36e (patch) | |
tree | 0696d09e4a185413df75f8e3ef413b5ae81a090d /src/stem/task/syscall.c | |
parent | 6d849bc12d6afe2fe239c5a7dc581ba76d67974b (diff) | |
download | TCE-674014901a1e90ce1587a7709fe9bf5893b0e36e.tar.gz TCE-674014901a1e90ce1587a7709fe9bf5893b0e36e.zip |
Start work on syscalls, advanced tasking, segmentation
Diffstat (limited to 'src/stem/task/syscall.c')
-rw-r--r-- | src/stem/task/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stem/task/syscall.c b/src/stem/task/syscall.c index 281d680..6964b34 100644 --- a/src/stem/task/syscall.c +++ b/src/stem/task/syscall.c @@ -7,10 +7,12 @@ r->eax = name(r->ebx, r->ecx); } CALL0(tasking_switch, schedule_sc); +CALL1(monitor_write, printk_sc); int_callback syscalls[] = { 0, //Syscall 0 will be thread_exit schedule_sc, 0, //Syscall 2 will be thread_sleep 0, //Syscall 3 will be process_exit + printk_sc, 0 }; |