mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 05:23:46 +00:00
[libcpu/common] 修正对RV32E的支持,RV32E不支持s2寄存器,修改为s1寄存器
This commit is contained in:
@@ -337,8 +337,8 @@ trap_entry:
|
||||
|
||||
/* need to switch new thread */
|
||||
la s0, rt_thread_switch_interrupt_flag
|
||||
lw s2, 0(s0)
|
||||
beqz s2, spurious_interrupt
|
||||
lw s1, 0(s0)
|
||||
beqz s1, spurious_interrupt
|
||||
sw zero, 0(s0)
|
||||
|
||||
la s0, rt_interrupt_from_thread
|
||||
|
||||
Reference in New Issue
Block a user