MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / primary_cpu_entry

Function primary_cpu_entry

bsp/k230/board/board.c:80–87  ·  view source on GitHub ↗

BSP的C入口

Source from the content-addressed store, hash-verified

78
79//BSP的C入口
80void primary_cpu_entry(void)
81{
82 //关中断
83 rt_hw_interrupt_disable();
84 rt_assert_set_hook(__rt_assert_handler);
85 //启动RT-Thread Smart内核
86 entry();
87}
88
89#define IOREMAP_SIZE (1ul << 30)
90

Callers

nothing calls this directly

Calls 3

rt_assert_set_hookFunction · 0.85
entryFunction · 0.85
rt_hw_interrupt_disableFunction · 0.50

Tested by

no test coverage detected