summaryrefslogtreecommitdiffstats
path: root/sys/sys/interrupt.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-04-27 00:29:45 +0000
committerjhb <jhb@FreeBSD.org>2001-04-27 00:29:45 +0000
commit821062d7975fab76d720cc4cfd2883d62e726f09 (patch)
tree4fb9e07639e6c65b2e96900c2eef20a5a8cdc27c /sys/sys/interrupt.h
parent8ffc16e89190c82e83b9b8de8efe0efada30fb8d (diff)
downloadFreeBSD-src-821062d7975fab76d720cc4cfd2883d62e726f09.zip
FreeBSD-src-821062d7975fab76d720cc4cfd2883d62e726f09.tar.gz
Initiate the deorbit burn sequence for sys/ipl.h by moving the software
interrupt priorities over to sys/interrupt.h next to the software interrupt API.
Diffstat (limited to 'sys/sys/interrupt.h')
-rw-r--r--sys/sys/interrupt.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index 9c44d81..7788bcd 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -82,6 +82,19 @@ struct ithd {
#define SWI_SWITCH 0x1
#define SWI_DELAY 0x2 /* implies NOSWITCH */
+/*
+ * Software interrupt bit numbers in priority order. The priority only
+ * determines which swi will be dispatched next; a higher priority swi
+ * may be dispatched when a nested h/w interrupt handler returns.
+ */
+#define SWI_TTY 0
+#define SWI_NET 1
+#define SWI_CAMNET 2
+#define SWI_CAMBIO 3
+#define SWI_VM 4
+#define SWI_TQ 5
+#define SWI_CLOCK 6
+
extern struct ithd *tty_ithd;
extern struct ithd *clk_ithd;
extern void *net_ih;
OpenPOWER on IntegriCloud