qemu-e2k/target/mips
Richard Henderson 1c2adb958f tcg: Initialize cpu_env generically
This is identical for each target.  So, move the initialization to
common code.  Move the variable itself out of tcg_ctx and name it
cpu_env to minimize changes within targets.

This also means we can remove tcg_global_reg_new_{ptr,i32,i64},
since there are no longer global-register temps created by targets.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2017-10-24 13:53:42 -07:00
..
Makefile.objs mips: move hw/mips/cputimer.c to target/mips/ 2017-09-21 13:24:34 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cp0_timer.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
cpu-qom.h mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00
cpu.c qom: Introduce CPUClass.tcg_initialize 2017-10-24 22:00:13 +02:00
cpu.h mips: replace cpu_mips_init() with cpu_generic_init() 2017-09-21 13:25:37 +01:00
dsp_helper.c mips: Improve macro parenthesization 2017-09-21 13:25:41 +01:00
gdbstub.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
helper.h target/mips: Add segmentation control registers 2017-07-20 22:42:26 +01:00
internal.h mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00
kvm.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
kvm_mips.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
lmi_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
machine.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
mips-defs.h linux-user: Tidy and enforce reserved_va initialization 2017-10-16 16:00:56 +03:00
mips-semi.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
msa_helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
op_helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
trace-events docs: fix broken paths to docs/devel/tracing.txt 2017-07-31 13:12:53 +03:00
translate.c tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
translate_init.c mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00