qemu-patch-raspberry4/linux-user/xtensa
Richard Henderson 92fddfbd17 target/xtensa: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define.
Replace xtensa_env_get_cpu with env_archcpu.  The combination
CPU(xtensa_env_get_cpu) should have used ENV_GET_CPU to begin;
use env_cpu now.

Move cpu_get_tb_cpu_state below the include of "exec/cpu-all.h"
so that the definition of env_cpu is available.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-06-10 07:03:42 -07:00
..
cpu_loop.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
signal.c linux-user: move get_sp_from_cpustate() to target_cpu.h 2018-06-04 01:30:44 +02:00
sockbits.h linux-user: move socket.h generic definitions to generic/sockbits.h 2018-05-25 10:10:55 +02:00
syscall_nr.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
target_cpu.h linux-user: move get_sp_from_cpustate() to target_cpu.h 2018-06-04 01:30:44 +02:00
target_elf.h target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
target_fcntl.h linux-user: move generic fcntl definitions to generic/fcntl.h 2018-06-04 01:30:43 +02:00
target_flat.h linux-user: xtensa: enable bFLT support 2018-10-19 18:40:20 -07:00
target_signal.h linux-user: move generic signal definitions to generic/signal.h 2018-06-04 01:30:44 +02:00
target_structs.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
target_syscall.h target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
termbits.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00