freebsd-dev/sys/dev/vt
Jean-Sébastien Pédron 0d06446812 vt(4): Don't recalculate buffer size if we don't know screen size
When the screen size is unknown, it's set to 0x0. We can't use that as
the buffer size, otherwise, functions such as vtbuf_fill() will fail.

This fixes a panic on RaspberryPi, where there's no vt(4) backend
configured early in boot.

PR:		193981
Tested by:	danilo@
MFC after:	3 days
2014-10-04 18:40:40 +00:00
..
colors vt(4): Colors are indexed against a console palette, not a VGA palette 2014-08-10 17:04:10 +00:00
font vt(4): Rename the "mouse_cursor" structure to "vt_mouse_cursor" 2014-08-21 19:42:24 +00:00
hw vt(4): Use vt_fb_drawrect() and vt_fb_setpixel() in all vt_fb-derivative 2014-09-16 18:02:24 +00:00
logo Remove stray whitespaces. 2014-09-12 14:07:20 +00:00
vt_buf.c Make gcc happy by initialising the variable only set in a couple of 2014-09-20 08:18:48 +00:00
vt_consolectl.c Remove stray whitespaces. 2014-09-12 14:07:20 +00:00
vt_core.c vt(4): Don't recalculate buffer size if we don't know screen size 2014-10-04 18:40:40 +00:00
vt_font.c Increase vt(9) max glyph data to 1MB for CJK fonts with many glyphs 2014-01-01 19:38:15 +00:00
vt_sysmouse.c vt(4): Handle global and per-window mouse cursor toggle in one place 2014-08-21 13:04:34 +00:00
vt.h vt(4): Save/restore keyboard mode & LED states when switching window 2014-10-02 16:36:37 +00:00