This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: AT91: interrupt0 (fiq) and interrupt1 (swint) ?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andrea Michelotti <amichelotti at atmel dot com>
- Cc: ecos-discuss at sources dot redhat dot com, Andrew Lunn <andrew at lunn dot ch>
- Date: Wed, 15 Sep 2004 11:10:52 +0200
- Subject: [ECOS] Re: AT91: interrupt0 (fiq) and interrupt1 (swint) ?
- References: <052a01c49aff$31d6b870$0b0110ac@ipitec.it>
On Wed, Sep 15, 2004 at 10:37:06AM +0200, Andrea Michelotti wrote:
> Why in hal_platform_ints.h interrupts 0 and 1 are not treated?
> What does the comment "Note: extra slots (0,1) to avoid messing with vector
> translation" mean?
I think its avoiding subtracting two from the value in the IVR
register. The value of 0 you proposed probably makes sense. So you
need to add #define CYGNUM_HAL_INTERRUPT_FIQ 0 and change
CYGNUM_HAL_ISR_MIN to 0.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss