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]

Re: About Call-pending-DSRs


windy wrote:
> 
> Referring to eCos Interrupt Model in eCos document , it allow irq recur when call DSR.
> But in ARM implement code(vector.s), I found the irq haven't be re-enable immediately
> after calling isr handle. if enable MACRO CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK,
> ECOS will enable irq and call dsr continue,if we haven't enable this MACRO,ecos will call
> dsr directly without enabling irq.
> What if I enable irq directly after calling isr handle?

Then you can keep on getting more interrupts, and those will mount up on
the thread stack.

But admittedly this seems unavoidable if not using a separate interrupt
stack, so it may indicate a bug that it doesn't enable interrupts anyway.
Gary? Mark?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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