On 13 March 2012 17:58, Andreas Färber <afaer...@suse.de> wrote: > Have you thought about how to QOM'ify your boards? Mid-term I'd like to > see an "exynos4210" object with the CPUs on it - maybe "cpu[0]" and > "cpu[1]" child properties? Or "core[x]"? I had played with the sh7750 a > bit on my branch but like the arm926 it's a single-core.
I think the exynos4210 object should have a single child object cortex-a9 which in turn has child objects for core[0], core[1], gic, scu, and the private timers and watchdogs. In hardware the A9 is a single block which includes all the cores and all the onboard peripherals; we should model it the same way. One step in this direction might be to disentangle the GIC so that a9mpcore_priv and friends instantiate a GIC object as a child object rather than subclassing the GIC. I think now that Avi has made sub-page-size memory regions work we can get the M profile NVIC code out of arm_gic.c and have a standalone GIC object everybody instantiates. -- PMM