summaryrefslogtreecommitdiffstats
path: root/include/hw/intc
diff options
context:
space:
mode:
authorPeter Maydell2021-01-08 18:12:12 +0100
committerDavid Gibson2021-01-19 00:20:29 +0100
commitf7c4acf572ee0219550ca895d1e09c7d9a8f4f79 (patch)
tree58767aca226e78de4fb593be6e483db78f107100 /include/hw/intc
parenthw/ppc/ppc405_uc: Drop use of ppcuic_init() (diff)
downloadqemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.tar.gz
qemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.tar.xz
qemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.zip
hw/ppc: Remove unused ppcuic_init()
Now we've converted all the callsites to directly create the QOM UIC device themselves, the ppcuic_init() function is unused and can be removed. The enum defining PPCUIC symbolic constants can be moved to the ppc-uic.h header where it more naturally belongs. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <20210108171212.16500-5-peter.maydell@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/intc')
-rw-r--r--include/hw/intc/ppc-uic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hw/intc/ppc-uic.h b/include/hw/intc/ppc-uic.h
index e614e2ffd8..22dd5e5ac2 100644
--- a/include/hw/intc/ppc-uic.h
+++ b/include/hw/intc/ppc-uic.h
@@ -47,6 +47,13 @@ OBJECT_DECLARE_SIMPLE_TYPE(PPCUIC, PPC_UIC)
#define UIC_MAX_IRQ 32
+/* Symbolic constants for the sysbus IRQ outputs */
+enum {
+ PPCUIC_OUTPUT_INT = 0,
+ PPCUIC_OUTPUT_CINT = 1,
+ PPCUIC_OUTPUT_NB,
+};
+
struct PPCUIC {
/*< private >*/
SysBusDevice parent_obj;