summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-15 20:39:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-15 20:39:54 +0000
commit696ab5f08e3725e54a7b87f6c7f732871cea9473 (patch)
tree7b7b4aabacc34b41996ac576125a369d66fe2745 /sys/arch/luna88k
parentabb057e2ebdbe264ef7de85bffff2cb3aab73ac2 (diff)
Generic softinterrupt support for m88k based platforms, adapted from arm
with different locking mechanism. 88110 soft ipi are replaced with an ipi callback which is checked upon return from exception (it can not be kept as a softintr, as the generic softinterrupt code doesn't have per-cpu pending softintr queues).
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/include/intr.h5
-rw-r--r--sys/arch/luna88k/luna88k/autoconf.c3
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/luna88k/include/intr.h b/sys/arch/luna88k/include/intr.h
index 9efc183044a..a81fa6423a2 100644
--- a/sys/arch/luna88k/include/intr.h
+++ b/sys/arch/luna88k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.5 2006/03/13 19:43:22 brad Exp $ */
+/* $OpenBSD: intr.h,v 1.6 2009/03/15 20:39:53 miod Exp $ */
/*
* Copyright (C) 2000 Steve Murphree, Jr.
* All rights reserved.
@@ -34,8 +34,7 @@
*/
#define IPL_NONE 0
-#define IPL_SOFTCLOCK 1
-#define IPL_SOFTNET 1
+#define IPL_SOFTINT 1
#define IPL_BIO 3
#define IPL_NET 4
#define IPL_TTY 5
diff --git a/sys/arch/luna88k/luna88k/autoconf.c b/sys/arch/luna88k/luna88k/autoconf.c
index 9a9feadf90e..da5d6d4db02 100644
--- a/sys/arch/luna88k/luna88k/autoconf.c
+++ b/sys/arch/luna88k/luna88k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.14 2008/07/21 04:35:54 todd Exp $ */
+/* $OpenBSD: autoconf.c,v 1.15 2009/03/15 20:39:53 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -72,6 +72,7 @@ struct device *bootdv; /* set by device drivers (if found) */
void
cpu_configure()
{
+ softintr_init();
if (config_rootfound("mainbus", "mainbus") == 0)
panic("no mainbus found");