qemu-e2k/target/xtensa
Peter Maydell 0f02251a30 xtensa: Avoid calling get_page_addr_code() from helper function
The xtensa frontend calls get_page_addr_code() from its
itlb_hit_test helper function. This function is really part
of the TCG core's internals, and calling it from a target
helper makes it awkward to make changes to that core code.
It also means that we don't pass the correct retaddr to
tlb_fill(), so we won't correctly handle the case where
an exception is generated.

The helper is used for the instructions IHI, IHU and IPFL.

Change it to call cpu_ldb_code_ra() instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-06-30 12:00:17 -07:00
..
core-dc232b Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-dc233c Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-de212 Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-fsf Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-sample_controller Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-dc232b.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-dc233c.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-de212.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-fsf.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-sample_controller.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
cpu-qom.h
cpu.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
cpu.h target/xtensa: check zero overhead loop alignment 2018-06-30 11:58:02 -07:00
gdbstub.c target/xtensa: use correct number of registers in gdbstub 2018-03-13 11:30:22 -07:00
helper.c target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
helper.h target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
import_core.sh target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
Makefile.objs target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c xtensa: Avoid calling get_page_addr_code() from helper function 2018-06-30 12:00:17 -07:00
overlay_tool.h target/xtensa: check zero overhead loop alignment 2018-06-30 11:58:02 -07:00
translate.c target/xtensa: Convert to TranslatorOps 2018-06-30 12:00:17 -07:00
xtensa-isa-internal.h target/xtensa: import libisa source 2017-12-18 21:26:19 -08:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00