Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 859 → Rev 860

/kernel/trunk/generic/src/proc/thread.c
269,8 → 269,8
t->task = task;
t->fpu_context_exists=0;
t->fpu_context_engaged=0;
t->fpu_context_exists = 0;
t->fpu_context_engaged = 0;
/*
* Register this thread in the system-wide list.
288,7 → 288,7
spinlock_unlock(&task->lock);
interrupts_restore(ipl);
 
return t;
}
 
/kernel/trunk/generic/src/main/main.c
181,7 → 181,7
printf("config.memory_size=%dM\n", config.memory_size/(1024*1024));
printf("config.cpu_count=%d\n", config.cpu_count);
cpu_init();
 
calibrate_delay_loop();
timeout_init();
scheduler_init();
197,7 → 197,7
k = task_create(AS_KERNEL);
if (!k)
panic("can't create kernel task\n");
/*
* Create the first thread.
*/
205,7 → 205,7
if (!t)
panic("can't create kinit thread\n");
thread_ready(t);
 
/*
* This call to scheduler() will return to kinit,
* starting the thread of kernel threads.