Re: [PATCH 0/3] target/openrisc: Move pic_cpu code into CPU object

2020-12-11 Thread Peter Maydell
On Fri, 27 Nov 2020 at 22:51, Peter Maydell wrote: > > The openrisc code uses an old style of interrupt handling, where a > separate standalone set of qemu_irqs invoke a function > openrisc_pic_cpu_handler() which signals the interrupt to the CPU > proper by directly calling cpu_interrupt() and cp

[PATCH 0/3] target/openrisc: Move pic_cpu code into CPU object

2020-11-27 Thread Peter Maydell
The openrisc code uses an old style of interrupt handling, where a separate standalone set of qemu_irqs invoke a function openrisc_pic_cpu_handler() which signals the interrupt to the CPU proper by directly calling cpu_interrupt() and cpu_reset_interrupt(). Because CPU objects now inherit (indirect