freebsd-dev/sys/dev/vt/hw
Jean-Sébastien Pédron 5e251aec86 vt(4): Use default VGA palette
Before this change, the VGA palette was configured to match the shell
palette (e.g. color #1 was red). There was one glitch early in boot when
the vt(4)'s VGA palette was loaded: the loader's logo would switch from
red to blue. Likewise for the "Booting..." message switching from blue
to red. That's because the loader's logo was drawed with the default VGA
palette where a few colors are swapped compared to the shell palette
(e.g. blue <-> red).

This change configures the default VGA palette during initialization and
converts input's colors from shell to VGA palette index.

There should be no visible changes, except the loader's logo which will
keep its original color.

Reviewed by:	eadler
2018-05-10 17:00:33 +00:00
..
efifb
fb Allow custom overrides of mmap attribute for VT framebuffer 2017-12-06 02:06:14 +00:00
ofwfb Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
vga vt(4): Use default VGA palette 2018-05-10 17:00:33 +00:00