Re: [PATCH v3 5/5] hw/nios2: Machine with a Vectored Interrupt Controller

2022-03-04 Thread Peter Maydell
On Thu, 3 Mar 2022 at 15:39, Amir Gonnen wrote: > > Demonstrate how to use nios2 VIC on a machine. > Introduce a new machine "10m50-ghrd-vic" which is based on "10m50-ghrd" > with a VIC attached and internal interrupt controller removed. > > When VIC is present, irq0 connects the VIC to the cpu, i

[PATCH v3 5/5] hw/nios2: Machine with a Vectored Interrupt Controller

2022-03-03 Thread Amir Gonnen
Demonstrate how to use nios2 VIC on a machine. Introduce a new machine "10m50-ghrd-vic" which is based on "10m50-ghrd" with a VIC attached and internal interrupt controller removed. When VIC is present, irq0 connects the VIC to the cpu, intc_present is set to false to disable the internal interrup