Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/include/intr.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
#define INTR_IRQ_NSPC_SWI 4 | #define INTR_IRQ_NSPC_SWI 4 | ||||
/* MIPS compatibility for legacy mips code */ | /* MIPS compatibility for legacy mips code */ | ||||
void cpu_init_interrupts(void); | void cpu_init_interrupts(void); | ||||
void cpu_establish_hardintr(const char *, driver_filter_t *, driver_intr_t *, | void cpu_establish_hardintr(const char *, driver_filter_t *, driver_intr_t *, | ||||
void *, int, int, void **); | void *, int, int, void **); | ||||
void cpu_establish_softintr(const char *, driver_filter_t *, void (*)(void*), | void cpu_establish_softintr(const char *, driver_filter_t *, void (*)(void*), | ||||
void *, int, int, void **); | void *, int, int, void **); | ||||
int cpu_create_intr_map(int); | |||||
struct resource *cpu_get_irq_resource(int); | |||||
/* MIPS interrupt C entry point */ | /* MIPS interrupt C entry point */ | ||||
void cpu_intr(struct trapframe *); | void cpu_intr(struct trapframe *); | ||||
#endif /* INTRNG */ | #endif /* INTRNG */ | ||||
#endif /* _MACHINE_INTR_H */ | #endif /* _MACHINE_INTR_H */ |