summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-07 17:52:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-07 17:52:28 +0000
commitd875597c46e328375557b20d50c7526976da1637 (patch)
treea45c328f8309da336b4b84c2fc169de0f86ef552 /cpukit/sapi/include/confdefs.h
parent2007-12-06 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-d875597c46e328375557b20d50c7526976da1637.tar.bz2
2007-12-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Separate the concept of configuring the interrupt stack size from actually reserving memory for it in the RTEMS Workspace.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 35ca7038a7..83a9dd35eb 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -211,8 +211,9 @@ extern int rtems_telnetd_maximum_ptys;
* XXX memory from the Workspace
*/
#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
- #undef CONFIGURE_INTERRUPT_STACK_SIZE
- #define CONFIGURE_INTERRUPT_STACK_SIZE 0
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+#else
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY CONFIGURE_INTERRUPT_STACK_SIZE
#endif
/*
@@ -1105,7 +1106,7 @@ itron_initialization_tasks_table ITRON_Initialization_tasks[] = {
( CONFIGURE_MEMORY_FOR_TASKS(1) + /* IDLE */ \
((PRIORITY_MAXIMUM+1) * sizeof(Chain_Control)) + /* Ready chains */ \
256 + /* name/ptr table overhead */ \
- CONFIGURE_INTERRUPT_STACK_SIZE + /* interrupt stack */ \
+ CONFIGURE_INTERRUPT_STACK_MEMORY + /* interrupt stack */ \
CONFIGURE_API_MUTEX_MEMORY /* allocation mutex */ \
)