]> xenbits.xensource.com Git - xen.git/commit
xen:arm: Populate arm64 image header
authorAmit Singh Tomar <amittomer25@gmail.com>
Tue, 11 Sep 2018 16:48:06 +0000 (22:18 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 2 Dec 2019 18:04:51 +0000 (10:04 -0800)
commit239d37e514c93e29d50d71f734b1dc453b2236a6
tree1b0b1dd2e34fa57a78eacdde19d3a4098aaebdcd
parentf137d4c8df08b202a34e5e092f1ab14a97c7144e
xen:arm: Populate arm64 image header

This patch adds image size and flags to XEN image header. It uses
those fields according to the updated Linux kernel image definition.

With this patch bootloader can now place XEN image anywhere in system
RAM at 2MB aligned address without to worry about relocation.
For instance, it fixes the XEN boot on Amlogic SoC where bootloader(U-BOOT)
always relocates the XEN image to an address range reserved for firmware data.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Andre Pryzwara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
(cherry picked from commit 17bd254a508f4174fe0d56a9f1b9892b7649b4b9)
xen/arch/arm/arm64/head.S