summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorzhkag <[email protected]>2023-11-06 17:22:23 +0800
committerMeco Man <[email protected]>2023-11-06 06:23:09 -0500
commit3db4b3e4ae76a7666a779a29e29e3b1ece40616c (patch)
treecda56ee05c78af54589847ac3d7942aeb07f6b6d /libcpu
parentfa9b496b2ad33d05871a0691b4a1bbc479b28dde (diff)
修复 bsp/x86 编译问题
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/ia32/cpuport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/ia32/cpuport.c b/libcpu/ia32/cpuport.c
index 2e0380d9f8..3e67eefd04 100644
--- a/libcpu/ia32/cpuport.c
+++ b/libcpu/ia32/cpuport.c
@@ -28,7 +28,7 @@ void rt_hw_interrupt_enable(rt_base_t level)
__asm__ __volatile__("pushl %0 ; popfl": :"g" (level):"memory", "cc");
}
-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;