Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add flags bits print
details: https://anonhg.NetBSD.org/src/rev/47640652f300
branches: trunk
changeset: 356309:47640652f300
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 16 23:54:32 2017 +0000
description:
Add flags bits print
diffstat:
sys/sys/event.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 74de985f7bc5 -r 47640652f300 sys/sys/event.h
--- a/sys/sys/event.h Sat Sep 16 23:30:50 2017 +0000
+++ b/sys/sys/event.h Sat Sep 16 23:54:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: event.h,v 1.30 2017/07/01 20:08:56 christos Exp $ */
+/* $NetBSD: event.h,v 1.31 2017/09/16 23:54:32 christos Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon%FreeBSD.org@localhost>
@@ -203,6 +203,15 @@
#define KN_MARKER 0x10U /* is a marker */
#define KN_BUSY 0x20U /* is being scanned */
/* Toggling KN_BUSY also requires kn_kq->kq_fdp->fd_lock. */
+#define __KN_FLAG_BITS \
+ "\20" \
+ "\1ACTIVE" \
+ "\2QUEUED" \
+ "\3DISABLED" \
+ "\4DETACHED" \
+ "\5MARKER" \
+ "\6BUSY"
+
#define kn_id kn_kevent.ident
#define kn_filter kn_kevent.filter
Home |
Main Index |
Thread Index |
Old Index