copy default task's cr3 register to the PCB
This commit is contained in:
parent
e9960dc78e
commit
370997f516
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue