diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-07 18:29:56 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-09 16:55:10 -0500 |
commit | 826fa6b169d550edbda5f59430df13d33ed0a24f (patch) | |
tree | 915e49a9df4df485499fcdde66e9ba2d8778dc66 /cpukit/score/inline/rtems/score/isr.inl | |
parent | Score Semaphore - Need Semaphore Seize Body When Multiprocessing is Enabled (diff) | |
download | rtems-826fa6b169d550edbda5f59430df13d33ed0a24f.tar.bz2 |
Score ISR - Minimize Capabilities When Not Simple Vectored
In particular CPU_INTERRUPT_NUMBER_OF_VECTORS and
CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on
Simple Vectored Architectures, so do not depend on
them being defined. This disables as much as possible
that is specific to the Simple Vectored Model and
not expected to be used on architectures which use
the Programmable Interrupt Controller model for
interrupt handler vectoring.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/inline/rtems/score/isr.inl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl index 605dfeeab5..a4e7866959 100644 --- a/cpukit/score/inline/rtems/score/isr.inl +++ b/cpukit/score/inline/rtems/score/isr.inl @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2004. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -28,6 +28,7 @@ * @{ */ +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) /** * This function returns true if the vector is a valid vector number * for this processor and false otherwise. @@ -51,6 +52,7 @@ RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler ( { return (handler != NULL); } +#endif /**@}*/ |