summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/no_cpu/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-26 15:09:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-29 09:51:22 +0200
commit03b7789ec7d0ffd3621ea4c20d564d2a93e182a5 (patch)
tree660264446f43759a40ae5ab1d8d01eaaee7485b2 /cpukit/score/cpu/no_cpu/rtems/score
parentbsps/mips: Delete unused files (diff)
downloadrtems-03b7789ec7d0ffd3621ea4c20d564d2a93e182a5.tar.bz2
score: Statically initialize _ISR_Vector_table
Diffstat (limited to 'cpukit/score/cpu/no_cpu/rtems/score')
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index 959fb58a6d..fbf207ad80 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -686,19 +686,24 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
/**
* @ingroup CPUInterrupt
*
- * This defines the number of entries in the @ref _ISR_Vector_table managed
- * by RTEMS.
+ * This defines the number of entries in the _ISR_Vector_table managed by RTEMS
+ * in case CPU_SIMPLE_VECTORED_INTERRUPTS is defined to TRUE. It must be a
+ * compile-time constant.
*
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
+ * It must be undefined in case CPU_SIMPLE_VECTORED_INTERRUPTS is defined to
+ * FALSE.
*/
#define CPU_INTERRUPT_NUMBER_OF_VECTORS 32
/**
* @ingroup CPUInterrupt
*
- * This defines the highest interrupt vector number for this port.
+ * This defines the highest interrupt vector number for this port in case
+ * CPU_SIMPLE_VECTORED_INTERRUPTS is defined to TRUE. It must be less than
+ * CPU_INTERRUPT_NUMBER_OF_VECTORS. It may be not a compile-time constant.
+ *
+ * It must be undefined in case CPU_SIMPLE_VECTORED_INTERRUPTS is defined to
+ * FALSE.
*/
#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (CPU_INTERRUPT_NUMBER_OF_VECTORS - 1)