From 3ce5c575dda9cc5c74cc2315778a6a2d0ea07dff Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Fri, 16 Apr 2004 04:52:06 +0000 Subject: provide MI splaudio(); ok miod from RATT --- sys/arch/alpha/include/intr.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch/alpha/include/intr.h') 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) -- cgit v1.2.3