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

All these functions:
- mips_cpu_get_phys_page_debug()
- cpu_mips_translate_address()
- mips_cpu_tlb_fill()
- page_table_walk_refill()
- walk_directory()
call get_physical_address() passing a MMUAccessType type. 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-12-f4bug@amsat.org>
target/mips/tlb_helper.c