未验证 提交 cc2316ed 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3178 from IronMan999/master

修改了上下文切换退出时的bug,该bug会导致中断被提前打开造成死锁
......@@ -175,7 +175,7 @@ rt_hw_context_switch_exit:
LOAD x1, 1 * REGBYTES(sp)
li t0, 0x00001800
csrs mstatus, t0
csrw mstatus, t0
LOAD a0, 2 * REGBYTES(sp)
csrs mstatus, a0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册