diff options
author | bde <bde@FreeBSD.org> | 1997-07-21 16:43:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-07-21 16:43:48 +0000 |
commit | 086a90ce38f529dbd8af1870fb4d4aa197e8d88a (patch) | |
tree | 2a59b4254f6d3e344a0d6e6b4f40acf824bd475b | |
parent | d3ee463b2664cce4d25b38c0b2cf802500755b05 (diff) | |
download | FreeBSD-src-086a90ce38f529dbd8af1870fb4d4aa197e8d88a.zip FreeBSD-src-086a90ce38f529dbd8af1870fb4d4aa197e8d88a.tar.gz |
Store SWI_MASK in a variable so that LKMs can use it portably.
-rw-r--r-- | sys/i386/isa/ipl.s | 4 | ||||
-rw-r--r-- | sys/sys/systm.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s index 0a5d7f7..daf1760 100644 --- a/sys/i386/isa/ipl.s +++ b/sys/i386/isa/ipl.s @@ -36,7 +36,7 @@ * * @(#)ipl.s * - * $Id: ipl.s,v 1.1 1997/05/26 17:58:27 fsmp Exp $ + * $Id: ipl.s,v 1.2 1997/05/31 09:03:52 peter Exp $ */ @@ -62,6 +62,8 @@ _tty_imask: .long 0 _bio_imask: .long 0 .globl _net_imask _net_imask: .long 0 + .globl _soft_imask +_soft_imask: .long SWI_MASK .globl _softnet_imask _softnet_imask: .long SWI_NET_MASK .globl _softtty_imask diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 959a1af..7cded7f 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)systm.h 8.7 (Berkeley) 3/29/95 - * $Id: systm.h,v 1.51 1997/05/29 04:46:07 peter Exp $ + * $Id: systm.h,v 1.52 1997/05/31 09:43:22 peter Exp $ */ #ifndef _SYS_SYSTM_H_ @@ -200,6 +200,7 @@ extern intrmask_t stat_imask; /* interrupts masked with splstatclock() */ extern intrmask_t tty_imask; /* group of interrupts masked with spltty() */ /* Read only */ +extern const intrmask_t soft_imask; /* interrupts masked with splsoft*() */ extern const intrmask_t softnet_imask; /* interrupt masked with splnet() */ extern const intrmask_t softtty_imask; /* interrupt masked with splsofttty() */ |