mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
rt_hw_cpu_shutdown: implement default weak function
and remvoe duplicated default functions in each cpu/bsp level
This commit is contained in:
@@ -174,17 +174,6 @@ void rt_hw_context_switch_interrupt(rt_uint32_t from, rt_uint32_t to)
|
||||
ENTER_INTERRUPT();
|
||||
}
|
||||
|
||||
/**
|
||||
* shut down the chip
|
||||
*
|
||||
* @author LXZ (2014/11/8)
|
||||
*/
|
||||
rt_weak void rt_hw_cpu_shutdown(void)
|
||||
{
|
||||
rt_kprintf("shutdown...\n");
|
||||
|
||||
RT_ASSERT(0);
|
||||
}
|
||||
/**
|
||||
* switch to the first thread,it just call one time
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user