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]

ISR's, DSR's and cyg_drv_interrupt_unmask()



I've been playing with the serial
drivers for the EB40/AT91 recently
trying to improve its reliability.

One area that I think contributes to
the driver dropping characters is that
interrupts are not unmasked until both
the ISR & DSR have completed their tasks.
This is alot of instructions to process
on HW that requires that interrupt response
be within one character.

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.

thanx,

jr

-- 
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]