diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-16 20:42:37 +0200 |
| commit | 3bac6dd02d640923646b8ad988f509f47adab57f (patch) | |
| tree | 42d91a578fba55f6e0e6e473644aa7941ae1863c /kernel/task.c | |
| parent | ec6d07e29d1d55afe9d2c6f7f25e9fed20819af6 (diff) | |
working on smp support, strange things happening!?
Diffstat (limited to 'kernel/task.c')
| -rw-r--r-- | kernel/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/task.c b/kernel/task.c index 000dc74..54381fa 100644 --- a/kernel/task.c +++ b/kernel/task.c @@ -82,8 +82,8 @@ volatile uint32_t my_scheduler(uint32_t oldesp) // this gets called by our clock interrupt regularly! volatile uint32_t task_switch_next(uint32_t oldesp) { - asm volatile("sti"); + //syscall_write(1,"\n\n*tick*\n\n",10); timer_tick(); @@ -161,7 +161,7 @@ volatile void task_init(pdirectory *dir) task_list[0].esp = 0; // will be set by next task_switch_next() call. current_task=0; - + while(1); switch_to_user_mode(); //syscall_execve("/bin/foolshell",argv_init,env_init); |
