Hello Peter Maydell, and all,
> > If the device does try to raise its interrupt, then either you've
> > wired the interrupt wrongly or else perhaps the guest never unmasked
> > the interrupt in the GIC. You can singlestep into the qemu_raise_irq()
> > function to see where it takes you.
> >
I've s
Hi, Peter Maydell
Thank you for the kind reply.
> ...and connect its IRQ here, so of course the check in the device realize
> method says "not connected". That isn't telling you anything useful.
>
So I added some prints. This is the result.
create_uart called!
pl011_init called!
pl011_realize c
On Fri, 1 Apr 2022 at 10:27, Chan Kim wrote:
> static void create_ab21q_axpu_device(const Ab21qMachineState *vms,
> MemoryRegion *mem)
> {
> char *nodename;
> hwaddr base = vms->memmap[AB21Q_AXPU].base;
> hwaddr size = vms->memmap[AB21Q_AXPU].size;
> int irq
Hello all,
I'm trying to make interrupt work for a device in qemu. The machnie name is
ab21q, a modified version of arm64 virt machine, and the device name is
ab21q_axpu.
Here are some relevant codes. I referenced pl011.c. (I switched temporarily
back to qemu-5.1.0 for this test.)
** hw/a