This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about ARM vectors.S
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Aleksei Makarov <makarov at tecon dot ru>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 09 Dec 2003 10:00:17 +0000
- Subject: Re: [ECOS] about ARM vectors.S
- References: <MAILJJQ873Tlm70rM3T0000028a@mail.tecon.ru>
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