aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/kernel.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-06-27 18:13:30 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-06-28 12:42:13 +0100
commitbcb49301c21ed69b4e8c164fa215efe9db30621a (patch)
tree70d365dbd4372d0252c8de433310fe3aa0422cd3 /xen/arch/arm/kernel.h
parent751554bfc9dc0363fabf882f6e8855022590ec4d (diff)
downloadxen-bcb49301c21ed69b4e8c164fa215efe9db30621a.tar.gz
xen-bcb49301c21ed69b4e8c164fa215efe9db30621a.tar.bz2
xen-bcb49301c21ed69b4e8c164fa215efe9db30621a.zip
xen/arm: Rework the way to compute dom0 DTB base address
If the DTB is loading right after the kernel, on some setup, Linux will overwrite the DTB during the decompression step. To be sure the DTB won't be overwritten by the decompression stage, load the DTB near the end of the first memory bank and below 4Gib (if memory range is greater). Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/kernel.h')
-rw-r--r--xen/arch/arm/kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/arm/kernel.h b/xen/arch/arm/kernel.h
index 1776a4d94d..c900e74df9 100644
--- a/xen/arch/arm/kernel.h
+++ b/xen/arch/arm/kernel.h
@@ -38,6 +38,8 @@ struct kernel_info {
};
void (*load)(struct kernel_info *info);
+ /* Callback to check overlap between the kernel and the device tree */
+ void (*check_overlap)(struct kernel_info *kinfo);
int load_attr;
};