summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 22:56:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-14 22:56:31 +0000
commit01a49905ae7c39a747f22edb613050dcac0d17ed (patch)
tree9bf1893f45c027d8101665e1ff05c3f8c37b9a46 /c/src/exec/sapi/include/confdefs.h
parentRalf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-... (diff)
downloadrtems-01a49905ae7c39a747f22edb613050dcac0d17ed.tar.bz2
Account for interrupt stack space
Diffstat (limited to '')
-rw-r--r--c/src/exec/sapi/include/confdefs.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h
index 97284c0de3..fae6ba76b4 100644
--- a/c/src/exec/sapi/include/confdefs.h
+++ b/c/src/exec/sapi/include/confdefs.h
@@ -50,6 +50,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
#endif
/*
+ * Interrupt Stack Space
+ */
+
+#if (CPU_ALLOCATE_INTERRUPT_STACK)
+#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
+#else
+#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+#endif
+
+/*
* Default User Initialization Task Table. This table guarantees that
* one user initialization table is defined.
*/
@@ -439,7 +449,8 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
#define CONFIGURE_MEMORY_FOR_SYSTEM_OVEREHAD \
( CONFIGURE_MEMORY_FOR_TASKS(1) + /* IDLE */ \
(256 * 12) + /* Ready chains */ \
- 256 /* name/ptr table overhead */ \
+ 256 + /* name/ptr table overhead */ \
+ CONFIGURE_INTERRUPT_STACK_MEMORY /* interrupt stack */ \
)
#define CONFIGURE_EXECUTIVE_RAM_SIZE \