xen/arm: Move co-processor emulation outside of traps.c
authorJulien Grall <julien.grall@arm.com>
Thu, 14 Sep 2017 17:08:57 +0000 (18:08 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Sep 2017 22:15:04 +0000 (15:15 -0700)
commit55e8e1be04321fbdec73550e47c722aed87ff370
treeb3e6972f1fba41ac556ad4ce79f110b0d42722df
parent7da1c58b271744391a85a4e5a5c3920522be98ce
xen/arm: Move co-processor emulation outside of traps.c

The co-processor emulation is quite big and pretty much standalone. Move
it in a separate file to shrink down the size of traps.c.

At the same time remove unused cpregs.h.

No functional change.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/Makefile
xen/arch/arm/traps.c
xen/arch/arm/vcpreg.c [new file with mode: 0644]
xen/include/asm-arm/traps.h