aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1996-02-07 21:52:57 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1996-02-07 21:52:57 +0000
commitb1fea4ca1018d0f9dec4653f2ba61b0854dca861 (patch)
treede9cb87e2b7befb83de3651dd41768830b9803ff
parente29c324e2e427be78f8e03ff700da022876f50b2 (diff)
Notes
-rw-r--r--sys/i386/include/spl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/include/spl.h b/sys/i386/include/spl.h
index b39dee072a3a5..8c3401258c2c7 100644
--- a/sys/i386/include/spl.h
+++ b/sys/i386/include/spl.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: spl.h,v 1.11 1995/08/26 20:46:43 bde Exp $
+ * $Id: spl.h,v 1.12 1995/10/30 17:01:37 bde Exp $
*/
#ifndef _MACHINE_IPL_H_
@@ -97,6 +97,9 @@ extern unsigned tty_imask; /* group of interrupts masked with spltty() */
#define setsofttty() (*(unsigned *)&ipending |= SWI_TTY_PENDING)
#define schedsofttty() (*(unsigned *)&idelayed |= SWI_TTY_PENDING)
+#define schedsoftnet() (*(unsigned *)&idelayed |= SWI_NET_PENDING)
+
+#define softclockpending() (ipending & SWI_CLOCK_PENDING)
#ifdef __GNUC__