qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] smc91x irq patch


From: Paul Brook
Subject: Re: [Qemu-devel] smc91x irq patch
Date: Wed, 19 Jul 2006 04:29:22 +0100
User-agent: KMail/1.9.3

On Tuesday 18 July 2006 18:03, Thorsten Zitterell wrote:
> I am working on a Gumstix system [1] emulation for QEMU which is based
> on a Intel XScale processor. The board has an expansion card for network
> support which is a smc91x compatible NIC. However, the irq line is not
> directly connected to the processor's interrupt controller but to an
> GPIO which triggers an irq when a level edge is detected.

As discussed on IRC this is the wrong way to do this. Instead use the 
mechanisms in arm_pic.[ch] and make you GPIO emulation look like an interrupt 
controller.

There's no point passing round both a pic callback and an object when we can 
embed the callback in the object.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]