The jump target shall be after the padding, not into it.
Reported by: alc Approved by: re (bz) MFC after: 2 weeks
This commit is contained in:
parent
b48f7c4c8d
commit
e4505da615
@ -398,8 +398,9 @@ IDTVEC(fast_syscall)
|
||||
movq %rsp, %rdi
|
||||
call ast
|
||||
jmp 1b
|
||||
2: /* Restore preserved registers. */
|
||||
|
||||
.align 16
|
||||
2: /* Restore preserved registers. */
|
||||
MEXITCOUNT
|
||||
movq TF_RDI(%rsp),%rdi /* bonus; preserve arg 1 */
|
||||
movq TF_RSI(%rsp),%rsi /* bonus: preserve arg 2 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user