Commit Graph

37 Commits

Author SHA1 Message Date
ray
e4cf6ae315 Enable splash on Mute flag.
TODO: use tunable for control splash.

Sponsored by:	The FreeBSD Foundation
2013-11-05 22:57:05 +00:00
ray
71ed33b8c0 Notify DRM about panic or kdb enter happen. So we can see kernel messages in
that case.
To investigate: Return from kdb is broken, seems due to locks usage. TODO

Sponsored by:	The FreeBSD Foundation
2013-11-04 09:01:52 +00:00
ray
3ec83506b8 Fix copyrights.
Sponsored by:	The FreeBSD Foundation
2013-11-02 14:20:29 +00:00
ray
630a3895d3 o Remove extra check for status of processes who hold terminals.
o Clean up and comment things.

Sponsored by:	The FreeBSD Foundation
2013-10-30 15:25:23 +00:00
nwhitehorn
019d0aadbc Remove some local changes unrelated to r257294. 2013-10-29 00:56:21 +00:00
nwhitehorn
012978f9de It is perfectly possible for keyboard drivers to queue up more than one
key press per notification call. Loop until there are no more queued
key presses, like syscons did. This fixes stuttering observed in particular
on key repeats with ADB and USB keyboards.
2013-10-29 00:52:02 +00:00
nwhitehorn
5e9e540ff9 Get colors right on mac framebuffers. 2013-10-27 15:14:27 +00:00
ray
d0cb2349bc Move tools to proper place.
Sponsored by:	The FreeBSD Foundation
2013-10-26 14:57:08 +00:00
ray
34e507fb2b Remove not done and not used driver for intel video.
Sponsored by:	The FreeBSD Foundation
2013-10-25 21:57:03 +00:00
ray
40b4804223 o Mute keyboard input when ScrollLock mode is active.
o Simplify keys handling.
o Send ESC sequence for arrow keys in _cngetc, that will fix DDB history.

Sponsored by:	The FreeBSD Foundation
2013-10-24 21:54:24 +00:00
ray
41788ddb71 o Fix scroll calculations.
o Make vthistory_seek to return amount of lines to update +on_top/-on_bottom of
    screen.

Sponsored by:	The FreeBSD Foundation
2013-10-24 21:43:46 +00:00
ray
b5d885c5f9 Use copy method which maybe defined by framebuffer provider, but not just
memmove.

Sponsored by:	The FreeBSD Foundation
2013-10-23 19:45:14 +00:00
ray
baa491bf97 Turn off confusing rotation of scroll history.
Sponsored by:	The FreeBSD Foundation
2013-10-23 14:15:46 +00:00
ray
f561b1bcf8 Add new vt_buf flag VBF_HISTORY_FULL - whole history filled.
Sponsored by:	The FreeBSD Foundation
2013-10-23 13:35:46 +00:00
ray
3d72b52090 MFC @r256953 2013-10-23 09:21:14 +00:00
ray
280385557c Add VT(9) driver for generic framebuffer.
Sponsored by:	The FreeBSD Foundation
2013-10-22 14:39:32 +00:00
ray
445adb5a17 o Do not blank screen on window resize.
o Force resize for first window (usually console).
o Inform user on driver changes.
o Reverse priority. Bigger now better.

Sponsored by:	The FreeBSD Foundation
2013-10-22 14:37:20 +00:00
ray
340eef3034 Reverse priority. Bigger now better.
Sponsored by:	The FreeBSD Foundation
2013-10-22 14:32:42 +00:00
ray
79df61c265 Hardware specific drivers have bigger priority (over VGA for example).
Sponsored by:	The FreeBSD Foundation
2013-10-22 13:56:42 +00:00
ray
6ed638c56a Don't forget to clean terminal window memory. But colors makes more smiles.
Sponsored by:	The FreeBSD Foundation
2013-10-22 13:53:58 +00:00
nwhitehorn
b3603dddc9 Use vt_generate_vga_palette() instead of a hard-coded mapping. 2013-10-17 12:58:40 +00:00
nwhitehorn
e017f126bd Sync with ofw_syscons.c: provide support for IBM framebuffers like that in
the QEMU pSeries emulated platform.
2013-10-17 12:15:21 +00:00
ray
811d5b66f4 Add helper to generate color map.
Sponsored by:	The FreeBSD Foundation
2013-10-15 12:54:47 +00:00
ray
7ea5fdc791 o Rename bitblt method to bitbltchr, since it used to copy char with bg/fg colors
from font table, but not bitmap copy.
o Fix small mistake in comment.

Sponsored by:	The FreeBSD Foundation
2013-10-15 12:28:24 +00:00
ray
2324fc717d Fix off-by-one-huge-fb-line copy-pasted to every driver.
TODO: defaulting to single implementation for all FB devices.

Sponsored by:	The FreeBSD Foundation
2013-10-11 13:07:31 +00:00
ray
eb8d243e76 Forget about vt_history.c.
Sponsored by:	The FreeBSD Foundation
2013-10-08 12:42:52 +00:00
ray
c7a97e97fa o Implement history buffer.
o Join history buffer with screen buffer. Same type of things.
o Reimplement buffer as an array of rows. Make it circular, so no overflow
	tracking.
o Implement VT_PROCESS mode. Locking of VT switching by owner process.
o Add debug and deadtimer sysctls. deadtimer - defaulting to 15 seconds, time
	to wait process answer in VT_PROCESS mode, to do VT switch in case when
	process hang.
o Implement later console attach.
o Fix (partially yet) keyboard allocation.
o Add drivers priority. Disallow to replace KMS driver with VGA.
o Add ability to resize terminals.

Sponsored by:	The FreeBSD Foundation
2013-10-08 12:40:04 +00:00
nwhitehorn
e040073849 Squash clang warnings. 2012-12-02 22:21:40 +00:00
marcel
87eebffb87 Add support fot ia64. This means that ia64, for the first time ever,
has a working non-serial console!

I'm pretty sure this doesn't work on the SGI Altix 350, but that's
ok for now. Lot's of things don't work there...
2012-04-14 00:27:50 +00:00
nwhitehorn
946cece192 Make sure to initialize early-boot keyboard drivers, as is apparently
required for the Sun UART-based keybaord driver to attach correctly. With
this change, vt(4) now works perfectly on sparc64 (at least on supported
hardware).
2012-01-22 19:49:43 +00:00
nwhitehorn
4f9511a9d0 Checkpoint SPARC support. This seems to inexplicably crash fairly early on
somewhere outside of ofwfb.c. It is in no way clear why.
2012-01-21 22:18:33 +00:00
nwhitehorn
49e7de5660 Make ofwfb static framebuffer much smaller by actually reading how you
are supposed to do this kind of thing.
2012-01-21 18:54:19 +00:00
nwhitehorn
1fa9866b98 Add a vt(4) framebuffer for Open Firmware linear framebuffer devices (i.e.
all graphics on PowerPC Apple systems). This will also work on some sparc64
graphics hardware with a small amount of modification.
2012-01-21 17:59:50 +00:00
ed
629157c416 Upgrade to Terminus 4.36. 2011-10-08 09:15:04 +00:00
ed
558236aac4 Chase KPI change in vga driver. 2011-03-23 06:31:45 +00:00
ed
317f07118c Update the terminus font to version 4.32.
This version doesn't add new glyphs, but contains small changes to some
characters, even including the letters M and W.
2011-03-22 21:39:57 +00:00
ed
98e93f6b12 Readd the vt(4) driver and corresponding tools. 2011-03-22 21:31:31 +00:00