summaryrefslogtreecommitdiffstats
path: root/src/irs.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/irs.s')
-rw-r--r--src/irs.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irs.s b/src/irs.s
index 924441e..66ac0c2 100644
--- a/src/irs.s
+++ b/src/irs.s
@@ -47,7 +47,9 @@ irs_main_handle_irs:
47 mov r0, #1 47 mov r0, #1
48 lsl r0, r0, r3 48 lsl r0, r0, r3
49 strh r0, [ip, #2] 49 strh r0, [ip, #2]
50 @ TODO: IRQ_ACK_BIOS 50 ldr r1, [ip, #-0x208]
51 orr r1, r1, r0
52 str r1, [ip, #-0x208]
51 53
52 @ Store the SPSR in one of the free registers and save it along with the 54 @ Store the SPSR in one of the free registers and save it along with the
53 @ return pointer. 55 @ return pointer.
@@ -84,5 +86,3 @@ irs_main_exit:
84 86
85mem_irq_base_reg: 87mem_irq_base_reg:
86 .word 0x04000200 @ IRQ_ENABLE 88 .word 0x04000200 @ IRQ_ENABLE
87 .word 0x04000202 @ IRQ_ACK
88 .word 0x04000208 @ IRQ_CTRL