From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29788 invoked by alias); 2 Apr 2008 20:59:51 -0000 Received: (qmail 29779 invoked by uid 22791); 2 Apr 2008 20:59:51 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-curtail.atl.sa.earthlink.net (HELO elasmtp-curtail.atl.sa.earthlink.net) (209.86.89.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Apr 2008 20:59:26 +0000 Received: from [76.167.235.78] (helo=PAULD) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1JhA3I-0003eY-4z for ecos-discuss@sources.redhat.com; Wed, 02 Apr 2008 16:59:24 -0400 From: "Paul D. DeRocco" To: Date: Wed, 02 Apr 2008 20:59:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-ELNK-Trace: bd7d5d4e6f8f652c74cfc7ce3b1ad11381c87f5e51960688911c86bb1ba8bdcab825c1acc274b190350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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/msg00030.txt.bz2 > From: Grant Edwards > > That's easy enough, but it'd be trickier to provide a run-time > function to fix the places in vectors.S that are currently > disabling FIQ. I think the issue is that there are lots of small critical sections scattered all over the place that mask interrupts in the CPU, and they currently mask both IRQ and FIQ. For the ARM, HAL_*_INTERRUPTS uses 0xC0 to manipulate both these bits. If all eCos ISRs are invoked via IRQ, and FIQ is reserved for a special bit of driver code that merely adds functionality to a piece of hardware (like adding a FIFO to a serial port) without invoking a DSR, then these macros really ought to use 0x80 instead. That would be a useful CDL option. -- Ciao, Paul D. DeRocco Paul mailto:pderocco@ix.netcom.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