Re: [PATCH 1/2] x86: Parse Multiboot2 framebuffer information

2022-02-09 Thread Jan Beulich
On 09.02.2022 14:09, Tu Dinh Ngoc wrote: > --- a/xen/arch/x86/boot/reloc.c > +++ b/xen/arch/x86/boot/reloc.c > @@ -156,6 +156,8 @@ static multiboot_info_t *mbi2_reloc(u32 mbi_in) > multiboot_info_t *mbi_out; > u32 ptr; > unsigned int i, mod_idx = 0; > +u64 fbaddr; > +u8 fbtyp

[PATCH 1/2] x86: Parse Multiboot2 framebuffer information

2022-02-09 Thread Tu Dinh Ngoc
Multiboot2 exposes framebuffer data in its boot information tags. Xen requests this information from the bootloader, but does not make use of it. Parse this information for later use. --- xen/arch/x86/boot/reloc.c| 22 ++ xen/include/xen/multiboot.h | 17 +