From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew.lunn@ascom.ch (Andrew Lunn) To: amlan.cha@wipro.com (Amlan Chakraborty) Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Using FIQ for ARM PID7t Date: Thu, 22 Jun 2000 00:32:00 -0000 Message-id: <200006220732.JAA03251@biferten.ma.tech.ascom.ch> References: <3951BAA5.F2EE75CD@wipro.com> X-SW-Source: 2000-06/msg00240.html > 1) How do we route some hardware interrupt (say timer) to the FIQ > vector of ARM using ECOS It can be done, but you have a write a VSR not an ISR. The VSR will be installed directly into the interrupt vector, so you have to do all the register saving etc plus you have to work out the source of the interrupt to call the appriopriate device driver etc. > It gives the following > > Spurious Interrupts : vector : 0 data : 0 By default the same code handles both FIQ and IRQ interrupts, but it only knows how to find the source of IRQ interrupts. If a FIQ interrupt happens it cannot locate the source and so returns vector 0. Unless you have installed an interrupt handler on this vector the default handler will be called which causes this assertion. Andrew