summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/isr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:19:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:19:19 +0000
commit6aa25dac92e92c95e3c133e0bc330bd3f4b7e9dd (patch)
tree96ef3d0f465b080c486145f027544cefefe68e89 /cpukit/score/src/isr.c
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-6aa25dac92e92c95e3c133e0bc330bd3f4b7e9dd.tar.bz2
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/src/exinit.c, score/include/rtems/system.h, score/src/isr.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
Diffstat (limited to 'cpukit/score/src/isr.c')
-rw-r--r--cpukit/score/src/isr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index af7ebbfba7..5c880df305 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -21,6 +21,7 @@
#include <rtems/score/stack.h>
#include <rtems/score/interr.h>
#include <rtems/score/wkspace.h>
+#include <rtems/config.h>
/* _ISR_Handler_initialization
*
@@ -45,19 +46,20 @@ void _ISR_Handler_initialization( void )
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
- if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )
+ if ( _Configuration_Table->interrupt_stack_size < STACK_MINIMUM_SIZE )
_Internal_error_Occurred(
INTERNAL_ERROR_CORE,
TRUE,
INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
);
- _CPU_Interrupt_stack_low =
- _Workspace_Allocate_or_fatal_error( _CPU_Table.interrupt_stack_size );
+ _CPU_Interrupt_stack_low = _Workspace_Allocate_or_fatal_error(
+ _Configuration_Table->interrupt_stack_size
+ );
_CPU_Interrupt_stack_high = _Addresses_Add_offset(
_CPU_Interrupt_stack_low,
- _CPU_Table.interrupt_stack_size
+ _Configuration_Table->interrupt_stack_size
);
#endif