This is the mail archive of the ecos-discuss@sourceware.org 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: AW: Re: How to use CAN in poll mode?


On Tue, 2007-02-06 at 20:55 +0100, Alexander Neundorf wrote:
> On Tuesday 06 February 2007 20:34, Bob Koninckx wrote:
> > On Tue, 2007-02-06 at 10:23 +0100, Neundorf, Alexander wrote:
> > > > Von: ecos-discuss-owner@ecos.sourceware.org
> > >
> > > ...
> > >
> > > > Although you can find many arguments against enabling
> > > > interrupts in redboot, the infrastructure is there (the
> > > > ISR/DSR mechanism works in the absence of a kernel) and that
> > > > solution worked very well for us.
> > >
> > > How does this work then, especially the DSRs ?
> >
> > How do you mean? You just write your ISR and DSR as you normally would,
> > and they get called in the correct order.
> 
> Do they get their own stack ? Can DSRs still be interrupted/delayed by ISRs or 
> are they just executed directly after the ISRs ?

Don't know for sure. From a quick look at the code, I suspect, the DSRs
can be interrupted by the ISRs, DSRs still run after the ISRs and I
guess everything happens in the context of the interrupts, which can be
a separate stack if you configured it to be. Probably one of the kernel
architects can confirm this or correct me ;-)

Bob


> 
> Bye
> Alex
> -- 
> Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
> Home: neundorf AT kde.org                - http://www.kde.org
>       alex AT neundorf.net               - http://www.neundorf.net
> 


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


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