intr.h revision 1.4
1/*	$NetBSD: intr.h,v 1.4 2002/02/22 19:44:04 uch 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 TMU0_IRQ 2
34
35#define IRQ_LOW  2
36#define IRQ_HIGH 15
37
38#endif /* _MMEYE_INTR_H_ */
39