From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6875 invoked by alias); 2 Apr 2008 18:59:25 -0000 Received: (qmail 6865 invoked by uid 22791); 2 Apr 2008 18:59:25 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Apr 2008 18:59:08 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Jh8AU-0002Hu-00; Wed, 02 Apr 2008 20:58:42 +0200 Date: Wed, 02 Apr 2008 18:59:00 -0000 From: Andrew Lunn To: Chris Zimman Cc: Grant Edwards , ecos-discuss@sources.redhat.com Message-ID: <20080402185842.GD7929@lunn.ch> Mail-Followup-To: Chris Zimman , Grant Edwards , ecos-discuss@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: On ARM7 can one of FIQ/IRQ be used for non-eCos stuff? X-SW-Source: 2008-04/txt/msg00016.txt.bz2 > I would think what you'd want to do is to provide a function to change > the FIQ vector after eCos has started. It already exists. void cyg_interrupt_get_vsr(cyg_vector_t vector, cyg_VSR_t** vsr); void cyg_interrupt_set_vsr(cyg_vector_t vector, cyg_VSR_t* vsr); with the vector CYGNUM_HAL_VECTOR_FIQ. The vsr function needs to be written in assembly and save and restore all registers etc. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss