diff options
author | Christian Cunningham <cc@localhost> | 2022-01-31 19:05:50 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-31 19:05:50 -0700 |
commit | a1f49718aee378fa075303c86106309091d56b80 (patch) | |
tree | daa43fe9db527b69bc3b5e9cd967e6e5de5f5e29 /src/exceptions/irq.S | |
parent | 09d5025fc34644a6e04380a61da15ba5d8e3f775 (diff) |
Break exceptions off to own files
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 |