diff --git a/sys/powerpc/include/interrupt.h b/sys/powerpc/include/interrupt.h index 7f009fdc201118..6a8d7357a1b63b 100644 --- a/sys/powerpc/include/interrupt.h +++ b/sys/powerpc/include/interrupt.h @@ -28,6 +28,12 @@ #ifndef __MACHINE_INTERRUPT_H__ #define __MACHINE_INTERRUPT_H__ +/* FreeBSD standard interrupt controller interface */ + +typedef struct powerpc_intr interrupt_t; + +/* FreeBSD standard interrupt controller interface */ + #define INTR_VECTORS 256 #define MAX_PICS 32 diff --git a/sys/sys/intr.h b/sys/sys/intr.h index 475c1fbd876a0e..deabefaa57949e 100644 --- a/sys/sys/intr.h +++ b/sys/sys/intr.h @@ -37,6 +37,12 @@ #error "sys/intr.h included without architecture interrupt header!" #endif +/* FreeBSD standard interrupt controller interface */ + +typedef struct intr_irqsrc interrupt_t; + +/* FreeBSD standard interrupt controller interface */ + #define INTR_IRQ_INVALID 0xFFFFFFFF #ifndef LOCORE diff --git a/sys/x86/include/interrupt.h b/sys/x86/include/interrupt.h index 9e913440c71268..4cc9fd6975743e 100644 --- a/sys/x86/include/interrupt.h +++ b/sys/x86/include/interrupt.h @@ -30,6 +30,12 @@ #ifdef _KERNEL +/* FreeBSD standard interrupt controller interface */ + +typedef struct intsrc interrupt_t; + +/* FreeBSD standard interrupt controller interface */ + /* * Values used in determining the allocation of IRQ values among * different types of I/O interrupts. These values are used as