target/mips: Let CPUMIPSTLBContext::map_address() take MMUAccessType
commitedbd4992fb5d782c858f5196ecb452d61dbc6ab1
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 28 Jan 2021 01:11:06 +0000 (28 02:11 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (21 19:42 +0100)
treeeca6c50e6d1b3c98b4964e031a360fe7a026972d
parent67b663d6fadaa4755bd9e1263deb36122c2e05b9
target/mips: Let CPUMIPSTLBContext::map_address() take MMUAccessType

get_seg_physical_address() calls CPUMIPSTLBContext::map_address()
handlers passing a MMUAccessType type. Update the prototype
handlers to take a MMUAccessType 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-14-f4bug@amsat.org>
target/mips/internal.h
target/mips/tlb_helper.c