qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ARM IRQ Generation
@ 2016-05-25 10:47 Karthik
  2016-05-25 12:34 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Karthik @ 2016-05-25 10:47 UTC (permalink / raw)
  To: QEMU Developers

Hi,

I am working on emulating an Spansion micro with ARM Cortex R5F Core.

It has got an Interrupt Controller which accepts multiple interrupts and
generates the IRQ to the CPU based on register settings.

Now an timer module calls the qemu_irq_pulse() to signal the Interrupt
Controller (IC). The interrupt handler in the IC is called with the correct
irq number with level 1 and immediately followed by level 0. The IC in turn
signals the CPU using qemu_set_irq with level 1 and 0.

In this case the ARM CPU is not interrupted at all and there is no
exception generated, because the irq is lowered before the CPU is
interrupted.

There is a delay between qemu_set_irq() and the ARM CPU getting interrupted.
I don't see any delay between timer and interrupt controller.

Any help will be much appreciated. Thank you.

Best regards,
Karthik

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-25 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 10:47 [Qemu-devel] ARM IRQ Generation Karthik
2016-05-25 12:34 ` Peter Maydell
2016-05-25 12:42   ` Karthik
2016-05-25 12:48     ` Peter Maydell
2016-05-25 12:51       ` Karthik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).