From c7be260665c9c753b343141968755d47deadd753 Mon Sep 17 00:00:00 2001 From: zhkag Date: Thu, 6 Jul 2023 13:27:22 +0800 Subject: [PATCH] =?UTF-8?q?[simulator]=20=E4=BF=AE=E5=A4=8D=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E5=AE=9A=E4=B9=89=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/sim/posix/cpu_port.c | 3 +-- 1 file changed, 1 insertion(+), 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); }