]> begriffs open source - cmsis-freertos/blob - CMSIS/RTOS2/FreeRTOS/FreeRTOS.scvd
Added Event Recorder configuration and enhanced debug capabilities
[cmsis-freertos] / CMSIS / RTOS2 / FreeRTOS / FreeRTOS.scvd
1 <?xml version="1.0" encoding="utf-8"?>
2 <component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
3   <component name="CMSIS-FreeRTOS" version="10.1.1"/>
4
5   <typedefs>
6     <typedef name="ListItem_t" size="20" info="List object definition (list.h)">
7       <!-- Excluded integrity check value -->
8       <member name="xItemValue"  type="uint32_t"    offset="0"/>
9       <member name="pxNext"      type="*ListItem_t" offset="4"/>
10       <member name="pxPrevious"  type="*ListItem_t" offset="8"/>
11       <member name="pvOwner"     type="uint32_t"    offset="12"/>
12       <member name="pvContainer" type="uint32_t"    offset="16"/>
13       <!-- Excluded integrity check value -->
14     </typedef>
15
16     <typedef name="List_t" size="20" info="List definition (list.h)">
17       <!-- Excluded integrity check value -->
18       <member name="uxNumberOfItems" type="uint32_t"    offset="0"/>
19       <member name="pxIndex"         type="*ListItem_t" offset="4"/>
20       <!-- Inlined "MiniListItem_t" structure -->
21       <member name="xListEnd_xItemValue" type="*ListItem_t" offset="8+0"/>
22       <member name="xListEnd_pxNext"     type="*ListItem_t" offset="8+4"/>
23       <member name="xListEnd_pxPrevious" type="*ListItem_t" offset="8+8"/>
24       <!-- Excluded integrity check value -->
25     </typedef>
26
27     <typedef name="Queue_t" size="76" info="Queue definition (queue.c)">
28       <member name="pcHead"    type="uint32_t"    offset="0" info="(type is *int32_t), also uxQueueType"/>
29       <member name="pcTail"    type="uint32_t"    offset="4" info="(type is *int32_t), also pxMutexHolder"/>
30       <member name="pcWriteTo" type="uint32_t"    offset="8" info="(type is *int32_t)"/>
31       <!-- Union "u" -->
32       <member name="u_pcReadFrom"           type="uint32_t"  offset="12" info="(type is *int32_t)"/>
33       <member name="u_uxRecursiveCallCount" type="uint32_t"  offset="12"/>
34       <!-- Inlined "List_t" structure -->
35       <member name="xTasksWaitingToSend_uxNumberOfItems"     type="uint32_t"    offset="16+0"/>
36       <member name="xTasksWaitingToSend_pxIndex"             type="*ListItem_t" offset="16+4"/>
37       <member name="xTasksWaitingToSend_xListEnd_xItemValue" type="*ListItem_t" offset="16+8"/>
38       <member name="xTasksWaitingToSend_xListEnd_pxNext"     type="*ListItem_t" offset="16+12"/>
39       <member name="xTasksWaitingToSend_xListEnd_pxPrevious" type="*ListItem_t" offset="16+16"/>
40       <!-- Inlined "List_t" structure -->
41       <member name="xTasksWaitingToReceive_uxNumberOfItems"     type="uint32_t"    offset="36+0"/>
42       <member name="xTasksWaitingToReceive_pxIndex"             type="*ListItem_t" offset="36+4"/>
43       <member name="xTasksWaitingToReceive_xListEnd_xItemValue" type="*ListItem_t" offset="36+8"/>
44       <member name="xTasksWaitingToReceive_xListEnd_pxNext"     type="*ListItem_t" offset="36+12"/>
45       <member name="xTasksWaitingToReceive_xListEnd_pxPrevious" type="*ListItem_t" offset="36+16"/>
46
47       <member name="uxMessagesWaiting" type="uint32_t" offset="56"/>
48       <member name="uxLength"          type="uint32_t" offset="60"/>
49       <member name="uxItemSize"        type="uint32_t" offset="64"/>
50       <member name="cRxLock"           type="int32_t"  offset="68"/>
51       <member name="cTxLock"           type="int32_t"  offset="72"/>
52
53       <!-- #if((configSUPPORT_STATIC_ALLOCATION == 1) && (configSUPPORT_DYNAMIC_ALLOCATION == 1)) -->
54       <!-- <member name="ucStaticallyAllocated" type="uint8_t"  offset="76"/> -->
55       <!-- #endif -->
56       <!-- #if (configUSE_QUEUE_SETS == 1) -->
57       <!-- <member name="pxQueueSetContainer"   type="uint32_t" offset="80"/> -->
58       <!-- #endif -->
59       <!-- #if (configUSE_TRACE_FACILITY == 1) -->
60       <!-- <member name="uxQueueNumber" type="uint32_t" offset="84"/> -->
61       <!-- <member name="uxQueueType"   type="uint8_t"  offset="88"/> -->
62       <!-- #endif -->
63       
64       <var name="Name"  type="uint8_t" size="64" info="Queue name (ASCII)"/>
65       <var name="Type"  type="uint32_t" info="Queue type (Queue:0, Mutex:1, Semaphore:2)"/>
66     </typedef>
67
68     <typedef name="QueueRegistryItem_t" size="8">
69       <member name="pcQueueName" type="uint32_t" offset="0" info="(type is const char *)"/>
70       <member name="xHandle"     type="uint32_t" offset="4" info="(type is QueueHandle_t)"/>
71     </typedef>
72
73
74     <typedef name="TCB_t" size="128" info="Task Control Block definition (tasks.c)">
75       <member name="pxTopOfStack" type="uint32_t" offset="0" info="Location of the last item placed on the tasks stack (type is StackType_t *)"/>
76       <!-- Inlined "ListItem_t" structure -->
77       <member name="xStateListItem_xItemValue"  type="uint32_t"    offset="4+0"  info=""/>
78       <member name="xStateListItem_pxNext"      type="*ListItem_t" offset="4+4"  info=""/>
79       <member name="xStateListItem_pxPrevious"  type="*ListItem_t" offset="4+8"  info=""/>
80       <member name="xStateListItem_pvOwner"     type="uint32_t"    offset="4+12" info=""/>
81       <member name="xStateListItem_pvContainer" type="uint32_t"    offset="4+16" info=""/>
82       <!-- Inlined "ListItem_t" structure -->
83       <member name="xEventListItem_xItemValue"  type="uint32_t"    offset="24+0"  info=""/>
84       <member name="xEventListItem_pxNext"      type="*ListItem_t" offset="24+4"  info=""/>
85       <member name="xEventListItem_pxPrevious"  type="*ListItem_t" offset="24+8"  info=""/>
86       <member name="xEventListItem_pvOwner"     type="uint32_t"    offset="24+12" info=""/>
87       <member name="xEventListItem_pvContainer" type="uint32_t"    offset="24+16" info=""/>
88
89       <member name="uxPriority" type="uint32_t"           offset="44" info=""/>
90       <member name="pxStack"    type="uint32_t"           offset="48" info=""/>
91       <member name="pcTaskName" type="uint8_t"  size="16" offset="52" info="Task name (size is defined by configMAX_TASK_NAME_LEN)"/>
92
93       <!-- #if(portCRITICAL_NESTING_IN_TCB == 1) -->
94       <!-- <member name="uxCriticalNesting" type="uint32_t" info=""/> -->
95       <!-- #endif -->
96
97       <!-- #if(configUSE_TRACE_FACILITY == 1) -->
98       <!-- <member name="uxTCBNumber"  type="uint32_t" offset="68" info=""/> -->
99       <!-- <member name="uxTaskNumber" type="uint32_t" offset="72" info=""/> -->
100       <!-- #endif -->
101
102       <!-- #if(configUSE_MUTEXES == 1) -->
103       <!-- <member name="uxBasePriority" type="uint32_t" offset="74" info=""/> -->
104       <!-- <member name="uxMutexesHeld"  type="uint32_t" offset="78" info=""/> -->
105       <!-- #endif -->
106
107       <!-- #if(configUSE_APPLICATION_TASK_TAG == 1) -->
108       <!-- <member name="pxTaskTag"  type="uint32_t" info="(type is TaskHookFunction_t)"/> -->
109       <!-- #endif -->
110
111       <!-- #if(configNUM_THREAD_LOCAL_STORAGE_POINTERS > 0) -->
112       <!-- <member name="pvThreadLocalStoragePointers" type="uint32_t" size="10" info="(type is void *)"/> --> <!-- size="configNUM_THREAD_LOCAL_STORAGE_POINTERS" (size is defined by configNUM_THREAD_LOCAL_STORAGE_POINTERS) -->
113       <!-- #endif -->
114
115       <!-- #if(configGENERATE_RUN_TIME_STATS == 1) -->
116       <!-- <member name="ulRunTimeCounter" type="uint32_t" info=""/> -->
117       <!-- #endif -->
118
119       <!-- #if(configUSE_TASK_NOTIFICATIONS == 1) -->
120       <!-- <member name="ulNotifiedValue" type="uint32_t" offset="82" info=""/> -->
121       <!-- <member name="ucNotifyState"   type="uint8_t"  offset="86" info=""/> -->
122       <!-- #endif -->
123
124       <!-- #if(tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE != 0) -->
125       <!-- <member name="ucStaticallyAllocated" type="uint8_t" offset="90" info=""/> -->
126       <!-- endif -->
127
128       <!-- #if(INCLUDE_xTaskAbortDelay == 1) -->
129       <!-- <member name="ucDelayAborted" type="uint32_t" info=""/> -->
130       <!-- #endif -->
131       
132       <!-- #if( configUSE_POSIX_ERRNO == 1 ) -->
133       <!-- <member name="iTaskErrno" type="int32_t" info=""/> -->
134       <!-- #endif -->
135
136       <var name="StackAvailable" type="uint32_t" info="Available stack (unused): current (in bytes)"/>
137       <var name="StackOverflow"  type="uint32_t" info="Stack overflow flag"/>
138       <var name="WaitType"       type="uint32_t" info="Waiting object type  (Queue:0, Mutex:1, Semaphore:2, EventGroup:3)"/>
139       <var name="WaitValue"      type="uint32_t" info="Waiting object value (Index in Queue_CB or event group flags)"/>
140     </typedef>
141
142     <typedef name="Timer_t" size="45" info="Timer Control Block definition (timers.c)">
143       <member name="pcTimerName" type="uint32_t" offset="0" info="Timer name (type is const char *)."/>
144       <!-- Inlined "ListItem_t" structure -->
145       <member name="xTimerListItem_xItemValue"  type="uint32_t"    offset="4+0"  info=""/>
146       <member name="xTimerListItem_pxNext"      type="*ListItem_t" offset="4+4"  info=""/>
147       <member name="xTimerListItem_pxPrevious"  type="*ListItem_t" offset="4+8"  info=""/>
148       <member name="xTimerListItem_pvOwner"     type="uint32_t"    offset="4+12" info=""/>
149       <member name="xTimerListItem_pvContainer" type="uint32_t"    offset="4+16" info=""/>
150
151       <member name="xTimerPeriodInTicks" type="uint32_t" offset="24" info="How quickly and often the timer expires."/>
152       <member name="uxAutoReload"        type="uint32_t" offset="28" info="Set to pdTRUE if the timer should be automatically restarted once expired."/>
153       <member name="pvTimerID"           type="uint32_t" offset="32" info="An ID to identify the timer (type is void *)."/>
154       <member name="pxCallbackFunction"  type="uint32_t" offset="36" info="The function that will be called when the timer expires."/>
155
156       <!-- #if(configUSE_TRACE_FACILITY == 1) -->
157       <!-- <member name="uxTimerNumber" type="uint32_t" offset="40" info="An ID assigned by trace tools such as FreeRTOS+Trace."/> -->
158       <!-- #endif -->
159
160       <!-- #if((configSUPPORT_STATIC_ALLOCATION == 1) && (configSUPPORT_DYNAMIC_ALLOCATION == 1)) -->
161       <!-- <member name="ucStaticallyAllocated" type="uint8_t" offset="44" info="Set to pdTRUE if the timer was created statically."/> -->
162       <!-- #endif -->
163
164       <var name="Name" type="uint8_t" info="Timer name string" size="64"/>
165     </typedef>
166
167   </typedefs>
168
169   <objects>
170     <object name="FreeRTOS Object">
171       <var name="i"  type="uint32_t" value="0"/>
172       <var name="j"  type="uint32_t" value="0"/>
173       <var name="n"  type="uint32_t" value="0"/>
174       <var name="sp" type="uint32_t" value="0"/>
175
176       <var name="Queue_REG_Size"       type="uint32_t" value="0"/>
177       <var name="Queue_REG_Queues"     type="uint32_t" value="0"/>
178       <var name="Queue_REG_Mutexes"    type="uint32_t" value="0"/>
179       <var name="Queue_REG_Semaphores" type="uint32_t" value="0"/>
180
181       <read name="xSchedulerRunning"      type="uint32_t" symbol="tasks.c/xSchedulerRunning"/>
182       <read name="xTickCount"             type="uint32_t" symbol="tasks.c/xTickCount"/>
183       <read name="xNumOfOverflows"        type="uint32_t" symbol="tasks.c/xNumOfOverflows"/>
184       <read name="uxPendedTicks"          type="uint32_t" symbol="tasks.c/uxPendedTicks"/>
185       <read name="pxCurrentTCB"           type="uint32_t" symbol="tasks.c/pxCurrentTCB"/>
186       <read name="uxCurrentNumberOfTasks" type="uint32_t" symbol="tasks.c/uxCurrentNumberOfTasks"/>
187
188       <read name="xIdleTaskHandle"        type="uint32_t" symbol="tasks.c/xIdleTaskHandle"/>
189       <read name="xTimerTaskHandle"       type="uint32_t" symbol="timers.c/xTimerTaskHandle"/>
190       <read name="xTimerQueue"            type="uint32_t" symbol="timers.c/xTimerQueue"/>
191
192       <!-- Running Task -->
193       <read name="Running_TCB" type="TCB_t" offset="pxCurrentTCB"/>
194
195       <calc>
196         sp = __GetRegVal ("PSP");
197
198         Running_TCB.StackAvailable = sp - Running_TCB.pxStack;
199         Running_TCB.StackOverflow  = (sp &lt;= Running_TCB.pxStack);
200       </calc>
201
202
203       <!-- Ready Tasks -->
204       <readlist name="pxReadyTasksLists" type="List_t" symbol="tasks.c/pxReadyTasksLists" count="__size_of(&quot;tasks.c/pxReadyTasksLists&quot;)" init="1"/>
205       
206       <!-- Read ready lists for each priority -->
207       <list name="i" start="0" limit="pxReadyTasksLists._count">
208         <!-- Determine address of first item in list, read current item and determine address of next item in list -->
209         <calc> n = pxReadyTasksLists[i].xListEnd_pxNext; </calc>
210
211         <list name="j" start="0" limit="pxReadyTasksLists[i].uxNumberOfItems">
212           <readlist name="pxReadyTasks" type="ListItem_t" offset="n" count="1"/>
213
214           <calc> n = pxReadyTasks[pxReadyTasks._count-1].pxNext; </calc>
215         </list>
216       </list>
217
218       <!-- Read control blocks -->
219       <list name="i" start="0" limit="pxReadyTasks._count">
220         <readlist name="Ready_TCB" type="TCB_t" offset="pxReadyTasks[i].pvOwner" cond="!(xSchedulerRunning==1 &amp;&amp; (pxReadyTasks[i].pvOwner == pxCurrentTCB))"/>
221       </list>
222
223       <!-- Process control blocks -->
224       <list name="i" start="0" limit="Ready_TCB._count">
225         <calc>
226           sp = Ready_TCB[i].pxTopOfStack;
227
228           Ready_TCB[i].StackAvailable = sp - Ready_TCB[i].pxStack;
229           Ready_TCB[i].StackOverflow  = (sp &lt;= Ready_TCB[i].pxStack);
230         </calc>
231       </list>
232
233
234       <!-- Pending Ready Tasks -->
235       <read name="xPendingReadyList" type="List_t" symbol="tasks.c/xPendingReadyList"/>
236       
237       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
238       <calc> n = xPendingReadyList.xListEnd_pxNext; </calc>
239
240       <list name="j" start="0" limit="xPendingReadyList.uxNumberOfItems">
241         <readlist name="pxPendingReadyTasks" type="ListItem_t" offset="n" count="1"/>
242
243         <calc> n = pxPendingReadyTasks[pxPendingReadyTasks._count-1].pxNext; </calc>
244       </list>
245
246       <!-- Read control blocks -->
247       <list name="i" start="0" limit="xPendingReadyList.uxNumberOfItems">
248         <readlist name="PendingReady_TCB" type="TCB_t" offset="pxPendingReadyTasks[i].pvOwner"/>
249       </list>
250
251       <!-- Process control blocks -->
252       <list name="i" start="0" limit="PendingReady_TCB._count">
253         <calc>
254           sp = PendingReady_TCB[i].pxTopOfStack;
255
256           PendingReady_TCB[i].StackAvailable = sp - PendingReady_TCB[i].pxStack;
257           PendingReady_TCB[i].StackOverflow  = (sp &lt;= PendingReady_TCB[i].pxStack);
258         </calc>
259       </list>
260
261
262       <!-- Delayed Tasks -->
263       <read name="DelayListAddr" type="uint32_t" symbol="tasks.c/pxDelayedTaskList"/>
264       <read name="pxDelayedTaskList" type="List_t" offset="DelayListAddr" cond="DelayListAddr"/>
265       
266       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
267       <calc cond="DelayListAddr">
268         n = pxDelayedTaskList.xListEnd_pxNext;
269       </calc>
270
271       <list name="j" start="0" limit="pxDelayedTaskList.uxNumberOfItems" cond="DelayListAddr">
272         <readlist name="pxDelayedTasks" type="ListItem_t" offset="n" count="1"/>
273
274         <calc> n = pxDelayedTasks[pxDelayedTasks._count-1].pxNext; </calc>
275       </list>
276
277       <!-- Read control blocks -->
278       <list name="i" start="0" limit="pxDelayedTaskList.uxNumberOfItems" cond="DelayListAddr">
279         <readlist name="Delayed_TCB" type="TCB_t" offset="pxDelayedTasks[i].pvOwner"/>
280       </list>
281
282       <!-- Process control blocks -->
283       <list name="i" start="0" limit="Delayed_TCB._count">
284         <calc>
285           sp = Delayed_TCB[i].pxTopOfStack;
286
287           Delayed_TCB[i].StackAvailable = sp - Delayed_TCB[i].pxStack;
288           Delayed_TCB[i].StackOverflow  = (sp &lt;= Delayed_TCB[i].pxStack);
289         </calc>
290       </list>
291
292
293       <!-- Overflow Delayed Tasks -->
294       <read name="OverflowDelayListAddr" type="uint32_t" symbol="tasks.c/pxOverflowDelayedTaskList"/>
295       <read name="pxOverflowDelayedTaskList" type="List_t" offset="OverflowDelayListAddr" cond="OverflowDelayListAddr"/>
296
297       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
298       <calc cond="OverflowDelayListAddr">
299         n = pxOverflowDelayedTaskList.xListEnd_pxNext;
300       </calc>
301
302       <list name="j" start="0" limit="pxOverflowDelayedTaskList.uxNumberOfItems" cond="OverflowDelayListAddr">
303         <readlist name="pxOverflowDelayedTasks" type="ListItem_t" offset="n" count="1"/>
304
305         <calc> n = pxOverflowDelayedTasks[pxOverflowDelayedTasks._count-1].pxNext; </calc>
306       </list>
307
308       <!-- Read control blocks -->
309       <list name="i" start="0" limit="pxOverflowDelayedTaskList.uxNumberOfItems" cond="OverflowDelayListAddr" >
310         <readlist name="OverflowDelayed_TCB" type="TCB_t" offset="pxOverflowDelayedTasks[i].pvOwner"/>
311       </list>
312
313       <!-- Process control blocks -->
314       <list name="i" start="0" limit="OverflowDelayed_TCB._count">
315         <calc>
316           sp = OverflowDelayed_TCB[i].pxTopOfStack;
317
318           OverflowDelayed_TCB[i].StackAvailable = sp - OverflowDelayed_TCB[i].pxStack;
319           OverflowDelayed_TCB[i].StackOverflow  = (sp &lt;= OverflowDelayed_TCB[i].pxStack);
320         </calc>
321       </list>
322
323
324       <!-- Suspended Tasks (Note: #if (INCLUDE_vTaskSuspend == 1)) -->
325       <read name="xSuspendedTaskList" type="List_t" symbol="tasks.c/xSuspendedTaskList"/>
326
327       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
328       <calc> n = xSuspendedTaskList.xListEnd_pxNext; </calc>
329
330       <list name="j" start="0" limit="xSuspendedTaskList.uxNumberOfItems">
331         <readlist name="pxSuspendedTasks" type="ListItem_t" offset="n" count="1"/>
332
333         <calc> n = pxSuspendedTasks[pxSuspendedTasks._count-1].pxNext; </calc>
334       </list>
335
336       <!-- Read control blocks -->
337       <list name="i" start="0" limit="xSuspendedTaskList.uxNumberOfItems">
338         <readlist name="Suspended_TCB" type="TCB_t" offset="pxSuspendedTasks[i].pvOwner"/>
339       </list>
340
341       <!-- Process control blocks -->
342       <list name="i" start="0" limit="Suspended_TCB._count">
343         <calc>
344           sp = Suspended_TCB[i].pxTopOfStack;
345
346           Suspended_TCB[i].StackAvailable = sp - Suspended_TCB[i].pxStack;
347           Suspended_TCB[i].StackOverflow  = (sp &lt;= Suspended_TCB[i].pxStack);
348         </calc>
349       </list>
350
351
352       <!-- Tasks Waiting Termination (Note: #if(INCLUDE_vTaskDelete == 1)) -->
353       <read name="xTasksWaitingTermination" type="List_t" symbol="tasks.c/xTasksWaitingTermination"/>
354
355       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
356       <calc> n = xTasksWaitingTermination.xListEnd_pxNext; </calc>
357
358       <list name="j" start="0" limit="xTasksWaitingTermination.uxNumberOfItems">
359         <readlist name="pxTasksWaitingTermination" type="ListItem_t" offset="n" count="1"/>
360
361         <calc> n = pxTasksWaitingTermination[pxTasksWaitingTermination._count-1].pxNext; </calc>
362       </list>
363
364       <!-- Read control blocks -->
365       <list name="i" start="0" limit="xTasksWaitingTermination.uxNumberOfItems">
366         <readlist name="WaitTermination_TCB" type="TCB_t" offset="pxTasksWaitingTermination[i].pvOwner"/>
367       </list>
368
369       <!-- Process control blocks -->
370       <list name="i" start="0" limit="WaitTermination_TCB._count">
371         <calc>
372           sp = WaitTermination_TCB[i].pxTopOfStack;
373
374           WaitTermination_TCB[i].StackAvailable = sp - WaitTermination_TCB[i].pxStack;
375           WaitTermination_TCB[i].StackOverflow  = (sp &lt;= WaitTermination_TCB[i].pxStack);
376         </calc>
377       </list>
378
379
380       <!-- Timers -->
381       <read name="TimerListAddr"      type="uint32_t" symbol="timers.c/pxCurrentTimerList"/>
382       <read name="pxCurrentTimerList" type="List_t"   offset="TimerListAddr" />
383       
384       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
385       <calc cond="TimerListAddr">
386         n = pxCurrentTimerList.xListEnd_pxNext;
387       </calc>
388
389       <list name="j" start="0" limit="pxCurrentTimerList.uxNumberOfItems" cond="TimerListAddr">
390         <readlist name="pxCurrentTimers" type="ListItem_t" offset="n" count="1"/>
391
392         <calc> n = pxCurrentTimers[pxCurrentTimers._count-1].pxNext; </calc>
393       </list>
394
395       <!-- Read control blocks -->
396       <list name="i" start="0" limit="pxCurrentTimers._count">
397         <readlist cond="pxCurrentTimers[i].pvOwner" name="Timer_CB" type="Timer_t" offset="pxCurrentTimers[i].pvOwner"/>
398       </list>
399
400       <!-- Process Timer control blocks -->
401       <list name="i" start="0" limit="Timer_CB._count">
402         <!-- Read name string -->
403         <list cond="Timer_CB[i].pcTimerName" name="j" start="0" limit="64">
404           <read name="ch_0" type="uint8_t" offset="Timer_CB[i].pcTimerName + j"/>
405
406           <calc>
407             Timer_CB[i].Name[j] = ch_0;
408           </calc>
409
410           <calc cond="ch_0 == 0">
411             j = 64;
412           </calc>
413         </list>
414       </list>
415
416
417       <!-- Overflow Timers -->
418       <read name="OverflowTimerListAddr" type="uint32_t" symbol="timers.c/pxOverflowTimerList"/>
419       <read name="pxOverflowTimerList"   type="List_t"   offset="OverflowTimerListAddr" />
420
421       <!-- Determine address of first item in list, read current item and determine address of next item in list -->
422       <calc cond="OverflowTimerListAddr">
423         n = pxOverflowTimerList.xListEnd_pxNext;
424       </calc>
425
426       <list name="j" start="0" limit="pxOverflowTimerList.uxNumberOfItems" cond="OverflowTimerListAddr">
427         <readlist name="pxOverflowTimers" type="ListItem_t" offset="n" count="1"/>
428
429         <calc> n = pxOverflowTimers[pxOverflowTimers._count-1].pxNext; </calc>
430       </list>
431
432       <!-- Read control blocks -->
433       <list name="i" start="0" limit="pxOverflowTimers._count">
434         <readlist cond="pxOverflowTimers[i].pvOwner" name="OverflowTimer_CB" type="Timer_t" offset="pxOverflowTimers[i].pvOwner"/>
435       </list>
436
437       <!-- Process Timer control blocks -->
438       <list name="i" start="0" limit="OverflowTimer_CB._count">
439         <!-- Read name string -->
440         <list cond="OverflowTimer_CB[i].pcTimerName" name="j" start="0" limit="64">
441           <read name="ch_1" type="uint8_t" offset="OverflowTimer_CB[i].pcTimerName + j"/>
442
443           <calc>
444             OverflowTimer_CB[i].Name[j] = ch_1;
445           </calc>
446
447           <calc cond="ch_1 == 0">
448             j = 64;
449           </calc>
450         </list>
451       </list>
452
453
454       <!-- Read Queue Registry (Queues, Semaphores, Mutexes) -->
455       <calc cond="__Symbol_exists (&quot;queue.c/xQueueRegistry&quot;)">
456         Queue_REG_Size = __size_of (&quot;queue.c/xQueueRegistry&quot;);
457       </calc>
458       
459       <readlist cond="Queue_REG_Size != 0" name="Queue_REG" type="QueueRegistryItem_t" count="Queue_REG_Size" symbol="queue.c/xQueueRegistry"/>
460       
461       <!-- Read registered objects -->
462       <list cond="Queue_REG_Size" name="i" start="0" limit="Queue_REG._count">
463         <readlist cond="Queue_REG[i].xHandle != 0" name="Queue_CB" type="Queue_t" offset="Queue_REG[i].xHandle"/>
464
465         <!-- Read name string -->
466         <list name="n" start="0" limit="64" cond="(Queue_REG[i].xHandle != 0) &amp;&amp; (Queue_REG[i].pcQueueName != 0)">
467           <read name="ch_2" type="uint8_t" offset="Queue_REG[i].pcQueueName + n"/>
468
469           <calc>
470             Queue_CB[Queue_CB._count-1].Name[n] = ch_2;
471           </calc>
472
473           <calc cond="ch_2 == 0">
474             n = 64;
475           </calc>
476         </list>
477
478       </list>
479
480       <list cond="Queue_REG_Size" name="i" start="0" limit="Queue_CB._count">
481         <!-- Queue -->
482         <calc>
483           Queue_CB[i].Type = 0;
484         </calc>
485         <!-- Mutex -->
486         <calc cond="Queue_CB[i].pcHead == 0">
487           Queue_CB[i].Type = 1;
488           Queue_REG_Mutexes++;
489         </calc>
490         <!-- Semaphore -->
491         <calc cond="Queue_CB[i].pcHead == Queue_CB[i]._addr">
492           Queue_CB[i].Type = 2;
493           Queue_REG_Semaphores++;
494         </calc>
495
496         <calc>
497           Queue_REG_Queues = Queue_CB._count - Queue_REG_Mutexes - Queue_REG_Semaphores;
498         </calc>
499       </list>
500       
501       <!-- Check if enqueued objects exist on task list -->
502       <list cond="Queue_REG_Size" name="i" start="0" limit="Queue_CB._count">
503         <!-- Get address of Queue_t member xTasksWaitingToReceive -->
504         <calc>
505           n  = Queue_CB[i]._addr;
506           n += 36;
507         </calc>        
508         
509         <!-- Loop over delayed tasks -->
510         <list name="j" start="0" limit="Delayed_TCB._count">
511           <!-- Check if TCB waits for Event Group -->
512           <calc cond="(Delayed_TCB[j].xEventListItem_xItemValue &amp; 0x80000000)">
513             Delayed_TCB[j].WaitType  = 3;
514             Delayed_TCB[j].WaitValue = Delayed_TCB[j].xEventListItem_xItemValue &amp; 0x00FFFFFF;
515           </calc>
516           <!-- Check if TCB exist on Queue_t list -->
517           <calc cond="Delayed_TCB[j].xEventListItem_pvContainer == n">
518             Delayed_TCB[j].WaitType  = Queue_CB[i].Type;
519             Delayed_TCB[j].WaitValue = i;
520           </calc>
521         </list>
522
523         <!-- Loop over overflow delayed tasks -->
524         <list name="j" start="0" limit="OverflowDelayed_TCB._count">
525           <!-- Check if TCB waits for Event Group -->
526           <calc cond="(OverflowDelayed_TCB[j].xEventListItem_xItemValue &amp; 0x80000000)">
527             OverflowDelayed_TCB[j].WaitType  = 3;
528             OverflowDelayed_TCB[j].WaitValue = OverflowDelayed_TCB[j].xEventListItem_xItemValue &amp; 0x00FFFFFF;
529           </calc>
530           <!-- Check if TCB exist on Queue_t list -->
531           <calc cond="OverflowDelayed_TCB[j].xEventListItem_pvContainer == n">
532             OverflowDelayed_TCB[j].WaitType  = Queue_CB[i].Type;
533             OverflowDelayed_TCB[j].WaitValue = i;
534           </calc>
535         </list>
536
537       </list>
538
539       <out name="FreeRTOS RTOS">
540         <item property="Kernel" value="">
541           <item property="Scheduler State"      value="%t[xSchedulerRunning ? &quot;Running&quot; : &quot;Not running&quot;]"/>
542           <item property="Tick Pending"         value="%d[uxPendedTicks]" cond="uxPendedTicks"/>
543           <item property="Tick Count"           value="%d[xTickCount]"/>
544           <item property="Tick Count Overflows" value="%d[xNumOfOverflows]" cond="xNumOfOverflows"/>
545           <item property="Task Count"           value="%d[uxCurrentNumberOfTasks]"/>
546         </item>
547
548         <item property="Running Task" value="" cond="xSchedulerRunning">
549           <item property="h: %x[pxCurrentTCB] %t[Running_TCB.pcTaskName]" value="">
550             <item property="Priority"    value="%d[Running_TCB.uxPriority]" />
551             <item property="Stack Limit" value="%x[Running_TCB.pxStack]" />
552             <item property="Stack Top"   value="%x[Running_TCB.pxTopOfStack]" />
553             <item>
554               <print cond="Running_TCB.StackOverflow == 0" property="Stack Available" value="%d[Running_TCB.StackAvailable] bytes"/>
555               <print cond="Running_TCB.StackOverflow != 0" property="Stack Overflow"  value="%d[Running_TCB.StackAvailable] bytes" bold="1" alert="1"/>
556             </item>
557           </item>
558         </item>
559
560         <item property="Ready Tasks (%d[Ready_TCB._count])" value="">
561           <list name="i" start="0" limit="Ready_TCB._count">
562             <item property="h: %x[Ready_TCB[i]._addr] %t[Ready_TCB[i].pcTaskName]" value="">
563               <item property="Priority"    value="%d[Ready_TCB[i].uxPriority]" />
564               <item property="Stack Limit" value="%x[Ready_TCB[i].pxStack]" />
565               <item property="Stack Top"   value="%x[Ready_TCB[i].pxTopOfStack]" />
566               <item>
567                 <print cond="Ready_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[Ready_TCB[i].StackAvailable] bytes"/>
568                 <print cond="Ready_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[Ready_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
569               </item>
570             </item>
571           </list>
572         </item>
573
574         <item property="Pending Ready Tasks (%d[PendingReady_TCB._count])" value="" cond="PendingReady_TCB._count">
575           <list name="i" start="0" limit="PendingReady_TCB._count">
576             <item property="h: %x[PendingReady_TCB[i]._addr] %t[PendingReady_TCB[i].pcTaskName]" value="">
577               <item property="Priority"    value="%d[PendingReady_TCB[i].uxPriority]" />
578               <item property="Stack Limit" value="%x[PendingReady_TCB[i].pxStack]" />
579               <item property="Stack Top"   value="%x[PendingReady_TCB[i].pxTopOfStack]" />
580               <item>
581                 <print cond="PendingReady_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[PendingReady_TCB[i].StackAvailable] bytes"/>
582                 <print cond="PendingReady_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[PendingReady_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
583               </item>
584             </item>
585           </list>
586         </item>
587
588         <item property="Delayed Tasks (%d[Delayed_TCB._count])" value="">
589           <list name="i" start="0" limit="Delayed_TCB._count">
590             <item property="h: %x[Delayed_TCB[i]._addr] %t[Delayed_TCB[i].pcTaskName]" value="">
591
592               <item cond="Queue_REG_Size">
593                 <print cond="Delayed_TCB[i].WaitType == 0" property="Waiting Queue"      value="h: %x[Queue_CB[Delayed_TCB[i].WaitValue]._addr] %t[Queue_CB[Delayed_TCB[i].WaitValue].Name]"/>
594                 <print cond="Delayed_TCB[i].WaitType == 1" property="Waiting Mutex"      value="h: %x[Queue_CB[Delayed_TCB[i].WaitValue]._addr] %t[Queue_CB[Delayed_TCB[i].WaitValue].Name]"/>
595                 <print cond="Delayed_TCB[i].WaitType == 2" property="Waiting Semaphore"  value="h: %x[Queue_CB[Delayed_TCB[i].WaitValue]._addr] %t[Queue_CB[Delayed_TCB[i].WaitValue].Name]"/>
596                 <print cond="Delayed_TCB[i].WaitType == 3" property="Waiting EventGroup" value="Flags: %x[Delayed_TCB[i].WaitValue]"/>
597               </item>
598
599               <item property="Wake time"   value="%d[Delayed_TCB[i].xStateListItem_xItemValue]" />
600               <item property="Priority"    value="%d[Delayed_TCB[i].uxPriority]" />
601               <item property="Stack Limit" value="%x[Delayed_TCB[i].pxStack]" />
602               <item property="Stack Top"   value="%x[Delayed_TCB[i].pxTopOfStack]" />
603               <item>
604                 <print cond="Delayed_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[Delayed_TCB[i].StackAvailable] bytes"/>
605                 <print cond="Delayed_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[Delayed_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
606               </item>
607             </item>
608           </list>
609         </item>
610
611         <item property="Overflow Delayed Tasks (%d[OverflowDelayed_TCB._count])" value="" cond="OverflowDelayed_TCB._count">
612           <list name="i" start="0" limit="OverflowDelayed_TCB._count">
613             <item property="h: %x[OverflowDelayed_TCB[i]._addr] %t[OverflowDelayed_TCB[i].pcTaskName]" value="">
614
615               <item cond="Queue_REG_Size">
616                 <print cond="OverflowDelayed_TCB[i].WaitType == 0" property="Waiting Queue"      value="h: %x[Queue_CB[OverflowDelayed_TCB[i].WaitValue]._addr] %t[Queue_CB[OverflowDelayed_TCB[i].WaitValue].Name]"/>
617                 <print cond="OverflowDelayed_TCB[i].WaitType == 1" property="Waiting Mutex"      value="h: %x[Queue_CB[OverflowDelayed_TCB[i].WaitValue]._addr] %t[Queue_CB[OverflowDelayed_TCB[i].WaitValue].Name]"/>
618                 <print cond="OverflowDelayed_TCB[i].WaitType == 2" property="Waiting Semaphore"  value="h: %x[Queue_CB[OverflowDelayed_TCB[i].WaitValue]._addr] %t[Queue_CB[OverflowDelayed_TCB[i].WaitValue].Name]"/>
619                 <print cond="OverflowDelayed_TCB[i].WaitType == 3" property="Waiting EventGroup" value="Flags=%x[OverflowDelayed_TCB[i].WaitValue]"/>
620               </item>
621
622               <item property="Wake time"   value="%d[OverflowDelayed_TCB[i].xStateListItem_xItemValue]" />
623               <item property="Priority"    value="%d[OverflowDelayed_TCB[i].uxPriority]" />
624               <item property="Stack Limit" value="%x[OverflowDelayed_TCB[i].pxStack]" />
625               <item property="Stack Top"   value="%x[OverflowDelayed_TCB[i].pxTopOfStack]" />
626               <item>
627                 <print cond="OverflowDelayed_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[OverflowDelayed_TCB[i].StackAvailable] bytes"/>
628                 <print cond="OverflowDelayed_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[OverflowDelayed_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
629               </item>
630             </item>
631           </list>
632         </item>
633
634         <item property="Suspended Tasks (%d[Suspended_TCB._count])" value="">
635           <list name="i" start="0" limit="Suspended_TCB._count">
636             <item property="h: %x[Suspended_TCB[i]._addr] %t[Suspended_TCB[i].pcTaskName]" value="">
637               <item property="Priority"    value="%d[Suspended_TCB[i].uxPriority]" />
638               <item property="Stack Limit" value="%x[Suspended_TCB[i].pxStack]" />
639               <item property="Stack Top"   value="%x[Suspended_TCB[i].pxTopOfStack]" />
640               <item>
641                 <print cond="Suspended_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[Suspended_TCB[i].StackAvailable] bytes"/>
642                 <print cond="Suspended_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[Suspended_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
643               </item>
644             </item>
645           </list>
646         </item>
647
648         <item property="Waiting Termination Tasks (%d[WaitTermination_TCB._count])" value="" cond="WaitTermination_TCB._count">
649           <list name="i" start="0" limit="WaitTermination_TCB._count">
650             <item property="h: %x[WaitTermination_TCB[i]._addr] %t[WaitTermination_TCB[i].pcTaskName]" value="">
651               <item property="Priority"        value="%d[WaitTermination_TCB[i].uxPriority]" />
652               <item property="Stack Limit"     value="%x[WaitTermination_TCB[i].pxStack]" />
653               <item property="Stack Top"       value="%x[WaitTermination_TCB[i].pxTopOfStack]" />
654               <item>
655                 <print cond="WaitTermination_TCB[i].StackOverflow == 0" property="Stack Available" value="%d[WaitTermination_TCB[i].StackAvailable] bytes"/>
656                 <print cond="WaitTermination_TCB[i].StackOverflow != 0" property="Stack Overflow"  value="%d[WaitTermination_TCB[i].StackAvailable] bytes" bold="1" alert="1"/>
657               </item>
658             </item>
659           </list>
660         </item>
661
662         <item property="Timers (%d[Timer_CB._count])" value="">
663           <list name="i" start="0" limit="Timer_CB._count">
664             <item property="h: %x[Timer_CB[i]._addr] %t[Timer_CB[i].Name]" value="">
665               <item property="Wake Time"   value="%d[Timer_CB[i].xTimerListItem_xItemValue]" />
666               <item property="Period"      value="%d[Timer_CB[i].xTimerPeriodInTicks]" />
667               <item property="Auto Reload" value="%t[Timer_CB[i].uxAutoReload ? &quot;True&quot; : &quot;False&quot;]" />
668               <item property="ID"          value="%x[Timer_CB[i].pvTimerID]" />
669               <item property="Callback"    value="%S[Timer_CB[i].pxCallbackFunction]" />
670             </item>
671           </list>
672         </item>
673
674         <item property="Overflowed Timers (%d[OverflowTimer_CB._count])" value="" cond="OverflowTimer_CB._count">
675           <list name="i" start="0" limit="OverflowTimer_CB._count">
676             <item property="h: %x[OverflowTimer_CB[i]._addr] %t[OverflowTimer_CB[i].Name]" value="">
677               <item property="Wake Time"   value="%d[OverflowTimer_CB[i].xTimerListItem_xItemValue]" />
678               <item property="Period"      value="%d[OverflowTimer_CB[i].xTimerPeriodInTicks]" />
679               <item property="Auto Reload" value="%t[OverflowTimer_CB[i].uxAutoReload ? &quot;True&quot; : &quot;False&quot;]" />
680               <item property="ID"          value="%x[OverflowTimer_CB[i].pvTimerID]" />
681               <item property="Callback"    value="%S[OverflowTimer_CB[i].pxCallbackFunction]" />
682             </item>
683           </list>
684         </item>
685
686         <item property="Mutexes (%d[Queue_REG_Mutexes])" value="" cond="Queue_REG_Size">
687           <list name="i" start="0" limit="Queue_CB._count">          
688             <item property="h: %x[Queue_CB[i]._addr] %t[Queue_CB[i].Name]" value="" cond="Queue_CB[i].Type == 1">
689               <item property="State" value="%t[Queue_CB[i].uxMessagesWaiting == 0 ? &quot;Locked&quot; : &quot;Released&quot;]" />
690               <item property="Recursive counter" value="%d[Queue_CB[i].u_uxRecursiveCallCount]" cond="Queue_CB[i].u_uxRecursiveCallCount"/>
691               <item property="Owner thread" value="h: %x[Queue_CB[i].pcTail]" cond="Queue_CB[i].pcTail != 0"/>
692             </item>
693           </list>
694         </item>
695
696         <item property="Semaphores (%d[Queue_REG_Semaphores])" value="" cond="Queue_REG_Size">
697           <list name="i" start="0" limit="Queue_CB._count">
698             <item property="h: %x[Queue_CB[i]._addr] %t[Queue_CB[i].Name]" value="" cond="Queue_CB[i].Type == 2">
699               <item property="Tokens"     value="%d[Queue_CB[i].uxMessagesWaiting]" />
700               <item property="Max Tokens" value="%d[Queue_CB[i].uxLength]" />
701             </item>
702           </list>
703         </item>
704
705         <item property="Queues (%d[Queue_REG_Queues])" value="" cond="Queue_REG_Size">
706           <list name="i" start="0" limit="Queue_CB._count">
707             <item property="h: %x[Queue_CB[i]._addr] %t[Queue_CB[i].Name]" value="" cond="Queue_CB[i].Type == 0">
708               <item property="Objects"     value="%d[Queue_CB[i].uxMessagesWaiting]" />
709               <item property="Max Objects" value="%d[Queue_CB[i].uxLength]"/>
710               <item property="Object size" value="%d[Queue_CB[i].uxItemSize]"/>
711
712               <!-- Queued messages -->
713               <item cond="Queue_CB[i].uxMessagesWaiting" property="Queue (%d[Queue_CB[i].uxMessagesWaiting])" value="">
714                 <list name="j" start="0" limit="Queue_CB[i].uxMessagesWaiting">
715                   <item property="Queue[%d[j]]" value="Address: %x[Queue_CB[i].pcHead + (j * Queue_CB[i].uxItemSize)]" />
716                 </list>
717               </item>
718
719             </item>
720           </list>
721         </item>
722
723       </out>
724     </object>
725   </objects>
726
727   <events>
728
729     <group name="FreeRTOS RTOS">
730       <component name="Tasks Events"       brief="FreeRTOS Tasks"       no="0xF0" prefix="EvrFreeRTOSTasks_"       info="FreeRTOS Tasks Events">
731         <state name="Inactive"    plot="off"                       />
732         <state name="Ready"       plot="box"                       />
733         <state name="Running"     plot="box"  bold="1" unique="1"  />
734         <state name="Blocked"     plot="line"                      />
735         <state name="Not-running" plot="line" bold="1" dormant="1" />
736       </component>
737       <component name="Queue Events"         brief="FreeRTOS Queue"        no="0xF1" prefix="EvrFreeRTOSQueue_"       info="FreeRTOS Queue Events"/>
738       <component name="Timers Events"        brief="FreeRTOS Timers"       no="0xF2" prefix="EvrFreeRTOSTimers_"      info="FreeRTOS Timers Events"/>
739       <component name="EventGroups Events"   brief="FreeRTOS EventGroups"  no="0xF3" prefix="EvrFreeRTOSEventGroups_" info="FreeRTOS Event Groups Events"/>
740       <component name="Heap Events"          brief="FreeRTOS Heap"         no="0xF4" prefix="EvrFreeRTOSHeap_"        info="FreeRTOS Heap Events"/>
741       <component name="Stream Buffer Events" brief="FreeRTOS StreamBuffer" no="0xF5" prefix="EvrFreeRTOSStreamBuf_"   info="FreeRTOS Stream Buffer Events"/>
742     </group>
743
744     <event id="0xF000 + 0xFF" level="Op"     property="TaskTrackingReset"                                        tracking="Reset" value="" info=""/>
745     <event id="0xF000 + 0x00" level="Op"     property="TaskCreate"                state="Inactive" handle="val1" tracking="Start" value="pxNewTCB=%x[val1]" info=""/>
746     <event id="0xF000 + 0x01" level="Error"  property="TaskCreateFailed"                                                          value="" info=""/>
747     <event id="0xF000 + 0x02" level="Op"     property="TaskDelete"                state="Inactive" handle="val1" tracking="Stop"  value="pxTCB=%x[val1]" info=""/>
748     <event id="0xF000 + 0x03" level="Op"     property="TaskDelayUntil"                                                            value="xTimeToWake=%d[val1]" info=""/>
749     <event id="0xF000 + 0x04" level="Op"     property="TaskDelay"                                                                 value="xTicksToDelay=%d[val1]" info=""/>
750     <event id="0xF000 + 0x05" level="Op"     property="TaskPrioritySet"                                                           value="pxTCB=%x[val1], uxNewPriority=%d[val2]" info=""/>
751     <event id="0xF000 + 0x06" level="Op"     property="TaskSuspend"               state="Blocked"  handle="val1"                  value="pxTCB=%x[val1]" info=""/>
752     <event id="0xF000 + 0x07" level="Op"     property="TaskResume"                                                                value="pxTCB=%x[val1]" info=""/>
753     <event id="0xF000 + 0x08" level="Op"     property="TaskResumeFromIsr"                                                         value="pxTCB=%x[val1]" info=""/>
754     <event id="0xF000 + 0x09" level="Detail" property="TaskIncrementTick"                                                         value="xTickCount=%d[val1]" info=""/>
755     <event id="0xF000 + 0x0A" level="Op"     property="IncreaseTickCount"                                                         value="xTicksToJump=%d[val1]" info=""/>
756     <event id="0xF000 + 0x0B" level="Op"     property="TaskSwitchedOut"           state="Blocked"  handle="val1"                  value="pxCurrentTCB=%x[val1]" info=""/>
757     <event id="0xF000 + 0x0C" level="Op"     property="TaskSwitchedIn"            state="Running"  handle="val1"                  value="pxCurrentTCB=%x[val1], priority=%d[val2]" info=""/>
758     <event id="0xF000 + 0x0D" level="Op"     property="TaskPriorityInherit"                                                       value="pxTCBOfMutexHolder=%x[val1], uxInheritedPriority=%d[val2]" info=""/>
759     <event id="0xF000 + 0x0E" level="Op"     property="TaskPriorityDisinherit"                                                    value="pxTCBOfMutexHolder=%x[val1], uxOriginalPriority=%d[val2]" info=""/>
760     <event id="0xF000 + 0x0F" level="Op"     property="MovedTaskToReadyState"     state="Ready"    handle="val1"                  value="pxTCB=%x[val1]" info=""/>
761     <event id="0xF000 + 0x10" level="Op"     property="PostMovedTaskToReadyState"                                                 value="pxTCB=%x[val1]" info=""/>
762     <event id="0xF000 + 0x11" level="Op"     property="LowPowerIdleBegin"                                                         value="xExpectedIdleTime=%d[val1]" info=""/>
763     <event id="0xF000 + 0x12" level="Op"     property="LowPowerIdleEnd"                                                           value="" info=""/>
764     <event id="0xF000 + 0x13" level="Op"     property="TaskNotifyTakeBlock"                                                       value="xTicksToWait=%d[val1]" info=""/>
765     <event id="0xF000 + 0x14" level="Op"     property="TaskNotifyTake"                                                            value="ulNotifiedValue=%x[val1]" info=""/>
766     <event id="0xF000 + 0x15" level="Op"     property="TaskNotifyWaitBlock"                                                       value="xTicksToWait=%d[val1]" info=""/>
767     <event id="0xF000 + 0x16" level="Op"     property="TaskNotifyWait"                                                            value="ulNotifiedValue=%x[val1]" info=""/>
768     <event id="0xF000 + 0x17" level="Op"     property="TaskNotify"                                                                value="xTaskToNotify=%x[val1], ulValue=%x[val2], eAction=%x[val3], ulNotifiedValue=%x[val4]" info=""/>
769     <event id="0xF000 + 0x18" level="Op"     property="TaskNotifyFromIsr"                                                         value="xTaskToNotify=%x[val1], ulValue=%x[val2], eAction=%x[val3], ulNotifiedValue=%x[val4]" info=""/>
770     <event id="0xF000 + 0x19" level="Op"     property="TaskNotifyGiveFromIsr"                                                     value="xTaskToNotify=%x[val1], ulNotifiedValue=%x[val2]" info=""/>
771
772     <event id="0xF100 + 0x00" level="Op"    property="QueueCreate"                   value="pxQueue=%x[val1]" info=""/>
773     <event id="0xF100 + 0x01" level="Error" property="QueueCreateFailed"             value="ucQueueType=%x[val1]" info=""/>
774     <event id="0xF100 + 0x02" level="Op"    property="CreateMutex"                   value="pxNewQueue=%x[val1]" info=""/>
775     <event id="0xF100 + 0x03" level="Error" property="CreateMutexFailed"             value="" info=""/>
776     <event id="0xF100 + 0x04" level="Op"    property="GiveMutexRecursive"            value="pxMutex=%x[val1]" info=""/>
777     <event id="0xF100 + 0x05" level="Error" property="GiveMutexRecursiveFailed"      value="pxMutex=%x[val1]" info=""/>
778     <event id="0xF100 + 0x06" level="Op"    property="TakeMutexRecursive"            value="pxMutex=%x[val1]" info=""/>
779     <event id="0xF100 + 0x07" level="Error" property="TakeMutexRecursiveFailed"      value="pxMutex=%x[val1]" info=""/>
780     <event id="0xF100 + 0x08" level="Op"    property="CreateCountingSemaphore"       value="xHandle=%x[val1]" info=""/>
781     <event id="0xF100 + 0x09" level="Error" property="CreateCountingSemaphoreFailed" value="" info=""/>
782     <event id="0xF100 + 0x0A" level="Op"    property="QueueSend"                     value="pxQueue=%x[val1]" info=""/>
783     <event id="0xF100 + 0x0B" level="Error" property="QueueSendFailed"               value="pxQueue=%x[val1]" info=""/>
784     <event id="0xF100 + 0x0C" level="Op"    property="QueueReceive"                  value="pxQueue=%x[val1]" info=""/>
785     <event id="0xF100 + 0x0D" level="Op"    property="QueuePeek"                     value="pxQueue=%x[val1]" info=""/>
786     <event id="0xF100 + 0x0E" level="Op"    property="QueuePeekFromIsr"              value="pxQueue=%x[val1]" info=""/>
787     <event id="0xF100 + 0x0F" level="Error" property="QueueReceiveFailed"            value="pxQueue=%x[val1]" info=""/>
788     <event id="0xF100 + 0x10" level="Op"    property="QueueSendFromIsr"              value="pxQueue=%x[val1]" info=""/>
789     <event id="0xF100 + 0x11" level="Error" property="QueueSendFromIsrFailed"        value="pxQueue=%x[val1]" info=""/>
790     <event id="0xF100 + 0x12" level="Op"    property="QueueReceiveFromIsr"           value="pxQueue=%x[val1]" info=""/>
791     <event id="0xF100 + 0x13" level="Error" property="QueueReceiveFromIsrFailed"     value="pxQueue=%x[val1]" info=""/>
792     <event id="0xF100 + 0x14" level="Error" property="QueuePeekFromIsrFailed"        value="pxQueue=%x[val1]" info=""/>
793     <event id="0xF100 + 0x15" level="Op"    property="QueueDelete"                   value="pxQueue=%x[val1]" info=""/>
794     <event id="0xF100 + 0x16" level="Op"    property="QueueRegistryAdd"              value="pxQueue=%x[val1], pcQueueName=%x[val2]" info=""/>
795     <event id="0xF100 + 0x17" level="Op"    property="BlockingOnQueueReceive"        value="pxQueue=%x[val1]" info=""/>
796     <event id="0xF100 + 0x18" level="Op"    property="BlockingOnQueueSend"           value="pxQueue=%x[val1]" info=""/>
797
798     <event id="0xF200 + 0x00" level="Op"    property="TimerCreate"          value="pxNewTimer=%x[val1]" info=""/>
799     <event id="0xF200 + 0x01" level="Error" property="TimerCreateFailed"    value="" info=""/>
800     <event id="0xF200 + 0x02" level="Op"    property="TimerCommandSend"     value="xTimer=%x[val1], xMessageID=%x[val2], xOptionalValue=%x[val3], xReturn=%x[val4]" info=""/>
801     <event id="0xF200 + 0x03" level="Op"    property="TimerCommandReceived" value="xTimer=%x[val1], xMessageID=%x[val2], xOptionalValue=%x[val3]" info=""/>
802     <event id="0xF200 + 0x04" level="Op"    property="TimerExpired"         value="pxTimer=%x[val1]" info=""/>
803     <event id="0xF200 + 0x05" level="Op"    property="PendFuncCall"         value="pxFunctionToPend=%x[val1], pvParameter1=%x[val2], ulParameter2=%x[val3], xReturn=%x[val4]" info=""/>
804     <event id="0xF200 + 0x06" level="Op"    property="PendFuncCallFromIsr"  value="pxFunctionToPend=%x[val1], pvParameter1=%x[val2], ulParameter2=%x[val3], xReturn=%x[val4]" info=""/>
805
806     <event id="0xF300 + 0x00" level="Op"    property="EventGroupCreate"           value="pxEventGroup=%x[val1]" info=""/>
807     <event id="0xF300 + 0x01" level="Error" property="EventGroupCreateFailed"     value="" info=""/>
808     <event id="0xF300 + 0x02" level="Op"    property="EventGroupSyncBlock"        value="pxEventGroup=%x[val1], uxBitsToSet=%x[val2], uxBitsToWaitFor=%x[val3]" info=""/>
809     <event id="0xF300 + 0x03" level="Op"    property="EventGroupSyncEnd"          value="pxEventGroup=%x[val1], uxBitsToSet=%x[val2], uxBitsToWaitFor=%x[val3], xTimeoutOccurred=%x[val4]" info=""/>
810     <event id="0xF300 + 0x04" level="Op"    property="EventGroupWaitBitsBlock"    value="pxEventGroup=%x[val1], uxBitsToWaitFor=%x[val2]" info=""/>
811     <event id="0xF300 + 0x05" level="Op"    property="EventGroupWaitBitsEnd"      value="pxEventGroup=%x[val1], uxBitsToWaitFor=%x[val2], xTimeoutOccurred=%x[val3]" info=""/>
812     <event id="0xF300 + 0x06" level="Op"    property="EventGroupClearBits"        value="pxEventGroup=%x[val1], uxBitsToClear=%x[val2]" info=""/>
813     <event id="0xF300 + 0x07" level="Op"    property="EventGroupClearBitsFromIsr" value="pxEventGroup=%x[val1], uxBitsToClear=%x[val2]" info=""/>
814     <event id="0xF300 + 0x08" level="Op"    property="EventGroupSetBits"          value="pxEventGroup=%x[val1], uxBitsToSet=%x[val2]" info=""/>
815     <event id="0xF300 + 0x09" level="Op"    property="EventGroupSetBitsFromIsr"   value="pxEventGroup=%x[val1], uxBitsToSet=%x[val2]" info=""/>
816     <event id="0xF300 + 0x0A" level="Op"    property="EventGroupDelete"           value="pxEventGroup=%x[val1]" info=""/>
817
818     <event id="0xF400 + 0x00" level="Op"    property="Malloc" value="pvAddress=%x[val1], uiSize=%d[val2]" info=""/>
819     <event id="0xF400 + 0x01" level="Op"    property="Free"   value="pvAddress=%x[val1], uiSize=%d[val2]" info=""/>
820
821     <event id="0xF500 + 0x00" level="Error" property="StreamBufferCreateFailed"       value="uxIsMessageBuffer=%d[val1]" info=""/>
822     <event id="0xF500 + 0x01" level="Error" property="StreamBufferCreateStaticFailed" value="pxStreamBuffer=%x[val1], uxIsMessageBuffer=%d[val2]" info=""/>
823     <event id="0xF500 + 0x02" level="Op"    property="StreamBufferCreate"             value="pxStreamBuffer=%x[val1], uxIsMessageBuffer=%d[val2]" info=""/>
824     <event id="0xF500 + 0x03" level="Op"    property="StreamBufferDelete"             value="pxStreamBuffer=%x[val1]" info=""/>
825     <event id="0xF500 + 0x04" level="Op"    property="StreamBufferReset"              value="pxStreamBuffer=%x[val1]" info=""/>
826     <event id="0xF500 + 0x05" level="Op"    property="StreamBufferBlockingOnSend"     value="pxStreamBuffer=%x[val1]" info=""/>
827     <event id="0xF500 + 0x06" level="Op"    property="StreamBufferSend"               value="pxStreamBuffer=%x[val1], xBytesSent=%d[val2]" info=""/>
828     <event id="0xF500 + 0x07" level="Error" property="StreamBufferSendFailed"         value="pxStreamBuffer=%x[val1]" info=""/>
829     <event id="0xF500 + 0x08" level="Op"    property="StreamBufferSendFromIsr"        value="pxStreamBuffer=%x[val1], xBytesSent=%d[val2]" info=""/>
830     <event id="0xF500 + 0x09" level="Op"    property="StreamBufferBlockingOnReceive"  value="pxStreamBuffer=%x[val1]" info=""/>
831     <event id="0xF500 + 0x0A" level="Op"    property="StreamBufferReceive"            value="pxStreamBuffer=%x[val1], xReceivedLength=%d[val2]" info=""/>
832     <event id="0xF500 + 0x0B" level="Error" property="StreamBufferReceiveFailed"      value="pxStreamBuffer=%x[val1]" info=""/>
833     <event id="0xF500 + 0x0C" level="Op"    property="StreamBufferReceiveFromIsr"     value="pxStreamBuffer=%x[val1], xReceivedLength=%d[val2]" info=""/>
834
835   </events>
836
837 </component_viewer>