From dfa67ec76ed216df67ede2dabffe78cc65be383e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 31 May 1997 09:03:52 +0000 Subject: [PATCH] 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). --- sys/i386/isa/ipl.s | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s index 25ddc3f6335..0a5d7f7cae0 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() */