]> xenbits.xensource.com Git - xen.git/commit
x86: add multiboot2 protocol support for relocatable images
authorDaniel Kiper <daniel.kiper@oracle.com>
Fri, 7 Apr 2017 11:37:24 +0000 (13:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 11:37:24 +0000 (13:37 +0200)
commitf75a30496c2eb286e7bbffb84b63940865e1ffe1
treeb246d4797effe0137ecbf9e1705e9db46545b291
parentf5f16adbce41122bb588d91bfc5dfaa189773a98
x86: add multiboot2 protocol support for relocatable images

Add multiboot2 protocol support for relocatable images. Only GRUB2 with
"multiboot2: Add support for relocatable images" patch understands
that feature. Older multiboot protocol (regardless of version)
compatible loaders ignore it and everything works as usual.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
xen/arch/x86/boot/head.S
xen/arch/x86/x86_64/asm-offsets.c
xen/include/xen/multiboot2.h