Commit 7907bdb5 by malcolm

add ctxt cr3 assignment

parent 054a0717
Showing with 1 additions and 0 deletions
...@@ -79,6 +79,7 @@ void load_elf(elf_header* elf_start) ...@@ -79,6 +79,7 @@ void load_elf(elf_header* elf_start)
//pcb->name = "debugstuff"; //pcb->name = "debugstuff";
pcb->state = RUNNABLE; pcb->state = RUNNABLE;
pcb->ctxt->cr3 = pgdir;
pcb->ctxt->edi = 0; pcb->ctxt->edi = 0;
pcb->ctxt->esi = 0; pcb->ctxt->esi = 0;
pcb->ctxt->ebx = 0; pcb->ctxt->ebx = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment