summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/intr.h3
-rw-r--r--sys/arch/amiga/include/psl.h3
-rw-r--r--sys/arch/hppa/include/intr.h3
-rw-r--r--sys/arch/i386/include/intr.h3
-rw-r--r--sys/arch/mac68k/include/intr.h3
-rw-r--r--sys/arch/mvme68k/include/intr.h3
-rw-r--r--sys/arch/pmax/include/mips_param.h1
-rw-r--r--sys/arch/powerpc/include/intr.h3
-rw-r--r--sys/arch/sparc/include/psl.h3
-rw-r--r--sys/arch/sun3/include/psl.h3
-rw-r--r--sys/arch/vax/include/param.h3
11 files changed, 21 insertions, 10 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h
index c5cdb13c368..1135b7bdc12 100644
--- a/sys/arch/alpha/include/intr.h
+++ b/sys/arch/alpha/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.9 2001/04/12 10:35:01 art Exp $ */
+/* $OpenBSD: intr.h,v 1.10 2001/06/24 17:05:26 miod Exp $ */
/* $NetBSD: intr.h,v 1.25 2000/05/23 05:12:56 thorpej Exp $ */
/*
@@ -74,6 +74,7 @@ _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 splclock() _splraise(ALPHA_PSL_IPL_CLOCK)
#define splstatclock() _splraise(ALPHA_PSL_IPL_CLOCK)
#define splhigh() _splraise(ALPHA_PSL_IPL_HIGH)
diff --git a/sys/arch/amiga/include/psl.h b/sys/arch/amiga/include/psl.h
index 63c4bcf27d9..3e32805eea7 100644
--- a/sys/arch/amiga/include/psl.h
+++ b/sys/arch/amiga/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.11 2000/07/06 15:29:52 ho Exp $ */
+/* $OpenBSD: psl.h,v 1.12 2001/06/24 17:05:34 miod Exp $ */
/* $NetBSD: psl.h,v 1.11 1996/11/30 00:33:49 is Exp $ */
#ifndef _MACHINE_PSL_H_
@@ -121,6 +121,7 @@ spllower(npsl)
extern u_int16_t amiga_ttyspl;
#define spltty() splexact(amiga_ttyspl)
#define splimp() spltty() /* XXX for the full story, see i386 */
+#define splvm() spltty() /* XXX for the full story, see i386 */
#if defined(LEV6_DEFER) || defined(IPL_REMAP_1) || defined(IPL_REMAP_2)
#define splclock() spl4()
diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h
index 95f7552a0f8..50d90d5cffc 100644
--- a/sys/arch/hppa/include/intr.h
+++ b/sys/arch/hppa/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.10 2001/01/29 00:01:58 mickey Exp $ */
+/* $OpenBSD: intr.h,v 1.11 2001/06/24 17:05:36 miod Exp $ */
/*
* Copyright (c) 1990,1991,1992,1994 The University of Utah and
@@ -84,6 +84,7 @@
#define splimp() __spllow(IPL_CLOCK)
#define splclock() __spllow(IPL_CLOCK)
#define splstatclock() __spllow(IPL_CLOCK)
+#define splvm() __spllow(IPL_CLOCK)
#define splhigh() __splhigh(IPL_HIGH)
/* software interrupt register */
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h
index ae52dad0b15..30ebfd44ed5 100644
--- a/sys/arch/i386/include/intr.h
+++ b/sys/arch/i386/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.6 2000/08/05 22:07:31 niklas Exp $ */
+/* $OpenBSD: intr.h,v 1.7 2001/06/24 17:05:36 miod Exp $ */
/* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */
/*
@@ -141,6 +141,7 @@ spllower(ncpl)
* Miscellaneous
*/
#define splimp() splraise(imask[IPL_IMP])
+#define splvm() splraise(imask[IPL_IMP])
#define splhigh() splraise(imask[IPL_HIGH])
#define spl0() spllower(0)
diff --git a/sys/arch/mac68k/include/intr.h b/sys/arch/mac68k/include/intr.h
index c5e6b7d3a92..b485b7e5854 100644
--- a/sys/arch/mac68k/include/intr.h
+++ b/sys/arch/mac68k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.3 2000/07/06 15:25:03 ho Exp $ */
+/* $OpenBSD: intr.h,v 1.4 2001/06/24 17:05:37 miod Exp $ */
/* $NetBSD: intr.h,v 1.8 1997/11/07 07:33:18 scottr Exp $ */
/*
@@ -108,6 +108,7 @@ extern unsigned short mac68k_schedipl;
#define splbio() _splraise(mac68k_bioipl)
#define splnet() _splraise(mac68k_netipl)
#define splimp() _splraise(mac68k_impipl)
+#define splvm() _splraise(mac68k_impipl)
#define splclock() _splraise(mac68k_clockipl)
#define splstatclock() _splraise(mac68k_statclockipl)
#define splsched() _splsched(mac68k_schedipl)
diff --git a/sys/arch/mvme68k/include/intr.h b/sys/arch/mvme68k/include/intr.h
index 64df806d666..744e0ef3c31 100644
--- a/sys/arch/mvme68k/include/intr.h
+++ b/sys/arch/mvme68k/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.2 2000/07/06 15:25:04 ho Exp $ */
+/* $OpenBSD: intr.h,v 1.3 2001/06/24 17:05:37 miod Exp $ */
/*
* Copyright (C) 2000 Steve Murphree, Jr.
* All rights reserved.
@@ -69,6 +69,7 @@ u_long allocate_sir __P((void (*proc)(), void *arg));
#define splnet() spl3()
#define splimp() spl3()
#define spltty() spl3()
+#define splvm() spl3()
#define splclock() spl5()
#define splstatclock() spl5()
#define splhigh() spl7()
diff --git a/sys/arch/pmax/include/mips_param.h b/sys/arch/pmax/include/mips_param.h
index bf934e1a429..60ee23545ea 100644
--- a/sys/arch/pmax/include/mips_param.h
+++ b/sys/arch/pmax/include/mips_param.h
@@ -80,6 +80,7 @@ extern int (*Mach_splnet) __P((void)), (*Mach_splbio) __P((void)),
#define splnet() ((*Mach_splnet)())
#define splbio() ((*Mach_splbio)())
#define splimp() ((*Mach_splimp)())
+#define splvm() ((*Mach_splimp)())
#define spltty() ((*Mach_spltty)())
#define splclock() ((*Mach_splclock)())
#define splstatclock() ((*Mach_splstatclock)())
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 8c84247f6d1..0f083463aa8 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.9 2001/06/24 04:41:37 drahn Exp $ */
+/* $OpenBSD: intr.h,v 1.10 2001/06/24 17:05:38 miod Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -132,6 +132,7 @@ set_sint(int pending)
#define spltty() splraise(imask[IPL_TTY])
#define splclock() splraise(SPL_CLOCK|SINT_MASK)
#define splimp() splraise(imask[IPL_IMP])
+#define splvm() splraise(imask[IPL_IMP])
#define splstatclock() splhigh()
#define spllowersoftclock() spllower(SINT_CLOCK)
#define splsoftclock() splraise(SINT_CLOCK)
diff --git a/sys/arch/sparc/include/psl.h b/sys/arch/sparc/include/psl.h
index 9af1062ac8d..a18d9b86e83 100644
--- a/sys/arch/sparc/include/psl.h
+++ b/sys/arch/sparc/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.5 2000/07/07 11:49:39 art Exp $ */
+/* $OpenBSD: psl.h,v 1.6 2001/06/24 17:05:42 miod Exp $ */
/* $NetBSD: psl.h,v 1.12 1997/03/10 21:49:11 pk Exp $ */
/*
@@ -201,6 +201,7 @@ SPLHOLD(spltty, PIL_TTY)
* Memory allocation (must be as high as highest network, tty, or disk device)
*/
SPLHOLD(splimp, 7)
+SPLHOLD(splvm, 7)
/*
* remove.
diff --git a/sys/arch/sun3/include/psl.h b/sys/arch/sun3/include/psl.h
index 2c5199f2e9a..66d6390219a 100644
--- a/sys/arch/sun3/include/psl.h
+++ b/sys/arch/sun3/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.9 2001/01/03 01:48:07 miod Exp $ */
+/* $OpenBSD: psl.h,v 1.10 2001/06/24 17:05:43 miod Exp $ */
/* $NetBSD: psl.h,v 1.14 1998/11/24 17:07:54 kleink Exp $ */
/*-
@@ -146,6 +146,7 @@ _splraise(int new)
* 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() spl5()
diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h
index 725ad0229ce..950c970d4a8 100644
--- a/sys/arch/vax/include/param.h
+++ b/sys/arch/vax/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.18 2001/06/13 07:38:47 miod Exp $ */
+/* $OpenBSD: param.h,v 1.19 2001/06/24 17:05:39 miod Exp $ */
/* $NetBSD: param.h,v 1.39 1999/10/22 21:14:34 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -199,6 +199,7 @@
#define splnet() _splraise(0x15) /* IPL15 */
#define spltty() _splraise(0x15) /* IPL15 */
#define splimp() _splraise(0x17) /* IPL17 */
+#define splvm() _splraise(0x17) /* IPL17 */
#define splclock() _splraise(0x18) /* IPL18 */
#define splhigh() _splraise(0x1f) /* IPL1F */
#define splstatclock() splclock()