>>> On 12.09.16 at 22:18, wrote:
> --- a/xen/arch/x86/Rules.mk
> +++ b/xen/arch/x86/Rules.mk
> @@ -1,6 +1,10 @@
>
> # x86-specific definitions
>
> +XEN_IMG_OFFSET = 0x20
Please prefer := for simple assignments like this one.
> +CFLAGS += -DXEN_IMG
Subsequent patches introducing relocatable early boot code play with
page tables using 2 MiB huge pages. If load address is not aligned at
2 MiB then code touching such page tables must have special cases for
start and end of Xen image memory region. So, let's make life easier
and move default load