Interrupt Service Routines: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Update GCC interrupt handler section
m Change assembly comments
Line 79: Line 79:


<source lang="asm">
<source lang="asm">
/* filename: isr_wrapper.s */
; filename: isr_wrapper.s
.globl isr_wrapper
.globl isr_wrapper
.align 4
.align 4
Line 85: Line 85:
isr_wrapper:
isr_wrapper:
pushad
pushad
cld /* C code following the sysV ABI requires DF to be clear on function entry */
cld ; C code following the sysV ABI requires DF to be clear on function entry
call interrupt_handler
call interrupt_handler
popad
popad