sfence_vma after satp
This commit is contained in:
parent
64b93d175a
commit
86a1d4b295
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue