OSDN Git Service

ppc/pnv: introduce a new isa_create() operation to the chip model
authorCédric Le Goater <clg@kaod.org>
Fri, 15 Jun 2018 15:25:34 +0000 (17:25 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Jun 2018 11:22:53 +0000 (21:22 +1000)
commit04026890f2d71afb36dbef24c370171cd0c42913
tree858bac5763c165b4e00d47f1f9afa246d7489d67
parentd35aefa9ae150a8a5943ca3d9102020a5382de0b
ppc/pnv: introduce a new isa_create() operation to the chip model

This moves the details of the ISA bus creation under the LPC model but
more important, the new PnvChip operation will let us choose the chip
class to use when we introduce the different chip classes for Power9
and Power8. It hides away the processor chip controllers from the
machine.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_lpc.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_lpc.h