nothing much
This commit is contained in:
parent
c779cc2be1
commit
9c65b32d9e
3 changed files with 3 additions and 2 deletions
2
vm.c
2
vm.c
|
|
@ -171,7 +171,7 @@ switchuvm(struct proc *p)
|
|||
ltr(SEG_TSS << 3);
|
||||
if(p->pgdir == 0)
|
||||
panic("switchuvm: no pgdir");
|
||||
lcr3(v2p(p->pgdir)); // switch to new address space
|
||||
lcr3(v2p(p->pgdir)); // switch to process's address space
|
||||
popcli();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue