x86_64 interrupt handling #98
Closed
macpacheco
started this conversation in
General
Replies: 1 comment
-
Good catch! I've removed the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
long mode interrupt handler activation saves:
RIP, CS, RFLAGS, RSP, SS
There's no need for PUSHFQ on interrupt handlers.
https://www.felixcloutier.com/x86/iret:iretd:iretq
I'm disabling interrupts first thing on my handlers, and never reactivating it, and the assembly code produced by gcc has zero push/pop flags.
Beta Was this translation helpful? Give feedback.
All reactions