Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/wscons



Module Name:    src
Committed By:   jmmv
Date:           Tue Feb  7 09:13:02 UTC 2006

Modified Files:
        src/sys/dev/wscons: wsdisplay.c wsevent.c wseventvar.h wskbd.c
            wsmouse.c wsmux.c

Log Message:
wsevent cleanup:

- Add a wsevent_inject function that atomically adds a set of events to an
  event queue and change all code that directly messed with a queue to use it.
- Replace the WSEVENT_WAKEUP macro with a regular function.
- Make WSEVENT_QSIZE, PWSEVENT and splwsevent private definitions to
  wsevent.c, instead of exposing them in the header file.
- Make the wsevent_init function take a process to attach to the queue,
  instead of leaving this task to the caller (which always did it).

Reviewed in tech-kern@.


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 src/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/wscons/wsevent.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/wscons/wseventvar.h
cvs rdiff -r1.85 -r1.86 src/sys/dev/wscons/wskbd.c
cvs rdiff -r1.39 -r1.40 src/sys/dev/wscons/wsmouse.c
cvs rdiff -r1.41 -r1.42 src/sys/dev/wscons/wsmux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index