mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
FreeRTOS SMP: direct access to current TCB inside stack macros (#1270)
FreeRTOS SMP: direct access to current TCB inside stack macros
This commit is contained in:
parent
d03233f209
commit
4162ca49d6
2 changed files with 101 additions and 6 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