mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
ppc/xics: register the reset handler of ICP objects
The reset of the ICP objects is currently handled by XICS but this can be done for each individual ICP. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
b0ec31290c
commit
20147f2fce
2 changed files with 1 additions and 18 deletions
|
@ -131,6 +131,7 @@ static XICSState *try_create_xics(sPAPRMachineState *spapr,
|
|||
ICPState *icp = &xics->ss[i];
|
||||
|
||||
object_initialize(icp, sizeof(*icp), type_icp);
|
||||
qdev_set_parent_bus(DEVICE(icp), sysbus_get_default());
|
||||
object_property_add_child(OBJECT(xics), "icp[*]", OBJECT(icp), NULL);
|
||||
object_property_add_const_link(OBJECT(icp), "xics", OBJECT(xi), NULL);
|
||||
object_property_set_bool(OBJECT(icp), true, "realized", &err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue