target-arm: pass DisasContext to gen_aa32_ld*/st*
commit12dcc3217dc86b7dccee293b2f6e3fa4f7b014ae
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 11:30:20 +0000 (4 11:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Mar 2016 11:30:20 +0000 (4 11:30 +0000)
tree1404678748f9b9623c7edf9d8eb78b439bb9ee94
parent73462dddf670c32c45c8ea359658092b0365b2d4
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>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c