Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name is going to go away in the near future).
This commit is contained in:
parent
9d68beeb8e
commit
d85a75f583
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.37 2000/11/22 08:39:53 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.38 2001/01/14 02:00:37 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -140,6 +140,7 @@ _splraise(int s)
|
|||
#define splnet() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define splbio() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define splimp() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define splvm() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define spltty() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define splserial() _splraise(ALPHA_PSL_IPL_IO)
|
||||
#define splclock() _splraise(ALPHA_PSL_IPL_CLOCK)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.15 2000/08/22 19:46:27 thorpej Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.16 2001/01/14 02:00:38 thorpej Exp $ */
|
||||
|
||||
#ifndef _MACHINE_PSL_H_
|
||||
#define _MACHINE_PSL_H_
|
||||
|
@ -34,18 +34,17 @@ extern u_int16_t amiga_serialspl;
|
|||
#define splserial() _splraise(amiga_serialspl)
|
||||
#define spltty() splraise4()
|
||||
#define splimp() spltty() /* XXX for the full story, see i386 */
|
||||
#define splvm() splimp()
|
||||
|
||||
#ifndef LEV6_DEFER
|
||||
#define splclock() splraise6()
|
||||
#define splstatclock() splraise6()
|
||||
#define splvm() splraise6()
|
||||
#define splhigh() spl7()
|
||||
#define splsched() spl7()
|
||||
#define spllock() spl7()
|
||||
#else
|
||||
#define splclock() splraise4()
|
||||
#define splstatclock() splraise4()
|
||||
#define splvm() splraise4()
|
||||
#define splhigh() splraise4()
|
||||
#define splsched() splraise4()
|
||||
#define spllock() splraise4()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.3 2000/08/22 19:46:31 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.4 2001/01/14 02:00:38 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -226,6 +226,7 @@ softintr(ipl)
|
|||
* Miscellaneous
|
||||
*/
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splhigh() splraise(imask[IPL_HIGH])
|
||||
#define splsched() splhigh()
|
||||
#define spllock() splhigh()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.6 2000/08/22 19:46:27 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.7 2001/01/14 02:00:38 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
|
||||
|
@ -97,7 +97,7 @@ extern void _clrsoftintr __P((int));
|
|||
#define splnet() (_splraise(splvec.splnet))
|
||||
#define spltty() (_splraise(splvec.spltty))
|
||||
#define splimp() (_splraise(splvec.splimp))
|
||||
#define splpmap() (_splraise(splvec.splimp))
|
||||
#define splvm() (_splraise(splvec.splimp))
|
||||
#define splclock() (_splraise(splvec.splclock))
|
||||
#define splstatclock() (_splraise(splvec.splstatclock))
|
||||
#define splhigh() _splraise(MIPS_INT_MASK_SPLHIGH)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.4 2000/08/25 16:43:47 bjh21 Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.5 2001/01/14 02:00:38 thorpej Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000 Ben Harris
|
||||
* All rights reserved.
|
||||
|
@ -70,6 +70,7 @@
|
|||
#define spltty() raisespl(IPL_TTY)
|
||||
#define spllpt() raisespl(IPL_LPT)
|
||||
#define splimp() raisespl(IPL_IMP)
|
||||
#define splvm() raisespl(IPL_IMP)
|
||||
#define splaudio() raisespl(IPL_AUDIO)
|
||||
#define splserial() raisespl(IPL_SERIAL)
|
||||
#define splclock() raisespl(IPL_CLOCK)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.14 2000/08/22 19:46:28 thorpej Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.15 2001/01/14 02:00:39 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
|
@ -76,6 +76,7 @@
|
|||
#define spltty() raisespl(_SPL_TTY)
|
||||
#define spllpt() spltty()
|
||||
#define splimp() raisespl(_SPL_IMP)
|
||||
#define splvm() raisespl(_SPL_IMP)
|
||||
#define splaudio() raisespl(_SPL_AUDIO)
|
||||
#define splclock() raisespl(_SPL_CLOCK)
|
||||
#define splstatclock() raisespl(_SPL_CLOCK)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.9 2000/08/22 19:46:28 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.10 2001/01/14 02:00:39 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -66,12 +66,12 @@
|
|||
#define splnet() _splraise(PSL_S|PSL_IPL3)
|
||||
#define spltty() _splraise(PSL_S|PSL_IPL4)
|
||||
#define splimp() _splraise(PSL_S|PSL_IPL4)
|
||||
#define splvm() _splraise(PSL_S|PSL_IPL4)
|
||||
|
||||
#define spllpt() spltty()
|
||||
|
||||
#define splclock() splraise6()
|
||||
#define splstatclock() splraise6()
|
||||
#define splvm() splraise6()
|
||||
#define splhigh() spl7()
|
||||
#define splsched() spl7()
|
||||
#define spllock() spl7()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.11 2000/08/22 19:46:28 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.12 2001/01/14 02:00:39 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -176,6 +176,7 @@ set_sint(pending)
|
|||
#define spltty() splraise(imask[IPL_TTY])
|
||||
#define splclock() splraise(imask[IPL_CLOCK])
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splserial() splraise(imask[IPL_SERIAL])
|
||||
#define splstatclock() splclock()
|
||||
#define spllowersoftclock() spllower(imask[IPL_SOFTCLOCK])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.8 2000/08/22 19:46:28 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.9 2001/01/14 02:00:39 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
|
||||
|
@ -79,6 +79,7 @@ extern void _clrsoftintr(int);
|
|||
#define spltty() _splraise(SPLTTY)
|
||||
#define splclock() _splraise(SPLCLOCK)
|
||||
#define splimp() splclock()
|
||||
#define splvm() splclock()
|
||||
#define splstatclock() splclock()
|
||||
#define splsoftclock() _splraise(MIPS_SOFT_INT_MASK_0)
|
||||
#define splsoftnet() _splraise(MIPS_SOFT_INT_MASK_0|MIPS_SOFT_INT_MASK_1)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.9 2000/08/22 19:46:29 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.10 2001/01/14 02:00:39 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -113,6 +113,7 @@ extern unsigned short hp300_ipls[];
|
|||
#define splnet() _splraise(hp300_ipls[HP300_IPL_NET])
|
||||
#define spltty() _splraise(hp300_ipls[HP300_IPL_TTY])
|
||||
#define splimp() _splraise(hp300_ipls[HP300_IPL_IMP])
|
||||
#define splvm() _splraise(hp300_ipls[HP300_IPL_IMP])
|
||||
#define splclock() spl6()
|
||||
#define splstatclock() splclock()
|
||||
#define splhigh() spl7()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.7 2000/08/22 19:46:29 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.8 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
|
||||
|
@ -71,7 +71,7 @@ void _clrsoftintr __P((int));
|
|||
#define splnet() (_splraise(splvec.splnet))
|
||||
#define spltty() (_splraise(splvec.spltty))
|
||||
#define splimp() (_splraise(splvec.splimp))
|
||||
#define splpmap() (_splraise(splvec.splimp))
|
||||
#define splvm() (_splraise(splvec.splimp))
|
||||
#define splclock() (_splraise(splvec.splclock))
|
||||
#define splstatclock() (_splraise(splvec.splstatclock))
|
||||
#define spllowersoftclock() _spllower(MIPS_SOFT_INT_MASK_0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.16 2000/08/22 19:46:29 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.17 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -134,6 +134,7 @@ spllower(ncpl)
|
|||
* Miscellaneous
|
||||
*/
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splhigh() splraise(imask[IPL_HIGH])
|
||||
#define splsched() splhigh()
|
||||
#define spllock() splhigh()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.18 2000/08/22 19:46:29 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.19 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997 Scott Reynolds
|
||||
|
@ -72,6 +72,7 @@ extern unsigned short mac68k_ipls[];
|
|||
#define splbio() _splraise(mac68k_ipls[MAC68K_IPL_BIO])
|
||||
#define splnet() _splraise(mac68k_ipls[MAC68K_IPL_NET])
|
||||
#define splimp() _splraise(mac68k_ipls[MAC68K_IPL_IMP])
|
||||
#define splvm() _splraise(mac68k_ipls[MAC68K_IPL_IMP])
|
||||
#define splaudio() _splraise(mac68k_ipls[MAC68K_IPL_AUDIO])
|
||||
#define splclock() _splraise(mac68k_ipls[MAC68K_IPL_CLOCK])
|
||||
#define splstatclock() _splraise(mac68k_ipls[MAC68K_IPL_STATCLOCK])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.9 2000/11/29 17:55:52 tsubai Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.10 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -126,6 +126,7 @@ extern int imask[];
|
|||
* Miscellaneous
|
||||
*/
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splhigh() splraise(imask[IPL_HIGH])
|
||||
#define splsched() splhigh()
|
||||
#define spllock() splhigh()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.4 2000/08/22 19:46:31 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.5 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
|
||||
|
@ -102,7 +102,8 @@ extern void _clrsoftintr __P((int));
|
|||
#define splbio() _splraise(MIPS_INT_MASK_SPL1)
|
||||
#define splnet() _splraise(MIPS_INT_MASK_SPL0)
|
||||
#define spltty() _splraise(MIPS_INT_MASK_SPL0)
|
||||
#define splimp() _splraise(MIPS_INT_MASK_SPL0)
|
||||
#define splimp() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splvm() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splclock() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splstatclock() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splhigh() _splraise(MIPS_INT_MASK_SPL2)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.6 2000/12/10 18:43:02 scw Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.7 2001/01/14 02:00:40 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -82,10 +82,10 @@
|
|||
#define splnet() splraise3()
|
||||
#define spltty() splraise3()
|
||||
#define splimp() splraise3()
|
||||
#define splvm() splraise3()
|
||||
#define splserial() splraise4()
|
||||
#define splclock() splraise5()
|
||||
#define splstatclock() splraise5()
|
||||
#define splvm() splraise5()
|
||||
#define splhigh() spl7()
|
||||
#define splsched() spl7()
|
||||
#define spllock() spl7()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.5 2000/11/24 14:08:14 tsutsui Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.6 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -57,10 +57,10 @@
|
|||
#define splnet() splraise4()
|
||||
#define spltty() splraise5()
|
||||
#define splimp() splraise5()
|
||||
#define splvm() splraise5()
|
||||
#define splserial() splraise5()
|
||||
#define splclock() splraise6()
|
||||
#define splstatclock() splclock()
|
||||
#define splvm() spl6()
|
||||
#define splhigh() spl7()
|
||||
#define splsched() spl7()
|
||||
#define spllock() spl7()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.9 2000/08/22 19:46:30 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.10 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
|
||||
|
@ -92,6 +92,7 @@ extern void _clrsoftintr __P((int));
|
|||
#define splnet() _splraise(MIPS_INT_MASK_SPL1)
|
||||
#define spltty() _splraise(MIPS_INT_MASK_SPL1)
|
||||
#define splimp() _splraise(MIPS_INT_MASK_SPL1)
|
||||
#define splvm() _splraise(MIPS_INT_MASK_SPL1)
|
||||
#define splclock() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splstatclock() _splraise(MIPS_INT_MASK_SPL2)
|
||||
#define splhigh() _splraise(MIPS_INT_MASK_SPL2)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.8 2000/08/22 19:46:30 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.9 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997 Scott Reynolds
|
||||
|
@ -51,6 +51,7 @@
|
|||
#define splclock() _splraise(PSL_S|PSL_IPL6)
|
||||
#define splstatclock() splclock()
|
||||
#define splimp() _splraise(PSL_S|PSL_IPL6)
|
||||
#define splvm() _splraise(PSL_S|PSL_IPL6)
|
||||
#define spltty() _splraise(PSL_S|PSL_IPL3)
|
||||
#define splbio() _splraise(PSL_S|PSL_IPL3)
|
||||
#define splnet() _splraise(PSL_S|PSL_IPL3)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.12 2000/12/14 10:33:42 mycroft Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.13 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995-1997 Wolfgang Solfrank.
|
||||
|
@ -81,6 +81,7 @@ extern struct machvec machine_interface;
|
|||
#define splnet() ((*machine_interface.splnet)())
|
||||
#define spltty() ((*machine_interface.spltty)())
|
||||
#define splimp() ((*machine_interface.splimp)())
|
||||
#define splvm() ((*machine_interface.splimp)())
|
||||
#define splclock() ((*machine_interface.splclock)())
|
||||
#define spllowersoftclock() ((*machine_interface.spllowersoftclock)())
|
||||
#define splsoftclock() ((*machine_interface.splsoftclock)())
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.24 2000/12/19 16:24:43 matthias Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.25 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -184,6 +184,7 @@ splx(ncpl)
|
|||
#define spltty() splraise(imask[IPL_TTY])
|
||||
#define splclock() splraise(imask[IPL_CLOCK])
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splrtty() splraise(imask[IPL_RTTY])
|
||||
#define splstatclock() splclock()
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.17 2000/08/22 19:46:31 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.18 2001/01/14 02:00:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
|
||||
|
@ -63,7 +63,7 @@ void _clrsoftintr __P((int));
|
|||
#define splnet() (_splraise(splvec.splnet))
|
||||
#define spltty() (_splraise(splvec.spltty))
|
||||
#define splimp() (_splraise(splvec.splimp))
|
||||
#define splpmap() (_splraise(splvec.splimp))
|
||||
#define splvm() (_splraise(splvec.splimp))
|
||||
#define splclock() (_splraise(splvec.splclock))
|
||||
#define splstatclock() (_splraise(splvec.splstatclock))
|
||||
#define spllowersoftclock() _spllower(MIPS_SOFT_INT_MASK_0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.5 2000/11/22 08:55:36 matt Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.6 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -172,6 +172,7 @@ set_sint(pending)
|
|||
#define spltty() splraise(imask[IPL_TTY])
|
||||
#define splclock() splraise(imask[IPL_CLOCK])
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splaudio() splraise(imask[IPL_AUDIO])
|
||||
#define splserial() splraise(imask[IPL_SERIAL])
|
||||
#define splstatclock() splclock()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.4 2000/08/22 19:46:32 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.5 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
|
@ -87,6 +87,7 @@ extern u_int32_t clockmask;
|
|||
#define splnet() _splraise(netmask)
|
||||
#define spltty() _splraise(ttymask)
|
||||
#define splimp() spltty()
|
||||
#define splvm() spltty()
|
||||
#define splclock() _splraise(clockmask)
|
||||
#define splstatclock() splclock()
|
||||
#define spllowersoftclock() _spllower(MIPS_SOFT_INT_MASK_0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.9 2000/08/22 19:46:31 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.10 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Charles M. Hannum. All rights reserved.
|
||||
|
@ -110,6 +110,7 @@ spllower(ncpl)
|
|||
* Miscellaneous
|
||||
*/
|
||||
#define splimp() splraise(imask[IPL_IMP])
|
||||
#define splvm() splraise(imask[IPL_IMP])
|
||||
#define splhigh() splraise(imask[IPL_HIGH])
|
||||
#define splsched() splhigh()
|
||||
#define spllock() splhigh()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.23 2000/08/22 19:46:31 thorpej Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.24 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -200,7 +200,7 @@ _SPLRAISE(spltty, PIL_TTY)
|
|||
* Memory allocation (must be as high as highest network, tty, or disk device)
|
||||
*/
|
||||
_SPLRAISE(splimp, 7)
|
||||
_SPLRAISE(splpmap, 7)
|
||||
_SPLRAISE(splvm, 7)
|
||||
|
||||
/* clock interrupts at level 10 */
|
||||
_SPLRAISE(splclock, PIL_CLOCK)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.17 2000/12/29 18:37:05 eeh Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.18 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -388,7 +388,7 @@ SPLHOLD(spllpt, PIL_LPT)
|
|||
* Memory allocation (must be as high as highest network, tty, or disk device)
|
||||
*/
|
||||
SPLHOLD(splimp, PIL_IMP)
|
||||
SPLHOLD(splpmap, PIL_IMP)
|
||||
SPLHOLD(splvm, PIL_IMP)
|
||||
|
||||
SPLHOLD(splclock, PIL_CLOCK)
|
||||
|
||||
|
@ -435,7 +435,7 @@ static __inline void splx(newpil)
|
|||
#define spltty() splttyX(__FILE__, __LINE__)
|
||||
#define spllpt() spllptX(__FILE__, __LINE__)
|
||||
#define splimp() splimpX(__FILE__, __LINE__)
|
||||
#define splpmap() splpmapX(__FILE__, __LINE__)
|
||||
#define splvm() splvmX(__FILE__, __LINE__)
|
||||
#define splclock() splclockX(__FILE__, __LINE__)
|
||||
#define splfd() splfdX(__FILE__, __LINE__)
|
||||
#define splzs() splzsX(__FILE__, __LINE__)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.16 2000/08/22 19:46:32 thorpej Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.17 2001/01/14 02:00:42 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -92,12 +92,13 @@ _getsr(void)
|
|||
|
||||
/*
|
||||
* Requirement: imp >= (highest network, tty, or disk IPL)
|
||||
* This is used mostly in the VM code. (Why not splvm?)
|
||||
* This is used mostly in the VM code.
|
||||
* Note that the VM code runs at spl7 during kernel
|
||||
* initialization, and later at spl0, so we have to
|
||||
* use splraise to avoid enabling interrupts early.
|
||||
*/
|
||||
#define splimp() _splraise(PSL_S|PSL_IPL4)
|
||||
#define splvm() _splraise(PSL_S|PSL_IPL4)
|
||||
|
||||
/* Intersil clock hardware interrupts (hard-wired at 5) */
|
||||
#define splclock() splraise5()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.7 2000/08/22 19:46:32 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.8 2001/01/14 02:00:43 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Matt Thomas.
|
||||
|
@ -116,6 +116,7 @@ do { \
|
|||
#define splnet() _splraise(IPL_NET) /* IPL15 */
|
||||
#define spltty() _splraise(IPL_TTY) /* IPL15 */
|
||||
#define splimp() _splraise(IPL_IMP) /* IPL17 */
|
||||
#define splvm() _splraise(IPL_IMP) /* IPL17 */
|
||||
#define splclock() _splraise(IPL_CLOCK) /* IPL18 */
|
||||
#define splhigh() _splraise(IPL_HIGH) /* IPL1F */
|
||||
#define splstatclock() splclock()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.h,v 1.6 2000/08/22 19:46:32 thorpej Exp $ */
|
||||
/* $NetBSD: intr.h,v 1.7 2001/01/14 02:00:43 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -52,12 +52,12 @@ void spl0 __P((void));
|
|||
#define splsoftnet() splraise1() /* disallow softnet */
|
||||
#define splnet() _splraise(PSL_S|PSL_IPL4) /* disallow network */
|
||||
#define splbio() _splraise(PSL_S|PSL_IPL3) /* disallow block I/O */
|
||||
#define splimp() _splraise(PSL_S|PSL_IPL4) /* disallow imput */
|
||||
#define spltty() _splraise(PSL_S|PSL_IPL4) /* disallow tty interrupts */
|
||||
#define splimp() _splraise(PSL_S|PSL_IPL4) /* disallow vm */
|
||||
#define splvm() _splraise(PSL_S|PSL_IPL4) /* disallow vm */
|
||||
#define splzs() splraise5() /* disallow serial interrupts */
|
||||
#define splclock() splraise6() /* disallow clock interrupt */
|
||||
#define splstatclock() splraise6() /* disallow clock interrupt */
|
||||
#define splvm() _splraise(PSL_S|PSL_IPL4) /* disallow virtual memory operations */
|
||||
#define splhigh() spl7() /* disallow everything */
|
||||
#define splsched() spl7() /* disallow scheduling */
|
||||
#define spllock() spl7() /* disallow scheduling */
|
||||
|
|
Loading…
Reference in New Issue