qemu/hw/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
..
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
Kconfig xtensa-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
Makefile.objs xtensa: rename CONFIG_XTENSA_FPGA to CONFIG_XTENSA_XTFPGA 2019-03-07 21:45:53 +01:00
mx_pic.c target/xtensa: add MX interrupt controller 2019-01-28 11:55:20 -08:00
pic_cpu.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
sim.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00
xtensa_memory.c hw/xtensa: extract xtensa_create_memory_regions 2018-01-11 09:31:26 -08:00
xtensa_memory.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
xtfpga.c hw: Use PFLASH_CFI0{1,2} and TYPE_PFLASH_CFI0{1,2} 2019-03-11 22:53:44 +01:00