@ -5142,7 +5142,7 @@ BaseType_t xTaskIncrementTick( void )
* are provided by the application , not the kernel . */
* are provided by the application , not the kernel . */
if ( ulTotalRunTime [ xCoreID ] > ulTaskSwitchedInTime [ xCoreID ] )
if ( ulTotalRunTime [ xCoreID ] > ulTaskSwitchedInTime [ xCoreID ] )
{
{
pxCurrentTCB - > ulRunTimeCounter + = ( ulTotalRunTime [ xCoreID ] - ulTaskSwitchedInTime [ xCoreID ] ) ;
pxCurrentTCB s[ xCoreID ] - > ulRunTimeCounter + = ( ulTotalRunTime [ xCoreID ] - ulTaskSwitchedInTime [ xCoreID ] ) ;
}
}
else
else
{
{
@ -5159,7 +5159,7 @@ BaseType_t xTaskIncrementTick( void )
/* Before the currently running task is switched out, save its errno. */
/* Before the currently running task is switched out, save its errno. */
# if ( configUSE_POSIX_ERRNO == 1 )
# if ( configUSE_POSIX_ERRNO == 1 )
{
{
pxCurrentTCB - > iTaskErrno = FreeRTOS_errno ;
pxCurrentTCB s[ xCoreID ] - > iTaskErrno = FreeRTOS_errno ;
}
}
# endif
# endif
@ -5170,7 +5170,7 @@ BaseType_t xTaskIncrementTick( void )
/* After the new task is switched in, update the global errno. */
/* After the new task is switched in, update the global errno. */
# if ( configUSE_POSIX_ERRNO == 1 )
# if ( configUSE_POSIX_ERRNO == 1 )
{
{
FreeRTOS_errno = pxCurrentTCB - > iTaskErrno ;
FreeRTOS_errno = pxCurrentTCB s[ xCoreID ] - > iTaskErrno ;
}
}
# endif
# endif
@ -5178,7 +5178,7 @@ BaseType_t xTaskIncrementTick( void )
{
{
/* Switch C-Runtime's TLS Block to point to the TLS
/* Switch C-Runtime's TLS Block to point to the TLS
* Block specific to this task . */
* Block specific to this task . */
configSET_TLS_BLOCK ( pxCurrentTCB - > xTLSBlock ) ;
configSET_TLS_BLOCK ( pxCurrentTCB s[ xCoreID ] - > xTLSBlock ) ;
}
}
# endif
# endif
}
}