summaryrefslogtreecommitdiffstats
path: root/sys/dev/rasops/rasops.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ansify function definitions, and constify a few arrays while there.miod2010-08-281-66/+20
| | | | no functional change.
* Do not check malloc return value against NULL, as M_WAITOK is used.chl2010-01-121-3/+1
| | | | ok miod@
* Change the wsdisplay_emulops return types from void to int; emulops will nowmiod2009-09-051-47/+88
| | | | | | return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
* If RI_FORCEMONO is set in ri_flags, build ri_devcmap as if it was a 1bppmiod2008-08-201-5/+5
| | | | frame buffer.
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Oops, prevent a warning if rasops_bswap is not required.miod2006-12-021-2/+3
|
* On frame buffers which endianness differs from the host CPU, we can not affordmiod2006-12-021-9/+62
| | | | | | | | | | | | | using ovbcopy() in the erasecols emulop, as the ovbcopy implementation might do larger-than-byte loads and store, which will not have the expected result if the source and destination addresses are not similarly aligned. Instead, roll our own byte-only ovbcopy() in this case. This is made dependent on a config(8) attribute to avoid bloating platforms which do not need this, thus frame buffers which may set RI_BSWAP in ri_flg need to depend on this attribute. Problem spotted by matthieu@ using tcsh on sparc64 console.
* Add an unpack_attr function to struct wsdisplay_emulops, to match themiod2006-11-291-3/+5
| | | | | existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
* Omit specific depth in rasops_init_devcmap() if not compiling for them.miod2006-03-101-5/+19
|
* Correctly initialize ri_devcmap at 4bpp.miod2006-01-081-3/+10
|
* Stop compiling the texte console rotation code #ifdef __zaurus__, but usemiod2005-09-151-151/+230
| | | | | | | | | | | | | | a flag in the rasops_info structure; drivers which may use it shall declare a specific attribute for the config(8) machinery, so that the necessary code is compiled in. In addition to this, rotated font computation is now done on-demand, and a list of unrotated-rotated font cookie pairs is kept, rather than rotating all built-in wsfonts at initialization time. No user-perceptible functional change. Tested matthieu@ uwe@, ok uwe@
* Another evil hack to turn sidelining into underlining on the Zaurus console.pascoe2005-05-011-2/+21
| | | | tested dlg@
* Temporary hack to (un)rotate the Zaurus console until a proper rasopspascoe2005-04-301-1/+145
| | | | rotation framework is ready.
* Provide a real inverted cursor for rasops-based consoles; inspired bymiod2003-12-171-30/+70
| | | | a similar diff in NetBSD.
* Add a callback routine for when the cursor position is updated (this allowsjason2002-08-121-1/+5
| | | | for updating prom cursor locations).
* Unstaticize functions, for my ddb sessions pleasure.miod2002-07-271-16/+16
| | | | Plus it makes hangman more difficult.
* Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@miod2002-07-231-3/+3
|
* No newline in panic messagesmiod2002-07-171-3/+3
|
* o spaces, tabs, spelling cleanup.fgsch2002-05-281-13/+8
| | | | | | o remove unneeded headers. o makes this to compile if RASOPS_SMALL is defined. o makes rasops2 to compile.
* use the gallant 12x22 font by default on screens that are morematthieu2002-05-021-3/+9
| | | | | than 960 pixels wide if !SMALL_KERNEL, like rcons does. Ok drahn@, mickey@, miod@.x
* First round of __P removal in sysmillert2002-03-141-8/+8
|
* Import rasops from NetBSD. This gives improved performance for rasternate2001-03-181-0/+957
operations.