bios, font: zero input registers to get fontsyslinux-6.01-pre4
commita2f057c289cbf142cdd6de7d89123df2f21e475a
authorMatt Fleming <matt.fleming@intel.com>
Thu, 27 Jun 2013 07:16:49 +0000 (27 08:16 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 27 Jun 2013 09:29:23 +0000 (27 10:29 +0100)
tree412457e4a41f1e570a5b80eb66731085a6649554
parentcf315191b8f3466879491f06d4f30554cd58374b
bios, font: zero input registers to get font

Users are reporting font issues under VirtualBox. Try this as a
speculative fix since the old 5.x behaviour was to pass in a partially
zero'd register set. Incidentally, the input regs are also used for
output, so at least we now avoid potentially constructing a pointer to
the font buffer using garbage register values.

Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/bios.c