tech-kern archive

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

Re: Interrupt handlers in NetBSD 5.0



On Tuesday 09 June 2009 10:52:22 Joerg Sonnenberger wrote:
> On Tue, Jun 09, 2009 at 09:45:30AM +0200, Hans Petter Selasky wrote:
> > Thank you for your information! One more question. If I want to defer a
> > hardware interrupt, how do I disable that interrupt until the deferred
> > interrupt handler gets executed. Not all interrupts are edge triggered!
>
> That depends on your device, doesn't it? E.g. for a PCI device if you
> really need to defer it, you shouldn't stop all other shared PCI devices
> from being able to handle it.

Hi,

I understand that, but it is very important to stop interrupts from happening 
on the hardware vector, when deferring interrupts. Else you can end up in 
strange situations.

Are you trying to explaing this is not possible?

--HPS



Home | Main Index | Thread Index | Old Index