arm/acpi: Add a helper function to get the acpi table offset
authorShannon Zhao <shannon.zhao@linaro.org>
Wed, 30 Mar 2016 10:16:00 +0000 (12:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Mar 2016 14:58:01 +0000 (16:58 +0200)
commitda4f814d5549aff39bc220ca965592ef4a49e3ef
tree9a2265a1a4920973e8b887346789ab419e20771e
parent526a9e31c04d363a3c68e9c706b04416feb8d5da
arm/acpi: Add a helper function to get the acpi table offset

These tables are aligned with 64bit.

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