summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:47:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:47:47 +0000
commit3b06e12baf57528b8d6f7c9eb445d5a192c8e36a (patch)
treebadaebb8b3345c822eda8ad8c720f35ebf91c2a9
parent2000-12-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-3b06e12baf57528b8d6f7c9eb445d5a192c8e36a.tar.bz2
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when we are allocating an interrupt stack.
-rw-r--r--c/src/exec/score/ChangeLog5
-rw-r--r--c/src/exec/score/src/isr.c8
-rw-r--r--cpukit/score/ChangeLog5
-rw-r--r--cpukit/score/src/isr.c8
4 files changed, 18 insertions, 8 deletions
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index af36ef47ea..70104b6a3c 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,4 +1,9 @@
+2000-12-19 Joel Sherrill <joel@OARcorp.com>
+
+ * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
+ we are allocating an interrupt stack.
+
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
diff --git a/c/src/exec/score/src/isr.c b/c/src/exec/score/src/isr.c
index 16b73861cf..80c7785860 100644
--- a/c/src/exec/score/src/isr.c
+++ b/c/src/exec/score/src/isr.c
@@ -33,6 +33,10 @@ void _ISR_Handler_initialization( void )
_ISR_Nest_level = 0;
+ _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
+ sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
+ );
+
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )
@@ -42,10 +46,6 @@ void _ISR_Handler_initialization( void )
INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
);
- _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
- sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
- );
-
_CPU_Interrupt_stack_low =
_Workspace_Allocate_or_fatal_error( _CPU_Table.interrupt_stack_size );
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index af36ef47ea..70104b6a3c 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,4 +1,9 @@
+2000-12-19 Joel Sherrill <joel@OARcorp.com>
+
+ * src/isr.c: Allocate the _ISR_Vector_table all the time not just when
+ we are allocating an interrupt stack.
+
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index 16b73861cf..80c7785860 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -33,6 +33,10 @@ void _ISR_Handler_initialization( void )
_ISR_Nest_level = 0;
+ _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
+ sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
+ );
+
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )
@@ -42,10 +46,6 @@ void _ISR_Handler_initialization( void )
INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
);
- _ISR_Vector_table = _Workspace_Allocate_or_fatal_error(
- sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
- );
-
_CPU_Interrupt_stack_low =
_Workspace_Allocate_or_fatal_error( _CPU_Table.interrupt_stack_size );