From a826a645a67c2be3c7acb097c436c810da728ed7 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 6 Jan 2022 00:28:22 -0800 Subject: Move irq enable/disable to handler --- src/boot.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/boot.S') diff --git a/src/boot.S b/src/boot.S index f21c4fe..badb655 100644 --- a/src/boot.S +++ b/src/boot.S @@ -55,7 +55,9 @@ reset: irq: push {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr} + cpsid i bl c_irq_handler + cpsie i pop {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,lr} subs pc, lr, #4 -- cgit v1.2.1