[ECOS] Arm user mode

Andrew Lunn andrew.lunn@ascom.ch
Fri Apr 4 11:46:00 GMT 2003


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



More information about the Ecos-discuss mailing list