x86/mm: fix __boot_clear_page
This commit is contained in:
parent
30df044cec
commit
3910c85cac
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ void __boot_clear_page(vm_paddr_t paddr)
|
|||
pdpte->val = pbase | __P_PRESENT | __P_RW | __P_NOCACHE | __P_HUGE | __P_NOEXEC;
|
||||
vm_flush();
|
||||
memset64(vbase + offset, 0, PAGE_SIZE);
|
||||
pdpe->val = 0;
|
||||
pdpte->val = old_pdpte.val;
|
||||
vm_flush();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue