diff options
author | Amir Gonnen <amir.gonnen@neuroblade.ai> | 2022-04-21 08:17:30 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-04-26 08:17:05 -0700 |
commit | c46cabd4a92ec18f217ad4c61e1af688a355035f (patch) | |
tree | b22d5ad168fe8cb22e58d7d88216d0bac2ee108b /hw/intc/Kconfig | |
parent | 3747727aad1841bd07b7c9588b6d9b32182b1121 (diff) | |
download | qemu-c46cabd4a92ec18f217ad4c61e1af688a355035f.zip qemu-c46cabd4a92ec18f217ad4c61e1af688a355035f.tar.gz qemu-c46cabd4a92ec18f217ad4c61e1af688a355035f.tar.bz2 |
hw/intc: Vectored Interrupt Controller (VIC)
Implement nios2 Vectored Interrupt Controller (VIC).
VIC is connected to EIC. It needs to update rha, ril, rrs and rnmi
fields on Nios2CPU before raising an IRQ.
For that purpose, VIC has a "cpu" property which should refer to the
nios2 cpu and set by the board that connects VIC.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Amir Gonnen <amir.gonnen@neuroblade.ai>
Message-Id: <20220303153906.2024748-5-amir.gonnen@neuroblade.ai>
[rth: Split out nios2_vic.h]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220421151735.31996-60-richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/Kconfig')
-rw-r--r-- | hw/intc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig index a7cf301..eded1b5 100644 --- a/hw/intc/Kconfig +++ b/hw/intc/Kconfig @@ -84,3 +84,6 @@ config GOLDFISH_PIC config M68K_IRQC bool + +config NIOS2_VIC + bool |