ppc/xics: add an InterruptStatsProvider interface to ICS and ICP objects
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Feb 2017 14:29:13 +0000 (15:29 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:39 +0000 (11:23 +1100)
commitb9038e7806dfe1e522fd7f8dff6a7502bd95a541
tree1dea314b818da71d6450706ff046e4c015943646
parent681bfaded64537a408c5f6107dfe9969d6800861
ppc/xics: add an InterruptStatsProvider interface to ICS and ICP objects

This is, again, to reduce the use of the list of ICS objects. Let's
make each individual ICS and ICP object an InterruptStatsProvider and
remove this same interface from XICSState.

The InterruptStatsProvider will be moved at the machine level after
the XICS cleanups are completed.

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