diff options
| author | linshire <[email protected]> | 2022-12-22 09:34:36 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-22 09:34:36 +0800 |
| commit | c930b4f623cefa283d95c4de3b5804fb26fdd8ce (patch) | |
| tree | d09608149481db78357bec0092f0c1e8313689a9 /libcpu | |
| parent | f4323f2049328a6fdaa70a350f5a98e0b6cdb164 (diff) | |
[ch32]对接了rt_hw_context_switch_interrupt接口 (#6749)
* 对接了rt_hw_context_switch_interruptC(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread)接口
* Update libcpu/risc-v/ch32v1/cpuport.c
Co-authored-by: Man, Jianting (Meco) <[email protected]>
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/ch32v1/cpuport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/risc-v/ch32v1/cpuport.c b/libcpu/risc-v/ch32v1/cpuport.c index 3bd76ee561..14bf15ccc2 100644 --- a/libcpu/risc-v/ch32v1/cpuport.c +++ b/libcpu/risc-v/ch32v1/cpuport.c @@ -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_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread) { if (rt_thread_switch_interrupt_flag == 0) rt_interrupt_from_thread = from; |
