fix: align the stack to 16 bytes in isr stubs
This commit is contained in:
@@ -24,8 +24,14 @@ common_isr_stub:
|
||||
|
||||
cld
|
||||
mov %rsp, %rdi
|
||||
|
||||
mov %rsp, %r12
|
||||
and $-16, %rsp
|
||||
|
||||
call interrupt_handler
|
||||
|
||||
mov %r12, %rsp
|
||||
|
||||
pop %r15
|
||||
pop %r14
|
||||
pop %r13
|
||||
|
||||
Reference in New Issue
Block a user