sfence_vma after satp

This commit is contained in:
Robert Morris 2019-09-03 15:45:07 -04:00
parent 64b93d175a
commit 86a1d4b295

View file

@ -54,8 +54,8 @@ kvminit()
void
kvminithart()
{
sfence_vma();
w_satp(MAKE_SATP(kernel_pagetable));
sfence_vma();
}
// Return the address of the PTE in page table pagetable