CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/05/17 08:06:02
Modified files:
sys/dev/ic : vga.c
Log message:
restore VGA fonts on VT switch
Avoids an unusable screen when switching to a VT with a custom VGA font
from X. While it is possible to modify the xserver to invoke an ioctl
for this kettenis@ points out the xserver may have crashed so doing it
in the kernel is preferred.
Problem reported by and patch from John Carmack. Changed slightly to
do the vga_restore_fonts() (write to video memory) call before
vga_setfont() (pointing the character generator at it) at the suggestion
of kettenis@.
ok kettenis@