diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-19 16:23:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-19 16:23:30 +0000 |
commit | 6046bca65b2b210d7b8d7a3e5b8aac28a3234fde (patch) | |
tree | bf3d764beaa8adbec29e596037f59721da033019 /sys/arch | |
parent | b8aacf8f0b3ab392828d37a1367bf6f81d30c210 (diff) |
Define an IPL_VM and mark IPL_IMP as "not to be used".
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/include/intr.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index 4f3dbe87cae..18057a701a3 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.16 2002/06/11 05:03:13 art Exp $ */ +/* $OpenBSD: intr.h,v 1.17 2002/07/19 16:23:29 art Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -77,7 +77,8 @@ #define IPL_NET MAKEIPL(3) /* network */ #define IPL_SOFTTTY MAKEIPL(4) /* delayed terminal handling */ #define IPL_TTY MAKEIPL(5) /* terminal */ -#define IPL_IMP MAKEIPL(6) /* memory allocation */ +#define IPL_VM MAKEIPL(6) /* memory allocation */ +#define IPL_IMP IPL_VM /* XXX - should not be here. */ #define IPL_AUDIO MAKEIPL(7) /* audio */ #define IPL_CLOCK MAKEIPL(8) /* clock */ #define IPL_STATCLOCK MAKEIPL(9) /* statclock */ @@ -211,8 +212,8 @@ spllower(ncpl) /* * Miscellaneous */ -#define splimp() splraise(IPL_IMP) -#define splvm() splraise(IPL_IMP) +#define splvm() splraise(IPL_VM) +#define splimp() splvm() #define splhigh() splraise(IPL_HIGH) #define spl0() spllower(IPL_NONE) |