git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2084 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
29b2e36766
commit
b5d4b03d90
|
@ -102,8 +102,9 @@ struct intctx {
|
||||||
* @details This size depends on the idle thread implementation, usually
|
* @details This size depends on the idle thread implementation, usually
|
||||||
* the idle thread should take no more space than those reserved
|
* the idle thread should take no more space than those reserved
|
||||||
* by @p INT_REQUIRED_STACK.
|
* by @p INT_REQUIRED_STACK.
|
||||||
* @note In this port it is set to 4 because the idle thread does have
|
* @note In this port it is set to 8 because the idle thread does have
|
||||||
* a stack frame when compiling without optimizations.
|
* a stack frame when compiling without optimizations. You may
|
||||||
|
* reduce this value to zero when compiling with optimizations.
|
||||||
*/
|
*/
|
||||||
#ifndef IDLE_THREAD_STACK_SIZE
|
#ifndef IDLE_THREAD_STACK_SIZE
|
||||||
#define IDLE_THREAD_STACK_SIZE 8
|
#define IDLE_THREAD_STACK_SIZE 8
|
||||||
|
@ -116,8 +117,9 @@ 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 This port requires some extra stack space for interrupt handling
|
* @note In this port it is conservatively set to 16 because the function
|
||||||
* representing the frame of the function @p chSchDoRescheduleI().
|
* @p chSchDoRescheduleI() can have a stack frame, expecially with
|
||||||
|
* compiler optimizations disabled.
|
||||||
*/
|
*/
|
||||||
#ifndef INT_REQUIRED_STACK
|
#ifndef INT_REQUIRED_STACK
|
||||||
#define INT_REQUIRED_STACK 16
|
#define INT_REQUIRED_STACK 16
|
||||||
|
|
Loading…
Reference in New Issue