INTERRUPT_DISTRIBUTE(9) Kernel Developer's Manual INTERRUPT_DISTRIBUTE(9)

interrupt_distributeassign an interrupt to a CPU

#include <sys/interrupt.h>

int
interrupt_distribute(void *ich, const kcpuset_t *newset, kcpuset_t *oldset);

The interrupt_distribute function exists to assign an interrupt to a CPU.

If a driver (or the other kernel component) wishes to assign an interrupt to a CPU, it should pass an interrupt handler such as the return value of () as ich argument, and it should pass the kcpuset to which it should be assigned as newset. To get the previous value, pass a non-NULL value to oldset.

August 17, 2015 NetBSD 11.0