This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Arm user mode
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Pierre Habraken <Pierre dot Habraken at imag dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 4 Apr 2003 13:46:31 +0200
- Subject: Re: [ECOS] Arm user mode
- References: <3E8D6F4F.D19C1180@imag.fr>
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