mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
tcg: Rename cpu_env to tcg_env
Allow the name 'cpu_env' to be used for something else. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a953b5fa15
commit
ad75a51e84
91 changed files with 3818 additions and 3819 deletions
|
@ -22,7 +22,7 @@ static bool trans_CPUCFG(DisasContext *ctx, arg_CPUCFG *a)
|
|||
TCGv src1 = tcg_temp_new();
|
||||
|
||||
gen_load_gpr(src1, a->rs);
|
||||
gen_helper_lcsr_cpucfg(dest, cpu_env, src1);
|
||||
gen_helper_lcsr_cpucfg(dest, tcg_env, src1);
|
||||
gen_store_gpr(dest, a->rd);
|
||||
|
||||
return true;
|
||||
|
@ -37,7 +37,7 @@ static bool gen_rdcsr(DisasContext *ctx, arg_r *a,
|
|||
|
||||
check_cp0_enabled(ctx);
|
||||
gen_load_gpr(src1, a->rs);
|
||||
func(dest, cpu_env, src1);
|
||||
func(dest, tcg_env, src1);
|
||||
gen_store_gpr(dest, a->rd);
|
||||
|
||||
return true;
|
||||
|
@ -52,7 +52,7 @@ static bool gen_wrcsr(DisasContext *ctx, arg_r *a,
|
|||
check_cp0_enabled(ctx);
|
||||
gen_load_gpr(addr, a->rs);
|
||||
gen_load_gpr(val, a->rd);
|
||||
func(cpu_env, addr, val);
|
||||
func(tcg_env, addr, val);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue