Fixed bug 3033624.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2083 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-07-23 15:12:05 +00:00
parent 0ce4d551df
commit 29b2e36766
3 changed files with 9 additions and 6 deletions

View File

@ -106,7 +106,7 @@ struct intctx {
* a stack frame when compiling without optimizations. * a stack frame when compiling without optimizations.
*/ */
#ifndef IDLE_THREAD_STACK_SIZE #ifndef IDLE_THREAD_STACK_SIZE
#define IDLE_THREAD_STACK_SIZE 4 #define IDLE_THREAD_STACK_SIZE 8
#endif #endif
/** /**
@ -120,7 +120,7 @@ struct intctx {
* representing the frame of the function @p chSchDoRescheduleI(). * representing the frame of the function @p chSchDoRescheduleI().
*/ */
#ifndef INT_REQUIRED_STACK #ifndef INT_REQUIRED_STACK
#define INT_REQUIRED_STACK 8 #define INT_REQUIRED_STACK 16
#endif #endif
/** /**

View File

@ -96,7 +96,7 @@ struct intctx {
* reduce this value to zero when compiling with optimizations. * reduce this value to zero when compiling with optimizations.
*/ */
#ifndef IDLE_THREAD_STACK_SIZE #ifndef IDLE_THREAD_STACK_SIZE
#define IDLE_THREAD_STACK_SIZE 4 #define IDLE_THREAD_STACK_SIZE 8
#endif #endif
/** /**
@ -106,11 +106,12 @@ struct intctx {
* This value can be zero on those architecture where there is a * This value can be zero on those architecture where there is a
* separate interrupt stack and the stack space between @p intctx and * separate interrupt stack and the stack space between @p intctx and
* @p extctx is known to be zero. * @p extctx is known to be zero.
* @note In this port it is set to 8 because the function * @note In this port it is conservatively set to 16 because the function
* @p chSchDoRescheduleI() has a stack frame. * @p chSchDoRescheduleI() can have a stack frame, expecially with
* compiler optimizations disabled.
*/ */
#ifndef INT_REQUIRED_STACK #ifndef INT_REQUIRED_STACK
#define INT_REQUIRED_STACK 8 #define INT_REQUIRED_STACK 16
#endif #endif
/** /**

View File

@ -61,6 +61,8 @@
***************************************************************************** *****************************************************************************
*** 2.1.1 *** *** 2.1.1 ***
- FIX: Fixed insufficient stack size for idle thread (bug 3033624)(backported
to 2.0.3).
- FIX: Fixed misspelled word in some chioch.h and chstreams.h macros (bug - FIX: Fixed misspelled word in some chioch.h and chstreams.h macros (bug
3031534)(backported to 2.0.3). 3031534)(backported to 2.0.3).
- FIX: Fixed wrong macro check in the STM32 SPI driver (bug 3028562)(backported - FIX: Fixed wrong macro check in the STM32 SPI driver (bug 3028562)(backported