1 /* $NetBSD: intr.h,v 1.1 2000/12/11 18:19:15 marcus Exp $ */ 2 #ifndef _DREAMCAST_INTR_H_ 3 #define _DREAMCAST_INTR_H_ 4 5 /* Interrupt priority `levels'. */ 6 #define IPL_NONE 9 /* nothing */ 7 #define IPL_SOFTCLOCK 8 /* timeouts */ 8 #define IPL_SOFTNET 7 /* protocol stacks */ 9 #define IPL_BIO 6 /* block I/O */ 10 #define IPL_NET 5 /* network */ 11 #define IPL_SOFTSERIAL 4 /* serial */ 12 #define IPL_TTY 3 /* terminal */ 13 #define IPL_IMP 3 /* memory allocation */ 14 #define IPL_AUDIO 2 /* audio */ 15 #define IPL_CLOCK 1 /* clock */ 16 #define IPL_HIGH 1 /* everything */ 17 #define IPL_SERIAL 0 /* serial */ 18 #define NIPL 10 19 20 #include <sh3/intr.h> 21 22 /* Soft interrupt masks. */ 23 #define SIR_CLOCK 31 24 #define SIR_NET 30 25 #define SIR_SERIAL 29 26 27 #define SIR_LOW 29 28 #define SIR_HIGH 31 29 30 /* IRQ */ 31 #define TMU1_IRQ 2 32 #define SCI_IRQ 6 33 #define SCIF_IRQ 7 34 #define WDOG_IRQ 1 35 36 #define IRQ_LOW 1 37 #define IRQ_HIGH 15 38 39 #endif /* _DREAMCAST_INTR_H_ */ 40