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

Function primary_cpu_entry

bsp/allwinner/d1s/board/board.c:75–82  ·  view source on GitHub ↗

BSP的C入口

Source from the content-addressed store, hash-verified

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

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