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

Both mips_cpu_tlb_fill() and cpu_mips_translate_address() pass
MMUAccessType to raise_mmu_exception(). 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-11-f4bug@amsat.org>
target/mips/tlb_helper.c