ppc/xics: use the QOM interface to grab an ICP
commitb4f27d71e3c98c9c4590de40d478004b8482b277
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Feb 2017 14:29:25 +0000 (27 15:29 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:39 +0000 (1 11:23 +1100)
tree1a0911790ac3ba7967980320fd975739b77346f3
parentf023243432b397ace5345bd47d4dc62609241484
ppc/xics: use the QOM interface to grab an ICP

Also introduce a xics_icp_get() helper to simplify the changes.

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