target/mips: Add simple user-mode mips_cpu_do_interrupt()
The #ifdef'ry hides that the user-mode implementation of mips_cpu_do_interrupt() simply sets exception_index = EXCP_NONE. Add this simple implementation to tcg/user/tlb_helper.c, and the corresponding Meson machinery to build this file when user emulation is configured. Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-14-f4bug@amsat.org>
Showing
- target/mips/meson.build 5 additions, 0 deletionstarget/mips/meson.build
- target/mips/tcg/meson.build 3 additions, 0 deletionstarget/mips/tcg/meson.build
- target/mips/tcg/user/meson.build 3 additions, 0 deletionstarget/mips/tcg/user/meson.build
- target/mips/tcg/user/tlb_helper.c 28 additions, 0 deletionstarget/mips/tcg/user/tlb_helper.c
- target/mips/tlb_helper.c 0 additions, 5 deletionstarget/mips/tlb_helper.c
target/mips/tcg/meson.build
0 → 100644
target/mips/tcg/user/meson.build
0 → 100644
target/mips/tcg/user/tlb_helper.c
0 → 100644
Please register or sign in to comment