summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-26 20:17:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-26 20:17:48 +0000
commitd0eb1fa63c2d07d454a083374a90eff2e6bfa869 (patch)
tree24ffbea68e96905bf3fe5b3dc2b90a4fc9c22143 /sys/arch
parentb076d107a8ac46c9c9859fa760491e679b256d34 (diff)
Add IPL_ and IST_ constants in preparation for the Amiga ISA-kit
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/include/psl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arch/amiga/include/psl.h b/sys/arch/amiga/include/psl.h
index ff340b33085..0e1a340cc19 100644
--- a/sys/arch/amiga/include/psl.h
+++ b/sys/arch/amiga/include/psl.h
@@ -3,6 +3,20 @@
#ifndef _MACHINE_PSL_H_
#define _MACHINE_PSL_H_
+/* Interrupt priority `levels'; not mutually exclusive. */
+#define IPL_NONE -1
+#define IPL_BIO 3 /* block I/O */
+#define IPL_NET 3 /* network */
+#define IPL_TTY 4 /* terminal */
+#define IPL_CLOCK 4 /* clock */
+#define IPL_IMP 4 /* memory allocation */
+
+/* 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 */
+
#include <m68k/psl.h>
#endif