This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Multiple ISR call



"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]