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