Module Name:    src
Committed By:   yamt
Date:           Thu Apr  9 00:34:44 UTC 2009

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

Log Message:
comments


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/sys/cpu.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/cpu.h
diff -u src/sys/sys/cpu.h:1.28 src/sys/sys/cpu.h:1.29
--- src/sys/sys/cpu.h:1.28	Sun Mar 29 09:24:52 2009
+++ src/sys/sys/cpu.h	Thu Apr  9 00:34:44 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.28 2009/03/29 09:24:52 ad Exp $	*/
+/*	$NetBSD: cpu.h,v 1.29 2009/04/09 00:34:44 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2007 YAMAMOTO Takashi,
@@ -93,8 +93,8 @@
 #endif	/* !_LOCORE */
 
 /* flags for cpu_need_resched */
-#define	RESCHED_LAZY		0x01
-#define	RESCHED_IMMED		0x02
-#define	RESCHED_KPREEMPT	0x04
+#define	RESCHED_LAZY		0x01	/* request a ctx switch */
+#define	RESCHED_IMMED		0x02	/* request an immediate ctx switch */
+#define	RESCHED_KPREEMPT	0x04	/* request in-kernel preemption */
 
 #endif	/* !_SYS_CPU_H_ */

Reply via email to