mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
amd64 pmap: flush whole TLB after LA57 trampoline is installed
(cherry picked from commit 787259bfe5)
This commit is contained in:
parent
0eec03f113
commit
1c34183035
1 changed files with 1 additions and 1 deletions
|
|
@ -2246,7 +2246,7 @@ pmap_bootstrap_la57(void *arg __unused)
|
|||
*(u_long *)(v_code + 2 + (la57_trampoline_gdt_desc - la57_trampoline)) =
|
||||
la57_trampoline_gdt - la57_trampoline + VM_PAGE_TO_PHYS(m_code);
|
||||
la57_tramp = (void (*)(uint64_t))VM_PAGE_TO_PHYS(m_code);
|
||||
invlpg((vm_offset_t)la57_tramp);
|
||||
pmap_invalidate_all(kernel_pmap);
|
||||
if (bootverbose) {
|
||||
printf("entering LA57 trampoline at %#lx\n",
|
||||
(vm_offset_t)la57_tramp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue