jmcneill
0d06f659c0
allocate char and attr buffers with M_ZERO
2014-11-10 20:52:47 +00:00
jmcneill
8bac408286
add WSDISPLAY_TYPE_ALLWINNER
2014-11-09 14:33:21 +00:00
uebayasi
68083a77ea
Give up making wscons modular for now.
...
My intent is to make "no" handle dependency right so that you can simplely do:
no wsdisplay*
2014-10-17 10:09:21 +00:00
uebayasi
d424d94564
Normalize wscons devices (except leaving one strange definition).
2014-10-10 17:53:08 +00:00
dholland
f9228f4225
Add d_discard to all struct cdevsw instances I could find.
...
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
dholland
a68f9396b6
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
...
designated initializers.
I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
khorben
4a9c7f6c2b
Fixed wrong cast and invalid array access in the calibration framework, as
...
documented in PR kern/45872. The AA() macro accessed sample coordinates as
long integers, whereas they are really stored as signed integers.
Fixes calibration on my Wetab device.
2014-03-14 05:03:19 +00:00
mlelstv
5fe0c7679f
fix build
2014-01-21 00:36:11 +00:00
mlelstv
4066bef8de
keep track of VCONS_DRAW_INTR screen cache also in erasecols/rows and
...
copycols/rows methods.
2014-01-21 00:10:46 +00:00
mlelstv
0bc28762a3
add function to detach wscons from a console. This allows to
...
switch the console to a different driver.
2014-01-21 00:08:27 +00:00
macallan
86e9be6a98
try not to crash when calling glyphcache_wipe() on an uninitialized cache
...
first step to fix PR 48492
2014-01-13 19:30:33 +00:00
christos
95dabd3395
get rid of CIRCLEQ
2013-11-23 20:56:41 +00:00
martin
1e0cbe687d
Consistently ifdef a variable and all uses
2013-10-25 20:55:24 +00:00
mrg
923e17fd1b
use __USE() where appropriate.
2013-10-19 21:01:39 +00:00
martin
bff32430d6
Remove unused variable
2013-09-15 16:12:00 +00:00
martin
6e9fb02d07
Comment out a variable only used in #if 0 code
2013-09-14 21:06:50 +00:00
macallan
e8a38776d4
in vcons_redraw_screen():
...
- if RI_FULLCLEAR is set and we use it to clear the screen, don't draw any
whitespaces with the default background colour
- draw stretches of whitespaces with the same background colour using erasecols
2013-05-28 11:04:04 +00:00
kiyohara
4f684b65cc
Add WS{DISPLAY,KBD}_TYPE_* for epoc32.
2013-04-29 13:39:47 +00:00
jmcneill
d35e9908e8
If there are no devices attached to the mux and software does
...
WSxxxIO_SETVERSION, the change doesn't actually get applied to the event
source as wsmux hands off processing of these ioctls to attached devices.
Handle these ioctls directly from the mux device instead of passing them
through, to correct an issue that prevented keyboards and mice from working
in X if there were zero devices attached when the X server started.
2013-03-18 11:40:39 +00:00
macallan
4e198487fa
fix a bunch of _IO() ioctl()s to actually work on LP64/BE
...
( the data pointer is abused to pass an integer, we get a pointer to it so
we need to deref it to something the same size as a pointer to get the
correct value )
now the PCVT compat code ( which is used for VT switching in and out of X )
works on sparc64
2013-02-19 15:21:08 +00:00
macallan
719e71a847
add ioctl(WSDISPLAYIO_GET_FBINFO)
2013-01-31 10:57:30 +00:00
macallan
e5be1fca4c
fix a typo in a comment
2013-01-27 03:59:09 +00:00
macallan
a2a003a83a
add WSDISPLAY_TYPE_OMAP3
2013-01-21 14:15:03 +00:00
jmcneill
4a8b1bee78
add WSDISPLAY_TYPE_VC4 and WSDISPLAYIO_BUS_SOC
2013-01-08 23:49:56 +00:00
macallan
9622d8acf1
glyphcache_init(): bail if we don't have enough off-screen memory to be useful
2012-11-13 20:29:03 +00:00
macallan
d55e837f75
defflag GLYPHCACHE_DEBUG
2012-10-04 19:09:20 +00:00
macallan
f952894398
allow caching of glyphs with attributes other than the default
...
while there, also add support for underlined characters
2012-10-04 10:26:32 +00:00
he
d498be058a
Now that we use keysym_t, make sure <dev/wscons/wsksymvar.h> is included.
...
Fixes the kernel build for next68k's nextcons.c and mac68k's maccons.c.
2012-09-02 21:14:56 +00:00
macallan
ff1bd1aab8
support an optional table to translate scancodes when in event mode
2012-08-29 02:38:31 +00:00
macallan
4de7bc18ac
deal with negative cache sizes
2012-07-12 01:21:08 +00:00
abs
9c537a963a
Add the following above the version = 0 line, just to provide a hint...
...
/* For binary compat. New code must call WSxxxIO_SETVERSION */
2012-05-24 18:16:31 +00:00
khorben
1ffeba3ee9
Implemented extra keys as found on Sun Type 7 USB keyboards, and
...
according to the documentation mentioned above in this file.
"works here" macallan@, myself
2012-04-22 14:32:08 +00:00
uebayasi
eabd60ab7f
Add newline at end of file; fix ALL build for me.
2012-04-22 03:47:53 +00:00
macallan
4d3aa5644d
no need to convert cell number to coordinates every time we draw a glyph
...
from cache - just stick the coordinates directly into the map
2012-04-19 08:46:17 +00:00
bsh
456cfa8109
Support i.MX51's LCD framebuffer on Netwalker.
...
from Kenichi Hashimoto.
2012-04-17 10:19:57 +00:00
elad
0c9d8d15c9
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
...
something meaningful. All relevant documentation has been updated or
written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
2012-03-13 18:40:26 +00:00
macallan
e297db4b59
generic support for caching glyphs in video memory
...
for speeding up anti-aliased fonts on slow CPUs
2012-02-16 17:29:21 +00:00
drochner
005775381c
delete virtual screens on detach - this allows to hot-unplug
...
a udl@usb monitor without crash
2012-02-02 13:11:25 +00:00
rmind
668cc4102c
wsmux_getmux: do not increment nwsmux if allocation fails (might cause buffer
...
overflow). Simplify slightly.
2012-01-30 01:54:08 +00:00
macallan
1c9c22440c
ass WSDISPLAY_TYPE_VALKYRIE
2012-01-24 04:34:05 +00:00
macallan
452ccd358c
bump character buffers and cache to 32bit per character so flags we store
...
in the upper bits don't get lost
now autogenerated line drawing characters work with VCONS_DRAW_INTR and don't
get lost when switching screens
2012-01-04 08:25:03 +00:00
reinoud
1f33988c72
Add the Usermode vnc framebuffer and (vnc) remote keyboard types.
2011-12-30 08:20:50 +00:00
phx
01173747fc
Amiga wscons/Xorg support, first phase.
...
Implemented wscons for CV64 and CV64/3D. Other graphics cards drivers are
prepared for it, but will not be attempted before Xorg is not running.
The wscons support is disabled by default. A GENERIC kernel should behave
like always. Use WSCONS to try out a kernel with wscons support.
Done by rkujawa@ and phx@.
2011-12-15 14:25:12 +00:00
jakllsch
dca50c47f9
Correct copy/paste error in previous.
2011-09-11 22:28:21 +00:00
jakllsch
d5704d8888
Initialize the W axis value on open as is already done for the other axes.
2011-09-11 19:19:19 +00:00
christos
f11ae0d12b
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons
2011-07-22 18:17:11 +00:00
tsutsui
6f57be1369
Add and return WSKBD_TYPE_LUNA and WSDISPLAY_TYPE_LUNA on WS*_GTYPE ioctls.
...
XXX: should we still sync <sys/dev/wsconsio.h> and src/sbin/wsconsctl/util.c?
2011-07-21 10:33:17 +00:00
macallan
d981780965
make the EDID buffer pointer void *
2011-06-29 05:00:06 +00:00
macallan
dcc7dd1b42
make sizes unsigned
2011-06-29 04:50:32 +00:00