MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_ap

Function check_ap

freebsd/arm/arm/mp_machdep.c:93–106  ·  view source on GitHub ↗

Start Application Processor via platform specific function */

Source from the content-addressed store, hash-verified

91
92/* Start Application Processor via platform specific function */
93static int
94check_ap(void)
95{
96 uint32_t ms;
97
98 for (ms = 0; ms < 2000; ++ms) {
99 if ((mp_naps + 1) == mp_ncpus)
100 return (0); /* success */
101 else
102 DELAY(1000);
103 }
104
105 return (-2);
106}
107
108/* Initialize and fire up non-boot processors */
109void

Callers 1

cpu_mp_startFunction · 0.85

Calls 1

DELAYFunction · 0.70

Tested by

no test coverage detected