x86/boot: simplify mode_table
authorJan Beulich <jbeulich@suse.com>
Thu, 7 Apr 2022 06:34:07 +0000 (08:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Apr 2022 06:34:07 +0000 (08:34 +0200)
commit3b91082bb8486001dfca9952123aa643ca7c5a5e
tree853074ae1cb0724af8473774e7825e943aef9bf0
parent3d486def5085cfa3a938ba3b066a2515fb1a401a
x86/boot: simplify mode_table

There's no point in writing 80x25 text mode information via multiple
insns all storing immediate values. The data can simply be included
first thing in the vga_modes table, allowing the already present
REP MOVSB to take care of everything in one go.

While touching this also correct a related but stale comment.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/boot/video.S