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

[libcpu][risc-v] fix the rt_thread_switch_interrupt_flag issue

上级 61b8db8e
......@@ -69,9 +69,9 @@ trap_entry:
/* need to switch new thread */
la s0, rt_thread_switch_interrupt_flag
LOAD s2, 0(s0)
lw s2, 0(s0)
beqz s2, spurious_interrupt
STORE zero, 0(s0)
sw zero, 0(s0)
csrr a0, mepc
STORE a0, 0 * REGBYTES(sp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册