aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/irq.S
blob: 2c1a6e895b66017f9b826f958da2456b3afb4eb2 (plain)
1
2
3
4
5
6
7
8
9
.section ".text.exceptions"
.globl irq
irq:
	cpsid ai
	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