summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-07 18:29:56 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-09 16:55:10 -0500
commit826fa6b169d550edbda5f59430df13d33ed0a24f (patch)
tree915e49a9df4df485499fcdde66e9ba2d8778dc66 /cpukit/score/cpu/powerpc/rtems/score/cpu.h
parentScore Semaphore - Need Semaphore Seize Body When Multiprocessing is Enabled (diff)
downloadrtems-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.h10
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