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: Arm user mode


On Fri, Apr 04, 2003 at 01:41:03PM +0200, Pierre Habraken wrote:
> I discovered yesterday that Arm user mode has not been considered in
> exception processing in hal/arm/arch/current/src/vectors.S.
> Can someone tell me what has been the reason for that (apart the fact
> that most of embedded applications do not need to run user mode
> tasks) ?

That is the reason. Why make things more complex than they need to
be. Why do you need user mode tasks?

> I added a few lines to vectors.S (see patch below) in order to take in
> account the case where an exception occured while the processor was
> running in user mode (this patch does not deal with either FIQ or IRQ
> for the time being).

Minor point: You did the diff the wrong way around. Your patch takes
code out, not putting it in. Its a simple mistake i commonly make!

     Andrew

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