copy default task's cr3 register to the PCB

This commit is contained in:
Stefan Lankes 2014-12-03 23:39:13 +01:00
parent e9960dc78e
commit 370997f516

View file

@ -75,6 +75,7 @@ int multitasking_init(void)
task_table[0].prio = IDLE_PRIO;
task_table[0].stack = (void*) &boot_stack;
task_table[0].page_map = read_cr3();
// register idle task
register_task();