[ECOS] Re: AT91: interrupt0 (fiq) and interrupt1 (swint) ?

Andrew Lunn andrew@lunn.ch
Wed Sep 15 09:11:00 GMT 2004


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



More information about the Ecos-discuss mailing list