aboutsummaryrefslogtreecommitdiff
path: root/src/boot.S
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-06 00:28:22 -0800
committerChristian Cunningham <cc@localhost>2022-01-06 00:28:22 -0800
commita826a645a67c2be3c7acb097c436c810da728ed7 (patch)
treeb47d65d3058feb3daba778558526e2f7ed27a37d /src/boot.S
parent866a6ca0e749f4446b7fdc7579a6d553df85ec10 (diff)
Move irq enable/disable to handler
Diffstat (limited to 'src/boot.S')
-rw-r--r--src/boot.S2
1 files changed, 2 insertions, 0 deletions
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