diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-11-25 11:52:40 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:59:07 +0000 |
commit | a0c2e80afc98a9771b109eb5ce0b47edd7c78155 (patch) | |
tree | 23093f89b74b58726dfdc1033825ad5e0ad9b749 /include/hw/ppc | |
parent | a359da4c62a59d400c3081160b1105e2fd8e719e (diff) | |
download | qemu-a0c2e80afc98a9771b109eb5ce0b47edd7c78155.zip qemu-a0c2e80afc98a9771b109eb5ce0b47edd7c78155.tar.gz qemu-a0c2e80afc98a9771b109eb5ce0b47edd7c78155.tar.bz2 |
hw/pci-host/pnv_phb3_msi: Convert TYPE_PHB3_MSI to 3-phase reset
Convert the TYPE_PHB3_MSI class to 3-phase reset, so we can
avoid using the device_class_set_parent_reset() function.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20221125115240.3005559-8-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/xics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 00b80b0..95ead0d 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -95,7 +95,7 @@ struct ICSStateClass { DeviceClass parent_class; DeviceRealize parent_realize; - DeviceReset parent_reset; + ResettablePhases parent_phases; void (*reject)(ICSState *s, uint32_t irq); void (*resend)(ICSState *s); |