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

Function start_softintr

freebsd/kern/kern_intr.c:1586–1595  ·  view source on GitHub ↗

* Start standard software interrupt threads */

Source from the content-addressed store, hash-verified

1584 * Start standard software interrupt threads
1585 */
1586static void
1587start_softintr(void *dummy)
1588{
1589
1590 if (swi_add(&clk_intr_event, "clk", NULL, NULL, SWI_CLOCK,
1591 INTR_MPSAFE, NULL))
1592 panic("died while creating clk swi ithread");
1593 if (swi_add(NULL, "vm", swi_vm, NULL, SWI_VM, INTR_MPSAFE, &vm_ih))
1594 panic("died while creating vm swi ithread");
1595}
1596SYSINIT(start_softintr, SI_SUB_SOFTINTR, SI_ORDER_FIRST, start_softintr,
1597 NULL);
1598

Callers

nothing calls this directly

Calls 2

swi_addFunction · 0.70
panicFunction · 0.70

Tested by

no test coverage detected