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]
Other format: [Raw text]

Re: ISR's, DSR's and cyg_drv_interrupt_unmask()


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


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