mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-09 21:22:35 -05:00
FreeRTOS SMP: direct access to current TCB inside stack macros
This commit is contained in:
parent
4ee6a1f22f
commit
94e9b887be
2 changed files with 149 additions and 58 deletions
2
tasks.c
2
tasks.c
|
|
@ -5251,7 +5251,7 @@ BaseType_t xTaskIncrementTick( void )
|
|||
#endif /* configGENERATE_RUN_TIME_STATS */
|
||||
|
||||
/* Check for stack overflow, if configured. */
|
||||
taskCHECK_FOR_STACK_OVERFLOW();
|
||||
taskCHECK_FOR_STACK_OVERFLOW( xCoreID );
|
||||
|
||||
/* Before the currently running task is switched out, save its errno. */
|
||||
#if ( configUSE_POSIX_ERRNO == 1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue