qemu/target
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
..
alpha tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
arm tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
cris tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
hppa tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
i386 tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
lm32 tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
m68k tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
microblaze tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
mips tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
moxie tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
nios2 tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
openrisc tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
ppc tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
s390x tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
sh4 tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
sparc tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
tilegx tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
tricore tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
unicore32 tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
xtensa tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00