Age | Commit message (Collapse) | Author |
|
after we've taken over control of the VGA hardware.
|
|
wsdisplay device itself.
|
|
the backing store. The state of a VT is only coherent if both the active
flag and the backing store are in order, which is not the case during VT
switches.
This fixes display glitches occuring during VT switches if one of the
VT involved is doing a lot of tty updates.
Noticed by deraadt@ on a machine too fast for mere mortals.
|
|
no functional change.
|
|
textmode video memory contents if we had to POST the vga bios.
ok deraadt@ kettenis@
|
|
return zero on success and nonzero on failure.
This commit only performs mechanical changes for the existing emulops to
always return zero.
|
|
second vc is created. However, it was allocated using the geometry of
the second vc to allocate backing store for the first. Be sure to use
the proper values in case geometries differ.
|
|
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
with help from miod@
ok miod@ oga@
|
|
switching consoles or when X11 exits. Almost all other operating systems
do this, and thus do not suffer from palette bugs in some X11 drivers.
From FreeBSD.
|
|
agp and drm need to use the same memory mapping, the best way to deal
with that is to allow them to share (that's coming later), for this to
work cleanly we move the attach point of agp.
Ideally most agp drivers would attach at pchb, with only agp_i810
(and any that work similarly) attaching at vga, but this will do for
now.
ok kettenis@, miod@.
|
|
|
|
|
|
|
|
|
|
display-dependent value, but instead fill a structure with the chaarcter
and a valid attribute, suitable for use with unpack_attr.
Adapt the wsmoused code to these changes, and remove all knowledge of
the text-mode style pc video attributes in it.
This will eventually allow wsmoused to be used on non-pcdisplay devices.
|
|
existing alloc_attr function. This allows rasops_unpack_attr to be kept
private to rasops, yet available to the screen drivers.
|
|
driver to be able to tell how many wscons screens to attach to it,
instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
|
|
we switch vt, so that the hardware cursor does not reappear after starting
X11, and switching to a text vt.
Spotted by jmc@
|
|
|
|
of the work is done in the upper layer, but they get to see the ioctl,
so don't always return an error.
|
|
no change in compiler assembly output.
|
|
|
|
|
|
OK from miod@, millert@, henning@, marcus@ .... :)
|
|
data->name if it is NULL. Fixes the WSDISPLAY_USEFONT ioctl.
Adapted from a patch by Benjamin Lewis; NULL check from NetBSD. OK tdeval@
|
|
ok tdeval@ deraadt@ miod@
|
|
only i810 driver was tested though.
based on the netbsd's lkm, initially ported
by hunter@dg.net.ua and later made into shape by mickey.
testing by art@ and millert@ .
|
|
|
|
|
|
|
|
|
|
disabled by default, also supports vsync blanking, disabled by default.
aaron@ looked at it a while back and i fixed problems he had indicated.
|
|
|
|
the wsmoused daemon (replacement for moused which was used with PCVT). Adds
a "getchar" method to the display drivers which returns the value of the
character currently under the cursor (e.g., so it may be inversed). From jbm@.
Still needs a bit of cleanup and improvement, especially X cohabitation
features. The pointer moves to fast as well. These sorts of issues will be
corrected in-tree.
|
|
does mapchar for it w /the same success as primary,
prefer secondary mapping. this fixes non-lat char display.
from Igor Grabin <violent@death.kiev.ua>
|
|
|
|
|
|
|
|
it could be of a different size than 0x8000,
and now bios(4) does it for us the right way.
besides, would the prom be at the same address on non-i386?
|
|
the screen was only restored if a new character was actually displayed on the
screen); jcs@rt.fm. This brings us closer to the behavior of PCVT. Also, while
I'm here, add some #ifdef so wskbd does not depend on wsdisplay (pointed out
to me by fgsch@).
|
|
|
|
|
|
|
|
files could probably be updated even a bit further (they are from mid-summer).
In addition, I've added support for console scrollback, somewhat inspired by
Linux's vgacon driver. Basically, instead of allocating our own buffer and
doing lots of copies, we take advantage of Video RAM and just modify the VGA
display origin register as appropriate. This approach has a few advantages:
simple to implement, no wasted KVM, it's fast, and after a boot you can now
scroll back all the way to the BIOS messages (assuming your msgbuf is of a
typical length :). Disadvantages are that the VRAM buffer is relatively
small (only 32k) and we do not support raster devices through this method.
(thanks to mickey@ for pointing this out).
The code for this is fairly unobtrusive, so should we come up with a better
approach to console scrollback at a later time (i.e., even more platform
independent) it should be easy to revert this.
We're one step further in porting nice features of PCVT over to wscons.
|
|
a machine independant function that calls this md function??
|
|
well. $OpenBSD$ tagging
|
|
|
|
Some files were move behind CVS back.
|
|
|