diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-04-16 04:52:06 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-04-16 04:52:06 +0000 |
commit | 3ce5c575dda9cc5c74cc2315778a6a2d0ea07dff (patch) | |
tree | 2487b9a1a975f352982471455690a91340a5de27 /sys/arch/alpha/include/intr.h | |
parent | 606cbe93de42cac7de618119fc26fbf7340e2cf8 (diff) |
provide MI splaudio(); ok miod
from RATT
Diffstat (limited to 'sys/arch/alpha/include/intr.h')
-rw-r--r-- | sys/arch/alpha/include/intr.h | 6 |
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) |