a few name changes in panic msg

This commit is contained in:
Frans Kaashoek 2019-07-25 06:59:07 -04:00
parent 8c12928cc5
commit 47c9721d78

View file

@ -133,9 +133,9 @@ kvmpa(uint64 va)
pte = walk(kernel_pagetable, va, 0); pte = walk(kernel_pagetable, va, 0);
if(pte == 0) if(pte == 0)
panic("kernelpa"); panic("kvmpa");
if((*pte & PTE_V) == 0) if((*pte & PTE_V) == 0)
panic("kernelpa"); panic("kvmpa");
pa = PTE2PA(*pte); pa = PTE2PA(*pte);
return pa+off; return pa+off;
} }
@ -343,7 +343,7 @@ uvmclear(pagetable_t pagetable, uint64 va)
pte = walk(pagetable, va, 0); pte = walk(pagetable, va, 0);
if(pte == 0) if(pte == 0)
panic("clearpteu"); panic("uvmclear");
*pte &= ~PTE_U; *pte &= ~PTE_U;
} }