]> xenbits.xensource.com Git - xen.git/commit
multiboot2: parse vga= option when setting GOP mode
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 10 Jul 2023 10:17:45 +0000 (12:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Jul 2023 10:17:45 +0000 (12:17 +0200)
commitc93aa5c5d0a9f92c0a62c1992d5e52435fa24f15
treec4c8c672c3783f565cd3ea09fa8bad87c9687089
parent886c22f00c575199f7bb3dc5b7662dd09bf05146
multiboot2: parse vga= option when setting GOP mode

Introduce support for passing the command line to the efi_multiboot2()
helper, and parse the vga= option if present.

Add support for the 'gfx' and 'current' vga options, ignore the 'keep'
option, and print a warning message about other options not being
currently implemented.

Note that the multboot2 command line string must always be
zero-terminated according to the multiboot2 specification, and hence
there's no need to pass the string size to efi_multiboot2().

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/head.S
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/x86_64/asm-offsets.c