diff options
author | Philippe Mathieu-Daudé | 2021-02-20 21:19:54 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-02-21 19:42:34 +0100 |
commit | bca3763be27adbc12fa65aeab51e429fd75a58cd (patch) | |
tree | 424c2fea5c3e9de6811075956575a0afc7414ad5 /target | |
parent | target/mips: Let CPUMIPSTLBContext::map_address() take MMUAccessType (diff) | |
download | qemu-bca3763be27adbc12fa65aeab51e429fd75a58cd.tar.gz qemu-bca3763be27adbc12fa65aeab51e429fd75a58cd.tar.xz qemu-bca3763be27adbc12fa65aeab51e429fd75a58cd.zip |
target/mips: Remove unused 'rw' argument from page_table_walk_refill()
As the 'rw' argument is unused, remove it.
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210220202026.2305667-1-f4bug@amsat.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/mips/tlb_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/mips/tlb_helper.c b/target/mips/tlb_helper.c index b48f892a51..8d3ea49780 100644 --- a/target/mips/tlb_helper.c +++ b/target/mips/tlb_helper.c @@ -622,8 +622,8 @@ static int walk_directory(CPUMIPSState *env, uint64_t *vaddr, } } -static bool page_table_walk_refill(CPUMIPSState *env, vaddr address, int rw, - int mmu_idx) +static bool page_table_walk_refill(CPUMIPSState *env, vaddr address, + int mmu_idx) { int gdw = (env->CP0_PWSize >> CP0PS_GDW) & 0x3F; int udw = (env->CP0_PWSize >> CP0PS_UDW) & 0x3F; @@ -879,7 +879,7 @@ bool mips_cpu_tlb_fill(CPUState *cs, vaddr address, int size, int mode = (env->hflags & MIPS_HFLAG_KSU); bool ret_walker; env->hflags &= ~MIPS_HFLAG_KSU; - ret_walker = page_table_walk_refill(env, address, access_type, mmu_idx); + ret_walker = page_table_walk_refill(env, address, mmu_idx); env->hflags |= mode; if (ret_walker) { ret = get_physical_address(env, &physical, &prot, address, |