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