提交 e884a910 编写于 作者: W William Wang

boot: init fregs after fp csr init

上级 0fc38245
......@@ -31,11 +31,13 @@
_start:
init_regs
init_fregs
mv s0, zero
la sp, _stack_pointer
li a0, MSTATUS_FS & (MSTATUS_FS >> 1)
csrs mstatus, a0
csrwi fcsr, 0
init_fregs # init fregs after fp enable
jal _trm_init
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册