[ECOS] CYG_ISR_CALL_DSR vs CYG_ISR_HANDLED

osv osv@javad.com
Fri Nov 18 13:59:00 GMT 2005


Hello,

In the eCos reference manual one can read:

  The return value of an ISR is normally one of CYG_ISR_CALL_DSR or
  CYG_ISR_HANDLED. The former indicates that further processing is
  required at DSR level, and the interrupt handler’s DSR will be run as
  soon as possible. The latter indicates that the interrupt has been
  fully handled and no further effort is required.

However, the eCos internal clock isr (Cyg_RealTimeClock::isr()) returns
as follows:

    return Cyg_Interrupt::CALL_DSR|Cyg_Interrupt::HANDLED;

that seems to contradict with the description above. What is the truth
about isr handler return codes?

-- 
Sergei.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list