aboutsummaryrefslogtreecommitdiff
path: root/target/unicore32/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-04-03 07:34:20 +0700
committerRichard Henderson <richard.henderson@linaro.org>2019-05-10 11:12:50 -0700
commitc5d417da4a5be88e8da9523dcc38d2efc1898081 (patch)
tree30b81352c163a2de5aa74ae793398b63378c18e6 /target/unicore32/cpu.h
parent68d6eee73c0a0ea38660fb41f805dd2ec5209b89 (diff)
downloadqemu-c5d417da4a5be88e8da9523dcc38d2efc1898081.zip
qemu-c5d417da4a5be88e8da9523dcc38d2efc1898081.tar.gz
qemu-c5d417da4a5be88e8da9523dcc38d2efc1898081.tar.bz2
target/unicore32: Convert to CPUClass::tlb_fill
Remove the user-only functions, as we no longer have a user-only config. Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/unicore32/cpu.h')
-rw-r--r--target/unicore32/cpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/unicore32/cpu.h b/target/unicore32/cpu.h
index 24abe5e..f052ee0 100644
--- a/target/unicore32/cpu.h
+++ b/target/unicore32/cpu.h
@@ -178,8 +178,9 @@ static inline void cpu_get_tb_cpu_state(CPUUniCore32State *env, target_ulong *pc
}
}
-int uc32_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int size, int rw,
- int mmu_idx);
+bool uc32_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
+ MMUAccessType access_type, int mmu_idx,
+ bool probe, uintptr_t retaddr);
void uc32_translate_init(void);
void switch_mode(CPUUniCore32State *, int);