smp/x86: Trampoline: clear TLB before jumping to kernel code

This commit is contained in:
mintsuki 2023-09-16 00:20:32 -05:00
parent db04cd2595
commit ca7fb9760b
1 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,10 @@ parking64:
jmp .loop
.out:
; Clear TLB
mov rax, cr3
mov cr3, rax
mov rsp, qword [rdi + 8]
push 0
push rax