mirror of
https://github.com/opnsense/src.git
synced 2026-03-24 19:53:08 -04:00
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).
This commit is contained in:
parent
0589fe3b6e
commit
dfa67ec76e
1 changed files with 6 additions and 1 deletions
|
|
@ -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() */
|
||||
|
|
|
|||
Loading…
Reference in a new issue