From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27076 invoked by alias); 1 Sep 2009 11:02:17 -0000 Received: (qmail 26925 invoked by uid 22791); 1 Sep 2009 11:02:17 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mx2-q.rad.co.il (HELO antivir2.rad.co.il) (80.74.100.144) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 11:02:04 +0000 Received: from exrad4.ad.rad.co.il ([192.114.24.47]) by antivir2.rad.co.il with ESMTP; 01 Sep 2009 14:01:41 +0300 Received: from exrad4.ad.rad.co.il ([192.114.24.47]) by exrad4.ad.rad.co.il ([192.114.24.47]) with mapi; Tue, 1 Sep 2009 14:01:41 +0300 From: Danny Sade To: Christophe Coutand , "ecos-discuss@ecos.sourceware.org" Date: Tue, 01 Sep 2009 11:02:00 -0000 Message-ID: In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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] Zero vector interrupts (SIVEC=0) on MPC8xxx X-SW-Source: 2009-09/txt/msg00013.txt.bz2 Hi Christophe,=20 > what type of CPU are you using? I'm using 8247 (PowerQUICC II) > I think the easiest way for you is to map the decrementer interrupt > (CYGNUM_HAL_INTERRUPT_DECREMENTER) to something else then 0 and change yo= ur variant.inc to > handle it properly until you find the reason for the spurious interrupts. I wasn't aware to this mapping option. For the mean time I've defined the m= acro cygpkg_plf_intc_handler in my plf_regs.h, and I'm using this macro to identify this case and map th= e zero vector interrupt to some other vector which I don't use. In any case, as far as I understand, an ISR for this zero vector interrupt = should always be provided since these Interrupts are asserted during normal operation. Thanks Danny -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss