Re: [Qemu-devel] [PATCH 06/35] cpu: Replace ENV_GET_CPU with env_cpu

2019-03-26 Thread Alistair Francis
On Sat, Mar 23, 2019 at 12:52 PM Richard Henderson wrote: > > Now that we have both ArchCPU and CPUArchState, we can define > this generically instead of via macro in each target's cpu.h. > > Signed-off-by: Richard Henderson Acked-by: Alistair Francis Alistair > --- > accel/tcg/atomic_templa

[Qemu-devel] [PATCH 06/35] cpu: Replace ENV_GET_CPU with env_cpu

2019-03-23 Thread Richard Henderson
Now that we have both ArchCPU and CPUArchState, we can define this generically instead of via macro in each target's cpu.h. Signed-off-by: Richard Henderson --- accel/tcg/atomic_template.h | 8 ++-- accel/tcg/softmmu_template.h | 20 +- include/exec/cpu-all.h