target-arm/translate.c: Clean up mmu index handling for ldrt/strt
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 27 May 2014 16:09:50 +0000 (17:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 May 2014 16:09:50 +0000 (17:09 +0100)
commita99caa48d89c2d36362b45d513c4952233acb775
tree6c8dffdb6ba29257d383057cc4cf11108663431b
parent9d4c4e872e7598ecbe25437dc4f663b248b2c8a5
target-arm/translate.c: Clean up mmu index handling for ldrt/strt

Clean up the mmu index handling for ldrt/strt insns: instead
of a flag 'user' indicating whether to treat the store as user
mode or not, use 'memidx' to indicate the correct memory index to use.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1400980132-25949-3-git-send-email-edgar.iglesias@gmail.com
target-arm/translate.c