This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: DSR question
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: t dot michals at attbi dot com
- Cc: Iztok Zupet <iztok dot zupet at vsr dot si>, eCos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: 30 Sep 2002 23:09:16 +0100
- Subject: Re: [ECOS] Re: DSR question
- References: <20020930193532.LEJ7275.rwcrmhc53.attbi.com@rwcrwbc55>
t.michals@attbi.com writes:
> yes this is what is happening, the DSR unmasks the
> interrupt causing the the ISR to retrigger before the
> DSR is completed. So this can cause a deadlock issue?
> I thought this should just retrigger the DSR again?
While in theory eCos should be able to handle this, it is not really
designed to deal with it. The exact behaviour is undefined.
Depending on things like exactly where in the ISR and DSR the
interrupt mask and unmask come, it is possible for a continuously
interrupting source to stack up frames and maybe overflow the
interrupt stack. This is the most likely cause of your problems.
--
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss