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 vector.s -- suspicious code in return_from_exception


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


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