[rtems commit] sys/event.h: Update to FreeBSD 9.3

Sebastian Huber sebh at rtems.org
Fri Feb 13 09:48:58 UTC 2015


Module:    rtems
Branch:    master
Commit:    353506b93e39a0a518f73de880eddbe2aabd5bed
Changeset: http://git.rtems.org/rtems/commit/?id=353506b93e39a0a518f73de880eddbe2aabd5bed

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Feb  2 14:55:23 2015 +0100

sys/event.h: Update to FreeBSD 9.3

---

 cpukit/libcsupport/include/sys/event.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cpukit/libcsupport/include/sys/event.h b/cpukit/libcsupport/include/sys/event.h
index d92eb55..b18ac8c 100644
--- a/cpukit/libcsupport/include/sys/event.h
+++ b/cpukit/libcsupport/include/sys/event.h
@@ -76,6 +76,7 @@ struct kevent {
 #define EV_DISPATCH	0x0080		/* disable event after reporting */
 
 #define EV_SYSFLAGS	0xF000		/* reserved by system */
+#define	EV_DROP		0x1000		/* note should be dropped */
 #define EV_FLAG1	0x2000		/* filter-specific flag */
 
 /* returned values */
@@ -134,7 +135,7 @@ struct kevent {
 struct knote;
 SLIST_HEAD(klist, knote);
 struct kqueue;
-SLIST_HEAD(kqlist, kqueue);
+TAILQ_HEAD(kqlist, kqueue);
 struct knlist {
 	struct	klist	kl_list;
 	void    (*kl_lock)(void *);	/* lock function */
@@ -209,6 +210,7 @@ struct knote {
 #define KN_MARKER	0x20			/* ignore this knote */
 #define KN_KQUEUE	0x40			/* this knote belongs to a kq */
 #define KN_HASKQLOCK	0x80			/* for _inevent */
+#define	KN_SCAN		0x100			/* flux set in kqueue_scan() */
 	int			kn_sfflags;	/* saved filter flags */
 	intptr_t		kn_sdata;	/* saved data field */
 	union {




More information about the vc mailing list