Hi Leif, I have made a new multiboot support patch V3.7, because Roy has updated the stub-xen support. Compared with V3.6, I added the stub-kernel boot support: provide device_handle data in loaded_image provide file_path data in loaded_image(Do we need to provide it?)
*Please review this patch and provide some advice or suggestion. If it is fine for you, I will make a serial patch for upstream.*
Some pending changes: (1)delete "grub_arm64_disable_caches_mmu" and the relevant code(misc.c and misc_irq.S)(If we don't want to support raw kernel anymore) (2)grub coding style (I have checked the patch, but maybe I need to improve it in somewhere) (3)integrate multiboot_fdt.c back to multiboot.c (will make a new patch/branch for it, but I think multiboot_fdt.c make multiboot.c more generic)
Notice: This patch bases on master branch of upstream grub This patch can works with: (1)Roy's repo(https://git.linaro.org/people/roy.franz/xen.git) tag: rfranz/efi-stub-v3 or his prebuild binary(http://people.linaro.org/~roy.franz/lava/xen/xen) (2)master branch of upstream xen.(non-stub)