Skip to content

Commit d5cb7f3

Browse files
committed
[libcpu/common] 修正对RV32E的支持,移除无用文件
1 parent e3d7bbb commit d5cb7f3

File tree

2 files changed

+2
-115
lines changed

2 files changed

+2
-115
lines changed

libcpu/risc-v/common/interrupt_gcc.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ trap_entry:
337337

338338
/* need to switch new thread */
339339
la s0, rt_thread_switch_interrupt_flag
340-
lw s2, 0(s0)
341-
beqz s2, spurious_interrupt
340+
lw s1, 0(s0)
341+
beqz s1, spurious_interrupt
342342
sw zero, 0(s0)
343343

344344
la s0, rt_interrupt_from_thread

libcpu/risc-v/common/riscv-plic.h

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)