summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-05-31 17:02:20 +0000
committermiod <miod@openbsd.org>2009-05-31 17:02:20 +0000
commit6fca4fe33d14706530a782ac84aee89cfdf5471c (patch)
treeb261ff5b3b51e5245e04a2378f630ee4c1287e85 /sys/kern/subr_pool.c
parentlibevent handler fix to allow EV_READ and EV_WRITE to be set at the same (diff)
downloadwireguard-openbsd-6fca4fe33d14706530a782ac84aee89cfdf5471c.tar.xz
wireguard-openbsd-6fca4fe33d14706530a782ac84aee89cfdf5471c.zip
The wsmouse support code has been written for pcvt long ago, then lifted
to work with wscons. Back then, the universe was simple and there was only one single wsdisplay device, so that code would use global variables. Overhaul this, and make sure the various routines take the wsscreen or wsdisplay they operate on as arguments. This will eventually allow multiple wsmoused to run, one per wsdisplay device. While there, use more appropriate integer types in that code, so that unholy big displays do not cause integer overflows in coordinates computations. As a bonus, this makes the code smaller.
Diffstat (limited to 'sys/kern/subr_pool.c')
0 files changed, 0 insertions, 0 deletions