Module Name:    src
Committed By:   ad
Date:           Sun Apr 19 08:45:09 UTC 2009

Modified Files:
        src/sys/sys: sched.h

Log Message:
Add SPCF_NOINTR to indicate that the CPU has been shielded from hardware
interrupts (as SPCF_OFFLINE is to unbound LWPs).


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/sys/sched.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/sched.h
diff -u src/sys/sys/sched.h:1.67 src/sys/sys/sched.h:1.68
--- src/sys/sys/sched.h:1.67	Sun Mar 15 22:52:39 2009
+++ src/sys/sys/sched.h	Sun Apr 19 08:45:09 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sched.h,v 1.67 2009/03/15 22:52:39 rmind Exp $	*/
+/*	$NetBSD: sched.h,v 1.68 2009/04/19 08:45:09 ad Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -192,6 +192,7 @@
 #define	SPCF_SHOULDYIELD	0x0002	/* process should yield the CPU */
 #define	SPCF_OFFLINE		0x0004	/* CPU marked offline */
 #define	SPCF_RUNNING		0x0008	/* CPU is running */
+#define	SPCF_NOINTR		0x0010	/* shielded from interrupts */
 
 #define	SPCF_SWITCHCLEAR	(SPCF_SEENRR|SPCF_SHOULDYIELD)
 

Reply via email to