FreeBSD/sys/arm/arm/machdep_intr.c
/*
 *  Setup IPI handler on interrupt controller.
 *
 *  Not SMP coherent.
 */
Setup IPI handler on interrupt controller.
Not SMP coherent.
Setup IPI handler on interrupt controller . Not SMP coherent .
int
intr_pic_ipi_setup(u_int ipi, const char *name, intr_ipi_handler_t *hand,
    void *arg)
{
	int error;
	struct intr_irqsrc *isrc;
	KASSERT(intr_irq_root_dev != NULL, ("%s: no root attached", __func__));
	error = PIC_IPI_SETUP(intr_irq_root_dev, ipi, &isrc);
	if (error != 0)
		return (error);
	isrc->isrc_handlers++;
	intr_ipi_setup(ipi, name, hand, arg, pic_ipi_send, isrc);
	return (0);
}
int intr_pic_ipi_setup ( u_int ipi , const char * name , intr_ipi_handler_t * hand , void * arg ) { int error ; struct intr_irqsrc * isrc ; KASSERT ( intr_irq_root_dev != NULL , ( " " , __func__ ) ) ; error = PIC_IPI_SETUP ( intr_irq_root_dev , ipi , & isrc ) ; if ( error != 0 ) return ( error ) ; isrc -> isrc_handlers ++ ; intr_ipi_setup ( ipi , name , hand , arg , pic_ipi_send , isrc ) ; return ( 0 ) ; }
Setup IPI handler on interrupt controller.
Setup IPI handler on interrupt controller .