[rtems commit] sys/event.h: Update to FreeBSD head 2017-02-13

Sebastian Huber sebh at rtems.org
Tue Apr 4 08:44:50 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr  4 10:39:45 2017 +0200

sys/event.h: Update to FreeBSD head 2017-02-13

---

 cpukit/libcsupport/include/sys/event.h | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/cpukit/libcsupport/include/sys/event.h b/cpukit/libcsupport/include/sys/event.h
index 6639b1e..bc18aa9 100644
--- a/cpukit/libcsupport/include/sys/event.h
+++ b/cpukit/libcsupport/include/sys/event.h
@@ -23,13 +23,14 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: head/sys/sys/event.h 311055 2017-01-02 09:02:39Z kib $
+ * $FreeBSD: head/sys/sys/event.h 313704 2017-02-13 19:00:09Z ed $
  */
 
 #ifndef _SYS_EVENT_H_
 #define _SYS_EVENT_H_
 
-#include <sys/queue.h> 
+#include <sys/_types.h>
+#include <sys/queue.h>
 
 #define EVFILT_READ		(-1)
 #define EVFILT_WRITE		(-2)
@@ -43,7 +44,8 @@
 #define EVFILT_LIO		(-10)	/* attached to lio requests */
 #define EVFILT_USER		(-11)	/* User events */
 #define EVFILT_SENDFILE		(-12)	/* attached to sendfile requests */
-#define EVFILT_SYSCOUNT		12
+#define EVFILT_EMPTY		(-13)	/* empty send socket buf */
+#define EVFILT_SYSCOUNT		13
 
 #define EV_SET(kevp_, a, b, c, d, e, f) do {	\
 	struct kevent *kevp = (kevp_);		\
@@ -56,11 +58,11 @@
 } while(0)
 
 struct kevent {
-	uintptr_t	ident;		/* identifier for this event */
+	__uintptr_t	ident;		/* identifier for this event */
 	short		filter;		/* filter for event */
-	u_short		flags;
-	u_int		fflags;
-	intptr_t	data;
+	unsigned short	flags;
+	unsigned int	fflags;
+	__intptr_t	data;
 	void		*udata;		/* opaque user data identifier */
 };
 



More information about the vc mailing list