diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-01-02 19:34:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-01-02 19:34:16 +0000 |
commit | 24f16b3b18328ed47a46a8d064ae279811bb1576 (patch) | |
tree | fb2dc574d74c4a0c77b169975bfc889793b1ff26 | |
parent | 6e7f741f2595c33e8a71d8ad7e710e8c3af83e3f (diff) |
Add IPL_AUDIO/splaudio().
-rw-r--r-- | sys/arch/sgi/include/intr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h index 8bb5be5c0a2..e6532535f59 100644 --- a/sys/arch/sgi/include/intr.h +++ b/sys/arch/sgi/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.10 2004/10/20 12:49:15 pefo Exp $ */ +/* $OpenBSD: intr.h,v 1.11 2005/01/02 19:34:15 kettenis Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -53,6 +53,7 @@ /* Interrupt priority `levels'; not mutually exclusive. */ #define IPL_BIO 0 /* block I/O */ +#define IPL_AUDIO IPL_BIO #define IPL_NET 1 /* network */ #define IPL_TTY 2 /* terminal */ #define IPL_VM 3 /* memory allocation */ @@ -84,6 +85,7 @@ #define splbio() splraise(imask[IPL_BIO]) #define splnet() splraise(imask[IPL_NET]) #define spltty() splraise(imask[IPL_TTY]) +#define splaudio() splraise(imask[IPL_AUDIO]) #define splclock() splraise(SPL_CLOCKMASK|SINT_ALLMASK) #define splimp() splraise(imask[IPL_VM]) #define splvm() splraise(imask[IPL_VM]) |