]> git.ipfire.org Git - thirdparty/grub.git/commit
xen: add capability to load initrd outside of initial mapping
authorJuergen Gross <jgross@suse.com>
Thu, 3 Mar 2016 09:38:14 +0000 (10:38 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 27 Oct 2016 14:22:06 +0000 (16:22 +0200)
commit5500cefccd6341d6bdaa800211582f2be8a85a26
tree5f3ccdd44c05367028e6f19eb24f0c077b0604ae
parentd73976fdffe067262b0f7ca69010be13e4c9f638
xen: add capability to load initrd outside of initial mapping

Modern pvops linux kernels support an initrd not covered by the initial
mapping. This capability is flagged by an elf-note.

In case the elf-note is set by the kernel don't place the initrd into
the initial mapping. This will allow to load larger initrds and/or
support domains with larger memory, as the initial mapping is limited
to 2GB and it is containing the p2m list.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/xen.c
grub-core/loader/i386/xen_fileXX.c
include/grub/xen_file.h