summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-27 19:18:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-27 19:18:02 +0000
commit71d07b9ddf3873fdeb40d26d39b7bcd7a3d18552 (patch)
treeb047e84ef5c9e216bcc6dbb6497a9db323218968 /c/src/exec/sapi
parentRegenerated. (diff)
downloadrtems-71d07b9ddf3873fdeb40d26d39b7bcd7a3d18552.tar.bz2
Corrected interrupt stack allocation.
Diffstat (limited to 'c/src/exec/sapi')
-rw-r--r--c/src/exec/sapi/headers/confdefs.h10
-rw-r--r--c/src/exec/sapi/include/confdefs.h10
2 files changed, 14 insertions, 6 deletions
diff --git a/c/src/exec/sapi/headers/confdefs.h b/c/src/exec/sapi/headers/confdefs.h
index 94a7114a58..e31218ac0d 100644
--- a/c/src/exec/sapi/headers/confdefs.h
+++ b/c/src/exec/sapi/headers/confdefs.h
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
* Interrupt Stack Space
*/
-#if (CPU_ALLOCATE_INTERRUPT_STACK)
-#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
-#else
+#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+#else
+ #ifndef CONFIGURE_INTERRUPT_STACK_MEMORY
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
+ #else
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+ #endif
#endif
/*
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h
index 94a7114a58..e31218ac0d 100644
--- a/c/src/exec/sapi/include/confdefs.h
+++ b/c/src/exec/sapi/include/confdefs.h
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
* Interrupt Stack Space
*/
-#if (CPU_ALLOCATE_INTERRUPT_STACK)
-#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
-#else
+#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+#else
+ #ifndef CONFIGURE_INTERRUPT_STACK_MEMORY
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
+ #else
+ #define CONFIGURE_INTERRUPT_STACK_MEMORY 0
+ #endif
#endif
/*