public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about ARM vectors.S
@ 2003-12-09  8:55 Aleksei Makarov
  2003-12-09 10:00 ` Nick Garnett
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksei Makarov @ 2003-12-09  8:55 UTC (permalink / raw)
  To: ecos-discuss


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)

Aleksei Makarov






-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] about ARM vectors.S
  2003-12-09  8:55 [ECOS] about ARM vectors.S Aleksei Makarov
@ 2003-12-09 10:00 ` Nick Garnett
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Garnett @ 2003-12-09 10:00 UTC (permalink / raw)
  To: Aleksei Makarov; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-09 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09  8:55 [ECOS] about ARM vectors.S Aleksei Makarov
2003-12-09 10:00 ` Nick Garnett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).