Hello, Here are a couple of changes removing duplicated code and modifying the remaining icp_ routines still using a 'XICSState *' as argument.
Thanks, C. Cédric Le Goater (3): ppc/xics: add a xics_set_nr_servers common routine ppc/xics: add a XICSState backlink in ICPState ppc/xics: change the icp_ routines API to use an 'ICPState *' argument hw/intc/xics.c | 50 ++++++++++++++++++++++++++++++++------------------ hw/intc/xics_kvm.c | 13 +------------ hw/intc/xics_spapr.c | 31 ++++++++++++------------------- include/hw/ppc/xics.h | 10 +++++++--- 4 files changed, 52 insertions(+), 52 deletions(-) -- 2.7.4