intr.h revision 1.3
11.3Smsaitoh/*	$NetBSD: intr.h,v 1.3 2000/04/13 15:36:10 msaitoh Exp $	*/
21.1Sitojun
31.2Smsaitoh#ifndef _MMEYE_INTR_H_
41.2Smsaitoh#define _MMEYE_INTR_H_
51.3Smsaitoh
61.3Smsaitoh/* Interrupt priority `levels'. */
71.3Smsaitoh#define	IPL_NONE	9	/* nothing */
81.3Smsaitoh#define	IPL_SOFTCLOCK	8	/* timeouts */
91.3Smsaitoh#define	IPL_SOFTNET	7	/* protocol stacks */
101.3Smsaitoh#define	IPL_BIO		6	/* block I/O */
111.3Smsaitoh#define	IPL_NET		5	/* network */
121.3Smsaitoh#define	IPL_SOFTSERIAL	4	/* serial */
131.3Smsaitoh#define	IPL_TTY		3	/* terminal */
141.3Smsaitoh#define	IPL_IMP		3	/* memory allocation */
151.3Smsaitoh#define	IPL_AUDIO	2	/* audio */
161.3Smsaitoh#define	IPL_CLOCK	1	/* clock */
171.3Smsaitoh#define	IPL_HIGH	1	/* everything */
181.3Smsaitoh#define	IPL_SERIAL	0	/* serial */
191.3Smsaitoh#define	NIPL		10
201.2Smsaitoh
211.1Sitojun#include <sh3/intr.h>
221.1Sitojun
231.1Sitojun/* Soft interrupt masks. */
241.1Sitojun#define	SIR_CLOCK	31
251.1Sitojun#define	SIR_NET		30
261.1Sitojun#define	SIR_SERIAL	29
271.1Sitojun
281.2Smsaitoh#define SIR_LOW		29
291.2Smsaitoh#define SIR_HIGH	31
301.2Smsaitoh
311.1Sitojun/* IRQ */
321.1Sitojun
331.2Smsaitoh#define TMU1_IRQ 2
341.2Smsaitoh
351.2Smsaitoh#define IRQ_LOW  2
361.2Smsaitoh#define IRQ_HIGH 15
371.2Smsaitoh
381.2Smsaitoh#endif /* _MMEYE_INTR_H_ */
39