diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-07 17:52:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-07 17:52:28 +0000 |
commit | d875597c46e328375557b20d50c7526976da1637 (patch) | |
tree | a45c328f8309da336b4b84c2fc169de0f86ef552 /cpukit/sapi | |
parent | 2007-12-06 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 7 |
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 */ \ ) |