diff options
| author | zhkag <[email protected]> | 2023-07-06 13:27:22 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-07-06 01:34:53 -0400 |
| commit | c7be260665c9c753b343141968755d47deadd753 (patch) | |
| tree | 86f5910a8f36a1d9ef492a8329bbe2270d8b2812 /libcpu/sim | |
| parent | c0a5129ed4c7d2ecd3b2f4745153087021559f3b (diff) | |
[simulator] 修复函数定义不一致
Diffstat (limited to 'libcpu/sim')
| -rw-r--r-- | libcpu/sim/posix/cpu_port.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcpu/sim/posix/cpu_port.c b/libcpu/sim/posix/cpu_port.c index f95eee2bbc..8b578977e3 100644 --- a/libcpu/sim/posix/cpu_port.c +++ b/libcpu/sim/posix/cpu_port.c @@ -394,8 +394,7 @@ void rt_hw_context_switch(rt_ubase_t from, pthread_mutex_unlock(ptr_int_mutex); } -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) { rt_hw_context_switch(from, to); } |
