Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/x68k/dev/event.c
RevisionDateAuthorComments
 1.20  26-May-2022  tsutsui KNF a bit.
 1.19  26-Sep-2021  thorpej Driver "kqfilter" entry points return an error code, so if an invalid
filter is requested, return EINVAL rather than 1.
 1.18  26-Sep-2021  thorpej Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89
 1.17  19-Dec-2020  thorpej Use sel{record,remove}_knote().
 1.16  23-May-2020  ad branches: 1.16.2;
Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
 1.15  25-Oct-2017  maya Use C99 initializer for filterops

Mostly done with spatch with touchups for indentation

@@
expression a;
identifier b,c,d;
identifier p;
@@
const struct filterops p =
- { a, b, c, d
+ {
+ .f_isfd = a,
+ .f_attach = b,
+ .f_detach = c,
+ .f_event = d,
};
 1.14  21-Mar-2014  tsutsui Replace tsleep(9)/wakeup(9) with condvar(9) as practice.

Also replace malloc(9) with kmem_alloc(9).
Pevent more possible races.

Tested on both console and Xserver on X68030.
 1.13  01-Mar-2008  rmind branches: 1.13.38; 1.13.48; 1.13.54;
Welcome to 4.99.55:

- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call. It will
indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown,
zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
 1.12  04-Mar-2007  christos branches: 1.12.20; 1.12.36; 1.12.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.11  11-Dec-2005  christos branches: 1.11.26;
merge ktrace-lwp.
 1.10  18-Jan-2005  chs branches: 1.10.8;
de-__P, remove register, ansify.
 1.9  07-Aug-2003  agc branches: 1.9.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.8  15-Jul-2003  lukem rcsid
 1.7  26-Nov-2002  christos branches: 1.7.6;
si_ -> sel_
 1.6  23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.5  27-Dec-2001  wiz bcopy/bcmp/bzero -> memcpy/memcmp/memset
 1.4  27-Nov-1996  oki branches: 1.4.44; 1.4.48;
renamed variable in ev_poll(), compile again.
 1.3  23-Nov-1996  oki Implement poll(2).
 1.2  29-May-1996  oki added missing splx(s). pointed out by thorpej.
 1.1  05-May-1996  oki branches: 1.1.1;
Initial revision
 1.1.1.1  05-May-1996  oki branches: 1.1.1.1.4;
NetBSD/x68k, by Masaru Oki.
 1.1.1.1.4.1  29-May-1996  oki pull up version 1.2 from the main branch.
 1.4.48.3  11-Dec-2002  thorpej Sync with HEAD.
 1.4.48.2  11-Nov-2002  nathanw Catch up to -current
 1.4.48.1  08-Jan-2002  nathanw Catch up to -current.
 1.4.44.4  02-Oct-2002  jdolecek do not need the (void *) cast for kn_hook anymore
 1.4.44.3  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.44.2  12-Sep-2001  thorpej Fix a past'o.
 1.4.44.1  09-Sep-2001  thorpej Add kqueue support (not yet compiled).
 1.7.6.5  04-Feb-2005  skrll Adapt to branch.
 1.7.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.7.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1  03-Aug-2004  skrll Sync with HEAD
 1.9.8.1  29-Apr-2005  kent sync with -current
 1.10.8.3  17-Mar-2008  yamt sync with head.
 1.10.8.2  03-Sep-2007  yamt sync with head.
 1.10.8.1  21-Jun-2006  yamt sync with head.
 1.11.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.12.40.1  03-Apr-2008  mjf Sync with HEAD.
 1.12.36.1  24-Mar-2008  keiichi sync with head.
 1.12.20.1  23-Mar-2008  matt sync with HEAD
 1.13.54.1  18-May-2014  rmind sync with head
 1.13.48.2  03-Dec-2017  jdolecek update from HEAD
 1.13.48.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.38.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.16.2.1  03-Jan-2021  thorpej Sync w/ HEAD.

RSS XML Feed