arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 7 Apr 2016 12:03:21 +0000 (20:03 +0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:34:42 +0000 (10:34 +0100)
commit3cf4095d7446efde28b48c26050b9db6f0bcb004
tree97c8c03a1a74c65ac26494b35b0d23f715e3f46b
parent975fac3c4f38e0b47514abdb689548a8e9971081
arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table

Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't
rely on DT or ACPI to pass the start address and size of grant table.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: Julien Grall <julien.grall@arm.com>
arch/arm/xen/enlighten.c