From: Julien Grall Date: Thu, 20 Apr 2017 15:12:24 +0000 (+0100) Subject: xen/arm: Add BOOT_FDT_VIRT_END and BOOT_FDT_SLOT_SIZE X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2210 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dfb5a92cf82a27a76f6b1b1c55b5dcfb9a918439;p=xen.git xen/arm: Add BOOT_FDT_VIRT_END and BOOT_FDT_SLOT_SIZE The 2 new defines will help to avoid hardcoding the size and the end of the slot in the code. The newlines are added for clarity. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index b2edf95f72..9c14a385e7 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -111,7 +111,11 @@ #define XEN_VIRT_START _AT(vaddr_t,0x00200000) #define FIXMAP_ADDR(n) (_AT(vaddr_t,0x00400000) + (n) * PAGE_SIZE) + #define BOOT_FDT_VIRT_START _AT(vaddr_t,0x00600000) +#define BOOT_FDT_SLOT_SIZE MB(2) +#define BOOT_FDT_VIRT_END (BOOT_FDT_VIRT_START + BOOT_FDT_SLOT_SIZE) + #define BOOT_RELOC_VIRT_START _AT(vaddr_t,0x00800000) #ifdef CONFIG_LIVEPATCH #define LIVEPATCH_VMAP_START _AT(vaddr_t,0x00800000)