summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/intr_machdep.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-01-04 16:11:32 +0000
committermarius <marius@FreeBSD.org>2011-01-04 16:11:32 +0000
commita7721f46767dadd132c989fd4377522c2dfacfc4 (patch)
tree3a10cef99747878bec6386bc232c49d51769a06e /sys/sparc64/include/intr_machdep.h
parent1b29205c00bce60716d42457eade3832205e1719 (diff)
downloadFreeBSD-src-a7721f46767dadd132c989fd4377522c2dfacfc4.zip
FreeBSD-src-a7721f46767dadd132c989fd4377522c2dfacfc4.tar.gz
Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for
and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb MFC after: 1 month
Diffstat (limited to 'sys/sparc64/include/intr_machdep.h')
-rw-r--r--sys/sparc64/include/intr_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sparc64/include/intr_machdep.h b/sys/sparc64/include/intr_machdep.h
index 158b5b6..6e472f7 100644
--- a/sys/sparc64/include/intr_machdep.h
+++ b/sys/sparc64/include/intr_machdep.h
@@ -48,11 +48,13 @@
#define PIL_PREEMPT 6 /* preempt idle thread cpu ipi */
#define PIL_HARDCLOCK 7 /* hardclock broadcast */
#define PIL_FILTER 12 /* filter interrupts */
-#define PIL_FAST 13 /* fast interrupts */
+#define PIL_BRIDGE 13 /* bridge interrupts */
#define PIL_TICK 14 /* tick interrupts */
#ifndef LOCORE
+#define INTR_BRIDGE INTR_MD1
+
struct trapframe;
typedef void ih_func_t(struct trapframe *);
OpenPOWER on IntegriCloud