This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AT91: interrupt0 (fiq) and interrupt1 (swint) ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]