arm/p2m: Add helper functions to map memory regions
authorParth Dixit <parth.dixit@linaro.org>
Wed, 30 Mar 2016 10:15:00 +0000 (12:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Mar 2016 15:01:03 +0000 (17:01 +0200)
commiteb5c3d13f51e36812709554aff90e2ae5aac2452
tree22f916d11f27e474fa25557086ddae2b289181a7
parent130b80d60b94f6b8ea7202c42736dd9005f17bef
arm/p2m: Add helper functions to map memory regions

Create a helper function for mapping with cached attributes and
read-write range.

Signed-off-by: Parth Dixit <parth.dixit@linaro.org>
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/p2m.c
xen/include/asm-arm/p2m.h