diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/isr.h')
-rw-r--r-- | cpukit/score/include/rtems/score/isr.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h index c0963a542e..6a146df625 100644 --- a/cpukit/score/include/rtems/score/isr.h +++ b/cpukit/score/include/rtems/score/isr.h @@ -8,7 +8,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -50,6 +50,11 @@ typedef uint32_t ISR_Vector_number; */ typedef void ISR_Handler; +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) + +typedef void * ISR_Handler_entry; + +#else /** * Pointer to an ISR Handler */ @@ -76,7 +81,6 @@ typedef ISR_Handler ( *ISR_Handler_entry )( */ #define ISR_INTERRUPT_MAXIMUM_VECTOR_NUMBER CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER -#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) /** * The following declares the Vector Table. Application * interrupt service routines are vectored by the ISR Handler via this table. |