qemu-e2k/target/xtensa
Max Filippov 130ea8322b target/xtensa: linux-user: add call0 ABI support
Xtensa binaries built for call0 ABI don't rotate register window on
function calls and returns. Invocation of signal handlers from the
kernel is therefore different in windowed and call0 ABIs.
There's currently no way to determine xtensa ELF binary ABI from the
binary itself. Add handler for the -xtensa-abi-call0 command line
parameter/QEMU_XTENSA_ABI_CALL0 envitonment variable to the qemu-user
and record ABI choice. Use it to initialize PS.WOE in xtensa_cpu_reset.
Check PS.WOE in setup_rt_frame to determine how a signal should be
delivered.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20190906165713.5558-1-jcmvbkbc@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-09-11 08:47:06 +02:00
..
core-dc232b
core-dc233c
core-de212
core-fsf
core-sample_controller
core-test_kc705_be
core-test_mmuhifi_c3
core-dc232b.c
core-dc233c.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core-de212.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core-fsf.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core-sample_controller.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core-test_kc705_be.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core-test_mmuhifi_c3.c
cpu-param.h
cpu-qom.h hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
cpu.c target/xtensa: linux-user: add call0 ABI support 2019-09-11 08:47:06 +02:00
cpu.h target/xtensa: linux-user: add call0 ABI support 2019-09-11 08:47:06 +02:00
dbg_helper.c
exc_helper.c
fpu_helper.c
gdbstub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
helper.c
helper.h
import_core.sh
Makefile.objs
mmu_helper.c
monitor.c hmp: Move hmp.h to include/monitor/ 2019-07-02 07:19:45 +02:00
op_helper.c
overlay_tool.h
translate.c icount: remove unnecessary gen_io_end calls 2019-08-20 17:26:22 +02:00
win_helper.c
xtensa-isa-internal.h
xtensa-isa.c
xtensa-isa.h
xtensa-semi.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00