xref: /netbsd-src/sys/arch/hpcsh/include/intr.h (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
1 /*	$NetBSD: intr.h,v 1.3 2001/02/21 16:28:04 uch Exp $	*/
2 #ifndef _HPCSH_INTR_H_
3 #define _HPCSH_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 IRQ4_IRQ	4
35 #define WDOG_IRQ	1
36 
37 #define IRQ_LOW  1
38 #define IRQ_HIGH 15
39 
40 #endif /* _HPCSH_INTR_H_ */
41