mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
修复 bsp/x86 编译问题
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user