Implement splaudio().

This commit is contained in:
scottr 1998-08-25 03:59:01 +00:00
parent f920e4e2d6
commit 2aa56b1c61
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.9 1998/08/12 06:58:42 scottr Exp $ */
/* $NetBSD: intr.h,v 1.10 1998/08/25 03:59:01 scottr Exp $ */
/*
* Copyright (C) 1997 Scott Reynolds
@ -87,6 +87,7 @@ extern unsigned short mac68k_ttyipl;
extern unsigned short mac68k_bioipl;
extern unsigned short mac68k_netipl;
extern unsigned short mac68k_impipl;
extern unsigned short mac68k_audioipl;
extern unsigned short mac68k_clockipl;
extern unsigned short mac68k_statclockipl;
extern unsigned short mac68k_schedipl;
@ -106,6 +107,7 @@ extern unsigned short mac68k_schedipl;
#define splbio() _splraise(mac68k_bioipl)
#define splnet() _splraise(mac68k_netipl)
#define splimp() _splraise(mac68k_impipl)
#define splaudio() _splraise(mac68k_audioipl)
#define splclock() _splraise(mac68k_clockipl)
#define splstatclock() _splraise(mac68k_statclockipl)
#define splsched() _splsched(mac68k_schedipl)

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.211 1998/08/22 06:06:05 scottr Exp $ */
/* $NetBSD: machdep.c,v 1.212 1998/08/25 03:59:01 scottr Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -228,6 +228,7 @@ unsigned short mac68k_ttyipl = PSL_S | PSL_IPL1;
unsigned short mac68k_bioipl = PSL_S | PSL_IPL2;
unsigned short mac68k_netipl = PSL_S | PSL_IPL2;
unsigned short mac68k_impipl = PSL_S | PSL_IPL2;
unsigned short mac68k_audioipl = PSL_S | PSL_IPL2;
unsigned short mac68k_clockipl = PSL_S | PSL_IPL2;
unsigned short mac68k_statclockipl = PSL_S | PSL_IPL2;
unsigned short mac68k_schedipl = PSL_S | PSL_IPL3;