This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Multiple ISRs trigger single DSR?
- From: Nick Garnett <nickg at redhat dot com>
- To: Grant Edwards <grante at visi dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 21 Mar 2002 10:32:18 +0000
- Subject: Re: [ECOS] Multiple ISRs trigger single DSR?
- References: <20020320141212.A11575@visi.com>
Grant Edwards <grante@visi.com> writes:
> Is there any reason I can't have one DSR hooked to two
> different ISRs?
None at all, you just pass the same pointer in when you create the
interrupt object. It was always intended that this be possible, which is
why thing like the vector and data are passed to it. You could even
attach one ISR to more than one interrupt vector if you want.
--
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss