6
This commit is contained in:
@@ -336,10 +336,10 @@ handle_reset:
|
||||
li t0, 0x1f
|
||||
csrw 0xbc0, t0
|
||||
/* Enable interrupt nesting and hardware stack */
|
||||
li t0, 0x0b
|
||||
li t0, 0x1f
|
||||
csrw 0x804, t0
|
||||
/* Enable floating point and global interrupt, configure privileged mode */
|
||||
li t0, 0x6088
|
||||
li t0, 0x7800
|
||||
csrw mstatus, t0
|
||||
/* Configure the interrupt vector table recognition mode and entry address mode */
|
||||
la t0, _vector_base
|
||||
|
||||
@@ -356,10 +356,10 @@ handle_reset:
|
||||
li t0, 0x1f
|
||||
csrw 0xbc0, t0
|
||||
/* Enable interrupt nesting and hardware stack */
|
||||
li t0, 0x0b
|
||||
li t0, 0x1f
|
||||
csrw 0x804, t0
|
||||
/* Enable floating point and global interrupt, configure privileged mode */
|
||||
li t0, 0x6088
|
||||
/* Enable global interrupt, configure privileged mode */
|
||||
li t0, 0x7800
|
||||
csrw mstatus, t0
|
||||
/* Configure the interrupt vector table recognition mode and entry address mode */
|
||||
la t0, _vector_base
|
||||
|
||||
Reference in New Issue
Block a user