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/cpu/powerpc/rtems/score/cpu.h | |
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 'cpukit/score/cpu/powerpc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 9a4d944de6..bd05247534 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -3,7 +3,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * COPYRIGHT (c) 1995 i-cubed ltd. @@ -624,11 +624,13 @@ SCORE_EXTERN struct { /* * This defines the number of entries in the ISR_Vector_table managed * by RTEMS. + * + * NOTE: CPU_INTERRUPT_NUMBER_OF_VECTORS and + * CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on + * Simple Vectored Architectures and thus are not defined + * for this architecture. */ -#define CPU_INTERRUPT_NUMBER_OF_VECTORS (0) -#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (UINT32_MAX) - /* * This is defined if the port has a special way to report the ISR nesting * level. Most ports maintain the variable _ISR_Nest_level. Note that |