This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ISR's, DSR's and cyg_drv_interrupt_unmask()
- From: Jesper Skov <jskov at redhat dot com>
- To: "Recker, John" <john_recker at hp dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 02 Apr 2002 09:12:20 +0200
- Subject: Re: [ECOS] ISR's, DSR's and cyg_drv_interrupt_unmask()
- References: <40700B4C02ABD5119F00009027876644DF506D@hplex1.hpl.hp.com>
On Fri, 2002-03-29 at 20:39, Recker, John wrote:
> However, it seems that if I call
> cyg_drv_interrupt_unmask() prior to
> exiting the ISR routine, then the DSR
> routine is never called. Is there a
> way around this? It certainly is
> straightforward to recode the DSR to
> eliminate re-entrancy problems.
You should _ack() the interrupt before _unmask()ing it.
Jesper
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss