xserver/hw/xfree86/os-support
Peter Hutterer 9dca441670 xfree86: add a hook to replace the new console handler.
This hook is only necessary for the keyboard driver to remove the race
condition between drain_console() and the driver's ReadInput (Bug 29969).

The idea is that a driver that needs to handle events from the console
calls xf86ReplaceConsoleHandler() with it's own ReadInput (or NULL) and thus
removes the drain_console call. It's the driver's responsibility to restore
the previous behaviour when the driver is unloaded.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
CC: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-09-10 09:09:47 +10:00
..
bsd Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
bus Remove more superfluous if(p) checks around free(p) 2010-06-11 19:05:46 +07:00
hurd xfree86: Hurd fix 2009-09-28 00:58:23 +02:00
linux xfree86: add a hook to replace the new console handler. 2010-09-10 09:09:47 +10:00
misc Fix breakage on alpha caused by c7680befe5 2009-10-06 20:58:30 -04:00
sco Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shared Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
solaris Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
sysv Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00