aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/irq.S
blob: db8b4cddce8e5742d61753122a99d8541171ed56 (plain)
1
2
3
4
5
6
7
8
9
.section ".text.exceptions"
.globl irq
irq:
	cpsid aif
	push {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr}
	// Run IRQ handler
	bl c_irq_handler
	pop  {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr}
	subs pc, lr, #4