target-arm: pass DisasContext to gen_aa32_ld*/st*
commitd25fed18a7b19b0d472e42ccb34eac2b63c92208
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jul 2015 18:44:00 +0000 (16 11:44 -0700)
committerPeter Crosthwaite <crosthwaite.peter@gmail.com>
Sun, 28 Feb 2016 05:49:53 +0000 (27 21:49 -0800)
treee3c72db85fa816813b9c669747a224cc0ad0d7b5
parentbc48f13161e7df329ca31525d2022f5f6a0097f0
target-arm: pass DisasContext to gen_aa32_ld*/st*

We'll need the DisasContext in the next patch to retrieve the
desired endianness, so pass it as a whole to gen_aa32_ld*/st*.

Unfortunately we cannot let those functions call get_mem_index,
because of user-mode load/store instructions.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[ PC changes:
 * Fix long lines
]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
target-arm/translate.c