aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-19 18:00:55 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 16:49:34 +0200
commit0debf1400c000154948e8a6fcb89c3149d4e0880 (patch)
tree9494e85cc911d294917767c6cd7d971937aca724 /cpu.c
parent533fc64feb96b6aafdb0d604cd1cd97877451878 (diff)
downloadqemu-0debf1400c000154948e8a6fcb89c3149d4e0880.zip
qemu-0debf1400c000154948e8a6fcb89c3149d4e0880.tar.gz
qemu-0debf1400c000154948e8a6fcb89c3149d4e0880.tar.bz2
target/mips: Merge do_translate_address into cpu_mips_translate_address
Currently cpu_mips_translate_address() calls raise_mmu_exception(), and do_translate_address() calls cpu_loop_exit_restore(). This API split is dangerous, we could call cpu_mips_translate_address without returning to the main loop. As there is only one caller, it is trivial (and safer) to merge do_translate_address() back to cpu_mips_translate_address(). Reported-by: Richard Henderson <richard.henderson@linaro.org> Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-10-f4bug@amsat.org>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions