x86/boot: obtain video info from boot loader
authorJan Beulich <jbeulich@suse.com>
Mon, 11 Apr 2022 10:30:09 +0000 (12:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Apr 2022 10:30:09 +0000 (12:30 +0200)
commit0faf37e7434ea08ed99d804aad98fcddf74852e7
tree6ef7a712dd359bb310f6af610fb0e1db6a1dc454
parent927aee59826fbebb87f099cc95b945f1dcb1ba5c
x86/boot: obtain video info from boot loader

With MB2 the boot loader may provide this information, allowing us to
obtain it without needing to enter real mode (assuming we don't need to
set a new mode from "vga=", but can instead inherit the one the
bootloader may have established).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/boot/defs.h
xen/arch/x86/boot/head.S
xen/arch/x86/boot/reloc.c
xen/arch/x86/boot/video.h
xen/arch/x86/setup.c
xen/include/xen/multiboot2.h