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

Re: [rtl] RT-Linux interrupts.



In message <20011108063552.C18523@hq2> Victor Yodaiken wrote:
> 
> This is the standard problem of shared interrupts. A shared
> interrupt with some RT and some non-RT is rather peculiar
> and if it is done at all, it must be specially handled by the RT

This is not the case here. While it is true that all  CPM  interrupts
share  one  SIU  interrupt,  it  is  IMHO  wrong  to  speak of shared
interrupts - they are just on another interrupt controller. All  that
needs  to  be  done is hiding the details of the interrupt controller
architecture from the user who just wants to  register  an  IRQ  with
either the RT or the Linux part.

> A more sloppy approach is certainly possible.

I'll be happy to adapt your solution if you come up with a better one.

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
For every complex problem, there is a solution that is simple,  neat,
and wrong.                                           -- H. L. Mencken