target/mips: Let get_seg*_physical_address() take MMUAccessType arg
commit67b663d6fadaa4755bd9e1263deb36122c2e05b9
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 28 Jan 2021 01:10:54 +0000 (28 02:10 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (21 19:42 +0100)
tree98b9b6a9fc1f01b7653aeb521bf44378fe44aa2c
parent7c6e2049f099e1bbdbf9dbc219be963d1ff509c0
target/mips: Let get_seg*_physical_address() take MMUAccessType arg

get_physical_address() calls get_seg_physical_address() and
get_segctl_physical_address() passing a MMUAccessType type.
Let the prototypes 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-13-f4bug@amsat.org>
target/mips/tlb_helper.c