to the old BDA method.
Signed-off-by: Tu Dinh Ngoc
---
Changes in v3:
- Prioritize using Multiboot's memory information.. Fall back to using
BDA in case MBI does not supply memory info.
Changes in v2:
- Detect if Multiboot claims there's more than 640 KB of low memory
(happens with
Previously, Xen used information from the BDA to detect the amount of
available low memory. This does not work on some scenarios such as
Coreboot, or when booting from Kexec on a UEFI system without CSM.
Use the information directly supplied by Multiboot boot information
instead.
---
xen/arch/x86
Xen does not currently use the Multiboot framebuffer. This means there
is no graphics when booting Xen with Kexec.
This patchset parses and uses the Multiboot framebuffer information
during boot.
Tu Dinh Ngoc (2):
x86: Parse Multiboot2 framebuffer information
x86: Set up framebuffer given by
Previously, we do not make use of the framebuffer given by Multiboot.
This means graphics will not work in some scenarios such as booting from
Kexec.
Enable the Multiboot framebuffer if it exists and not overridden by EFI
probe.
---
xen/arch/x86/setup.c | 45 ++
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 +