xen/arm: traps: Move the definition of mmio_info_t in try_handle_mmio
authorJulien Grall <julien.grall@linaro.org>
Tue, 12 Dec 2017 19:02:11 +0000 (19:02 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 12 Dec 2017 20:11:54 +0000 (12:11 -0800)
commit2a2400c2c35a75a718436f30e393035440f29e32
tree3c2cf3ffce47054e333d796c7f851591249d66e0
parent971d1a27bd6912b3de629fbae918ed21a0361dcf
xen/arm: traps: Move the definition of mmio_info_t in try_handle_mmio

mmio_info_t is currently filled by do_trap_data_guest_abort but only
important when emulation an MMIO region.

A follow-up patch will merge stage-2 prefetch abort and stage-2 data abort
in a single helper. To prepare that, mmio_info_t is now filled by
try_handle_mmio.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org.
xen/arch/arm/traps.c