[ECOS] Multiple ISR call

Hugo Tyson hmt@redhat.com
Tue Aug 28 06:45:00 GMT 2001


"Frank Rolsted Jensen (FRJ)" <FRJ@tt.dk> writes:
> Anyone who can tell me what will happen if ISR is called while executing
> DSR ? - will DSR be scheduled once more? - or will the irq be ignored ?

If the ISR requests it, the DSR will be scheduled again and will be called
again when it is safe to do so.  The IRQ will not be ignored (unless of
course the interrupt source is masked, and your code in the DSR
acknowledges the interrupt before unmasking it - that's up to your driver
to get it right).

The "count" parameter to DSRs tells the DSR how many times it was requested
by ISRs before the system was able safely to run the DSR - obviously, this
is usually one.

HTH,
	- Huge



More information about the Ecos-discuss mailing list