summaryrefslogtreecommitdiff
path: root/FreeRTOS/Test/CMock/tasks/global_vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Test/CMock/tasks/global_vars.h')
-rw-r--r--FreeRTOS/Test/CMock/tasks/global_vars.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/FreeRTOS/Test/CMock/tasks/global_vars.h b/FreeRTOS/Test/CMock/tasks/global_vars.h
index db5a6a9db..cfc649011 100644
--- a/FreeRTOS/Test/CMock/tasks/global_vars.h
+++ b/FreeRTOS/Test/CMock/tasks/global_vars.h
@@ -71,22 +71,11 @@ typedef struct tskTaskControlBlock /* The old naming convention is used to
#endif
#if ( configGENERATE_RUN_TIME_STATS == 1 )
- uint32_t ulRunTimeCounter; /*< Stores the amount of time the task has spent in the Running state. */
+ configRUN_TIME_COUNTER_TYPE ulRunTimeCounter; /*< Stores the amount of time the task has spent in the Running state. */
#endif
- #if ( configUSE_NEWLIB_REENTRANT == 1 )
-
- /* Allocate a Newlib reent structure that is specific to this task.
- * Note Newlib support has been included by popular demand, but is not
- * used by the FreeRTOS maintainers themselves. FreeRTOS is not
- * responsible for resulting newlib operation. User must be familiar with
- * newlib and must provide system-wide implementations of the necessary
- * stubs. Be warned that (at the time of writing) the current newlib design
- * implements a system-wide malloc() that must be provided with locks.
- *
- * See the third party link http://www.nadler.com/embedded/newlibAndFreeRTOS.html
- * for additional information. */
- struct _reent xNewLib_reent;
+ #if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 )
+ configTLS_BLOCK_TYPE xTLSBlock; /**< Memory block used as Thread Local Storage (TLS) Block for the task. */
#endif
#if ( configUSE_TASK_NOTIFICATIONS == 1 )