This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM vector.s -- suspicious code in return_from_exception
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: gary at chez-thomas dot org, msalter at redhat dot com
- Cc: list_ericdejong_10 at gmx dot net, ecos-discuss at sources dot redhat dot com
- Date: Wed, 02 Jul 2003 18:53:22 +0000
- Subject: Re: [ECOS] ARM vector.s -- suspicious code in return_from_exception
- Bcc:
Hi,
> We probably haven't been bitten by this because I don't think we
> have any boards that make much use of FIQ.
>
Most boards I've used with FIQ use their own VSR anyway.
Just a thought!
The idea behind FIQs is to keep things simple along its code path. So that
it can truly be a fast interrupt. All the FIQ code should do is handle the
interrupt that caused it & return back to the previous mode. Task switch &
things like that need not happen in a FIQ & the return path for this should
be kept different from IRQ & need for switching to SVC mode & thus
corrupting its SPSR can be avoided. Straight & simple FIQ path & the kernel
need not be aware of FIQs.
Cheers,
-Mike.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss