summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/isr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-05 14:39:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-05 14:39:19 +0000
commit32caf25fbf6b65b61dded789a6198e0875f096e5 (patch)
tree552f8a75a0cb64e0b4ce59534fddc126dcc46cce /cpukit/score/src/isr.c
parent2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-32caf25fbf6b65b61dded789a6198e0875f096e5.tar.bz2
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/isr.h, score/src/isr.c: Use CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating memory for vector table.
Diffstat (limited to 'cpukit/score/src/isr.c')
-rw-r--r--cpukit/score/src/isr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index 5c880df305..d282ebecd6 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -38,9 +38,11 @@ void _ISR_Handler_initialization( void )
_ISR_Nest_level = 0;
+#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
_ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
);
+#endif
_CPU_Initialize_vectors();