diff options
Diffstat (limited to 'src/irs.s')
-rw-r--r-- | src/irs.s | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
85 | mem_irq_base_reg: | 87 | mem_irq_base_reg: |
86 | .word 0x04000200 @ IRQ_ENABLE | 88 | .word 0x04000200 @ IRQ_ENABLE |
87 | .word 0x04000202 @ IRQ_ACK | ||
88 | .word 0x04000208 @ IRQ_CTRL | ||