未验证 提交 825b9ffb 编写于 作者: R rewine 提交者: GitHub

[libcpu/risc-v/virt64]: fix parameter for call handle_trap (#6042)

上级 e36e3fda
......@@ -114,8 +114,9 @@ trap_entry:
/* handle interrupt */
call rt_interrupt_enter
csrr a0, SRC_XCAUSE
csrr a1, SRC_XEPC
mv a2, s0
csrr a1, SRC_XTVAL
csrr a2, SRC_XEPC
mv a3, s0
call handle_trap
call rt_interrupt_leave
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册