diff options
author | James Hogan <james.hogan@imgtec.com> | 2017-07-18 12:55:50 +0100 |
---|---|---|
committer | Yongbok Kim <yongbok.kim@imgtec.com> | 2017-07-20 22:42:26 +0100 |
commit | dd4096cd2ccc19384770f336c930259da7a54980 (patch) | |
tree | c09c4129cecbaf3c61b0f952c053bd0fded54518 /util/qemu-coroutine-io.c | |
parent | 74dbf824a1313b6064bbebb981a7440951d70896 (diff) |
target/mips: Prepare loads/stores for EVA
EVA load and store instructions access the user mode address map, so
they need to use mem_idx of MIPS_HFLAG_UM. Update the various utility
functions to allow mem_idx to be more easily overridden from the
decoding logic.
Specifically we add a mem_idx argument to the op_ld/st_* helpers used
for atomics, and a mem_idx local variable to gen_ld(), gen_st(), and
gen_st_cond().
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'util/qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions