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: about ARM vectors.S


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


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