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