This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
masked interrupt source and DSR
- From: "Backhaus Willy" <w dot backhaus at newage-avkseg dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 8 Sep 2003 13:57:06 +0200
- Subject: [ECOS] masked interrupt source and DSR
hello,
we use ARM7 based controller.
in the "Embedded software development with ecos" (page 41 and code listing
3.2) is mentioned that when using DSRs the corresponding interrupt source
should be masked at the beginning ISR and should be unmasked only at the end
of the DSR execution.
I would unmask the interrupt source at the end of ISR and post the DSR every
time de interrupt occurs, even if the DSR isn't executed yet. the DSR
prototype has a parameter "count" wich gives the number of times the ISR has
requested that this DSR be scheduled..
what happens if I enable the interrupt source at the end of the ISR? any
side effects?
thanks,
Willy
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss