aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-01-08 17:12:12 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2021-01-19 10:20:29 +1100
commitf7c4acf572ee0219550ca895d1e09c7d9a8f4f79 (patch)
tree58767aca226e78de4fb593be6e483db78f107100 /include/hw/intc
parent71c3c44bc3e4b516efc868b05237aabefbf20fa8 (diff)
downloadqemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.zip
qemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.tar.gz
qemu-f7c4acf572ee0219550ca895d1e09c7d9a8f4f79.tar.bz2
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 e614e2f..22dd5e5 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;