On 02/10/2016 08:14 AM, Lluís Vilanova wrote:
Adds the 'TCGv_env' type for pointers to 'CPUArchState' objects. The
tracing infrastructure later needs to differentiate between regular
pointers and pointers to vCPUs.
Also changes all targets to use the new 'TCGv_cpu' type instead of the
generic 'TCGv_ptr'. As of now, the change is merely cosmetic ('TCGv_env'
translates into 'TCGv_ptr'), but that could change in the future to
enforce the difference.
I suppose.
We won't be able distinguish TCGv_env from TCGv_ptr until env can be
auto-converted to ptr. Which I can't imagine happening without switching to C++.
I see your motivation in 4/4, so I guess this is fine.
Acked-by: Richard Henderson <r...@twiddle.net>
r~