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

Function cpu_reset_proxy

freebsd/x86/x86/cpu_machdep.c:414–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413#ifdef SMP
414static void
415cpu_reset_proxy(void)
416{
417
418 cpu_reset_proxy_active = 1;
419 while (cpu_reset_proxy_active == 1)
420 ia32_pause(); /* Wait for other cpu to see that we've started */
421
422 printf("cpu_reset_proxy: Stopped CPU %d\n", cpu_reset_proxyid);
423 DELAY(1000000);
424 cpu_reset_real();
425}
426#endif
427
428void

Callers

nothing calls this directly

Calls 4

cpu_reset_realFunction · 0.85
DELAYFunction · 0.70
ia32_pauseFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected