Interrupt Service Routines: Difference between revisions

m
Update GCC interrupt handler section
[unchecked revision][unchecked revision]
m (fixed a small mistake)
m (Update GCC interrupt handler section)
Line 192:
</source>
 
The documentation for GCC states that if the interrupt attribute is used, the iret instruction will be used instead of ret on x86 and x86-64 architectures. It also says, "Since GCC doesn’t preserve SSE, MMX nor x87 states, the GCC option -mgeneral-regs-only should be used to compile interrupt and exception handlers."
 
===== Black Magic =====
Anonymous user