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 5d46a4aba50bf4..2403ff7c90f959 100644 --- a/sys/sys/intr.h +++ b/sys/sys/intr.h @@ -39,6 +39,12 @@ #include +/* FreeBSD standard interrupt controller interface */ + +typedef struct intr_irqsrc interrupt_t; + +/* FreeBSD standard interrupt controller interface */ + #define INTR_IRQ_INVALID 0xFFFFFFFF enum intr_map_data_type { diff --git a/sys/x86/include/interrupt.h b/sys/x86/include/interrupt.h index d7bfcdc126a9e4..0729e254a4b5be 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