]> Git Repo - qemu.git/commit
xics: drop ICPStateClass::cpu_setup() handler
authorGreg Kurz <[email protected]>
Thu, 8 Jun 2017 13:43:08 +0000 (15:43 +0200)
committerDavid Gibson <[email protected]>
Fri, 9 Jun 2017 02:17:59 +0000 (12:17 +1000)
commitb1fd36c363d73969841468146ebfb9fd84a5ee52
treecd222ebc11087e6e5d9c1ef38a0359ae7ab023a9
parent9ed656631d73a7564dfe178ca8c48bf049098aaf
xics: drop ICPStateClass::cpu_setup() handler

The cpu_setup() handler is only implemented by xics_kvm, where it really
does a typical "realize" job. Moreover, the realize() handler is called
shortly after cpu_setup(), on the same path.

This patch converts xics_kvm to implement realize() instead of cpu_setup().

Signed-off-by: Greg Kurz <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/intc/xics.c
hw/intc/xics_kvm.c
include/hw/ppc/xics.h
This page took 0.028707 seconds and 4 git commands to generate.