From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19575 invoked by alias); 2 Apr 2008 19:39:33 -0000 Received: (qmail 19564 invoked by uid 22791); 2 Apr 2008 19:39:33 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Apr 2008 19:39:03 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jh8nP-0006WS-5o for ecos-discuss@sources.redhat.com; Wed, 02 Apr 2008 19:38:55 +0000 Received: from c-76-17-159-23.hsd1.mn.comcast.net ([76.17.159.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Apr 2008 19:38:55 +0000 Received: from grante by c-76-17-159-23.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Apr 2008 19:38:55 +0000 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Wed, 02 Apr 2008 19:39:00 -0000 Message-ID: References: <20080402185842.GD7929@lunn.ch> <20080402193431.GF7929@lunn.ch> User-Agent: slrn/0.9.8.1pl1 (Linux) 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: [ECOS] Re: On ARM7 can one of FIQ/IRQ be used for non-eCos stuff? X-SW-Source: 2008-04/txt/msg00023.txt.bz2 On 2008-04-02, Andrew Lunn wrote: >> > void cyg_interrupt_set_vsr(cyg_vector_t vector, cyg_VSR_t* vsr); >> > >> > with the vector CYGNUM_HAL_VECTOR_FIQ. >> >> That would work. It would save a few clock cycles to set the >> vector in the actual vector table rather than in the secondary >> indirect one, but I don't know if it's worth the extra hassle. > > It is directly in the vector table, normally at address 0x20 for the > beginning of the table and the FIQ entry at 0x3C. You cannot put an > address at 0x1C, it has to be an instruction, and you have limited > branch range so cannot make it generic. Ah, right. I had forgotten about the address vs. instruction piece of the puzzle. I was thinking you put an address at 0x1C. -- Grant Edwards grante Yow! if it GLISTENS, at gobble it!! visi.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss