summaryrefslogtreecommitdiff
path: root/kernel/task.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-17 00:59:28 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-17 00:59:28 +0200
commit819a4e871058f2dc4a2e255ecbe5a2c49cc8450c (patch)
tree55849f4233682ab88bd9044575a6dbfbc244d51d /kernel/task.c
parent3bac6dd02d640923646b8ad988f509f47adab57f (diff)
struggling with smp and APICs and started vt52 emulation
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 54381fa..495817c 100644
--- a/kernel/task.c
+++ b/kernel/task.c
@@ -83,7 +83,7 @@ volatile uint32_t my_scheduler(uint32_t oldesp)
volatile uint32_t task_switch_next(uint32_t oldesp)
{
- //syscall_write(1,"\n\n*tick*\n\n",10);
+// syscall_write(1,"*tick*",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);
+// while(1);
switch_to_user_mode();
//syscall_execve("/bin/foolshell",argv_init,env_init);