Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ch32]对接了rt_hw_context_switch_interrupt接口 #6749

Merged
merged 2 commits into from
Dec 22, 2022
Merged
Changes from 1 commit
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
Next Next commit
对接了rt_hw_context_switch_interruptC(rt_ubase_t from, rt_ubase_t to, rt…
…_thread_t from_thread, rt_thread_t to_thread)接口
  • Loading branch information
linshire committed Dec 17, 2022
commit 6c4f30ea7db9c6ceb254f310abedf4d405159e7b
2 changes: 1 addition & 1 deletion libcpu/risc-v/ch32v1/cpuport.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void rt_hw_interrupt_enable(rt_base_t level)
* void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to);
* #endif
*/
void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to)
void rt_hw_context_switch_interruptC(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread)
linshire marked this conversation as resolved.
Show resolved Hide resolved
{
if (rt_thread_switch_interrupt_flag == 0)
rt_interrupt_from_thread = from;
Expand Down