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

Re: [rtl] Q: reentrant ISR's



Roland Lang wrote:
> 
> Hi.
> 
> I have setup a ISR on the 8254 Timer Hardware Interrupt 0.
> I am not using the scheduler. I need to program a detection
> mechanism whether the ISR is again called before the last one has
> terminated. I need to do this because of a compatibility to
> another system. But it seems the HW Interrupts are turned off
> while the ISR is running so that this detection doesn't work.
> 
> My Question: How can I generate a reentrant ISR using RTL2.2?

try  enabling IRQ 0 immediatly, i.e. just at the beginning of your
handler. Remember to pend an IRQ to Linux at 100 hz.

Ciao, Paolo.