diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-13 22:13:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-13 22:13:32 +0000 |
commit | 9928d0887de24d848a248798edaabc8c2586b7a4 (patch) | |
tree | bd69c2d9e79492a71af0653e0bad158512111544 /c/src/exec/score/src | |
parent | 2000-12-13 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-9928d0887de24d848a248798edaabc8c2586b7a4.tar.bz2 |
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
workspace rather than explicitly declaring it. This allows
the size to be a non-constant from the perspective of score/cpu.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/src/isr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/score/src/isr.c b/c/src/exec/score/src/isr.c index b187fda581..16b73861cf 100644 --- a/c/src/exec/score/src/isr.c +++ b/c/src/exec/score/src/isr.c @@ -42,6 +42,10 @@ 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 ); |