diff options
Diffstat (limited to 'software')
-rw-r--r-- | software/first/setup_timer_irq.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/software/first/setup_timer_irq.S b/software/first/setup_timer_irq.S index bba356d..6c75d67 100644 --- a/software/first/setup_timer_irq.S +++ b/software/first/setup_timer_irq.S @@ -25,7 +25,7 @@ setup_timer_irq: sw t0, 4(t2) # store the first number to the upper part first sw t1, 0(t2) # then the second to the lower part - csrsi mstatus, 0x4 # set 3rd bit to activate machine interrupts. + csrsi mstatus, 0x8 # set 4rd bit to activate machine interrupts. lw ra, 12(sp) # load return address addi sp, sp, 16 # deallocate stack frame |