| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
In this case, the caller has to provide the backing store for the screen
contents by setting the ri_bs member of "struct rasops_info". The screen
contents are retained if the rasops_info descriptor is later reinitialized
after adding the RI_VCONS flag.
ok yasuoka@, deraadt@
|
| |
|
|
|
|
| |
Problem reported by Maxime Villard, ok miod@
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when workqs were introduced, we provided a second argument so you
could pass a thing and some context to work on it in. there were
very few things that took advantage of the second argument, so when
i introduced pools i suggested removing it. since tasks were meant
to replace workqs, it was requested that we keep the second argument
to make porting from workqs to tasks easier.
now that workqs are gone, i had a look at the use of the second
argument again and found only one good use of it (vdsp(4) on sparc64
if you're interested) and a tiny handful of questionable uses. the
vast majority of tasks only used a single argument. i have since
modified all tasks that used two args to only use one, so now we
can remove the second argument.
so this is a mechanical change. all tasks only passed NULL as their
second argument, so we can just remove it.
ok krw@
|
|
|
|
| |
Tested with non-drm and wsfb systems. ok kettenis@ miod@
|
|
|
|
| |
ok dlg@ mpi@ bcook@ millert@ miod@
|
|
|
|
| |
ok tedu@ deraadt@
|
|
|
|
|
| |
Build failure reported by Sebastien Marie
testing & ok phessler@
|
| |
|
|
|
|
|
| |
the young kids and old greybeards who know that bcopy has always handled
the ov case.
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wsdisplay softc. Instead, since the knowledge about available fonts lies in
the parent driver itself, introduce a list_font wsdisplay_accessop which
queries a font index, suitable to use within the WSDISPLAYIO_LSFONT ioctl.
With this in place:
- there is no global wsdisplay limit on the number of fonts loaded. Such a
limit will be enforced by the display drivers themselves.
- built-in kernel fonts will now appear in the list of fonts.
Grow a list_font accesop for rasops, which relies upon wsfont_enum(), which
is turned into something useful (and abortable if you do not need to iterate
further). Not used by any rasops driver yet.
|
|
|
|
|
|
|
| |
selected. All rasops fonts are managed by wsfont, which allows a font to be
loaded on a rasops device and used on another.
Currently not plumbed in any driver yet. This is work in progress.
|
|
|
|
|
|
|
|
|
| |
requested character in the font it is using, it suggests a question mark
character, instead of a space, so that the existence of the non-representable
character becomes visible.
Note that this is consistent with pcdisplay which suggests a diamond for
missing glyphs.
|
|
|
|
|
|
|
| |
sparc/sparc64, white on black for everybody else), and use them to construct
a default color attribute in the rasops(4) code.
ok miod@
|
|
|
|
|
|
|
|
| |
rows and columns redraw the destination area instead of reading pixel values
from the framebuffer. This can be a considerable performance win. Only
works together with RI_VCONS.
ok miod@
|
|
|
|
| |
ok otto
|
|
|
|
|
| |
works if the RI_VCONS flag is specified when initializing a rasops_info
descriptor.
|
|
|
|
| |
ok mpi@, miod@
|
| |
|
|
|
|
| |
no functional change.
|
| |
|
|
|
|
| |
ok miod@
|
|
|
|
|
|
| |
return zero on success and nonzero on failure.
This commit only performs mechanical changes for the existing emulops to
always return zero.
|
|
|
|
| |
frame buffer.
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
existing alloc_attr function. This allows rasops_unpack_attr to be kept
private to rasops, yet available to the screen drivers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
for frame buffer work), it is no surprise that the less-than-8-bpp code
is completely wrong when run on a little endian machine, and only works
by accident if character cells are 8-bit wide.
Fix the BE<->LE conversions, so that now rasops1 works in all cases.
rasops2 and rasops4 might still need some help, but I'm not in a hurry to
meet a 4bpp big-endian frame buffer on a little-endian system...
|
| |
|
|
|
|
| |
bits wide.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
tested dlg@
|
|
|
|
| |
rotation framework is ready.
|
|
|
|
|
| |
Mainly remove space between locators parens, replace spaces with tabs
where appropriate and consistently align dependencies.
|
| |
|
|
|
|
| |
a similar diff in NetBSD.
|
| |
|
|
|
|
|
|
| |
intended. (This fixes a gcc3 warning.)
ok jason, millert
|
|
|
|
| |
for updating prom cursor locations).
|
|
|
|
| |
Shaves a few more KB out of alpha (and others) ramdisks.
|
| |
|
|
|
|
| |
Plus it makes hangman more difficult.
|