fix: align the stack to 16 bytes in isr stubs

This commit is contained in:
2026-10-20 16:23:30 +02:00
parent 0692b9d618
commit 79d7667a9f
+6
View File
@@ -24,8 +24,14 @@ common_isr_stub:
cld cld
mov %rsp, %rdi mov %rsp, %rdi
mov %rsp, %r12
and $-16, %rsp
call interrupt_handler call interrupt_handler
mov %r12, %rsp
pop %r15 pop %r15
pop %r14 pop %r14
pop %r13 pop %r13