target/cris: Let cris_mmu_translate() use MMUAccessType access_type
commit91ab6d46960256d21c6c01a1f5948bf1336aa15c
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 28 Jan 2021 00:32:23 +0000 (28 01:32 +0100)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Mon, 22 Feb 2021 08:04:58 +0000 (22 09:04 +0100)
tree4fb1a1429a62d1fd657e994db37ba917145537b6
parentc0ff662fabb9bbf79c6518d34f6163567aa4ab44
target/cris: Let cris_mmu_translate() use MMUAccessType access_type

All callers of cris_mmu_translate() provide a MMUAccessType
type. Let the prototype use it as argument, as it is stricter
than an integer. We can remove the documentation as enum
names are self explicit.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <20210128003223.3561108-3-f4bug@amsat.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/cris/mmu.c
target/cris/mmu.h