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

Function rt_smp_call_init

components/drivers/smp_call/smp_call.c:363–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363void rt_smp_call_init(void)
364{
365 rt_memset(&_smp_data_cores, 0, sizeof(_smp_data_cores));
366
367 for (int i = 0; i < RT_CPUS_NR; i++)
368 {
369 for (int j = 0; j < RT_CPUS_NR; j++)
370 {
371 rt_hw_spin_lock_init(&_smp_data_cores[i].call_req_cores[j].freed_lock);
372 }
373 }
374}

Callers 1

rt_hw_common_setupFunction · 0.85

Calls 2

rt_memsetFunction · 0.85
rt_hw_spin_lock_initFunction · 0.50

Tested by

no test coverage detected