summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ipl.s
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-31 09:03:52 +0000
committerpeter <peter@FreeBSD.org>1997-05-31 09:03:52 +0000
commit83a98bc0a285351c33042b8845ddaabb8b730bef (patch)
tree638ed079c31d837118f27330ffa07b79087f339b /sys/i386/isa/ipl.s
parent72b61693b58d7b9f6e78f631b74f869c521b9e70 (diff)
downloadFreeBSD-src-83a98bc0a285351c33042b8845ddaabb8b730bef.zip
FreeBSD-src-83a98bc0a285351c33042b8845ddaabb8b730bef.tar.gz
Store the macro values for SWI_TTY_MASK and SWI_NET_MASK in variables to
that lkm's can use them for fiddling the masks without being dependent on which mode the kernel is compiled in (SMP or UP). This is particularly for ppp_tty.c which has some domain crossing between the net and tty subsystems. The values are not used in the spl code, they are for reference only (ie: the compiled code uses immediate values rather than an indirect 32 bit address and 32 bit data fetch).
Diffstat (limited to 'sys/i386/isa/ipl.s')
-rw-r--r--sys/i386/isa/ipl.s7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s
index 25ddc3f..0a5d7f7 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/24 17:02:30 smp Exp smp $
+ * $Id: ipl.s,v 1.1 1997/05/26 17:58:27 fsmp Exp $
*/
@@ -62,6 +62,11 @@ _tty_imask: .long 0
_bio_imask: .long 0
.globl _net_imask
_net_imask: .long 0
+ .globl _softnet_imask
+_softnet_imask: .long SWI_NET_MASK
+ .globl _softtty_imask
+_softtty_imask: .long SWI_TTY_MASK
+
.globl _ipending
/* pending interrupts blocked by splxxx() */
OpenPOWER on IntegriCloud