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