diff options
| author | 2009-04-10 20:53:51 +0000 | |
|---|---|---|
| committer | 2009-04-10 20:53:51 +0000 | |
| commit | ce682df79460935c71bd725b8ce919f804c0dba8 (patch) | |
| tree | d19069bfc2fcffa70d6e7593ea5d2b63be979b15 /sys/arch/sparc/include/psl.h | |
| parent | Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does. (diff) | |
| download | wireguard-openbsd-ce682df79460935c71bd725b8ce919f804c0dba8.tar.xz wireguard-openbsd-ce682df79460935c71bd725b8ce919f804c0dba8.zip | |
generic soft interrupts support for sparc. Soft interrupt handlers are now
kept in a separate intrhand array, with their own enable bits so that
soft interrupts sharing the same level only get invoked if really triggered.
Inspired by NetBSD with significant changes.
ok kettenis@
Diffstat (limited to 'sys/arch/sparc/include/psl.h')
| -rw-r--r-- | sys/arch/sparc/include/psl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/psl.h b/sys/arch/sparc/include/psl.h index cb9fc9022f4..b8afe55177f 100644 --- a/sys/arch/sparc/include/psl.h +++ b/sys/arch/sparc/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.24 2009/03/15 19:40:40 miod Exp $ */ +/* $OpenBSD: psl.h,v 1.25 2009/04/10 20:53:54 miod Exp $ */ /* $NetBSD: psl.h,v 1.12 1997/03/10 21:49:11 pk Exp $ */ /* @@ -77,12 +77,13 @@ */ #define IPL_NONE 0 #define IPL_SOFTINT 1 -#define IPL_SOFTCLOCK IPL_SOFTINT /* softclock() interrupts */ -#define IPL_SOFTNET IPL_SOFTINT /* soft network interrupts */ +#define IPL_SOFTCLOCK 1 /* softclock() interrupts */ +#define IPL_SOFTNET 1 /* soft network interrupts */ #define IPL_AUSOFT 4 /* audio soft interrupts */ #define IPL_FDSOFT 4 /* floppy soft interrupts */ #define IPL_BIO 5 /* block devices are at 5 and below */ -#define IPL_TTY 6 /* tty soft interrupts */ +#define IPL_TTY 6 /* MD tty soft interrupts */ +#define IPL_SOFTTTY IPL_TTY #define IPL_NET 7 /* network hardware at 7 or below */ #define IPL_VM 7 /* max(BIO, NET, TTY) */ #define IPL_FB 9 /* framebuffer interrupts */ |
