On 4/18/21 9:31 AM, Philippe Mathieu-Daudé wrote:
tlb_helper.c's #ifdef'ry hides a quite simple user-mode
implementation of mips_cpu_tlb_fill().
Copy the user-mode implementation (without #ifdef'ry) to
tcg/user/helper.c and simplify tlb_helper.c's #ifdef'ry.
This will allow us to restrict tlb_helper.c to sysemu.
Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
target/mips/tcg/user/helper.c | 36 +++++++++++++++++++++++++++++++++++
target/mips/tlb_helper.c | 10 ----------
2 files changed, 36 insertions(+), 10 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~