amd64 la57_trampoline: jump immediately after re-enabling paging

(cherry picked from commit 180c8ab079950acb15c6629ce293055ea0117b39)
This commit is contained in:
Konstantin Belousov 2022-09-17 04:35:20 +03:00
parent 1c34183035
commit 8179f2a775

View file

@ -119,8 +119,9 @@ l1: movl $(3<<3),%eax
movl %edi,%cr3
movl %edx,%cr0
jmp 1f
pushl $(1<<3)
1: pushl $(1<<3)
pushl %ebx
lretl
.code64