target/mips: Let do_translate_address() take MMUAccessType argument
commit1190c53e822a287f2767ebddf792d290dd760db0
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 28 Jan 2021 01:07:09 +0000 (28 02:07 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (21 19:42 +0100)
treedb4aa6da6cb76c5e086b149a12cf1459e50f1784
parentfd305527e3b2dd66240ba2fede5ca3709aeb2392
target/mips: Let do_translate_address() take MMUAccessType argument

The single caller, HELPER_LD_ATOMIC(), passes MMUAccessType to
do_translate_address(). Let the prototype use it as argument,
as it is stricter than an integer.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20210128144125.3696119-9-f4bug@amsat.org>
target/mips/op_helper.c