enable fpu
This commit is contained in:
parent
862aa8c188
commit
04fe5a7498
|
@ -2,7 +2,12 @@
|
|||
.globl _start
|
||||
.type _start, @function
|
||||
|
||||
#define MSTATUS_FS 0x00006000
|
||||
|
||||
_start:
|
||||
mv s0, zero
|
||||
la sp, _stack_pointer
|
||||
li a0, MSTATUS_FS & (MSTATUS_FS >> 1)
|
||||
csrs mstatus, a0
|
||||
csrwi fcsr, 0
|
||||
jal _trm_init
|
||||
|
|
Loading…
Reference in New Issue