From 5e9b32b439627068a0292370fe595220dbfc95a0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 26 Sep 1995 19:27:15 +0000 Subject: posix support initially added --- c/src/exec/score/include/rtems/score/isr.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'c/src/exec/score/include/rtems/score/isr.h') diff --git a/c/src/exec/score/include/rtems/score/isr.h b/c/src/exec/score/include/rtems/score/isr.h index 4bbc3c7aff..2409ed394a 100644 --- a/c/src/exec/score/include/rtems/score/isr.h +++ b/c/src/exec/score/include/rtems/score/isr.h @@ -49,6 +49,13 @@ typedef void ISR_Handler; typedef ISR_Handler ( *ISR_Handler_entry )( ISR_Vector_number ); +/* + * This constant promotes out the number of vectors supported by + * the current CPU being used. + */ + +#define ISR_NUMBER_OF_VECTORS CPU_INTERRUPT_NUMBER_OF_VECTORS + /* * The following is TRUE if signals have been sent to the currently * executing thread by an ISR handler. @@ -239,7 +246,7 @@ void _ISR_Handler( void ); void _ISR_Dispatch( void ); -#include +#include #ifdef __cplusplus } -- cgit v1.2.3