Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libcpu/risc-v/common/interrupt_gcc.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

@aozima aozima May 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里更换为S1的原理是啥?最好能在commit中说明。

另外技术类修改,和文件的增减,最好分开commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已拆分为2个commit并描述修改的原因

sw zero, 0(s0)

la s0, rt_interrupt_from_thread
Expand Down
113 changes: 0 additions & 113 deletions libcpu/risc-v/common/riscv-plic.h

This file was deleted.