Home | History | Annotate | Line # | Download | only in include
intrdefs.h revision 1.2.2.2
      1  1.2.2.2  yamt /*	$NetBSD: intrdefs.h,v 1.2.2.2 2014/05/22 11:39:50 yamt Exp $	*/
      2  1.2.2.2  yamt 
      3  1.2.2.2  yamt #ifndef _HPPA_INTRDEFS_H_
      4  1.2.2.2  yamt #define _HPPA_INTRDEFS_H_
      5  1.2.2.2  yamt 
      6  1.2.2.2  yamt /* Interrupt priority `levels'. */
      7  1.2.2.2  yamt #define	IPL_NONE	7	/* nothing */
      8  1.2.2.2  yamt #define	IPL_SOFTCLOCK	6	/* timeouts */
      9  1.2.2.2  yamt #define	IPL_SOFTBIO	5	/* block I/O */
     10  1.2.2.2  yamt #define	IPL_SOFTNET	4	/* protocol stacks */
     11  1.2.2.2  yamt #define	IPL_SOFTSERIAL	3	/* serial */
     12  1.2.2.2  yamt #define	IPL_VM		2	/* memory allocation, low I/O */
     13  1.2.2.2  yamt #define	IPL_SCHED	1	/* clock, medium I/O */
     14  1.2.2.2  yamt #define	IPL_HIGH	0	/* everything */
     15  1.2.2.2  yamt #define	NIPL		8
     16  1.2.2.2  yamt 
     17  1.2.2.2  yamt /* Interrupt sharing types. */
     18  1.2.2.2  yamt #define	IST_NONE	0	/* none */
     19  1.2.2.2  yamt #define	IST_PULSE	1	/* pulsed */
     20  1.2.2.2  yamt #define	IST_EDGE	2	/* edge-triggered */
     21  1.2.2.2  yamt #define	IST_LEVEL	3	/* level-triggered */
     22  1.2.2.2  yamt 
     23  1.2.2.2  yamt #ifdef MULTIPROCESSOR
     24  1.2.2.2  yamt #define	HPPA_IPI_NOP		0
     25  1.2.2.2  yamt #define	HPPA_IPI_HALT		1
     26  1.2.2.2  yamt #define	HPPA_IPI_XCALL		2
     27  1.2.2.2  yamt #define	HPPA_NIPI		3
     28  1.2.2.2  yamt #endif
     29  1.2.2.2  yamt 
     30  1.2.2.2  yamt #endif
     31