ppc/xics: change the icp_ routines API to use an 'ICPState *' argument
commite3403258a20c61859ca1917bb86bc206e5846784
authorCédric Le Goater <clg@kaod.org>
Tue, 18 Oct 2016 08:06:34 +0000 (18 10:06 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000 (28 09:36 +1100)
treefe2fb78dc332c355f744cc5e6d9a878d3b84b8e5
parentd49c603b37e6c9d025f58c09f55d0c7cefe88987
ppc/xics: change the icp_ routines API to use an 'ICPState *' argument

The routines :

void icp_set_cppr(ICPState *icp, uint8_t cppr);
void icp_set_mfrr(ICPState *icp, uint8_t mfrr);
void icp_eoi(ICPState *icp, uint32_t xirr);

now use one 'ICPState *icp' argument instead of a 'XICSState *' and a
server arguments. The backlink on XICSState* is used whenever needed.

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
include/hw/ppc/xics.h