target/mips: Add simple user-mode mips_cpu_do_interrupt()
commit0a31c16c9ce2639c8706b9f863724ba42a46f121
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 18 Apr 2021 13:16:06 +0000 (18 15:16 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:34 +0000 (2 16:49 +0200)
tree168fd4309d419652bc2b16ee1c9219f16ef280e0
parent6fe25ce58798815237307cf1924ef5b4d13cac99
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>
target/mips/meson.build
target/mips/tcg/meson.build [new file with mode: 0644]
target/mips/tcg/user/meson.build [new file with mode: 0644]
target/mips/tcg/user/tlb_helper.c [new file with mode: 0644]
target/mips/tlb_helper.c