[ECOS] about ARM vectors.S
Nick Garnett
nickg@ecoscentric.com
Tue Dec 9 10:00:00 GMT 2003
Aleksei Makarov <makarov@tecon.ru> writes:
> Hi
>
> I look at hal/arm/arch/current/src/vectors.S,
> cvs version 1.45 (up-to-date), lines 931-959.
>
> The function interrupt_end() is called there in any case,
> whether it was the last nested interrupt or not.
>
> Is it true?
>
> If it is true, is it correct?
> (As I know this function may call DSR and
> cause a thread switch)
>
interrupt_end() also posts the DSR for the current interrupt, so it
must be called each time. Whether it calls DSRs is controlled by the
scheduler lock and has little to do with the ARM HAL's interrupt nest
count. Other HALs don't have this count at all.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
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