This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FIQ on ARM processor
- To: Arnaud Mouiche <arnaud dot mouiche at inventel dot fr>
- Subject: Re: [ECOS] FIQ on ARM processor
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Date: Thu, 16 Aug 2001 16:54:43 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <5.0.2.1.0.20010816163127.00b1db70@193.54.84.101>
> If not, is there an other way to do ?
We have only one source generating FIQ interrupts. So we sidestep ecos
all together and install a VSR on the FIQ. That puts our code directly
onto the FIQ vector. You have to take the usual precausions, save
registers etc before jumping into C code. Also you cannot call any
eCos functions since your not in an eCos ISR. Only a few of our FIQ
interrupts require eCos to do something. When that happens we use a
software controlled interrupt to trigger an IRQ interrupt which eCos
then handles.
Andrew