Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | target/mips: Add simple user-mode mips_cpu_tlb_fill() | Philippe Mathieu-Daudé | 2021-05-02 | 1 | -0/+36 |
| | | | | | | | | | | | | | | 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. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-15-f4bug@amsat.org> | ||||
* | target/mips: Add simple user-mode mips_cpu_do_interrupt() | Philippe Mathieu-Daudé | 2021-05-02 | 2 | -0/+31 |
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> |