summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpvalchev <pvalchev@openbsd.org>2004-04-16 04:52:05 +0000
committerpvalchev <pvalchev@openbsd.org>2004-04-16 04:52:05 +0000
commit49d0fcfc0b4079d6cb1a73e486c0753cb55f96a3 (patch)
tree7de8d83a7b4c626d979e4820d93f8da50255d5e8
parentuse getpeerbyaddr() instead of using the v4 part of the af independent (diff)
downloadwireguard-openbsd-49d0fcfc0b4079d6cb1a73e486c0753cb55f96a3.tar.xz
wireguard-openbsd-49d0fcfc0b4079d6cb1a73e486c0753cb55f96a3.zip
provide MI splaudio(); ok miod
from RATT
-rw-r--r--sys/arch/alpha/include/intr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h
index b6953c946e3..a5813c6e1bf 100644
--- a/sys/arch/alpha/include/intr.h
+++ b/sys/arch/alpha/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.15 2002/04/29 07:35:13 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.16 2004/04/16 04:52:05 pvalchev Exp $ */
/* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */
/*-
@@ -92,6 +92,7 @@
#define IPL_CLOCK 2 /* disable clock interrupts */
#define IPL_HIGH 3 /* disable all interrupts */
#define IPL_SERIAL 1 /* disable serial interrupts */
+#define IPL_AUDIO 1 /* disable audio interrupts */
#define IPL_SOFTSERIAL 0 /* serial software interrupts */
#define IPL_SOFTNET 1 /* network software interrupts */
@@ -133,7 +134,8 @@ _splraise(s)
#define splimp() _splraise(ALPHA_PSL_IPL_IO)
#define spltty() _splraise(ALPHA_PSL_IPL_IO)
#define splserial() _splraise(ALPHA_PSL_IPL_IO)
-#define splvm() _splraise(ALPHA_PSL_IPL_IO)
+#define splaudio() _splraise(ALPHA_PSL_IPL_IO)
+#define splvm() _splraise(ALPHA_PSL_IPL_IO)
#define splclock() _splraise(ALPHA_PSL_IPL_CLOCK)
#define splstatclock() _splraise(ALPHA_PSL_IPL_CLOCK)
#define splhigh() _splraise(ALPHA_PSL_IPL_HIGH)