summaryrefslogtreecommitdiff
path: root/kernel/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/task.c')
-rw-r--r--kernel/task.c4
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);