ppc/pnv: introduce Pnv8Chip and Pnv9Chip models
commit77864267c3c82a4938d628b9313bce8fcce6373d
authorCédric Le Goater <clg@kaod.org>
Mon, 18 Jun 2018 17:05:39 +0000 (18 19:05 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Jun 2018 11:22:53 +0000 (21 21:22 +1000)
tree7758bfdc359af572f2d5efe698a524be105dde80
parent7f9fe3f02d9e796e8bcd37628e17127dec515991
ppc/pnv: introduce Pnv8Chip and Pnv9Chip models

It introduces a base PnvChip class from which the specific processor
chip classes, Pnv8Chip and Pnv9Chip, inherit. Each of them needs to
define an init and a realize routine which will create the controllers
of the target processor. For the moment, the base PnvChip class
handles the XSCOM bus and the cores.

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