diff options
Diffstat (limited to 'src/exceptions/irq.S')
-rw-r--r-- | src/exceptions/irq.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exceptions/irq.S b/src/exceptions/irq.S new file mode 100644 index 0000000..025fc41 --- /dev/null +++ b/src/exceptions/irq.S @@ -0,0 +1,8 @@ +.section ".text.exceptions" +.globl irq +irq: + cpsid aif + push {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr} + bl c_irq_handler + pop {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr} + subs pc, lr, #4 |