Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
This commit is contained in:
parent
54c9a1df90
commit
7a9cad50cd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: param.h,v 1.19 1995/06/26 06:56:01 cgd Exp $ */
|
||||
/* $NetBSD: param.h,v 1.20 1995/08/13 00:23:56 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -206,10 +206,11 @@
|
|||
2) allowing faster devices to take priority
|
||||
*/
|
||||
#define splsoftclock() spl1() /* disallow softclock */
|
||||
#define splnet() spl2() /* disallow network */
|
||||
#define splsoftnet() spl1() /* disallow network */
|
||||
#define splbio() spl2() /* disallow block I/O */
|
||||
#define splimp() spl2() /* disallow imput */
|
||||
#define splnet() spl2() /* disallow network */
|
||||
#define spltty() spl4() /* disallow tty interrupts */
|
||||
#define splimp() spl4() /* disallow imput */
|
||||
#define splclock() spl1() /* disallow clock interrupt */
|
||||
#define splhigh() spl7() /* disallow everything */
|
||||
#define splsched() spl7() /* disallow scheduling */
|
||||
|
|
Loading…
Reference in New Issue