On 20 April 2012 18:39, Andreas Färber <afaer...@suse.de> wrote: > Make cpu_arm_init() return a QOM ARMCPU, so that we don't need to > obtain an ARMCPU through arm_env_get_cpu() in machine init code. > This requires to adjust the inclusion site of cpu-qom.h and in turn, > forward-looking, to homogenize its include order. > > cpu_init() must still return a CPUARMState for backwards and > cross-target compatibility, so adjust the cpu_init macro.
So is the plan that all boards should eventually move over to calling cpu_arm_init() rather than cpu_init() ? -- PMM