summaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-05-17 14:06:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-05-17 14:06:03 +0000
commitf852a91999bc62cfabcb29de323edeff46d2fb9e (patch)
treeebc6d1df8b52f9bb8c378436884b2397ff9c6a7e /lib/libelf
parent70903543a5ed1773336c448558289d7fde9f2e04 (diff)
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@
Diffstat (limited to 'lib/libelf')
0 files changed, 0 insertions, 0 deletions