Re: [PATCH 05/11] hw/m68k/next-cube: Make next_irq take NeXTPC* as its opaque

2021-01-16 Thread Thomas Huth
Am Fri, 15 Jan 2021 20:12:00 + schrieb Peter Maydell : > Make the next_irq function take a NeXTPC* as its opaque rather than > the M68kCPU*. This will make it simpler to turn the next_irq > function into a gpio input line of the NeXTPC device in the next > commit. > > For this to work we hav

[PATCH 05/11] hw/m68k/next-cube: Make next_irq take NeXTPC* as its opaque

2021-01-15 Thread Peter Maydell
Make the next_irq function take a NeXTPC* as its opaque rather than the M68kCPU*. This will make it simpler to turn the next_irq function into a gpio input line of the NeXTPC device in the next commit. For this to work we have to pass the CPU to the NeXTPC device via a link property, in the same