aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/irq.S
blob: 025fc41c59d45595a33a9213ba3082de221391df (plain)
1
2
3
4
5
6
7
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