RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Interrupts Maximum Number of Vectors

PREV UP NEXT Bookshelf RTEMS Porting Guide

5.4.3: Maximum Number of Vectors

There are two related macros used to defines the number of entries in the _ISR_Vector_table managed by RTEMS. The macro CPU_INTERRUPT_NUMBER_OF_VECTORS is the actual number of vectors supported by this CPU model. The second macro is the CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER. Since the table is zero-based, this indicates the highest vector number which can be looked up in the table and mapped into a user provided handler.

#define CPU_INTERRUPT_NUMBER_OF_VECTORS      32
#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER \
        (CPU_INTERRUPT_NUMBER_OF_VECTORS - 1)


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2004 OAR Corporation