summaryrefslogtreecommitdiffstats
path: root/bsd-user
diff options
context:
space:
mode:
authorCédric Le Goater2016-10-22 11:46:39 +0200
committerDavid Gibson2016-10-28 00:38:25 +0200
commitd2fd9612eedfbfda8461d1a5f897546e3c457abb (patch)
treeeca554a945701223e3c1a087b6e6dcce5f634ddf /bsd-user
parentppc/pnv: add a PIR handler to PnvChip (diff)
downloadqemu-d2fd9612eedfbfda8461d1a5f897546e3c457abb.tar.gz
qemu-d2fd9612eedfbfda8461d1a5f897546e3c457abb.tar.xz
qemu-d2fd9612eedfbfda8461d1a5f897546e3c457abb.zip
ppc/pnv: add a PnvCore object
This is largy inspired by sPAPRCPUCore with some simplification, no hotplug for instance. A set of PnvCore objects is added to the PnvChip and the device tree is populated looping on these cores. Real HW cpu ids are now generated depending on the chip cpu model, the chip id and a core mask. The id is propagated to the CPU object, using properties, to set the SPR_PIR (Processor Identification Register) Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions