diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-05-27 17:09:50 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-05-27 17:09:50 +0100 |
commit | c1197795436f51652bbb253c9422265676264050 (patch) | |
tree | 656699f8f37bf3860f9d2d2aec05c3d37cd83cdc /ui/keymaps.c | |
parent | a99caa48d89c2d36362b45d513c4952233acb775 (diff) | |
download | qemu-c1197795436f51652bbb253c9422265676264050.zip qemu-c1197795436f51652bbb253c9422265676264050.tar.gz qemu-c1197795436f51652bbb253c9422265676264050.tar.bz2 |
target-arm/translate.c: Use get_mem_index() for SRS memory accesses
The SRS instruction was using a hardcoded 0 for the memory
accesses. This happens to be OK since the SRS instruction is
UNPREDICTABLE in User and System modes, but is awkward if we
want to rearrange the MMU index uses. Switch to using
get_mem_index() like all the other accesses.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1400980132-25949-4-git-send-email-edgar.iglesias@gmail.com
Diffstat (limited to 'ui/keymaps.c')
0 files changed, 0 insertions, 0 deletions