mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-05 11:57:15 -04:00
Compare commits
2 commits
e4f1b8c242
...
723b072b75
Author | SHA1 | Date | |
---|---|---|---|
|
723b072b75 | ||
|
f515c5cc99 |
|
@ -66,9 +66,9 @@
|
|||
*/
|
||||
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
||||
|
||||
#if( configNUMBER_OF_CORES == 1 )
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
|
||||
/* Only the current stack state is to be checked. */
|
||||
/* Only the current stack state is to be checked. */
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW() \
|
||||
do \
|
||||
{ \
|
||||
|
@ -80,9 +80,9 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#else
|
||||
#else /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
/* Only the current stack state is to be checked. */
|
||||
/* Only the current stack state is to be checked. */
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \
|
||||
do \
|
||||
{ \
|
||||
|
@ -96,16 +96,16 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#endif
|
||||
#endif /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#endif /* configCHECK_FOR_STACK_OVERFLOW == 1 */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH > 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
||||
|
||||
#if( configNUMBER_OF_CORES == 1 )
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
|
||||
/* Only the current stack state is to be checked. */
|
||||
/* Only the current stack state is to be checked. */
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW() \
|
||||
do \
|
||||
{ \
|
||||
|
@ -117,9 +117,9 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#else
|
||||
#else /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
/* Only the current stack state is to be checked. */
|
||||
/* Only the current stack state is to be checked. */
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \
|
||||
do \
|
||||
{ \
|
||||
|
@ -133,14 +133,14 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#endif
|
||||
#endif /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#endif /* configCHECK_FOR_STACK_OVERFLOW == 1 */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( ( configCHECK_FOR_STACK_OVERFLOW > 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
||||
|
||||
#if( configNUMBER_OF_CORES == 1 )
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW() \
|
||||
do \
|
||||
|
@ -159,7 +159,7 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#else
|
||||
#else /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \
|
||||
do \
|
||||
|
@ -179,14 +179,14 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#endif
|
||||
#endif /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#endif /* #if( configCHECK_FOR_STACK_OVERFLOW > 1 ) */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#if ( ( configCHECK_FOR_STACK_OVERFLOW > 1 ) && ( portSTACK_GROWTH > 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
||||
|
||||
#if( configNUMBER_OF_CORES == 1 )
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW() \
|
||||
do \
|
||||
|
@ -208,7 +208,7 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#else
|
||||
#else /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#define taskCHECK_FOR_STACK_OVERFLOW( xCoreID ) \
|
||||
do \
|
||||
|
@ -231,7 +231,7 @@
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
#endif
|
||||
#endif /* if ( configNUMBER_OF_CORES == 1 ) */
|
||||
|
||||
#endif /* #if( configCHECK_FOR_STACK_OVERFLOW > 1 ) */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue