diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-12-11 23:21:41 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-08 16:28:16 +0000 |
commit | fd2084cb62a0bd7e93b8e8ef9ddd2c07ccdf812c (patch) | |
tree | aad5582b2206537a0d745d66052e34db4ff44490 /include/hw/intc/ppc-uic.h | |
parent | 11863835de10df6e97dfef40e80862764eb092e0 (diff) |
hw/ppc: Remove unused ppcuic_init()ppcuic
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>
Diffstat (limited to 'include/hw/intc/ppc-uic.h')
-rw-r--r-- | include/hw/intc/ppc-uic.h | 7 |
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; |