qemu-e2k/target
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
..
alpha tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
arm target/arm: Inline gen_bx_im into callers 2019-09-05 13:23:04 +01:00
cris Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
hppa hppa/tcg: Call probe_write() also for CONFIG_USER_ONLY 2019-09-03 08:34:18 -07:00
i386 tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
lm32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
m68k tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
microblaze tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
mips Allow page table bit to swap endianness. 2019-09-04 16:29:18 +01:00
moxie hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
nios2 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
openrisc target/openrisc: Update cpu "any" to v1.3 2019-09-04 13:01:56 -07:00
ppc Allow page table bit to swap endianness. 2019-09-04 16:29:18 +01:00
riscv tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
s390x s390x/tcg: Pass a size to probe_write() in do_csst() 2019-09-03 08:34:18 -07:00
sh4 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
sparc target/sparc: sun4u Invert Endian TTE bit 2019-09-03 08:30:39 -07:00
tilegx tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
tricore tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
unicore32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
xtensa target/xtensa: linux-user: add call0 ABI support 2019-09-11 08:47:06 +02:00