summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-12-05 17:42:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-12-05 17:42:11 +0000
commit5585fef9f0a1a13f432560b5242060a28f79d7ea (patch)
tree451f45067d29e1db8354427f32393c7ffccef830 /sys
parent67a269674f16e98658dea7cf6a1c84e8a489c694 (diff)
define INT_IO and INT_ALL masks for spl*() macros to use
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/include/intr.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h
index a469c574e2d..92a2c7a59f6 100644
--- a/sys/arch/hppa/include/intr.h
+++ b/sys/arch/hppa/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.4 1998/11/23 03:32:19 mickey Exp $ */
+/* $OpenBSD: intr.h,v 1.5 1998/12/05 17:42:10 mickey Exp $ */
/*
* Copyright (c) 1990,1991,1992,1994 The University of Utah and
@@ -31,6 +31,8 @@
/* hardwired clock int line */
#define INT_ITMR (0x80000000)
+#define INT_IO (0x80000000)
+#define INT_ALL (0xffffffff)
#define IPL_NONE 0
#define IPL_BIO 1
@@ -71,14 +73,14 @@
_ctl_r; \
})
-#define spl0() __spllow(0xffffffff)
+#define spl0() __spllow(INT_ALL)
#define splsoft() __spllow(INT_ITMR)
#define splsoftnet() splsoft()
#define splsoftclock() splsoft()
-#define splnet() __spllow(INT_ITMR)
-#define splbio() __spllow(INT_ITMR)
-#define splimp() __spllow(INT_ITMR)
-#define spltty() __spllow(INT_ITMR)
+#define splnet() __spllow(INT_IO)
+#define splbio() __spllow(INT_IO)
+#define splimp() __spllow(INT_IO)
+#define spltty() __spllow(INT_IO)
#define splclock() __spllow(0)
#define splstatclock() __spllow(0)
#define splhigh() __splhigh(0)