3 #ifndef _GEMINI_IPIVAR_H
4 #define _GEMINI_IPIVAR_H
8 #include <sys/device.h>
10 typedef struct gemini_ipi_intrq
{
11 SIMPLEQ_ENTRY(gemini_ipi_intrq
) iq_q
;
12 int (*iq_func
)(void *);
16 typedef struct gemini_ipi_softc
{
18 bus_space_tag_t sc_iot
;
19 bus_space_handle_t sc_ioh
;
24 SIMPLEQ_HEAD(, gemini_ipi_intrq
) sc_intrq
;
27 extern void *ipi_intr_establish(int (*)(void *), void *);
28 extern void ipi_intr_disestablish(void *);
29 extern int ipi_send(void);
31 #endif /* _GEMINI_IPIVAR_H */