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

2020-11-29 Thread Stafford Horne
On Fri, Nov 27, 2020 at 10:51:27PM +, 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

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

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