xen/arm: mm: Move domain_{,un}map_* helpers in a separate file
authorJulien Grall <jgrall@amazon.com>
Fri, 29 Jul 2022 21:59:01 +0000 (22:59 +0100)
committerJulien Grall <julien@xen.org>
Fri, 29 Jul 2022 22:03:22 +0000 (23:03 +0100)
commit68b01ef0b3c182d207bff01dd3e20d287668c855
tree3cf95164967e859d3ee601ceb00427d69e7566cf
parent8417757310cdad9b20902a39eea671d7cce8d396
xen/arm: mm: Move domain_{,un}map_* helpers in a separate file

The file xen/arch/mm.c has been growing quite a lot. It now contains
various independent part of the MM subsytem.

One of them is the helpers to map/unmap a page which is only used
by arm32 and protected by CONFIG_ARCH_MAP_DOMAIN_PAGE. Move them in a
new file xen/arch/arm/domain_page.c.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/Makefile
xen/arch/arm/domain_page.c [new file with mode: 0644]
xen/arch/arm/include/asm/arm32/mm.h
xen/arch/arm/include/asm/lpae.h
xen/arch/arm/mm.c