This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Using FIQ for ARM PID7t
- To: amlan dot cha at wipro dot com (Amlan Chakraborty)
- Subject: Re: [ECOS] Using FIQ for ARM PID7t
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Thu, 22 Jun 2000 09:32:29 +0200 (MET DST)
- Cc: ecos-discuss at sourceware dot cygnus dot com
> 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