summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/dev/impact.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix previous commit.visa2020-06-061-2/+2
|
* change wsdisplay attribute type from long to uint32_tjsg2020-05-251-10/+10
| | | | | | | | miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. suggested and reviewed by miod@
* rename wsdisplay alloc_attr() to pack_attr()jsg2020-05-251-3/+3
| | | | | | | | Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. ok mpi@
* If you use sys/param.h, you don't need sys/types.hderaadt2017-09-081-2/+1
|
* sizes for free(); ok semariederaadt2015-09-081-2/+2
|
* yet more mallocarray() changes.doug2014-12-131-5/+4
| | | | ok tedu@ deraadt@
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-2/+2
| | | | after discussions with beck deraadt kettenis.
* Add load_font and list_font accessops to all rasops-based wsdisplay drivers.miod2013-10-211-2/+24
| | | | | Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting up a new font.
* Use C99 named initializers for struct wsdisplay_accessops fields.miod2013-10-201-11/+6
| | | | No functional change.
* Replace all ovbcopy with memmove; swap the src and dst arguments tooderaadt2013-06-111-5/+5
| | | | ok otto
* Slightly tweak the emulation mode colormap to have fit in 4:8:4 instead ofmiod2012-04-191-111/+78
| | | | | | | 8:8:8, and use the fast putchar code unconditionally: it turns out it expects the background color as 4:8:4. This fixes the `character background is too green and too light' effect that caused this code path to only be used for black background, and the slower code for the rest.
* Split the existing impact@xbow attachment into generic impact routines, andmiod2012-04-181-0/+794
bus-specific attachment; impactreg.h and impactvar.h move from sgi/xbow/ to sgi/dev/. Teach the generic impact code how to code with pre-ImpactSR boards, which have a slightly different register layout (information obtained from Peter Fuerst's Linux IP28 patches). Add an impact@gio attachment (unfortunately untested, no Impact GIO boards here). All Indigo 2 graphics options should be supported now (assuming the Extreme/Ultra will actually work with grtwo(4) out of the box). Tested not to disturb operation on IP30. ** ATTENTION! If you are building IP27 or IP30 kernels, be sure to rm impact.d ** before building a new kernel.