diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2000-07-06 15:25:05 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2000-07-06 15:25:05 +0000 |
commit | 9f7d0b7df9481c0acebc8cc0f27af6dd737c6243 (patch) | |
tree | 4b70373e3747048c7e62e323db95b786476e20e7 /sys/arch/hp300 | |
parent | 84659e9a63be386af0d7e58612a02a4fe18e2b59 (diff) |
Add spllowersoftclock(), same as splsoftclock(). (art@ ok)
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/include/intr.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/arch/hp300/include/intr.h b/sys/arch/hp300/include/intr.h index a61802df8bb..81cb2913207 100644 --- a/sys/arch/hp300/include/intr.h +++ b/sys/arch/hp300/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.3 1999/05/04 19:57:25 millert Exp $ */ +/* $OpenBSD: intr.h,v 1.4 2000/07/06 15:25:03 ho Exp $ */ /* $NetBSD: intr.h,v 1.2 1997/07/24 05:43:08 scottr Exp $ */ /*- @@ -142,17 +142,18 @@ extern unsigned short hp300_impipl; #define splsoft() spl1() /* These spl calls are used by machine-independent code. */ -#define splsoftclock() splsoft() -#define splsoftnet() splsoft() -#define splbio() _splraise(hp300_bioipl) -#define splnet() _splraise(hp300_netipl) -#define spltty() _splraise(hp300_ttyipl) -#define splimp() _splraise(hp300_impipl) -#define splclock() spl6() -#define splstatclock() spl6() -#define splvm() spl6() -#define splhigh() spl7() -#define splsched() spl7() +#define spllowersoftclock() splsoft() +#define splsoftclock() splsoft() +#define splsoftnet() splsoft() +#define splbio() _splraise(hp300_bioipl) +#define splnet() _splraise(hp300_netipl) +#define spltty() _splraise(hp300_ttyipl) +#define splimp() _splraise(hp300_impipl) +#define splclock() spl6() +#define splstatclock() spl6() +#define splvm() spl6() +#define splhigh() spl7() +#define splsched() spl7() /* watch out for side effects */ #define splx(s) ((s) & PSL_IPL ? _spl((s)) : spl0()) |