On Tue, 2005-02-15 at 12:35, [EMAIL PROTECTED] wrote:
> On Tue, 15 Feb 2005, Michael Neuhauser wrote:
> 
> > No, as the mask_ack() call in Linux' do_IRQ() is modified like this:
> >
> >         #ifdef CONFIG_ADEOS_CORE
> >             if (!adp_pipelined)
> >         #endif /* CONFIG_ADEOS_CORE */
> >             desc->mask_ack(irq);
> >
> > i.e. don't do it if pipelining is active.
> 
> We have hardware, with an additional IC, behind which only Linux (no
> real-time) interrupt sources are located. So, logically, you don't need to
> register this IC's interrupt to the CPU as a rt-interrupt. Then you can
> directly call (asm_)do_IRQ(new_irq) from it, bypassing all rt (adeos) to
> reduce latency.

I'm a little confused about what you want to achieve here.

>  But with the above mask_ack it is impossible, because then
> it will never be called...

"it"?

> Also, I am somewhat suspicious about not calling unmask in rt. It looks
> wrong to have to touch IC in ISR...

But if you don't unmask the interrupt it will never happen again ...

Mike
-- 
Dr. Michael Neuhauser                phone: +43 1 789 08 49 - 30
Firmix Software GmbH                   fax: +43 1 789 08 49 - 55
Vienna/Austria/Europe                      email: [EMAIL PROTECTED]
Embedded Linux Development and Services    http://www.firmix.at/


Reply via email to