qemu-e2k/target/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
..
core-dc232b target/xtensa: drop num_[core_]regs from dc232b/dc233c configs 2018-11-20 12:20:41 -08:00
core-dc233c target/xtensa: drop num_[core_]regs from dc232b/dc233c configs 2018-11-20 12:20:41 -08:00
core-de212 target/xtensa: Clean up core-isa.h header guards 2019-05-13 08:58:55 +02:00
core-fsf Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-sample_controller target/xtensa: Clean up core-isa.h header guards 2019-05-13 08:58:55 +02:00
core-test_kc705_be target/xtensa: Clean up core-isa.h header guards 2019-05-13 08:58:55 +02:00
core-test_mmuhifi_c3 target/xtensa: Clean up core-isa.h header guards 2019-05-13 08:58:55 +02:00
Makefile.objs target/xtensa: add test_mmuhifi_c3 core 2019-01-28 11:55:20 -08:00
core-dc232b.c target/xtensa: drop num_[core_]regs from dc232b/dc233c configs 2018-11-20 12:20:41 -08:00
core-dc233c.c target/xtensa: drop num_[core_]regs from dc232b/dc233c configs 2018-11-20 12:20:41 -08: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
core-test_kc705_be.c target/xtensa: add test_kc705_be core 2018-08-19 18:57:57 -07:00
core-test_mmuhifi_c3.c target/xtensa: add test_mmuhifi_c3 core 2019-01-28 11:55:20 -08:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target/xtensa: SR reorganization and options for modern cores 2019-05-21 10:44:21 +01:00
cpu.h target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
dbg_helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
exc_helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
fpu_helper.c target/xtensa: extract FPU helpers 2019-01-13 23:33:42 -08:00
gdbstub.c target/xtensa: gdbstub fix register counting 2018-11-20 12:20:41 -08:00
helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
helper.h target/xtensa: implement exclusive access option 2019-05-15 10:31:52 -07:00
import_core.sh target/xtensa/import_core.sh: don't add duplicate 'static' 2019-02-08 19:37:45 -08:00
mmu_helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
monitor.c target: Clean up how the dump_mmu() print 2019-04-18 22:18:59 +02:00
op_helper.c target/xtensa: implement exclusive access option 2019-05-15 10:31:52 -07:00
overlay_tool.h target/xtensa: implement exclusive access option 2019-05-15 10:31:52 -07:00
translate.c semihosting: move semihosting configuration into its own directory 2019-05-28 10:28:50 +01:00
win_helper.c target/xtensa: only rotate window in the retw helper 2019-02-28 04:43:22 -08:00
xtensa-isa-internal.h Clean up decorations and whitespace around header guards 2019-05-13 08:58:55 +02: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 target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00