summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-10-12 20:53:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-10-12 20:53:23 +0000
commitda118f9f7685dc00a8337613f6e7e63cbbb57e0a (patch)
tree169690ccfeed5dcb22f26741e7afacf9ee261e0b /sys/arch
parent5321e2257abb1551c5d340c5b3195799ad90f133 (diff)
Define IPL_SCHED and spslsched(), matching the statclock level.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/luna88k/include/intr.h3
-rw-r--r--sys/arch/m88k/include/intr.h4
-rw-r--r--sys/arch/mvme88k/include/intr.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/luna88k/include/intr.h b/sys/arch/luna88k/include/intr.h
index 31af8d4433a..16203b85b4a 100644
--- a/sys/arch/luna88k/include/intr.h
+++ b/sys/arch/luna88k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.3 2004/12/24 22:50:30 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.4 2005/10/12 20:53:20 miod Exp $ */
/*
* Copyright (C) 2000 Steve Murphree, Jr.
* All rights reserved.
@@ -43,6 +43,7 @@
#define IPL_VM 5
#define IPL_CLOCK 6
#define IPL_STATCLOCK 6
+#define IPL_SCHED 6
#define IPL_HIGH 7
#define IPL_NMI 7
#define IPL_ABORT 7
diff --git a/sys/arch/m88k/include/intr.h b/sys/arch/m88k/include/intr.h
index 4c5895ef76e..783e2f7efb1 100644
--- a/sys/arch/m88k/include/intr.h
+++ b/sys/arch/m88k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.4 2005/09/06 19:28:22 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.5 2005/10/12 20:53:22 miod Exp $ */
/*
* Copyright (C) 2000 Steve Murphree, Jr.
* All rights reserved.
@@ -55,7 +55,6 @@ void splassert_check(int, const char *);
#endif /* _LOCORE */
-#define splnone spl0
#define splsoftclock() raiseipl(IPL_SOFTCLOCK)
#define splsoftnet() raiseipl(IPL_SOFTNET)
#define splbio() raiseipl(IPL_BIO)
@@ -63,6 +62,7 @@ void splassert_check(int, const char *);
#define spltty() raiseipl(IPL_TTY)
#define splclock() raiseipl(IPL_CLOCK)
#define splstatclock() raiseipl(IPL_STATCLOCK)
+#define splsched() raiseipl(IPL_SCHED)
#define splimp() raiseipl(IPL_IMP)
#define splvm() raiseipl(IPL_VM)
#define splhigh() setipl(IPL_HIGH)
diff --git a/sys/arch/mvme88k/include/intr.h b/sys/arch/mvme88k/include/intr.h
index 01962559ffc..86f2e55fbc2 100644
--- a/sys/arch/mvme88k/include/intr.h
+++ b/sys/arch/mvme88k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.16 2004/12/24 22:50:30 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.17 2005/10/12 20:53:22 miod Exp $ */
/*
* Copyright (C) 2000 Steve Murphree, Jr.
* All rights reserved.
@@ -46,6 +46,7 @@
#define IPL_VM 3
#define IPL_CLOCK 5
#define IPL_STATCLOCK 5
+#define IPL_SCHED 5
#define IPL_HIGH 6
#define IPL_NMI 7
#define IPL_ABORT 7