diff options
author | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2018-09-07 18:13:20 +0000 |
---|---|---|
committer | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2018-09-07 18:13:20 +0000 |
commit | 61fd2032243c0701b9a902badf5f075ce86ddf66 (patch) | |
tree | 526047725b2f5ec88a41b0685da7d524cc0fe5df /FreeRTOS/Source/tasks.c | |
parent | d42d0b9ffe837f93b07f8e6d00be0f161826ba65 (diff) | |
download | freertos-61fd2032243c0701b9a902badf5f075ce86ddf66.tar.gz |
Update version numbers ready for release.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2576 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Source/tasks.c')
-rw-r--r-- | FreeRTOS/Source/tasks.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c index d8b75bee5..a490ba15a 100644 --- a/FreeRTOS/Source/tasks.c +++ b/FreeRTOS/Source/tasks.c @@ -1,5 +1,5 @@ /*
- * FreeRTOS Kernel V10.1.0
+ * FreeRTOS Kernel V10.1.1
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -266,7 +266,7 @@ to its original value when it is released. */ * and stores task state information, including a pointer to the task's context
* (the task's run time environment, including register values)
*/
-typedef struct tskTaskControlBlock
+typedef struct tskTaskControlBlock /* Using old naming convention so as not to break kernel aware debuggers. */
{
volatile StackType_t *pxTopOfStack; /*< Points to the location of the last item placed on the tasks stack. THIS MUST BE THE FIRST MEMBER OF THE TCB STRUCT. */
@@ -351,6 +351,9 @@ which static variables must be declared volatile. */ PRIVILEGED_DATA TCB_t * volatile pxCurrentTCB = NULL;
/* Lists for ready and blocked tasks. --------------------*/
+/* Note xDelayedTaskList1 and xDelayedTaskList2 could be moved to be function
+scope - but doing so breaks kernel aware debuggers, and debug scenarios that
+require the static qualifier to be removed. */
PRIVILEGED_DATA static List_t pxReadyTasksLists[ configMAX_PRIORITIES ];/*< Prioritised ready tasks. */
PRIVILEGED_DATA static List_t xDelayedTaskList1; /*< Delayed tasks. */
PRIVILEGED_DATA static List_t xDelayedTaskList2; /*< Delayed tasks (two lists are used - one for delays that have overflowed the current tick count. */
@@ -401,6 +404,8 @@ PRIVILEGED_DATA static volatile UBaseType_t uxSchedulerSuspended = ( UBaseType_t #if ( configGENERATE_RUN_TIME_STATS == 1 )
+ /* Do not move to function scope as that breaks debug scenarios that
+ require the the static qualifier to be removed. */
PRIVILEGED_DATA static uint32_t ulTaskSwitchedInTime = 0UL; /*< Holds the value of a timer/counter the last time a task was switched in. */
PRIVILEGED_DATA static uint32_t ulTotalRunTime = 0UL; /*< Holds the total amount of execution time as defined by the run time counter clock. */
|