BSP的C入口
| 66 | |
| 67 | //BSP的C入口 |
| 68 | void primary_cpu_entry(void) |
| 69 | { |
| 70 | //初始化BSS |
| 71 | init_bss(); |
| 72 | //关中断 |
| 73 | rt_hw_interrupt_disable(); |
| 74 | rt_assert_set_hook(__rt_assert_handler); |
| 75 | //启动RT-Thread Smart内核 |
| 76 | entry(); |
| 77 | } |
| 78 | |
| 79 | |
| 80 | //这个初始化程序由内核主动调用,此时调度器还未启动,因此在此不能使用依赖线程上下文的函数 |
nothing calls this directly
no test coverage detected