diff options
| author | Bernard Xiong <[email protected]> | 2021-10-18 18:08:30 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-18 18:08:30 +0800 |
| commit | abf8812802078c747e1f57608ba189da7bfac6a9 (patch) | |
| tree | d4e4b068044fe9a49e7bc737f40e2fc9b7a97b3f /libcpu | |
| parent | 0bbb035698cabd269e715df8dfc2036fa384c279 (diff) | |
| parent | 4c63055289b0c99d3889d7f1e8a0057c6973a6a6 (diff) | |
Merge pull request #5192 from nuclei-community/nuclei/upstream
bsp/nuclei: update nuclei target support code
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/nuclei/cpuport.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libcpu/risc-v/nuclei/cpuport.c b/libcpu/risc-v/nuclei/cpuport.c index e74d174a54..a107799937 100644 --- a/libcpu/risc-v/nuclei/cpuport.c +++ b/libcpu/risc-v/nuclei/cpuport.c @@ -143,9 +143,7 @@ void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to) */ void rt_hw_context_switch(rt_ubase_t from, rt_ubase_t to) { - rt_interrupt_from_thread = from; - rt_interrupt_to_thread = to; - RT_YIELD(); + rt_hw_context_switch_interrupt(from, to); } /** |
