From fa628c268c2d531552037f05699c06959d9618e6 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 21 Apr 1999 07:26:30 +0000 Subject: Stage 1 of a cleanup of the i386 interrupt registration mechanism. Interrupts under the new scheme are managed by the i386 nexus with the awareness of the resource manager. There is further room for optimizing the interfaces still. All the users of register_intr()/intr_create() should be gone, with the exception of pcic and i386/isa/clock.c. --- sys/i386/isa/ipl_funcs.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/i386/isa/ipl_funcs.c') diff --git a/sys/i386/isa/ipl_funcs.c b/sys/i386/isa/ipl_funcs.c index aeba4ac..c73fc22 100644 --- a/sys/i386/isa/ipl_funcs.c +++ b/sys/i386/isa/ipl_funcs.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ipl_funcs.c,v 1.14 1998/12/07 21:58:22 archie Exp $ + * $Id: ipl_funcs.c,v 1.15 1999/03/05 23:39:02 gibbs Exp $ */ #include @@ -105,6 +105,14 @@ splx(unsigned ipl) splz(); } +intrmask_t +splq(intrmask_t mask) +{ + intrmask_t tmp = cpl; + cpl |= mask; + return (tmp); +} + #else /* !SMP */ #include -- cgit v1.1