From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20906 invoked by alias); 9 Dec 2003 10:00:23 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 20899 invoked from network); 9 Dec 2003 10:00:22 -0000 Received: from unknown (HELO msgdirector4.onetel.net.uk) (212.67.96.160) by sources.redhat.com with SMTP; 9 Dec 2003 10:00:22 -0000 Received: from miso.calivar.com (213-78-82-32.friaco.onetel.net.uk [213.78.82.32]) by msgdirector4.onetel.net.uk (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id BJC89628; Tue, 9 Dec 2003 10:00:20 GMT Received: from miso.calivar.com (miso.calivar.com [127.0.0.2]) by miso.calivar.com (Postfix) with ESMTP id 9FA3728DF45; Tue, 9 Dec 2003 10:00:17 +0000 (GMT) To: Aleksei Makarov Cc: ecos-discuss@sources.redhat.com References: From: Nick Garnett Date: Tue, 09 Dec 2003 10:00:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] about ARM vectors.S X-SW-Source: 2003-12/txt/msg00096.txt.bz2 Aleksei Makarov 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