blob: a46a8a24273e9eb9cc9b9249e1c3452e98de23b3 [file] [log] [blame]
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001<?xml version="1.0" encoding="utf-8"?>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02002<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
3 <component name="RTOS" version="5.0.0"/> <!-- name and version of the component -->
4
5 <typedefs>
Robert Rostohar0667b182016-11-25 21:48:19 +01006 <!-- Attributes structure for thread -->
7 <typedef name="osThreadAttr_t" info="" size="36">
8 <member name="name" type="uint32_t" offset="0" info="name of the thread (type is const char *)"/>
9 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
10 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
11 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
12 <member name="stack_mem" type="uint32_t" offset="16" info="memory for stack (type is void *)"/>
13 <member name="stack_size" type="uint32_t" offset="20" info="size of stack"/>
14 <member name="priority" type="uint32_t" offset="24" info="initial thread priority (type is osPriority_t)"/>
15 <member name="tz_module" type="uint32_t" offset="28" info="TrustZone module identifier (type is TZ_ModuleId_t)"/>
16 <member name="reserved" type="uint32_t" offset="32" info="reserved (must be 0)"/>
17 </typedef>
18
19 <!-- Attributes structure for timer -->
20 <typedef name="osTimerAttr_t" info="" size="16">
21 <member name="name" type="uint32_t" offset="0" info="name of the timer (type is const char *)"/>
22 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
23 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
24 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
25 </typedef>
26
27 <!-- Attributes structure for event flags -->
28 <typedef name="osEventFlagsAttr_t" info="" size="16">
29 <member name="name" type="uint32_t" offset="0" info="name of the event flags (type is const char *)"/>
30 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
31 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
32 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
33 </typedef>
34
35 <!-- Attributes structure for mutex -->
36 <typedef name="osMutexAttr_t" info="" size="16">
37 <member name="name" type="uint32_t" offset="0" info="name of the mutex (type is const char *)"/>
38 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
39 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
40 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
41 </typedef>
42
43 <!-- Attributes structure for semaphore -->
44 <typedef name="osSemaphoreAttr_t" info="" size="16">
45 <member name="name" type="uint32_t" offset="0" info="name of the semaphore (type is const char *)"/>
46 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
47 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
48 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
49 </typedef>
50
51 <!-- Attributes structure for memory pool -->
52 <typedef name="osMemoryPoolAttr_t" info="" size="24">
53 <member name="name" type="uint32_t" offset="0" info="name of the semaphore (type is const char *)"/>
54 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
55 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
56 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
57 <member name="mp_mem" type="uint32_t" offset="16" info="memory for data storage (type is void *)"/>
58 <member name="mp_size" type="uint32_t" offset="20" info="size of provided memory for data storage"/>
59 </typedef>
60
61 <!-- Attributes structure for message queue -->
62 <typedef name="osMessageQueueAttr_t" info="" size="24">
63 <member name="name" type="uint32_t" offset="0" info="name of the semaphore (type is const char *)"/>
64 <member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
65 <member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
66 <member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
67 <member name="mq_mem" type="uint32_t" offset="16" info="memory for data storage (type is void *)"/>
68 <member name="mq_size" type="uint32_t" offset="20" info="size of provided memory for data storage"/>
69 </typedef>
70
Robert Rostohare6ffbc42016-09-14 10:35:53 +020071 <!-- Thread Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +010072 <typedef name="osRtxThread_t" info="" size="68">
73 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
74 <member name="state" type="uint8_t" offset="1" info="Object State">
Matthias Hertelb73eaf32016-07-22 15:18:56 +020075 <enum name="osThreadInactive" value="0" info=""/>
76 <enum name="osThreadReady" value="1" info=""/>
77 <enum name="osThreadRunning" value="2" info=""/>
Robert Rostoharb3c06362016-10-19 14:24:56 +020078 <enum name="osThreadBlocked" value="3" info=""/>
79 <enum name="osThreadTerminated" value="4" info=""/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +020080 <enum name="osThreadError" value="-1" info=""/>
81
Robert Rostoharb3c06362016-10-19 14:24:56 +020082 <enum name="Delay" value="0x13" info=""/>
83 <enum name="Join" value="0x23" info=""/>
84 <enum name="Thread Flags" value="0x33" info=""/>
85 <enum name="Event Flags" value="0x43" info=""/>
86 <enum name="Mutex" value="0x53" info=""/>
87 <enum name="Semaphore" value="0x63" info=""/>
88 <enum name="Memory Pool" value="0x73" info=""/>
89 <enum name="Message Get" value="0x83" info=""/>
90 <enum name="Message Put" value="0x93" info=""/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +020091 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +010092 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
93 <member name="attr" type="uint8_t" offset="3" info="Object Attributes">
Robert Rostoharb3c06362016-10-19 14:24:56 +020094 <enum name="osThreadDetached" value="0x00" info="Thread created in detached state"/>
95 <enum name="osThreadJoinable" value="0x01" info="Thread created in joinable state"/>
96 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +010097 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
98 <member name="thread_next" type="*osRtxThread_t" offset="8" info="Link pointer to next Thread in Object list"/>
99 <member name="thread_prev" type="*osRtxThread_t" offset="12" info="Link pointer to previous Thread in Object list"/>
100 <member name="delay_next" type="*osRtxThread_t" offset="16" info="Link pointer to next Thread in Delay list"/>
101 <member name="delay_prev" type="*osRtxThread_t" offset="20" info="Link pointer to previous Thread in Delay list"/>
102 <member name="thread_join" type="*osRtxThread_t" offset="24" info="Thread waiting to Join"/>
103 <member name="delay" type="uint32_t" offset="28" info="Delay time"/>
104 <member name="priority" type="int8_t" offset="32" info="Thread priority">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200105 <enum name="osPriorityNone" value="0" info=""/>
106 <enum name="osPriorityIdle" value="1" info=""/>
107 <enum name="osPriorityLow" value="8" info=""/>
108 <enum name="osPriorityLow1" value="8+1" info=""/>
109 <enum name="osPriorityLow2" value="8+2" info=""/>
110 <enum name="osPriorityLow3" value="8+3" info=""/>
111 <enum name="osPriorityLow4" value="8+4" info=""/>
112 <enum name="osPriorityLow5" value="8+5" info=""/>
113 <enum name="osPriorityLow6" value="8+6" info=""/>
114 <enum name="osPriorityLow7" value="8+7" info=""/>
115 <enum name="osPriorityBelowNormal" value="16" info=""/>
116 <enum name="osPriorityBelowNormal1" value="16+1" info=""/>
117 <enum name="osPriorityBelowNormal2" value="16+2" info=""/>
118 <enum name="osPriorityBelowNormal3" value="16+3" info=""/>
119 <enum name="osPriorityBelowNormal4" value="16+4" info=""/>
120 <enum name="osPriorityBelowNormal5" value="16+5" info=""/>
121 <enum name="osPriorityBelowNormal6" value="16+6" info=""/>
122 <enum name="osPriorityBelowNormal7" value="16+7" info=""/>
123 <enum name="osPriorityNormal" value="24" info=""/>
124 <enum name="osPriorityNormal1" value="24+1" info=""/>
125 <enum name="osPriorityNormal2" value="24+2" info=""/>
126 <enum name="osPriorityNormal3" value="24+3" info=""/>
127 <enum name="osPriorityNormal4" value="24+4" info=""/>
128 <enum name="osPriorityNormal5" value="24+5" info=""/>
129 <enum name="osPriorityNormal6" value="24+6" info=""/>
130 <enum name="osPriorityNormal7" value="24+7" info=""/>
131 <enum name="osPriorityAboveNormal" value="32" info=""/>
132 <enum name="osPriorityAboveNormal1" value="32+1" info=""/>
133 <enum name="osPriorityAboveNormal2" value="32+2" info=""/>
134 <enum name="osPriorityAboveNormal3" value="32+3" info=""/>
135 <enum name="osPriorityAboveNormal4" value="32+4" info=""/>
136 <enum name="osPriorityAboveNormal5" value="32+5" info=""/>
137 <enum name="osPriorityAboveNormal6" value="32+6" info=""/>
138 <enum name="osPriorityAboveNormal7" value="32+7" info=""/>
139 <enum name="osPriorityHigh" value="40" info=""/>
140 <enum name="osPriorityHigh1" value="40+1" info=""/>
141 <enum name="osPriorityHigh2" value="40+2" info=""/>
142 <enum name="osPriorityHigh3" value="40+3" info=""/>
143 <enum name="osPriorityHigh4" value="40+4" info=""/>
144 <enum name="osPriorityHigh5" value="40+5" info=""/>
145 <enum name="osPriorityHigh6" value="40+6" info=""/>
146 <enum name="osPriorityHigh7" value="40+7" info=""/>
147 <enum name="osPriorityRealtime" value="48" info=""/>
148 <enum name="osPriorityRealtime1" value="48+1" info=""/>
149 <enum name="osPriorityRealtime2" value="48+2" info=""/>
150 <enum name="osPriorityRealtime3" value="48+3" info=""/>
151 <enum name="osPriorityRealtime4" value="48+4" info=""/>
152 <enum name="osPriorityRealtime5" value="48+5" info=""/>
153 <enum name="osPriorityRealtime6" value="48+6" info=""/>
154 <enum name="osPriorityRealtime7" value="48+7" info=""/>
155 <enum name="osPriorityISR" value="56" info=""/>
156 <enum name="osPriorityError" value="-1" info=""/>
157 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100158 <member name="priority_base" type="int8_t" offset="33" info="Base priority"/>
159 <member name="stack_frame" type="uint8_t" offset="34" info="Stack frame"/>
160 <member name="flags_options" type="uint8_t" offset="35" info="Thread/Event flags options">
Robert Rostoharb3c06362016-10-19 14:24:56 +0200161 <enum name="osFlagsWaitAny" value="0x00" info="Wait for any flag."/>
162 <enum name="osFlagsWaitAll" value="0x01" info="Wait for all flags."/>
163 <enum name="osFlagsAutoClear" value="0x02" info="Clear flags which have been specified to wait for."/>
164 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100165 <member name="wait_flags" type="int32_t" offset="36" info="Waiting Thread/Event flags"/>
166 <member name="thread_flags" type="int32_t" offset="40" info="Thread flags"/>
167 <member name="mutex_list" type="*osRtxMutex_t" offset="44" info="Link pointer to list of owned mutexes"/>
168 <member name="stack_mem" type="uint32_t" offset="48" info="Stack memory (type is void *)"/>
169 <member name="stack_size" type="uint32_t" offset="52" info="Stack size"/>
170 <member name="sp" type="uint32_t" offset="56" info="Current stack pointer"/>
171 <member name="thread_addr" type="uint32_t" offset="60" info="Thread entry address"/>
172 <member name="tz_memory" type="uint32_t" offset="64" info="TrustZone Memory Identifier"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200173
Robert Rostoharb3c06362016-10-19 14:24:56 +0200174 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200175 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200176
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200177 <var name="ex_delay" type="uint32_t" info="Calculated execution delay"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200178
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200179 <var name="stack_val" type="uint32_t" info="Stack usage: analysis result"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200180 <var name="stack_curp" type="uint32_t" info="Stack usage: current (in percent)"/>
181 <var name="stack_curb" type="uint32_t" info="Stack usage: current (in bytes)"/>
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200182 <var name="stack_maxb" type="uint32_t" info="Stack usage: maximum (in bytes)"/>
183 <var name="stack_maxp" type="uint32_t" info="Stack usage: maximum (in percent)"/>
184 <var name="stack_over" type="uint8_t" info="Stack usage: overflow"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200185 </typedef>
186
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200187 <!-- Timer Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100188 <typedef name="osRtxTimer_t" info="" size="32">
189 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
190 <member name="state" type="uint8_t" offset="1" info="Object State">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200191 <enum name="Inactive" value="0" info="Timer is not active"/>
192 <enum name="Stopped" value="1" info="Timer is stopped"/>
193 <enum name="Running" value="2" info="Timer is running"/>
194 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100195 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
196 <member name="type" type="uint8_t" offset="3" info="Timer Type">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200197 <enum name="osTimerOnce" value="0" info="One-shot timer"/>
198 <enum name="osTimerPeriodic" value="1" info="Periodic timer"/>
199 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100200 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
201 <member name="prev" type="*osRtxTimer_t" offset="8" info="Pointer to previous active timer"/>
202 <member name="next" type="*osRtxTimer_t" offset="12" info="Pointer to next active timer"/>
203 <member name="tick" type="uint32_t" offset="16" info="Timer current tick"/>
204 <member name="load" type="uint32_t" offset="20" info="Timer load value"/>
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200205 <!-- Inlined "os_timer_finfo_t" structure -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100206 <member name="finfo_fp" type="uint32_t" offset="24" info="Timer function pointer (type is void *)"/>
207 <member name="finfo_arg" type="uint32_t" offset="28" info="Timer function argument (type is void *)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200208
Robert Rostoharb3c06362016-10-19 14:24:56 +0200209 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200210 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
211 <var name="ex_tick" type="uint32_t" info="Calculated absolute tick time"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200212 </typedef>
213
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200214 <!-- Event Flags Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100215 <typedef name="osRtxEventFlags_t" info="" size="16">
216 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
217 <member name="state" type="uint8_t" offset="1" info="Object State"/>
218 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
219 <member name="reserved" type="uint8_t" offset="3" info=""/>
220 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
221 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Waiting threads list"/>
222 <member name="event_flags" type="int32_t" offset="12" info="Event flags"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200223
Robert Rostoharb3c06362016-10-19 14:24:56 +0200224 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200225 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
226 <var name="wl_idx" type="uint32_t" info="EventFlags waiting list (EWL) index" />
227 <var name="wl_cnt" type="uint32_t" info="Number of threads waiting for event flags" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200228 </typedef>
229
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200230 <!-- Mutex Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100231 <typedef name="osRtxMutex_t" info="" size="28">
232 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
233 <member name="state" type="uint8_t" offset="1" info="Object State"/>
234 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
235 <member name="attr" type="uint8_t" offset="3" info="Object Attributes">
Robert Rostoharb3c06362016-10-19 14:24:56 +0200236 <enum name="osMutexRecursive" value="0x01" info="Recursive mutex."/>
237 <enum name="osMutexPrioInherit" value="0x02" info="Priority inherit protocol."/>
238 <enum name="osMutexRobust" value="0x08" info="Robust mutex."/>
239 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100240 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
241 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Waiting threads list"/>
242 <member name="owner_thread" type="*osRtxThread_t" offset="12" info="Owner thread"/>
243 <member name="owner_prev" type="*osRtxMutex_t" offset="16" info="Pointer to previous owned mutex"/>
244 <member name="owner_next" type="*osRtxMutex_t" offset="20" info="Pointer to next owned mutex"/>
245 <member name="lock" type="uint8_t" offset="24" info="Lock counter"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200246
Robert Rostoharb3c06362016-10-19 14:24:56 +0200247 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200248 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
249 <var name="wl_idx" type="uint32_t" info="Mutex waiting list (MWL) index" />
250 <var name="wl_cnt" type="uint32_t" info="Number of threads waiting for current mutex" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200251 </typedef>
252
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200253 <!-- Semaphore Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100254 <typedef name="osRtxSemaphore_t" info="" size="16">
255 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
256 <member name="state" type="uint8_t" offset="1" info="Object State"/>
257 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
258 <member name="reserved" type="uint8_t" offset="3" info=""/>
259 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
260 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Waiting threads list"/>
261 <member name="tokens" type="uint16_t" offset="12" info="Current number of tokens"/>
262 <member name="max_tokens" type="uint16_t" offset="14" info="Maximum number of tokens"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200263
Robert Rostoharb3c06362016-10-19 14:24:56 +0200264 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200265 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
266 <var name="wl_idx" type="uint32_t" info="Semaphore waiting list (SWL) index" />
267 <var name="wl_cnt" type="uint32_t" info="Number of threads waiting for current semaphore" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200268 </typedef>
269
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200270 <!-- Memory Pool Information -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100271 <typedef name="osRtxMpInfo_t" info="Memory pool information" size="24">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200272 <member name="max_blocks" type="uint32_t" offset="0" info="Maximum number of blocks"/>
273 <member name="used_blocks" type="uint32_t" offset="4" info="Number of used blocks"/>
274 <member name="block_size" type="uint32_t" offset="8" info="Block size"/>
275 <member name="block_base" type="uint32_t" offset="12" info="Block memory base address (type is void *)"/>
276 <member name="block_lim" type="uint32_t" offset="16" info="Block memory limit address (type is void *)"/>
277 <member name="block_free" type="uint32_t" offset="20" info="First free block address (type is void *)"/>
278 </typedef>
279
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200280 <!-- Memory Pool Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100281 <typedef name="osRtxMemoryPool_t" info="" size="36">
282 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
283 <member name="state" type="uint8_t" offset="1" info="Object State"/>
284 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
285 <member name="reserved" type="uint8_t" offset="3" info=""/>
286 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
287 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Waiting threads list"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200288
Robert Rostohar0667b182016-11-25 21:48:19 +0100289 <!-- Inlined "osRtxMpInfo_t" structure -->
290 <member name="max_blocks" type="uint32_t" offset="12+0" info="Maximum number of blocks"/>
291 <member name="used_blocks" type="uint32_t" offset="12+4" info="Number of used blocks"/>
292 <member name="block_size" type="uint32_t" offset="12+8" info="Block size"/>
293 <member name="block_base" type="uint32_t" offset="12+12" info="Block memory base address (type is void *)"/>
294 <member name="block_lim" type="uint32_t" offset="12+16" info="Block memory limit address (type is void *)"/>
295 <member name="block_free" type="uint32_t" offset="12+20" info="First free block address (type is void *)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200296
Robert Rostoharb3c06362016-10-19 14:24:56 +0200297 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200298 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
299 <var name="wl_idx" type="uint32_t" info="Memory Pool waiting list (PWL) index" />
300 <var name="wl_cnt" type="uint32_t" info="Number of threads waiting for memory pool" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200301 </typedef>
302
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200303 <!-- Message Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100304 <typedef name="osRtxMessage_t" info="" size="12">
305 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
306 <member name="state" type="uint8_t" offset="1" info="Object State"/>
307 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
308 <member name="priority" type="uint8_t" offset="3" info="Message priority"/>
309 <member name="prev" type="*osRtxMessage_t" offset="4" info="Pointer to previous message"/>
310 <member name="next" type="*osRtxMessage_t" offset="8" info="Pointer to next message"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200311
312 <var name="addr" type="uint32_t" info="Message location address" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200313 </typedef>
314
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200315 <!-- Message Queue Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100316 <typedef name="osRtxMessageQueue_t" info="" size="52">
317 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
318 <member name="state" type="uint8_t" offset="1" info="Object State"/>
319 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
320 <member name="reserved" type="uint8_t" offset="3" info=""/>
321 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
322 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Waiting threads list"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200323
Robert Rostohar0667b182016-11-25 21:48:19 +0100324 <!-- Inlined "osRtxMpInfo_t" structure -->
325 <member name="max_blocks" type="uint32_t" offset="12+0" info="Maximum number of blocks"/>
326 <member name="used_blocks" type="uint32_t" offset="12+4" info="Number of used blocks"/>
327 <member name="block_size" type="uint32_t" offset="12+8" info="Block size"/>
328 <member name="block_base" type="uint32_t" offset="12+12" info="Block memory base address (type is void *)"/>
329 <member name="block_lim" type="uint32_t" offset="12+16" info="Block memory limit address (type is void *)"/>
330 <member name="block_free" type="uint32_t" offset="12+20" info="First free block address (type is void *)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200331
Robert Rostohar0667b182016-11-25 21:48:19 +0100332 <member name="msg_size" type="uint32_t" offset="36" info="Message size"/>
333 <member name="msg_count" type="uint32_t" offset="40" info="Number of queued messages"/>
334 <member name="msg_first" type="*osRtxMessage_t" offset="44" info="Pointer to first message"/>
335 <member name="msg_last" type="*osRtxMessage_t" offset="48" info="Pointer to last message"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200336
Robert Rostoharb3c06362016-10-19 14:24:56 +0200337 <var name="obj_name" type="uint8_t" info="Object name string" size="66" />
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200338 <var name="cb_valid" type="uint32_t" info="Control Block validation status (valid=1, invalid=0)"/>
339 <var name="wl_idx" type="uint32_t" info="Waiting list index (QWL)" />
340 <var name="wl_cnt" type="uint32_t" info="Number of threads waiting" />
Robert Rostoharb3c06362016-10-19 14:24:56 +0200341 <var name="ml_idx" type="uint32_t" info="Queue message list index (QML)" />
342 <var name="ml_cnt" type="uint32_t" info="Number of messages queued" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200343 </typedef>
344
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200345 <!-- Generic Object Control Block -->
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200346 <typedef name="os_object_t" info="" size="12">
Robert Rostohar0667b182016-11-25 21:48:19 +0100347 <member name="id" type="uint8_t" offset="0" info="Object Identifier"/>
348 <member name="state" type="uint8_t" offset="1" info="Object State"/>
349 <member name="flags" type="uint8_t" offset="2" info="Object Flags"/>
350 <member name="reserved" type="uint8_t" offset="3" info=""/>
351 <member name="name" type="uint32_t" offset="4" info="Object name (type is *uint8_t)"/>
352 <member name="thread_list" type="*osRtxThread_t" offset="8" info="Threads list"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200353 </typedef>
354
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200355 <!-- OS Runtime Information structure -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100356 <typedef name="osRtxInfo_t" info="OS Runtime Information" size="168">
357 <member name="os_id" type="uint32_t" offset="0" info="OS Identification (type is *uint8_t)"/>
358 <member name="version" type="uint32_t" offset="4" info="OS Version"/>
359 <member name="kernel_state" type="uint8_t" offset="8" info="Kernel state">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200360 <enum name="osKernelInactive" value="0" info="Inactive"/>
361 <enum name="osKernelReady" value="1" info="Ready"/>
362 <enum name="osKernelRunning" value="2" info="Running"/>
363 <enum name="osKernelLocked" value="3" info="Locked"/>
364 <enum name="osKernelSuspended" value="4" info="Suspended"/>
365 <enum name="osKernelError" value="5" info="Error"/>
366 </member>
Robert Rostohar0667b182016-11-25 21:48:19 +0100367 <member name="kernel_blocked" type="uint8_t" offset="9" info="Kernel blocked"/>
368 <member name="kernel_pendISR" type="uint8_t" offset="10" info="Kernel pending ISR"/>
369 <member name="kernel_pendSV" type="uint8_t" offset="11" info="Kernel pending SV"/>
370 <member name="kernel_sys_freq" type="uint32_t" offset="12" info="Kernel system frequency"/>
371 <member name="kernel_tick" type="uint64_t" offset="16" info="Kernel tick counter"/>
372 <member name="tick_irqn" type="int32_t" offset="24" info="Tick timer IRQ number"/>
373 <member name="thread_run_curr" type="*osRtxThread_t" offset="28" info="Current running thread"/>
374 <member name="thread_run_next" type="*osRtxThread_t" offset="32" info="Next thread to run"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200375
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200376 <!-- Inlined "os_object_t" structure at offset: 36 -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100377 <member name="thread_ready_id" type="uint8_t" offset="36+0" info="Object Identifier" />
378 <member name="thread_ready_state" type="uint8_t" offset="36+1" info="Object State" />
379 <member name="thread_ready_flags" type="uint8_t" offset="36+2" info="Object Flags" />
380 <member name="thread_ready_rsvd" type="uint8_t" offset="36+3" info="Reserved" />
381 <member name="thread_ready_name" type="uint32_t" offset="36+4" info="Object Name (type is *uint8_t)" />
382 <member name="thread_ready_thread_list" type="*osRtxThread_t" offset="36+8" info="Threads List" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200383
Robert Rostohar0667b182016-11-25 21:48:19 +0100384 <member name="thread_idle" type="*osRtxThread_t" offset="48" info="Idle thread"/>
385 <member name="thread_delay_list" type="*osRtxThread_t" offset="52" info="Delay list"/>
386 <member name="thread_wait_list" type="*osRtxThread_t" offset="56" info="Wait list (no timeout)"/>
387 <member name="thread_terminate_list" type="*osRtxThread_t" offset="60" info="Terminate list"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200388
Robert Rostohar0667b182016-11-25 21:48:19 +0100389 <member name="thread_robin_thread" type="*osRtxThread_t" offset="64" info="Round Robin thread"/>
390 <member name="thread_robin_tick" type="uint32_t" offset="68" info="Round Robin time tick"/>
391 <member name="thread_timeout" type="uint32_t" offset="72" info="Round Robin timeout"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200392
Robert Rostohar0667b182016-11-25 21:48:19 +0100393 <member name="timer_list" type="*osRtxTimer_t" offset="76" info="Active timer list"/>
394 <member name="timer_thread" type="*osRtxThread_t" offset="80" info="Timer thread"/>
395 <member name="timer_mq" type="*osRtxMessageQueue_t" offset="84" info="Timer message queue"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200396
Robert Rostohar0667b182016-11-25 21:48:19 +0100397 <member name="isr_queue_max" type="uint16_t" offset="88" info="Maximum items"/>
398 <member name="isr_queue_cnt" type="uint16_t" offset="90" info="Item count"/>
399 <member name="isr_queue_in" type="uint16_t" offset="92" info="Incoming item index"/>
400 <member name="isr_queue_out" type="uint16_t" offset="94" info="Outgoing item index"/>
401 <member name="isr_queue_data" type="uint32_t" offset="96" info="Queue data (value is void **)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200402
Robert Rostohar0667b182016-11-25 21:48:19 +0100403 <member name="post_process_thread" type="uint32_t" offset="100" info="Thread post processing function (value is func *)"/>
404 <member name="post_process_event_flags" type="uint32_t" offset="104" info="Event flags post processing function (value is func *)"/>
405 <member name="post_process_semaphore" type="uint32_t" offset="108" info="Semaphore post processing function (value is func *)"/>
406 <member name="post_process_memory_pool" type="uint32_t" offset="112" info="Memory pool post processing function (value is func *)"/>
407 <member name="post_process_message_queue" type="uint32_t" offset="116" info="Message queue post processing function (value is func *)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200408
Robert Rostohar0667b182016-11-25 21:48:19 +0100409 <member name="mem_stack" type="uint32_t" offset="120" info="Stack memory (value is void *)"/>
410 <member name="mem_mp_data" type="uint32_t" offset="124" info="Memory pool data memory (value is void *)"/>
411 <member name="mem_mq_data" type="uint32_t" offset="128" info="Message queue Data memory (value is void *)"/>
412 <member name="mem_common" type="uint32_t" offset="132" info="Common memory address (value is void *)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200413
Robert Rostohar0667b182016-11-25 21:48:19 +0100414 <member name="mpi_stack" type="*osRtxMpInfo_t" offset="136" info="Stack for threads"/>
415 <member name="mpi_thread" type="*osRtxMpInfo_t" offset="140" info="Thread control blocks"/>
416 <member name="mpi_timer" type="*osRtxMpInfo_t" offset="144" info="Timer control blocks"/>
417 <member name="mpi_event_flags" type="*osRtxMpInfo_t" offset="148" info="Event flags control blocks"/>
418 <member name="mpi_mutex" type="*osRtxMpInfo_t" offset="152" info="Mutex control blocks"/>
419 <member name="mpi_semaphore" type="*osRtxMpInfo_t" offset="156" info="Semaphore control blocks"/>
420 <member name="mpi_memory_pool" type="*osRtxMpInfo_t" offset="160" info="Memory pool control blocks"/>
421 <member name="mpi_message_queue" type="*osRtxMpInfo_t" offset="164" info="Message queue control blocks"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200422 </typedef>
423
Robert Rostohare6ffbc42016-09-14 10:35:53 +0200424 <!-- OS Configuration structure -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100425 <typedef name="osRtxConfig_t" const="1" info="OS Configuration Structure" size="100">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200426 <member name="flags" type="uint32_t" offset="0" info="OS configuration flags"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200427 <member name="tick_freq" type="uint32_t" offset="4" info="Kernel tick frequency"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100428
Robert Rostohar0667b182016-11-25 21:48:19 +0100429 <member name="robin_timeout" type="uint32_t" offset="8" info="Round Robim timeout tick"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200430 <member name="isr_queue_data" type="uint32_t" offset="12" info="ISR post processing queue (value is void **)"/>
431 <member name="isr_queue_max" type="uint16_t" offset="14" info="Maximum data"/>
432 <member name="isr_queue_padding" type="uint16_t" offset="16" info="Padding bytes"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200433
Robert Rostoharb3c06362016-10-19 14:24:56 +0200434 <member name="mem_stack_addr" type="uint32_t" offset="20" info="Stack memory address"/>
435 <member name="mem_stack_size" type="uint32_t" offset="24" info="Stack memory size"/>
436 <member name="mem_mp_data_addr" type="uint32_t" offset="28" info="Memory pool data memory address"/>
437 <member name="mem_mp_data_size" type="uint32_t" offset="32" info="Memory pool data memory size"/>
438 <member name="mem_mq_data_addr" type="uint32_t" offset="36" info="Message queue data memory address"/>
439 <member name="mem_mq_data_size" type="uint32_t" offset="40" info="Message queue data memory size"/>
440 <member name="mem_common_addr" type="uint32_t" offset="44" info="Common memory address"/>
441 <member name="mem_common_size" type="uint32_t" offset="48" info="Common memory size"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200442
Robert Rostohar0667b182016-11-25 21:48:19 +0100443 <member name="mpi_stack" type="*osRtxMpInfo_t" offset="52" info="Stack for threads"/>
444 <member name="mpi_thread" type="*osRtxMpInfo_t" offset="56" info="Thread control blocks"/>
445 <member name="mpi_timer" type="*osRtxMpInfo_t" offset="60" info="Timer control blocks"/>
446 <member name="mpi_event_flags" type="*osRtxMpInfo_t" offset="64" info="Event flags control blocks"/>
447 <member name="mpi_mutex" type="*osRtxMpInfo_t" offset="68" info="Mutex control blocks"/>
448 <member name="mpi_semaphore" type="*osRtxMpInfo_t" offset="72" info="Semaphore control blocks"/>
449 <member name="mpi_memory_pool" type="*osRtxMpInfo_t" offset="76" info="Memory pool control blocks"/>
450 <member name="mpi_message_queue" type="*osRtxMpInfo_t" offset="80" info="Message queue control blocks"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200451
Robert Rostoharb3c06362016-10-19 14:24:56 +0200452 <member name="thread_stack_size" type="uint32_t" offset="84" info="Default thread stack size"/>
453 <member name="idle_thread_attr" type="uint32_t" offset="88" info="Idle thread attributes (value is osThreadAttr_s *)"/>
454 <member name="timer_thread_attr" type="uint32_t" offset="92" info="Timer thread attributes (value is osThreadAttr_s *)"/>
455 <member name="timer_mq_attr" type="uint32_t" offset="96" info="Timer message queue attributes (value is osMessageQueueAttr_s *)"/>
456 <member name="timer_mq_mcnt" type="uint32_t" offset="100" info="Timer message queue maximum messages"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200457 </typedef>
458
459 <!-- Memory Pool Header -->
460 <typedef name="mem_head_t" info="Memory Pool Header Structure" size="8">
461 <member name="size" type="uint32_t" offset="0" info="Memory pool size"/>
462 <member name="used" type="uint32_t" offset="4" info="Size of used memory"/>
463 </typedef>
464
465 <!-- Memory Block Header + Object Header -->
466 <typedef name="mem_block_t" info="Memory Block Header Structure" size="9">
467 <member name="next" type="*mem_block_t" offset="0" info="Next memory block"/>
468 <member name="len" type="uint32_t" offset="4" info="Memory block size"/>
469 <member name="id" type="uint8_t" offset="8" info="Object Identifier"/>
470 </typedef>
471
Robert Rostohar0667b182016-11-25 21:48:19 +0100472 <!-- Helper typedefs -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100473 <typedef name="rtx_sections_t" info="RTX Control Block Sections Info Structure" size="56">
474 <member name="thread_cb_start" type="uint32_t" offset="0" info="Thread control block section start"/>
475 <member name="thread_cb_end" type="uint32_t" offset="4" info="Thread control block section end"/>
476 <member name="timer_cb_start" type="uint32_t" offset="8" info="Timer control block section start"/>
477 <member name="timer_cb_end" type="uint32_t" offset="12" info="Timer control block section end"/>
478 <member name="evflags_cb_start" type="uint32_t" offset="16" info="Event flags control block section start"/>
479 <member name="evflags_cb_end" type="uint32_t" offset="20" info="Event flags control block section end"/>
480 <member name="mutex_cb_start" type="uint32_t" offset="24" info="Mutex control block section start"/>
481 <member name="mutex_cb_end" type="uint32_t" offset="28" info="Mutex control block section end"/>
482 <member name="semaphore_cb_start" type="uint32_t" offset="32" info="Semaphore control block section start"/>
483 <member name="semaphore_cb_end" type="uint32_t" offset="36" info="Semaphore control block section end"/>
484 <member name="mempool_cb_start" type="uint32_t" offset="40" info="Memory pool control block section start"/>
485 <member name="mempool_cb_end" type="uint32_t" offset="44" info="Memory pool control block section end"/>
486 <member name="msgqueue_cb_start" type="uint32_t" offset="48" info="Message queue control block section start"/>
487 <member name="msgqueue_cb_end" type="uint32_t" offset="52" info="Message queue control block section end"/>
488 </typedef>
489
Robert Rostohar0667b182016-11-25 21:48:19 +0100490 <typedef name="rtx_t" info="Various RTX Definitions" size="8">
491 <member name="status" type="int32_t" offset="0" info="RTX5 operations status">
492 <enum name="osOK" value="0" info="Operation completed successfully"/>
493 <enum name="osError" value="-1" info="Unspecified RTOS error: run-time error but no other error message fits."/>
494 <enum name="osErrorTimeout" value="-2" info="Operation not completed within the timeout period."/>
495 <enum name="osErrorResource" value="-3" info="Resource not available"/>
496 <enum name="osErrorParameter" value="-4" info="Parameter error"/>
497 <enum name="osErrorNoMemory" value="-5" info="System is out of memory: it was impossible to allocate or reserve memory for the operation"/>
498 <enum name="osErrorISR" value="-6" info="Not allowed in ISR context: the function cannot be called from interrupt service routines"/>
499 <enum name="osRtxErrorKernelNotReady" value="-7" info="RTOS Kernel scheduler is not ready"/>
500 <enum name="osRtxErrorKernelNotRunning" value="-8" info="RTOS Kernel scheduler is not running"/>
501 <enum name="osRtxErrorInvalidControlBlock" value="-9" info="Object control block is not properly aligned or has an invalid size"/>
502 <enum name="osRtxErrorInvalidDataMemory" value="-10" info="Data memory is not is not properly aligned or has an invalid size"/>
503 <enum name="osRtxErrorInvalidThreadStack" value="-11" info="Thread stack is invalid"/>
504 <enum name="osRtxErrorInvalidPriority" value="-12" info="Thread priority is invalid"/>
505 <enum name="osRtxErrorThreadNotJoinable" value="-13" info="Thread is not joinable"/>
506 <enum name="osRtxErrorMutexNotOwned" value="-14" info="Mutex is not owned by the current running thread"/>
507 <enum name="osRtxErrorMutexNotLocked" value="-15" info="Mutex is not locked"/>
508 <enum name="osRtxErrorMutexLockLimit" value="-16" info="Maximum number of recursive mutex locks reached"/>
509 <enum name="osRtxErrorSemaphoreCountLimit" value="-17" info="Semaphore count limit reached"/>
510 <enum name="osRtxErrorTZ_InitContext_S" value="-18" info=""/>
511 <enum name="osRtxErrorTZ_AllocContext_S" value="-19" info=""/>
512 <enum name="osRtxErrorTZ_FreeContext_S" value="-20" info=""/>
513 <enum name="osRtxErrorTZ_LoadContext_S" value="-21" info=""/>
514 <enum name="osRtxErrorTZ_SaveContext_S" value="-22" info=""/>
515 </member>
516
517 <member name="thread_state" type="int32_t" offset="0" info="RTX5 thread state">
518 <enum name="os_ThreadInactive" value="0x00" info=""/>
519 <enum name="os_ThreadReady" value="0x01" info=""/>
520 <enum name="os_ThreadRunning" value="0x02" info=""/>
521 <enum name="os_ThreadBlocked" value="0x03" info=""/>
522 <enum name="os_ThreadTerminated" value="0x04" info=""/>
523 <enum name="os_ThreadWaitingDelay" value="0x13" info=""/>
524 <enum name="os_ThreadWaitingJoin" value="0x23" info=""/>
525 <enum name="os_ThreadWaitingThreadFlags" value="0x33" info=""/>
526 <enum name="os_ThreadWaitingEventFlags" value="0x43" info=""/>
527 <enum name="os_ThreadWaitingMutex" value="0x53" info=""/>
528 <enum name="os_ThreadWaitingSemaphore" value="0x63" info=""/>
529 <enum name="os_ThreadWaitingMemoryPool" value="0x73" info=""/>
530 <enum name="os_ThreadWaitingMessageGet" value="0x83" info=""/>
531 <enum name="os_ThreadWaitingMessagePut" value="0x93" info=""/>
532 </member>
533 </typedef>
534
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200535 </typedefs>
536
537 <objects>
538 <object name="RTX RTOS Object">
539 <var name="i" type="uint32_t" value="0" />
540 <var name="j" type="uint32_t" value="0" />
541 <var name="k" type="uint32_t" value="0" />
Robert Rostoharb3c06362016-10-19 14:24:56 +0200542 <var name="n" type="uint32_t" value="0" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200543 <var name="sp" type="uint32_t" value="0" />
544 <var name="addr" type="uint32_t" value="0" />
545
Robert Rostohara6abe962016-11-29 15:57:42 +0100546 <var name="TCB_Rd" type="uint32_t" value="0" />
547 <var name="CCB_Rd" type="uint32_t" value="0" />
548 <var name="SCB_Rd" type="uint32_t" value="0" />
549 <var name="MCB_Rd" type="uint32_t" value="0" />
550 <var name="ECB_Rd" type="uint32_t" value="0" />
551 <var name="PCB_Rd" type="uint32_t" value="0" />
552 <var name="QCB_Rd" type="uint32_t" value="0" />
553
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100554 <var name="RTX_En" type="uint8_t" value="0" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200555 <var name="TCB_En" type="uint8_t" value="0" />
556 <var name="CCB_En" type="uint8_t" value="0" />
557 <var name="SCB_En" type="uint8_t" value="0" />
558 <var name="MCB_En" type="uint8_t" value="0" />
559 <var name="ECB_En" type="uint8_t" value="0" />
560 <var name="PCB_En" type="uint8_t" value="0" />
561 <var name="QCB_En" type="uint8_t" value="0" />
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100562
Robert Rostoharb3c06362016-10-19 14:24:56 +0200563 <var name="StaticMp_En" type="uint8_t" value="0" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200564
565 <!-- Read main OS information and configuration structures -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100566 <readlist name="os_Info" type="osRtxInfo_t" symbol="osRtxInfo" count="1" init="1"/>
567 <readlist name="os_Config" type="osRtxConfig_t" symbol="osRtxConfig" count="1" init="1"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200568
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100569 <calc cond="((os_Info.version / 10000000) == 5) &amp;&amp; (os_Info.kernel_state &gt; 0) &amp;&amp; (os_Info.kernel_state &lt; 5)">
570 RTX_En = 1;
571 </calc>
572
573 <calc cond="RTX_En &amp;&amp; (os_Config.mpi_thread || os_Config.mpi_timer || os_Config.mpi_event_flags || os_Config.mpi_mutex || os_Config.mpi_semaphore || os_Config.mpi_memory_pool || os_Config.mpi_message_queue)">
Robert Rostoharb3c06362016-10-19 14:24:56 +0200574 StaticMp_En = 1;
575 </calc>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100576
Robert Rostoharb3c06362016-10-19 14:24:56 +0200577 <var name="stack_check" type="uint8_t" value="(os_Config.flags >> 1) &amp; 1"/>
578 <var name="stack_wmark" type="uint8_t" value="(os_Config.flags >> 2) &amp; 1"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200579
580 <!-- Read ISR FIFO queue -->
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100581 <read name="ISR_FIFO" cond="RTX_En" type="uint32_t" offset="os_Config.isr_queue_data" size="os_Config.isr_queue_max"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200582
Robert Rostohara6abe962016-11-29 15:57:42 +0100583 <!-- Read control block sections info structure -->
584 <readlist name="cb_Sections" cond="__Symbol_exists (&quot;os_cb_sections&quot;)" type="rtx_sections_t" symbol="os_cb_sections" count="1" init="1"/>
585
586 <!-- Determine section sizes -->
587 <calc cond="RTX_En &amp;&amp; __Symbol_exists (&quot;os_cb_sections&quot;)">
588 TCB_Rd = cb_Sections.thread_cb_end - cb_Sections.thread_cb_start;
589 CCB_Rd = cb_Sections.timer_cb_end - cb_Sections.timer_cb_start;
590 ECB_Rd = cb_Sections.evflags_cb_end - cb_Sections.evflags_cb_start;
591 MCB_Rd = cb_Sections.mutex_cb_end - cb_Sections.mutex_cb_start;
592 SCB_Rd = cb_Sections.semaphore_cb_end - cb_Sections.semaphore_cb_start;
593 PCB_Rd = cb_Sections.mempool_cb_end - cb_Sections.mempool_cb_start;
594 QCB_Rd = cb_Sections.msgqueue_cb_end - cb_Sections.msgqueue_cb_start;
595 </calc>
596
597 <!-- Determine number of control blocks to read -->
598 <calc cond="TCB_Rd"> TCB_Rd /= 68; </calc>
599 <calc cond="CCB_Rd"> CCB_Rd /= 32; </calc>
600 <calc cond="ECB_Rd"> ECB_Rd /= 16; </calc>
601 <calc cond="MCB_Rd"> MCB_Rd /= 28; </calc>
602 <calc cond="SCB_Rd"> SCB_Rd /= 16; </calc>
603 <calc cond="PCB_Rd"> PCB_Rd /= 36; </calc>
604 <calc cond="QCB_Rd"> QCB_Rd /= 52; </calc>
605
606 <!-- Read object control blocks using sections info -->
607 <readlist name="TCB" cond="TCB_Rd" type="osRtxThread_t" offset="cb_Sections.thread_cb_start" count="TCB_Rd"/>
608 <readlist name="CCB" cond="CCB_Rd" type="osRtxTimer_t" offset="cb_Sections.timer_cb_start" count="CCB_Rd"/>
609 <readlist name="ECB" cond="ECB_Rd" type="osRtxEventFlags_t" offset="cb_Sections.evflags_cb_start" count="ECB_Rd"/>
610 <readlist name="MCB" cond="MCB_Rd" type="osRtxMutex_t" offset="cb_Sections.mutex_cb_start" count="MCB_Rd"/>
611 <readlist name="PCB" cond="PCB_Rd" type="osRtxMemoryPool_t" offset="cb_Sections.mempool_cb_start" count="PCB_Rd"/>
612 <readlist name="SCB" cond="SCB_Rd" type="osRtxSemaphore_t" offset="cb_Sections.semaphore_cb_start" count="SCB_Rd"/>
613 <readlist name="QCB" cond="QCB_Rd" type="osRtxMessageQueue_t" offset="cb_Sections.msgqueue_cb_start" count="QCB_Rd"/>
614
615 <!-- Read statically allocated control blocks -->
616 <readlist name="cfg_mp_thread" cond="os_Config.mpi_thread" type="osRtxMpInfo_t" offset="os_Config.mpi_thread" const="1" count="1" init="1"/>
617 <readlist name="cfg_mp_timer" cond="os_Config.mpi_timer" type="osRtxMpInfo_t" offset="os_Config.mpi_timer" const="1" count="1" init="1"/>
618 <readlist name="cfg_mp_events" cond="os_Config.mpi_event_flags" type="osRtxMpInfo_t" offset="os_Config.mpi_event_flags" const="1" count="1" init="1"/>
619 <readlist name="cfg_mp_mutex" cond="os_Config.mpi_mutex" type="osRtxMpInfo_t" offset="os_Config.mpi_mutex" const="1" count="1" init="1"/>
620 <readlist name="cfg_mp_semaphore" cond="os_Config.mpi_semaphore" type="osRtxMpInfo_t" offset="os_Config.mpi_semaphore" const="1" count="1" init="1"/>
621 <readlist name="cfg_mp_mpool" cond="os_Config.mpi_memory_pool" type="osRtxMpInfo_t" offset="os_Config.mpi_memory_pool" const="1" count="1" init="1"/>
622 <readlist name="cfg_mp_mqueue" cond="os_Config.mpi_message_queue" type="osRtxMpInfo_t" offset="os_Config.mpi_message_queue" const="1" count="1" init="1"/>
623
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200624 <!-- Read idle and timer thread control blocks -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100625 <readlist name="TCB" cond="RTX_En &amp;&amp; (TCB_Rd == 0) &amp;&amp; os_Info.thread_idle" type="osRtxThread_t" offset="os_Info.thread_idle" count="1" />
626 <readlist name="TCB" cond="RTX_En &amp;&amp; (TCB_Rd == 0) &amp;&amp; os_Info.timer_thread" type="osRtxThread_t" offset="os_Info.timer_thread" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200627
628 <!-- Read thread control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100629 <readlist name="mp_thread" cond="RTX_En &amp;&amp; (TCB_Rd == 0) &amp;&amp; os_Info.mpi_thread" type="osRtxMpInfo_t" offset="os_Info.mpi_thread" count="1" init="1"/>
630 <readlist name="TCB" cond="RTX_En &amp;&amp; (TCB_Rd == 0) &amp;&amp; os_Info.mpi_thread" type="osRtxThread_t" offset="mp_thread.block_base" count="mp_thread.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200631
632 <!-- Read timer control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100633 <readlist name="mp_timer" cond="RTX_En &amp;&amp; (CCB_Rd == 0) &amp;&amp; os_Info.mpi_timer" type="osRtxMpInfo_t" offset="os_Info.mpi_timer" count="1" init="1"/>
634 <readlist name="CCB" cond="RTX_En &amp;&amp; (CCB_Rd == 0) &amp;&amp; os_Info.mpi_timer" type="osRtxTimer_t" offset="mp_timer.block_base" count="mp_timer.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200635
636 <!-- Read event flags control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100637 <readlist name="mp_events" cond="RTX_En &amp;&amp; (ECB_Rd == 0) &amp;&amp; os_Info.mpi_event_flags" type="osRtxMpInfo_t" offset="os_Info.mpi_event_flags" count="1" init="1"/>
638 <readlist name="ECB" cond="RTX_En &amp;&amp; (ECB_Rd == 0) &amp;&amp; os_Info.mpi_event_flags" type="osRtxEventFlags_t" offset="mp_events.block_base" count="mp_events.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200639
640 <!-- Read mutex control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100641 <readlist name="mp_mutex" cond="RTX_En &amp;&amp; (MCB_Rd == 0) &amp;&amp; os_Info.mpi_mutex" type="osRtxMpInfo_t" offset="os_Info.mpi_mutex" count="1" init="1"/>
642 <readlist name="MCB" cond="RTX_En &amp;&amp; (MCB_Rd == 0) &amp;&amp; os_Info.mpi_mutex" type="osRtxMutex_t" offset="mp_mutex.block_base" count="mp_mutex.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200643
644 <!-- Read semaphore control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100645 <readlist name="mp_semaphore" cond="RTX_En &amp;&amp; (SCB_Rd == 0) &amp;&amp; os_Info.mpi_semaphore" type="osRtxMpInfo_t" offset="os_Info.mpi_semaphore" count="1" init="1"/>
646 <readlist name="SCB" cond="RTX_En &amp;&amp; (SCB_Rd == 0) &amp;&amp; os_Info.mpi_semaphore" type="osRtxSemaphore_t" offset="mp_semaphore.block_base" count="mp_semaphore.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200647
648 <!-- Read memory pool control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100649 <readlist name="mp_mpool" cond="RTX_En &amp;&amp; (PCB_Rd == 0) &amp;&amp; os_Info.mpi_memory_pool" type="osRtxMpInfo_t" offset="os_Info.mpi_memory_pool" count="1" init="1"/>
650 <readlist name="PCB" cond="RTX_En &amp;&amp; (PCB_Rd == 0) &amp;&amp; os_Info.mpi_memory_pool" type="osRtxMemoryPool_t" offset="mp_mpool.block_base" count="mp_mpool.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200651
652 <!-- Read message queue control blocks (MPI) -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100653 <readlist name="mp_mqueue" cond="RTX_En &amp;&amp; (QCB_Rd == 0) &amp;&amp; os_Info.mpi_message_queue" type="osRtxMpInfo_t" offset="os_Info.mpi_message_queue" count="1" init="1"/>
654 <readlist name="QCB" cond="RTX_En &amp;&amp; (QCB_Rd == 0) &amp;&amp; os_Info.mpi_message_queue" type="osRtxMessageQueue_t" offset="mp_mqueue.block_base" count="mp_mqueue.max_blocks" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200655
Robert Rostoharb3c06362016-10-19 14:24:56 +0200656 <!-- Read common memory pool block info (MEM) -->
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100657 <readlist name="mem_bl" cond="RTX_En &amp;&amp; os_Info.mem_common" type="mem_block_t" offset="os_Info.mem_common + 8" next="next"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200658
Robert Rostoharb3c06362016-10-19 14:24:56 +0200659 <list cond="mem_bl._count > 1" name="i" start="0" limit="mem_bl._count-1">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200660 <calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200661 addr = mem_bl[i]._addr;
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200662 addr += 8;
663 </calc>
664
665 <!-- Read Thread Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100666 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 1)" name="TCB" type="osRtxThread_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200667
668 <!-- Read Timer Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100669 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 2)" name="CCB" type="osRtxTimer_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200670
671 <!-- Read EventFlags Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100672 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 3)" name="ECB" type="osRtxEventFlags_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200673
674 <!-- Read Mutex Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100675 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 4)" name="MCB" type="osRtxMutex_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200676
677 <!-- Read Semaphore Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100678 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 5)" name="SCB" type="osRtxSemaphore_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200679
680 <!-- Read MemoryPool Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100681 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 6)" name="PCB" type="osRtxMemoryPool_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200682
683 <!-- Read MessageQueue Control Block -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100684 <readlist cond="(mem_bl[i].len &amp; 1) &amp;&amp; (mem_bl[i].id == 8)" name="QCB" type="osRtxMessageQueue_t" offset="addr" count="1" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200685 </list>
686
Robert Rostoharb3c06362016-10-19 14:24:56 +0200687 <!-- Read thread wait list -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100688 <readlist name="TWL" cond="RTX_En &amp;&amp; os_Info.thread_wait_list" type="osRtxThread_t" offset="os_Info.thread_wait_list" next="delay_next"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200689
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200690 <!-- Validate and process Thread control blocks -->
691 <list name="i" start="0" limit="TCB._count">
692 <calc>
693 TCB[i].cb_valid = (TCB[i].id == 1) &amp;&amp; (TCB[i].state != 0) &amp;&amp; (TCB[i].sp != 0);
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200694 </calc>
695
696 <!-- Determine stack usage -->
697 <calc cond="TCB[i].sp != 0">
698 TCB[i].stack_val = __CalcMemUsed (TCB[i].stack_mem, TCB[i].stack_size, 0xCCCCCCCC, 0xE25A2EA5);
699 TCB[i].stack_over = TCB[i].stack_val >> 31;
700 TCB[i].stack_maxb = TCB[i].stack_over ? TCB[i].stack_size : TCB[i].stack_val &amp; 0xFFFFF;
701 TCB[i].stack_maxp = TCB[i].stack_over ? 100 : (TCB[i].stack_val >> 20) &amp; 0x1FF;
702 </calc>
703
704 <!-- Stack pointer for running thread -->
705 <calc cond="TCB[i].state == 2">
706 sp = __GetRegVal ("PSP");
707 </calc>
708
709 <!-- Stack pointer for waiting thread -->
710 <calc cond="TCB[i].state != 2">
711 sp = TCB[i].sp;
712 </calc>
713
714 <!-- Determine current stack usage -->
715 <calc cond="TCB[i].sp != 0">
Robert Rostoharb3c06362016-10-19 14:24:56 +0200716 TCB[i].stack_curb = TCB[i].stack_mem + TCB[i].stack_size;
717 TCB[i].stack_curb -= sp;
718 TCB[i].stack_curp = TCB[i].stack_curb;
719 TCB[i].stack_curp *= 100;
720 TCB[i].stack_curp /= TCB[i].stack_size;
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200721 </calc>
722
723 <calc>
724 TCB[i].ex_delay = TCB[i].delay;
725 </calc>
726
727 <!-- Create Thread Delay List (TDL) -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100728 <readlist cond="TCB[i].delay != -1" name="TDL" type="osRtxThread_t" offset="TCB[i].delay_prev" next="delay_prev" init="1"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200729
Robert Rostoharb3c06362016-10-19 14:24:56 +0200730 <list cond="TCB[i].delay != -1" name="j" start="0" limit="TDL._count">
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200731 <calc>
732 TCB[i].ex_delay += TDL[j].delay;
733 </calc>
734 </list>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200735
736 <!-- Read name string -->
Robert Rostohara6abe962016-11-29 15:57:42 +0100737 <calc cond="(TCB[i].name != 0)">
Robert Rostoharb3c06362016-10-19 14:24:56 +0200738 TCB[i].obj_name[0] = ',';
739 TCB[i].obj_name[1] = ' ';
740 </calc>
741 <list cond="TCB[i].name" name="n" start="0" limit="64">
742 <read name="ch0" type="uint8_t" offset="TCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100743
Robert Rostoharb3c06362016-10-19 14:24:56 +0200744 <calc>
745 TCB[i].obj_name[2+n] = ch0;
746 </calc>
747
748 <calc cond="ch0 == 0">
749 n = 64;
750 </calc>
751 </list>
752
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200753 </list>
754
755 <!-- Validate and process Timer control blocks -->
756 <list name="i" start="0" limit="CCB._count">
757 <calc>
758 CCB[i].cb_valid = (CCB[i].id == 2) &amp;&amp; (CCB[i].state != 0);
759 CCB[i].ex_tick = CCB[i].tick;
760 </calc>
761
762 <!-- Create Timer Execution List (TEL) -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100763 <readlist name="TEL" type="osRtxTimer_t" offset="CCB[i].prev" next="prev" init="1"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200764
765 <list name="j" start="0" limit="TEL._count">
766 <calc>
767 CCB[i].ex_tick += TEL[j].tick;
768 </calc>
769 </list>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200770
771 <!-- Read name string -->
772 <calc cond="CCB[i].name">
773 CCB[i].obj_name[0] = ',';
774 CCB[i].obj_name[1] = ' ';
775 </calc>
776 <list cond="CCB[i].name" name="n" start="0" limit="64">
777 <read name="ch1" type="uint8_t" offset="CCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100778
Robert Rostoharb3c06362016-10-19 14:24:56 +0200779 <calc>
780 CCB[i].obj_name[2+n] = ch1;
781 </calc>
782
783 <calc cond="ch1 == 0">
784 n = 64;
785 </calc>
786 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200787 </list>
788
789 <!-- Validate and process EventFlags control blocks -->
790 <calc> k = 0; </calc>
791
792 <list name="i" start="0" limit="ECB._count">
793 <calc>
794 ECB[i].cb_valid = (ECB[i].id == 3) &amp;&amp; (ECB[i].state == 1);
795 ECB[i].wl_idx = k;
796 </calc>
797
798 <!-- Create a list of threads waiting for event flags -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100799 <readlist name="EWL" type="osRtxThread_t" offset="ECB[i].thread_list" next="thread_next" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200800
801 <calc>
802 ECB[i].wl_cnt = (EWL._count - k);
803 k = EWL._count;
804 </calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200805
806 <!-- Read name string -->
807 <calc cond="ECB[i].name">
808 ECB[i].obj_name[0] = ',';
809 ECB[i].obj_name[1] = ' ';
810 </calc>
811 <list cond="ECB[i].name" name="n" start="0" limit="64">
812 <read name="ch2" type="uint8_t" offset="ECB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100813
Robert Rostoharb3c06362016-10-19 14:24:56 +0200814 <calc>
815 ECB[i].obj_name[2+n] = ch2;
816 </calc>
817
818 <calc cond="ch2 == 0">
819 n = 64;
820 </calc>
821 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200822 </list>
823
824 <!-- Validate and process Mutex control blocks -->
825 <calc> k = 0; </calc>
826
827 <list cond="MCB._count" name="i" start="0" limit="MCB._count">
828 <calc>
829 MCB[i].cb_valid = (MCB[i].id == 4) &amp;&amp; (MCB[i].state == 1);
830 MCB[i].wl_idx = k;
831 </calc>
832
833 <!-- Create a list of threads waiting for mutex -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100834 <readlist name="MWL" type="osRtxThread_t" offset="MCB[i].thread_list" next="thread_next" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200835
836 <calc>
837 MCB[i].wl_cnt = (MWL._count - k);
838 k = MWL._count;
839 </calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200840
841 <!-- Read name string -->
842 <calc cond="MCB[i].name">
843 MCB[i].obj_name[0] = ',';
844 MCB[i].obj_name[1] = ' ';
845 </calc>
846 <list cond="MCB[i].name" name="n" start="0" limit="64">
847 <read name="ch3" type="uint8_t" offset="MCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100848
Robert Rostoharb3c06362016-10-19 14:24:56 +0200849 <calc>
850 MCB[i].obj_name[2+n] = ch3;
851 </calc>
852
853 <calc cond="ch3 == 0">
854 n = 64;
855 </calc>
856 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200857 </list>
858
859
860 <!-- Validate and process semaphore control blocks -->
861 <calc> k = 0; </calc>
862
863 <list cond="SCB._count" name="i" start="0" limit="SCB._count">
864 <calc>
865 SCB[i].cb_valid = (SCB[i].id == 5) &amp;&amp; (SCB[i].state == 1);
866 SCB[i].wl_idx = k;
867 </calc>
868
869 <!-- Create a list of threads waiting for semaphore -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100870 <readlist name="SWL" type="osRtxThread_t" offset="SCB[i].thread_list" next="thread_next" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200871
872 <calc>
873 SCB[i].wl_cnt = (SWL._count - k);
874 k = SWL._count;
875 </calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200876
877 <!-- Read name string -->
878 <calc cond="SCB[i].name">
879 SCB[i].obj_name[0] = ',';
880 SCB[i].obj_name[1] = ' ';
881 </calc>
882 <list cond="SCB[i].name" name="n" start="0" limit="64">
883 <read name="ch4" type="uint8_t" offset="SCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100884
Robert Rostoharb3c06362016-10-19 14:24:56 +0200885 <calc>
886 SCB[i].obj_name[2+n] = ch4;
887 </calc>
888
889 <calc cond="ch4 == 0">
890 n = 64;
891 </calc>
892 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200893 </list>
894
895 <!-- Validate and process MemoryPool control blocks -->
896 <calc> k = 0; </calc>
897
898 <list cond="PCB._count" name="i" start="0" limit="PCB._count">
899 <calc>
900 PCB[i].cb_valid = (PCB[i].id == 6) &amp;&amp; (PCB[i].state == 1);
901 PCB[i].wl_idx = k;
902 </calc>
903
904 <!-- Create a list of threads waiting for memory pool -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100905 <readlist name="PWL" type="osRtxThread_t" offset="PCB[i].thread_list" next="thread_next" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200906
907 <calc>
908 PCB[i].wl_cnt = (PWL._count - k);
909 k = PWL._count;
910 </calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200911
912 <!-- Read name string -->
913 <calc cond="PCB[i].name">
914 PCB[i].obj_name[0] = ',';
915 PCB[i].obj_name[1] = ' ';
916 </calc>
917 <list cond="PCB[i].name" name="n" start="0" limit="64">
918 <read name="ch5" type="uint8_t" offset="PCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100919
Robert Rostoharb3c06362016-10-19 14:24:56 +0200920 <calc>
921 PCB[i].obj_name[2+n] = ch5;
922 </calc>
923
924 <calc cond="ch5 == 0">
925 n = 64;
926 </calc>
927 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200928 </list>
929
930
931 <!-- Validate and process MessageQueue control blocks -->
Robert Rostoharb3c06362016-10-19 14:24:56 +0200932 <calc> k = 0; j = 0; </calc>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200933
934 <list cond="QCB._count" name="i" start="0" limit="QCB._count">
935 <calc>
936 QCB[i].cb_valid = (QCB[i].id == 8) &amp;&amp; (QCB[i].state == 1);
937 QCB[i].wl_idx = k;
938 </calc>
939
940 <!-- Create a list of threads waiting for message queue -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100941 <readlist name="QWL" type="osRtxThread_t" offset="QCB[i].thread_list" next="thread_next" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200942
943 <calc>
944 QCB[i].wl_cnt = (QWL._count - k);
945 k = QWL._count;
946 </calc>
Robert Rostoharb3c06362016-10-19 14:24:56 +0200947
948 <!-- Read name string -->
949 <calc cond="QCB[i].name">
950 QCB[i].obj_name[0] = ',';
951 QCB[i].obj_name[1] = ' ';
952 </calc>
953 <list cond="QCB[i].name" name="n" start="0" limit="64">
954 <read name="ch6" type="uint8_t" offset="QCB[i].name + n"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100955
Robert Rostoharb3c06362016-10-19 14:24:56 +0200956 <calc>
957 QCB[i].obj_name[2+n] = ch6;
958 </calc>
959
960 <calc cond="ch6 == 0">
961 n = 64;
962 </calc>
963 </list>
Robert Rostohar4b6a2492016-11-09 13:34:23 +0100964
Robert Rostoharb3c06362016-10-19 14:24:56 +0200965 <!-- Create a list of enqueued messages -->
Robert Rostohar0667b182016-11-25 21:48:19 +0100966 <readlist name="QML" type="osRtxMessage_t" offset="QCB[i].msg_first" next="next" />
Robert Rostoharb3c06362016-10-19 14:24:56 +0200967
968 <calc>
969 QCB[i].ml_idx = j;
970 j = QML._count;
971 </calc>
972 </list>
973
974 <!-- Determine the addresses of enqueued messages -->
975 <list cond="QML._count" name="i" start="0" limit="QML._count">
976 <calc>
977 QML[i].addr = QML[i]._addr;
978 QML[i].addr += 12;
979 </calc>
Matthias Hertelb73eaf32016-07-22 15:18:56 +0200980 </list>
981
982 <!-- Determine what to display -->
983 <list cond="TCB._count" name="i" start="0" limit="TCB._count">
984 <calc>TCB_En += TCB[i].cb_valid; </calc>
985 </list>
986 <list cond="CCB._count" name="i" start="0" limit="CCB._count">
987 <calc>CCB_En += CCB[i].cb_valid; </calc>
988 </list>
989 <list cond="SCB._count" name="i" start="0" limit="SCB._count">
990 <calc>SCB_En += SCB[i].cb_valid; </calc>
991 </list>
992 <list cond="MCB._count" name="i" start="0" limit="MCB._count">
993 <calc>MCB_En += MCB[i].cb_valid; </calc>
994 </list>
995 <list cond="ECB._count" name="i" start="0" limit="ECB._count">
996 <calc>ECB_En += ECB[i].cb_valid; </calc>
997 </list>
998 <list cond="PCB._count" name="i" start="0" limit="PCB._count">
999 <calc>PCB_En += PCB[i].cb_valid; </calc>
1000 </list>
1001 <list cond="QCB._count" name="i" start="0" limit="QCB._count">
1002 <calc>QCB_En += QCB[i].cb_valid; </calc>
1003 </list>
1004
1005 <out name="RTX RTOS">
1006 <!-- System -->
1007 <item property="System" value="">
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001008 <item property="Kernel State" value="osKernelInactive" cond="RTX_En == 0"/>
1009 <item property="Kernel State" value="%E[os_Info.kernel_state]" cond="RTX_En != 0"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +02001010 <item property="Kernel Tick Frequency" value="%d[os_Config.tick_freq]" />
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001011 <item property="Round Robin" value="Disabled" cond="os_Config.robin_timeout == 0" />
1012 <item property="Round Robin Tick" value="%d[os_Info.thread_robin_tick]" cond="(os_Config.robin_timeout > 0) &amp;&amp; (RTX_En != 0)" />
1013 <item property="Round Robin Timeout" value="%d[os_Config.robin_timeout]" cond="os_Config.robin_timeout > 0" />
1014 <item property="Global Dynamic Memory size" value="%d[os_Config.mem_common_size]" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001015 <item property="Stack Overrun Check" value="%t[stack_check ? &quot;Enabled&quot; : &quot;Disabled&quot;]" />
1016 <item property="Stack Usage Watermark" value="%t[stack_wmark ? &quot;Enabled&quot; : &quot;Disabled&quot;]" />
1017 <item property="Default Thread Stack Size" value="%d[os_Config.thread_stack_size]" />
1018
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001019 <item property="ISR FIFO Queue" value="Size: %d[os_Info.isr_queue_max], Used: %d[os_Info.isr_queue_cnt]" cond="RTX_En">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001020 <list name="i" start="0" limit="os_Info.isr_queue_cnt">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001021 <item property="data[%d[i]]" value="%x[ISR_FIFO[i]]" />
1022 </list>
1023 </item>
Robert Rostoharb3c06362016-10-19 14:24:56 +02001024
Robert Rostohar4c2b9442016-10-20 11:08:26 +02001025 <item property="Object specific Memory allocation" cond="StaticMp_En">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001026 <item property="Thread objects" value="Used: %d[cfg_mp_thread.used_blocks], Max: %d[cfg_mp_thread.max_blocks]" cond="os_Config.mpi_thread" />
1027 <item property="Timer objects" value="Used: %d[cfg_mp_timer.used_blocks], Max: %d[cfg_mp_timer.max_blocks]" cond="os_Config.mpi_timer" />
1028 <item property="Event Flags objects" value="Used: %d[cfg_mp_events.used_blocks], Max: %d[cfg_mp_events.max_blocks]" cond="os_Config.mpi_event_flags" />
1029 <item property="Mutex objects" value="Used: %d[cfg_mp_mutex.used_blocks], Max: %d[cfg_mp_mutex.max_blocks]" cond="os_Config.mpi_mutex" />
1030 <item property="Semaphore objects" value="Used: %d[cfg_mp_semaphore.used_blocks], Max: %d[cfg_mp_semaphore.max_blocks]" cond="os_Config.mpi_semaphore" />
1031 <item property="Memory Pool objects" value="Used: %d[cfg_mp_mpool.used_blocks], Max: %d[cfg_mp_mpool.max_blocks]" cond="os_Config.mpi_memory_pool" />
1032 <item property="Message Queue objects" value="Used: %d[cfg_mp_mqueue.used_blocks], Max: %d[cfg_mp_mqueue.max_blocks]" cond="os_Config.mpi_message_queue" />
1033 </item>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001034 </item>
1035
1036 <!-- Threads -->
1037 <item cond="TCB_En" property="Threads" value="">
1038 <list name="i" start="0" limit="TCB._count">
Robert Rostohara6abe962016-11-29 15:57:42 +01001039 <item cond="TCB[i].cb_valid &amp;&amp; (TCB[i].name != 0)" property="id: %x[TCB[i]._addr]%t[TCB[i].obj_name]" value="%E[TCB[i].state &amp; 0x07], %E[TCB[i].priority]">
1040 <item property="State" value="%E[TCB[i].state &amp; 0x07]"/>
1041 <item property="Priority" value="%E[TCB[i].priority]"/>
1042 <item property="Attributes" value="%E[TCB[i].attr &amp; 0x01]"/>
1043
1044 <item property="Waiting" value="%E[TCB[i].state], Timeout: osWaitForever" cond="((TCB[i].state &amp; 0x07) == 3) &amp;&amp; (TCB[i].ex_delay == -1)">
1045 <!-- Wait Thread Flags -->
1046 <item cond="TCB[i].state == 0x33" property="id: %x[TCB[i].thread_prev]" value=""/>
1047
1048 <list cond="TCB[i].state == 0x43" name="n" start="0" limit="ECB._count">
1049 <!-- Wait Event Flags -->
1050 <item cond="TCB[i].thread_prev == ECB[n]._addr" property="id: %x[ECB[n]._addr]%t[ECB[n].obj_name]" value=""/>
1051 </list>
1052
1053 <list cond="TCB[i].state == 0x53" name="n" start="0" limit="MCB._count">
1054 <!-- Wait Mutex -->
1055 <item cond="TCB[i].thread_prev == MCB[n]._addr" property="id: %x[MCB[n]._addr]%t[MCB[n].obj_name]" value=""/>
1056 </list>
1057
1058 <list cond="TCB[i].state == 0x63" name="n" start="0" limit="SCB._count">
1059 <!-- Wait Semaphore -->
1060 <item cond="TCB[i].thread_prev == SCB[n]._addr" property="id: %x[SCB[n]._addr]%t[SCB[n].obj_name]" value=""/>
1061 </list>
1062
1063 <list cond="TCB[i].state == 0x73" name="n" start="0" limit="PCB._count">
1064 <!-- Wait Memory Pool -->
1065 <item cond="TCB[i].thread_prev == PCB[n]._addr" property="id: %x[PCB[n]._addr]%t[PCB[n].obj_name]" value=""/>
1066 </list>
1067
1068 <list cond="(TCB[i].state == 0x83) || (TCB[i].state == 0x84)" name="n" start="0" limit="QCB._count">
1069 <!-- Wait Message Queue -->
1070 <item cond="TCB[i].thread_prev == QCB[n]._addr" property="id: %x[QCB[n]._addr]%t[QCB[n].obj_name]" value=""/>
1071 </list>
1072 </item>
1073
1074 <item property="Waiting" value="%E[TCB[i].state], Timeout: %d[TCB[i].ex_delay]" cond="((TCB[i].state &amp; 0x07) == 3) &amp;&amp; (TCB[i].ex_delay != -1)">
1075 <!-- Wait Thread Flags -->
1076 <item cond="TCB[i].state == 0x33" property="id: %x[TCB[i].thread_prev]" value=""/>
1077
1078 <list cond="TCB[i].state == 0x43" name="n" start="0" limit="ECB._count">
1079 <!-- Wait Event Flags -->
1080 <item cond="TCB[i].thread_prev == ECB[n]._addr" property="id: %x[ECB[n]._addr]%t[ECB[n].obj_name]" value=""/>
1081 </list>
1082
1083 <list cond="TCB[i].state == 0x53" name="n" start="0" limit="MCB._count">
1084 <!-- Wait Mutex -->
1085 <item cond="TCB[i].thread_prev == MCB[n]._addr" property="id: %x[MCB[n]._addr]%t[MCB[n].obj_name]" value=""/>
1086 </list>
1087
1088 <list cond="TCB[i].state == 0x63" name="n" start="0" limit="SCB._count">
1089 <!-- Wait Semaphore -->
1090 <item cond="TCB[i].thread_prev == SCB[n]._addr" property="id: %x[SCB[n]._addr]%t[SCB[n].obj_name]" value=""/>
1091 </list>
1092
1093 <list cond="TCB[i].state == 0x73" name="n" start="0" limit="PCB._count">
1094 <!-- Wait Memory Pool -->
1095 <item cond="TCB[i].thread_prev == PCB[n]._addr" property="id: %x[PCB[n]._addr]%t[PCB[n].obj_name]" value=""/>
1096 </list>
1097
1098 <list cond="(TCB[i].state == 0x83) || (TCB[i].state == 0x84)" name="n" start="0" limit="QCB._count">
1099 <!-- Wait Message Queue -->
1100 <item cond="TCB[i].thread_prev == QCB[n]._addr" property="id: %x[QCB[n]._addr]%t[QCB[n].obj_name]" value=""/>
1101 </list>
1102 </item>
1103
1104 <item property="Stack" value="Used: %d[TCB[i].stack_curp]%% [%d[TCB[i].stack_curb]], Max: %d[TCB[i].stack_maxp]%% [%d[TCB[i].stack_maxb]]" cond="stack_wmark != 0">
1105 <item property="Used" value="%d[TCB[i].stack_curb]"/>
1106 <item property="Max" value="%d[TCB[i].stack_maxb]"/>
1107 <item property="Top" value="%x[TCB[i].stack_mem + TCB[i].stack_size]"/>
1108 <item property="Limit" value="%x[TCB[i].stack_mem]"/>
1109 <item property="Size" value="%d[TCB[i].stack_size]"/>
1110 </item>
1111
1112 <item property="Stack" value="Used: %d[TCB[i].stack_curp]%% [%d[TCB[i].stack_curb]]" cond="stack_wmark == 0">
1113 <item property="Used" value="%d[TCB[i].stack_curb]"/>
1114 <item property="Top" value="%x[TCB[i].stack_mem + TCB[i].stack_size]"/>
1115 <item property="Limit" value="%x[TCB[i].stack_mem]"/>
1116 <item property="Size" value="%d[TCB[i].stack_size]"/>
1117 </item>
1118
1119 <item property="Stack Overrun" value="Overrun detected" cond="TCB[i].stack_over != 0"/>
1120 <item property="Flags" value="%x[TCB[i].thread_flags]"/>
1121 <item property="Wait Flags" value="%x[TCB[i].wait_flags], %E[TCB[i].flags_options &amp; 1]" cond="(TCB[i].wait_flags != 0) &amp;&amp; ((TCB[i].flags_options &amp; 2) == 0)"/>
1122 <item property="Wait Flags" value="%x[TCB[i].wait_flags], %E[TCB[i].flags_options &amp; 1], osFlagsAutoClear" cond="(TCB[i].wait_flags != 0) &amp;&amp; ((TCB[i].flags_options &amp; 2) != 0)"/>
1123 <item property="TrustZone ID" value="%d[TCB[i].tz_memory]" cond="TCB[i].tz_memory"/>
1124 </item>
1125
1126 <item cond="TCB[i].cb_valid &amp;&amp; (TCB[i].name == 0)" property="id: %x[TCB[i]._addr], %S[TCB[i].thread_addr]" value="%E[TCB[i].state &amp; 0x07], %E[TCB[i].priority]">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001127 <item property="State" value="%E[TCB[i].state &amp; 0x07]"/>
1128 <item property="Priority" value="%E[TCB[i].priority]"/>
1129 <item property="Attributes" value="%E[TCB[i].attr &amp; 0x01]"/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001130
Robert Rostoharb3c06362016-10-19 14:24:56 +02001131 <item property="Waiting" value="%E[TCB[i].state], Timeout: osWaitForever" cond="((TCB[i].state &amp; 0x07) == 3) &amp;&amp; (TCB[i].ex_delay == -1)">
1132 <!-- Wait Thread Flags -->
1133 <item cond="TCB[i].state == 0x33" property="id: %x[TCB[i].thread_prev]" value=""/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001134
Robert Rostoharb3c06362016-10-19 14:24:56 +02001135 <list cond="TCB[i].state == 0x43" name="n" start="0" limit="ECB._count">
1136 <!-- Wait Event Flags -->
1137 <item cond="TCB[i].thread_prev == ECB[n]._addr" property="id: %x[ECB[n]._addr]%t[ECB[n].obj_name]" value=""/>
1138 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001139
Robert Rostoharb3c06362016-10-19 14:24:56 +02001140 <list cond="TCB[i].state == 0x53" name="n" start="0" limit="MCB._count">
1141 <!-- Wait Mutex -->
1142 <item cond="TCB[i].thread_prev == MCB[n]._addr" property="id: %x[MCB[n]._addr]%t[MCB[n].obj_name]" value=""/>
1143 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001144
Robert Rostoharb3c06362016-10-19 14:24:56 +02001145 <list cond="TCB[i].state == 0x63" name="n" start="0" limit="SCB._count">
1146 <!-- Wait Semaphore -->
1147 <item cond="TCB[i].thread_prev == SCB[n]._addr" property="id: %x[SCB[n]._addr]%t[SCB[n].obj_name]" value=""/>
1148 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001149
Robert Rostoharb3c06362016-10-19 14:24:56 +02001150 <list cond="TCB[i].state == 0x73" name="n" start="0" limit="PCB._count">
1151 <!-- Wait Memory Pool -->
1152 <item cond="TCB[i].thread_prev == PCB[n]._addr" property="id: %x[PCB[n]._addr]%t[PCB[n].obj_name]" value=""/>
1153 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001154
Robert Rostoharb3c06362016-10-19 14:24:56 +02001155 <list cond="(TCB[i].state == 0x83) || (TCB[i].state == 0x84)" name="n" start="0" limit="QCB._count">
1156 <!-- Wait Message Queue -->
1157 <item cond="TCB[i].thread_prev == QCB[n]._addr" property="id: %x[QCB[n]._addr]%t[QCB[n].obj_name]" value=""/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001158 </list>
Robert Rostoharb3c06362016-10-19 14:24:56 +02001159 </item>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001160
Robert Rostoharb3c06362016-10-19 14:24:56 +02001161 <item property="Waiting" value="%E[TCB[i].state], Timeout: %d[TCB[i].ex_delay]" cond="((TCB[i].state &amp; 0x07) == 3) &amp;&amp; (TCB[i].ex_delay != -1)">
1162 <!-- Wait Thread Flags -->
1163 <item cond="TCB[i].state == 0x33" property="id: %x[TCB[i].thread_prev]" value=""/>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001164
Robert Rostoharb3c06362016-10-19 14:24:56 +02001165 <list cond="TCB[i].state == 0x43" name="n" start="0" limit="ECB._count">
1166 <!-- Wait Event Flags -->
1167 <item cond="TCB[i].thread_prev == ECB[n]._addr" property="id: %x[ECB[n]._addr]%t[ECB[n].obj_name]" value=""/>
1168 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001169
Robert Rostoharb3c06362016-10-19 14:24:56 +02001170 <list cond="TCB[i].state == 0x53" name="n" start="0" limit="MCB._count">
1171 <!-- Wait Mutex -->
1172 <item cond="TCB[i].thread_prev == MCB[n]._addr" property="id: %x[MCB[n]._addr]%t[MCB[n].obj_name]" value=""/>
1173 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001174
Robert Rostoharb3c06362016-10-19 14:24:56 +02001175 <list cond="TCB[i].state == 0x63" name="n" start="0" limit="SCB._count">
1176 <!-- Wait Semaphore -->
1177 <item cond="TCB[i].thread_prev == SCB[n]._addr" property="id: %x[SCB[n]._addr]%t[SCB[n].obj_name]" value=""/>
1178 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001179
Robert Rostoharb3c06362016-10-19 14:24:56 +02001180 <list cond="TCB[i].state == 0x73" name="n" start="0" limit="PCB._count">
1181 <!-- Wait Memory Pool -->
1182 <item cond="TCB[i].thread_prev == PCB[n]._addr" property="id: %x[PCB[n]._addr]%t[PCB[n].obj_name]" value=""/>
1183 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001184
Robert Rostoharb3c06362016-10-19 14:24:56 +02001185 <list cond="(TCB[i].state == 0x83) || (TCB[i].state == 0x84)" name="n" start="0" limit="QCB._count">
1186 <!-- Wait Message Queue -->
1187 <item cond="TCB[i].thread_prev == QCB[n]._addr" property="id: %x[QCB[n]._addr]%t[QCB[n].obj_name]" value=""/>
1188 </list>
1189 </item>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001190
Robert Rostoharb3c06362016-10-19 14:24:56 +02001191 <item property="Stack" value="Used: %d[TCB[i].stack_curp]%% [%d[TCB[i].stack_curb]], Max: %d[TCB[i].stack_maxp]%% [%d[TCB[i].stack_maxb]]" cond="stack_wmark != 0">
1192 <item property="Used" value="%d[TCB[i].stack_curb]"/>
1193 <item property="Max" value="%d[TCB[i].stack_maxb]"/>
1194 <item property="Top" value="%x[TCB[i].stack_mem + TCB[i].stack_size]"/>
1195 <item property="Limit" value="%x[TCB[i].stack_mem]"/>
1196 <item property="Size" value="%d[TCB[i].stack_size]"/>
1197 </item>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001198
Robert Rostoharb3c06362016-10-19 14:24:56 +02001199 <item property="Stack" value="Used: %d[TCB[i].stack_curp]%% [%d[TCB[i].stack_curb]]" cond="stack_wmark == 0">
1200 <item property="Used" value="%d[TCB[i].stack_curb]"/>
1201 <item property="Top" value="%x[TCB[i].stack_mem + TCB[i].stack_size]"/>
1202 <item property="Limit" value="%x[TCB[i].stack_mem]"/>
1203 <item property="Size" value="%d[TCB[i].stack_size]"/>
1204 </item>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001205
Robert Rostoharb3c06362016-10-19 14:24:56 +02001206 <item property="Stack Overrun" value="Overrun detected" cond="TCB[i].stack_over != 0"/>
1207 <item property="Flags" value="%x[TCB[i].thread_flags]"/>
1208 <item property="Wait Flags" value="%x[TCB[i].wait_flags], %E[TCB[i].flags_options &amp; 1]" cond="(TCB[i].wait_flags != 0) &amp;&amp; ((TCB[i].flags_options &amp; 2) == 0)"/>
1209 <item property="Wait Flags" value="%x[TCB[i].wait_flags], %E[TCB[i].flags_options &amp; 1], osFlagsAutoClear" cond="(TCB[i].wait_flags != 0) &amp;&amp; ((TCB[i].flags_options &amp; 2) != 0)"/>
1210 <item property="TrustZone ID" value="%d[TCB[i].tz_memory]" cond="TCB[i].tz_memory"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001211 </item>
1212 </list>
1213 </item>
1214
1215 <!-- Timers -->
1216 <item cond="CCB_En" property="Timers" value="">
1217 <list name="i" start="0" limit="CCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001218 <item cond="CCB[i].cb_valid" property="id: %x[CCB[i]._addr]%t[CCB[i].obj_name]" value="%E[CCB[i].state], Tick: %d[CCB[i].ex_tick]">
1219 <item property="State" value="%E[CCB[i].state]" />
1220 <item property="Type" value="%E[CCB[i].type]" />
1221 <item property="Tick" value="%d[CCB[i].ex_tick]" />
1222 <item property="Load" value="%d[CCB[i].load]" />
1223 <item property="Callback" value="Func: %S[CCB[i].finfo_fp], Arg: %x[CCB[i].finfo_arg]" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001224 </item>
1225 </list>
1226 </item>
1227
1228 <!-- Semaphores -->
1229 <item cond="SCB_En" property="Semaphores" value="">
1230 <list name="i" start="0" limit="SCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001231 <item cond="SCB[i].cb_valid" property="id: %x[SCB[i]._addr]%t[SCB[i].obj_name]" value="Tokens: %d[SCB[i].tokens], Max: %d[SCB[i].max_tokens]">
1232 <item property="Tokens" value="%d[SCB[i].tokens]" />
1233 <item property="Max Tokens" value="%d[SCB[i].max_tokens]" />
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001234
1235 <!-- Waiting thread list -->
1236 <item cond="SCB[i].wl_cnt" property="Threads waiting (%d[SCB[i].wl_cnt])" value="">
1237
1238 <list name="j" start="SCB[i].wl_idx" limit="SCB[i].wl_idx + SCB[i].wl_cnt">
1239 <list name="k" start="0" limit="TCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001240 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: %d[TCB[k].ex_delay]" cond="(SWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay != -1)"/>
1241 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: osWaitForever" cond="(SWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay == -1)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001242 </list>
1243 </list>
1244
1245 </item>
1246 </item>
1247 </list>
1248 </item>
1249
1250 <!-- Mutexes -->
1251 <item cond="MCB_En" property="Mutexes" value="">
1252 <list name="i" start="0" limit="MCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001253 <item cond="MCB[i].cb_valid" property="id: %x[MCB[i]._addr]%t[MCB[i].obj_name]" value="Lock counter: %d[MCB[i].lock]">
Robert Rostohar4c2b9442016-10-20 11:08:26 +02001254 <item property="Lock counter" value="%x[MCB[i].lock]"/>
Robert Rostoharb3c06362016-10-19 14:24:56 +02001255 <item property="Attributes" value="%x[MCB[i].attr]">
1256 <item property="osMutexRecursive" value="%t[(MCB[i].attr &amp; 0x01) ? &quot;True&quot; : &quot;False&quot;]" />
1257 <item property="osMutexPrioInherit" value="%t[(MCB[i].attr &amp; 0x02) ? &quot;True&quot; : &quot;False&quot;]" />
1258 <item property="osMutexRobust" value="%t[(MCB[i].attr &amp; 0x08) ? &quot;True&quot; : &quot;False&quot;]" />
1259 </item>
1260
1261 <list cond="MCB[i].owner_thread" name="n" start="0" limit="TCB._count">
1262 <item cond="MCB[i].owner_thread == TCB[n]._addr" property="Owner thread" value="id: %x[TCB[n]._addr]%t[TCB[n].obj_name]"/>
1263 </list>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001264
1265 <!-- Waiting thread list -->
1266 <item cond="MCB[i].wl_cnt" property="Threads waiting (%d[MCB[i].wl_cnt])" value="">
1267
1268 <list name="j" start="MCB[i].wl_idx" limit="MCB[i].wl_idx + MCB[i].wl_cnt">
1269 <list name="k" start="0" limit="TCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001270 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: %d[TCB[k].ex_delay]" cond="(MWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay != -1)"/>
1271 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: osWaitForever" cond="(MWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay == -1)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001272 </list>
1273 </list>
1274
1275 </item>
1276 </item>
1277 </list>
1278 </item>
1279
1280 <!-- Event Flags -->
1281 <item cond="ECB_En" property="Event Flags" value="">
1282 <list name="i" start="0" limit="ECB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001283 <item cond="ECB[i].cb_valid" property="id: %x[ECB[i]._addr]%t[ECB[i].obj_name]" value="Flags: %x[ECB[i].event_flags]">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001284
1285 <!-- Waiting thread list -->
1286 <item cond="ECB[i].wl_cnt" property="Threads waiting (%d[ECB[i].wl_cnt])" value="">
1287
1288 <list name="j" start="ECB[i].wl_idx" limit="ECB[i].wl_idx + ECB[i].wl_cnt">
1289 <list name="k" start="0" limit="TCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001290 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: %d[TCB[k].ex_delay]" cond="(EWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay != -1)"/>
1291 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: osWaitForever" cond="(EWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay == -1)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001292 </list>
1293 </list>
1294
1295 </item>
1296 </item>
1297 </list>
1298 </item>
1299
1300 <!-- Memory Pool -->
Robert Rostohar4c2b9442016-10-20 11:08:26 +02001301 <item cond="PCB_En" property="Memory Pools" value="">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001302 <list name="i" start="0" limit="PCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001303 <item cond="PCB[i].cb_valid" property="id: %x[PCB[i]._addr]%t[PCB[i].obj_name]" value="Used: %d[PCB[i].used_blocks], Max: %d[PCB[i].max_blocks]">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001304
Robert Rostoharb3c06362016-10-19 14:24:56 +02001305 <item property="Used blocks" value="%d[PCB[i].used_blocks]"/>
1306 <item property="Max blocks" value="%d[PCB[i].max_blocks]"/>
1307 <item property="Block size" value="%d[PCB[i].block_size] bytes"/>
1308 <item property="Memory base address" value="%x[PCB[i].block_base]"/>
1309 <item property="Memory limit address" value="%x[PCB[i].block_lim]"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001310
1311 <!-- Waiting thread list -->
1312 <item cond="PCB[i].wl_cnt" property="Threads waiting (%d[PCB[i].wl_cnt])" value="">
1313
1314 <list name="j" start="PCB[i].wl_idx" limit="PCB[i].wl_idx + PCB[i].wl_cnt">
1315 <list name="k" start="0" limit="TCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001316 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: %d[TCB[k].ex_delay]" cond="(PWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay != -1)"/>
1317 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: osWaitForever" cond="(PWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay == -1)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001318 </list>
1319 </list>
1320
1321 </item>
1322 </item>
1323 </list>
1324 </item>
1325
1326 <!-- Message Queue -->
Robert Rostohar4c2b9442016-10-20 11:08:26 +02001327 <item cond="QCB_En" property="Message Queues" value="">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001328 <list name="i" start="0" limit="QCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001329 <item cond="QCB[i].cb_valid" property="id: %x[QCB[i]._addr]%t[QCB[i].obj_name]" value="Messages: %d[QCB[i].used_blocks], Max: %d[QCB[i].max_blocks]">
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001330
Robert Rostoharb3c06362016-10-19 14:24:56 +02001331 <item property="Messages" value="%d[QCB[i].msg_count]"/>
1332 <item property="Max Messages" value="%d[QCB[i].max_blocks]"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001333 <item property="Message size" value="Max: %d[QCB[i].msg_size] bytes"/>
1334
1335 <!-- Waiting thread list -->
1336 <item cond="QCB[i].wl_cnt" property="Threads waiting (%d[QCB[i].wl_cnt])" value="">
1337
1338 <list name="j" start="QCB[i].wl_idx" limit="QCB[i].wl_idx + QCB[i].wl_cnt">
1339 <list name="k" start="0" limit="TCB._count">
Robert Rostoharb3c06362016-10-19 14:24:56 +02001340 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: %d[TCB[k].ex_delay]" cond="(QWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay != -1)"/>
1341 <item property="id: %x[TCB[k]._addr]%t[TCB[k].obj_name]" value="Timeout: osWaitForever" cond="(QWL[j].stack_mem == TCB[k].stack_mem) &amp;&amp; (TCB[k].ex_delay == -1)"/>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001342 </list>
1343 </list>
1344
1345 </item>
Robert Rostoharb3c06362016-10-19 14:24:56 +02001346
1347 <!-- Queued messages list-->
1348 <item cond="QCB[i].msg_count" property="Queue (%d[QCB[i].msg_count])" value="">
1349
1350 <list name="j" start="0" limit="QCB[i].msg_count">
1351 <item property="Queue[%d[j]]" value="Address: %x[QML[j + QCB[i].ml_idx].addr], Priority: %d[QML[j].priority]" />
1352 </list>
1353
1354 </item>
Robert Rostohar4b6a2492016-11-09 13:34:23 +01001355
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001356 </item>
1357 </list>
1358 </item>
1359
1360 </out>
1361 </object>
1362 </objects>
Robert Rostohar0667b182016-11-25 21:48:19 +01001363
1364 <events>
1365
1366 <group name="RTX5 RTOS">
1367 <component name="Memory Events" brief="RTX Memory" no="0xF0" prefix="EvrRtx" info="RTX5 RTOS Memory Management Events" />
1368 <component name="Kernel Events" brief="RTX Kernel" no="0xF1" prefix="EvrRtx" info="RTX5 RTOS Kernel Events" />
1369 <component name="Thread Events" brief="RTX Thread" no="0xF2" prefix="EvrRtx" info="RTX5 RTOS Thread Events" />
1370 <component name="Timer Events" brief="RTX Timer" no="0xF3" prefix="EvrRtx" info="RTX5 RTOS Timer Events" />
1371 <component name="EventFlags Events" brief="RTX EvFlags" no="0xF4" prefix="EvrRtx" info="RTX5 RTOS EventFlags Events" />
1372 <component name="Mutex Events" brief="RTX Mutex" no="0xF5" prefix="EvrRtx" info="RTX5 RTOS Mutex Events" />
1373 <component name="Semaphore Events" brief="RTX Semaphore" no="0xF6" prefix="EvrRtx" info="RTX5 RTOS Semaphore Events" />
1374 <component name="MemoryPool Events" brief="RTX MemPool" no="0xF7" prefix="EvrRtx" info="RTX5 RTOS MemoryPool Events" />
1375 <component name="MessageQueue Events" brief="RTX MsgQueue" no="0xF8" prefix="EvrRtx" info="RTX5 RTOS MessageQueue Events" />
1376 </group>
1377
1378 <event id="0xF000 + 0x00" level="Op" property="MemoryInit" value="mem=%x[val1], size=%d[val2], result=%d[val3]" info=""/>
1379 <event id="0xF000 + 0x01" level="Op" property="MemoryAlloc" value="mem=%x[val1], size=%d[val2], type=%d[val3], block=%x[val4]" info=""/>
1380 <event id="0xF000 + 0x02" level="Op" property="MemoryFree" value="mem=%x[val1], block=%x[val2], result=%d[val3]" info=""/>
1381 <event id="0xF000 + 0x03" level="Op" property="MemoryBlockInit" value="mp_info=%x[val1], block_count=%d[val2], block_size=%d[val3], block_mem=%x[val4]" info=""/>
1382 <event id="0xF000 + 0x04" level="Op" property="MemoryBlockAlloc" value="mp_info=%x[val1], block=%x[val2]" info=""/>
1383 <event id="0xF000 + 0x05" level="Op" property="MemoryBlockFree" value="mp_info=%x[val1], block=%x[val2], status=%E[val3, rtx_t:status]" info=""/>
1384
1385 <event id="0xF100 + 0x00" level="Error" property="KernelError" value="status=%E[val1, rtx_t:status]" info="Kernel error occurred."/>
1386 <event id="0xF100 + 0x01" level="API" property="KernelInitialize" value="" info="osKernelInitialize function was called."/>
1387 <event id="0xF100 + 0x02" level="Op" property="KernelInitializeCompleted" value="" info="Kernel was initialized."/>
1388 <event id="0xF100 + 0x03" level="API" property="KernelGetInfo" value="version=%x[val1], id_buf=%x[val2], id_size=%d[val3]" info="osKernelGetInfo function was called."/>
1389 <event id="0xF100 + 0x04" level="Op" property="KernelInfoRetrieved" value="version=%x[val1], id_buf=%x[val2]" info="Kernel information was retrieved."/>
1390 <event id="0xF100 + 0x05" level="Detail" property="KernelInfoRetrieved" value="id_buf=%t[val1]" info="Kernel ID as ASCII string."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001391 <event id="0xF100 + 0x06" level="API" property="KernelGetState" value="state=%E[val1, osRtxInfo_t:kernel_state]" info="osKernelGetState function was called and state was retrieved."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001392 <event id="0xF100 + 0x07" level="API" property="KernelStart" value="" info="osKernelStart function was called."/>
1393 <event id="0xF100 + 0x08" level="Op" property="KernelStarted" value="" info="Kernel execution was started."/>
1394 <event id="0xF100 + 0x09" level="API" property="KernelLock" value="" info="osKernelLock function was called."/>
1395 <event id="0xF100 + 0x0A" level="Op" property="KernelLocked" value="lock=%d[val1]" info="Kernel was locked."/>
1396 <event id="0xF100 + 0x0B" level="API" property="KernelUnlock" value="" info="osKernelUnlock function was called."/>
1397 <event id="0xF100 + 0x0C" level="Op" property="KernelUnlocked" value="lock=%d[val1]" info="Kernel was unlocked."/>
1398 <event id="0xF100 + 0x0D" level="API" property="KernelRestoreLock" value="lock=%d[val1]" info="osKernelRestoreLock function was called."/>
1399 <event id="0xF100 + 0x0E" level="Op" property="KernelLockRestored" value="lock=%d[val1]" info="Kernel lock was restored."/>
1400 <event id="0xF100 + 0x0F" level="API" property="KernelSuspend" value="" info="osKernelSuspend function was called."/>
1401 <event id="0xF100 + 0x10" level="Op" property="KernelSuspended" value="sleep_ticks=%d[val1]" info="Kernel execution was suspended."/>
1402 <event id="0xF100 + 0x11" level="API" property="KernelResume" value="sleep_ticks=%d[val1]" info="osKernelResume function was called."/>
1403 <event id="0xF100 + 0x12" level="Op" property="KernelResumed" value="" info="Kernel execution was resumed."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001404 <event id="0xF100 + 0x13" level="API" property="KernelGetTickCount" value="count=%d[((uint64_t)val2 &lt;&lt; 32) | val1]" info="osKernelGetTickCount function was called."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001405 <event id="0xF100 + 0x14" level="API" property="KernelGetTickFreq" value="freq=%d[val1]" info="osKernelGetTickFreq function was called."/>
1406 <event id="0xF100 + 0x15" level="API" property="KernelGetSysTimerCount" value="count=%d[val1]" info="osKernelGetSysTimerCount function was called."/>
1407 <event id="0xF100 + 0x16" level="API" property="KernelGetSysTimerFreq" value="freq=%d[va1]" info="osKernelGetSysTimerFreq function was called."/>
1408
1409 <event id="0xF200 + 0x00" level="Error" property="ThreadError" value="thread_id=%x[val1], status=%E[val2, rtx_t:status]" info="Thread error occurred."/>
1410 <event id="0xF200 + 0x01" level="API" property="ThreadNew" value="func=%S[val1], argument=%x[val2], attr=%x[val3]" info="osThreadNew function was called."/>
1411 <event id="0xF200 + 0x02" level="Detail" property="ThreadNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size], stack_mem=%x[val1.stack_mem], stack_size=%d[val1.stack_size], priority=%E[val1.priority, osRtxThread_t:priority]" val1="osThreadAttr_t" info="Attributes structure for thread object."/>
1412 <event id="0xF200 + 0x03" level="Op" property="ThreadCreated" value="thread_id=%x[val1]" info="Thread object was created."/>
1413 <event id="0xF200 + 0x04" level="API" property="ThreadGetName" value="thread_id=%x[val1], name=%x[val2]" info="osThreadGetName function was called and object name was retrieved."/>
1414 <event id="0xF200 + 0x05" level="Detail" property="ThreadGetName" value="name=%t[val1]" info="Thread object name as ASCII string."/>
1415 <event id="0xF200 + 0x06" level="API" property="ThreadGetId" value="thread_id=%x[val1]" info="osThreadGetId function was called and current running thread id was retrieved."/>
1416 <event id="0xF200 + 0x07" level="API" property="ThreadGetState" value="thread_id=%x[val1], state=%E[val2, rtx_t:thread_state]" info="osThreadGetState function was called and thread state was retrieved."/>
1417 <event id="0xF200 + 0x08" level="API" property="ThreadGetStackSize" value="thread_id=%x[val1], stack_size=%d[val2]" info="osThreadGetStackSize function was called and thread stack size was retrieved."/>
1418 <event id="0xF200 + 0x09" level="API" property="ThreadGetStackSpace" value="thread_id=%x[val1], stack_space=%d[val2]" info="osThreadGetStackSpace function was called and thread stack space was retrieved."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001419 <event id="0xF200 + 0x0A" level="API" property="ThreadSetPriority" value="thread_id=%x[val1], priority=%E[val2, osRtxThread_t:priority]" info="osThreadSetPriority function was called."/>
1420 <event id="0xF200 + 0x0B" level="API" property="ThreadGetPriority" value="thread_id=%x[val1], priority=%E[val2, osRtxThread_t:priority]" info="osThreadGetPriority function was called and thread priority was retrieved."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001421 <event id="0xF200 + 0x0C" level="API" property="ThreadYield" value="" info="osThreadYield function was called."/>
1422 <event id="0xF200 + 0x0D" level="API" property="ThreadSuspend" value="thread_id=%x[val1]" info="osThreadSuspend function was called."/>
1423 <event id="0xF200 + 0x0E" level="Op" property="ThreadSuspended" value="thread_id=%x[val1]" info="Thread execution was suspended."/>
1424 <event id="0xF200 + 0x0F" level="API" property="ThreadResume" value="thread_id=%x[val1]" info="osThreadResume function was called."/>
1425 <event id="0xF200 + 0x10" level="Op" property="ThreadResumed" value="thread_id=%x[val1]" info="Thread execution was resumed."/>
1426 <event id="0xF200 + 0x11" level="API" property="ThreadDetach" value="thread_id=%x[val1]" info="osThreadDetach function was called."/>
1427 <event id="0xF200 + 0x12" level="Op" property="ThreadDetached" value="thread_id=%x[val1]" info="Thread was detached."/>
1428 <event id="0xF200 + 0x13" level="API" property="ThreadJoin" value="thread_id=%x[val1]" info="osThreadJoin function was called."/>
1429 <event id="0xF200 + 0x14" level="Op" property="ThreadJoinPending" value="thread_id=%x[val1]" info="Thread join is pending."/>
1430 <event id="0xF200 + 0x15" level="Op" property="ThreadJoined" value="thread_id=%x[val1]" info="Thread joined."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001431 <event id="0xF200 + 0x16" level="Op" property="ThreadBlocked" value="thread_id=%x[val1], timeout=%d[val2]" info="Current running thread execution was blocked."/>
1432 <event id="0xF200 + 0x17" level="Op" property="ThreadUnblocked" value="thread_id=%x[val1], ret_val=%E[val2, rtx_t:status]" info="Thread execution was unblocked."/>
1433 <event id="0xF200 + 0x18" level="Op" property="ThreadSwitch" value="thread_id=%x[val1]" info="Switched execution of the current running thread."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001434 <event id="0xF200 + 0x19" level="API" property="ThreadExit" value="" info="osThreadExit function was called."/>
1435 <event id="0xF200 + 0x1A" level="API" property="ThreadTerminate" value="thread_id=%x[val1]" info="osThreadTerminate function was called."/>
1436 <event id="0xF200 + 0x1B" level="Op" property="ThreadDestroyed" value="thread_id=%x[val1]" info="Thread execution was terminated."/>
1437 <event id="0xF200 + 0x1C" level="API" property="ThreadGetCount" value="count=%d[val1]" info="osThreadGetCount function was called and number of active threads was retrieved."/>
1438 <event id="0xF200 + 0x1D" level="API" property="ThreadEnumerate" value="thread_array=%x[val1], array_items=%d[val2], count=%d[val3]" info="osThreadEnumerate function was called and active threads were enumerated."/>
1439 <event id="0xF200 + 0x1E" level="API" property="ThreadFlagsSet" value="thread_id=%x[val1], flags=%x[val2]" info="osThreadFlagsSet function was called."/>
1440 <event id="0xF200 + 0x1F" level="Op" property="ThreadFlagsSetDone" value="thread_id=%x[val1], thread_flags=%x[val2]" info="Thread flags were set."/>
1441 <event id="0xF200 + 0x20" level="API" property="ThreadFlagsClear" value="flags=%x[val1]" info="osThreadFlagsClear function was called."/>
1442 <event id="0xF200 + 0x21" level="Op" property="ThreadFlagsClearDone" value="thread_flags=%x[val1]" info="Thread flags were cleared."/>
1443 <event id="0xF200 + 0x22" level="API" property="ThreadFlagsGet" value="thread_flags=%x[val1]" info="osThreadFlagsGet function was called and thread flags were retrieved."/>
1444 <event id="0xF200 + 0x23" level="API" property="ThreadFlagsWait" value="flags=%x[val1], options=%x[val2], timeout=%d[val3]" info="osThreadFlagsWait function was called."/>
1445 <event id="0xF200 + 0x24" level="Op" property="ThreadFlagsWaitPending" value="flags=%x[val1], options=%x[val2], timeout=%d[val3]" info="Waiting for thread flags to become signaled."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001446 <event id="0xF200 + 0x25" level="Op" property="ThreadFlagsWaitTimeout" value="" info="Waiting for thread flags timed out."/>
1447 <event id="0xF200 + 0x26" level="Op" property="ThreadFlagsWaitCompleted" value="flags=%x[val1], options=%x[val2], thread_flags=%x[val3]" info="Wait for thread flags completed."/>
1448 <event id="0xF200 + 0x27" level="Op" property="ThreadFlagsWaitNotCompleted" value="flags=%x[val1], options=%x[val2]" info="Wait for thread flags not completed."/>
Christopher Seidl334d7872016-12-02 16:18:12 +01001449 <event id="0xF200 + 0x28" level="API" property="ThreadDelay" value="ticks=%d[val1]" info="osDelay function was called."/>
1450 <event id="0xF200 + 0x29" level="API" property="ThreadDelayUntil" value="ticks=%d[((uint64_t)val2 &lt;&lt; 32) | val1]" info="osDelayUntil function was called."/>
1451 <event id="0xF200 + 0x2A" level="Op" property="ThreadDelayCompleted" value="" info="osDelay/osDelayUntil completed."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001452
1453 <event id="0xF300 + 0x00" level="Error" property="TimerError" value="timer_id=%x[val1], status=%E[val2, rtx_t:status]" info="Timer error occurred."/>
1454 <event id="0xF300 + 0x01" level="Op" property="TimerCallback" value="func=%S[val1], argument=%x[val2]" info="Timer callback function was called."/>
1455 <event id="0xF300 + 0x02" level="API" property="TimerNew" value="func=%S[val1], type=%E[val2, osRtxTimer_t:type], argument=%x[val3], attr=%x[val4]" info="osTimerNew function was called."/>
1456 <event id="0xF300 + 0x03" level="Detail" property="TimerNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size]" val1="osTimerAttr_t" info="Attributes structure for timer object."/>
1457 <event id="0xF300 + 0x04" level="Op" property="TimerCreated" value="timer_id=%x[val1]" info="Timer object was created."/>
1458 <event id="0xF300 + 0x05" level="API" property="TimerGetName" value="timer_id=%x[val1], name=%x[val2]" info="osTimerGetName function was called and object name was retrieved."/>
1459 <event id="0xF300 + 0x06" level="Detail" property="TimerGetName" value="name=%t[val1]" info="Timer object name as ASCII string."/>
1460 <event id="0xF300 + 0x07" level="API" property="TimerStart" value="timer_id=%x[val1], ticks=%d[val2]" info="osTimerStart function was called."/>
1461 <event id="0xF300 + 0x08" level="Op" property="TimerStarted" value="timer_id=%x[val1]" info="Timer execution was started."/>
1462 <event id="0xF300 + 0x09" level="API" property="TimerStop" value="timer_id=%x[val1]" info="osTimerStop function was called."/>
1463 <event id="0xF300 + 0x0A" level="Op" property="TimerStopped" value="timer_id=%x[val1]" info="Timer execution was stopped."/>
1464 <event id="0xF300 + 0x0B" level="API" property="TimerIsRunning" value="timer_id=%x[val1], running=%d[val2]" info="osTimerIsRunning function was called and timer running state was retrieved."/>
1465 <event id="0xF300 + 0x0C" level="API" property="TimerDelete" value="timer_id=%x[val1]" info="osTimerDelete function was called."/>
1466 <event id="0xF300 + 0x0D" level="Op" property="TimerDestroyed" value="timer_id=%x[val1]" info="Timer object was deleted."/>
1467
1468 <event id="0xF400 + 0x00" level="Error" property="EventFlagsError" value="ef_id=%x[val1], status=%E[val2, rtx_t:status]" info="Event flags error occurred."/>
1469 <event id="0xF400 + 0x01" level="API" property="EventFlagsNew" value="attr=%x[val1]" info="osEventFlagsNew function was called."/>
1470 <event id="0xF400 + 0x02" level="Detail" property="EventFlagsNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size]" val1="osEventFlagsAttr_t" info="Attributes structure for event flags object."/>
1471 <event id="0xF400 + 0x03" level="Op" property="EventFlagsCreated" value="ef_id=%x[val1]" info="Event flags object was created."/>
1472 <event id="0xF400 + 0x04" level="API" property="EventFlagsGetName" value="ef_id=%x[val1], name=%x[val2]" info="osEventFlagsGetName function was called and object name was retrieved."/>
1473 <event id="0xF400 + 0x05" level="Detail" property="EventFlagsGetName" value="name=%t[val1]" info="Event flags object name as ASCII string."/>
1474 <event id="0xF400 + 0x06" level="API" property="EventFlagsSet" value="ef_id=%x[val1], flags=%x[val2]" info="osEventFlagsSet function was called."/>
1475 <event id="0xF400 + 0x07" level="Op" property="EventFlagsSetDone" value="ef_id=%x[val1], event_flags=%x[val2]" info="Event flags were set."/>
1476 <event id="0xF400 + 0x08" level="API" property="EventFlagsClear" value="ef_id=%x[val1], flags=%x[val2]" info="osEventFlagsClear function was called."/>
1477 <event id="0xF400 + 0x09" level="Op" property="EventFlagsClearDone" value="ef_id=%x[val1], event_flags=%x[val2]" info="Event flags were cleared."/>
1478 <event id="0xF400 + 0x0A" level="API" property="EventFlagsGet" value="ef_id=%x[val1], event_flags=%x[val2]" info="osEventFlagsGet function was called and current event flags were retrieved."/>
1479 <event id="0xF400 + 0x0B" level="API" property="EventFlagsWait" value="ef_id=%x[val1], flags=%x[val2], options=%x[val3], timeout=%d[val4]" info="osEventFlagsWait function was called."/>
1480 <event id="0xF400 + 0x0C" level="Op" property="EventFlagsWaitPending" value="ef_id=%x[val1], flags=%x[val2], options=%x[val3], timeout=%d[val4]" info="Event flags wait is pending."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001481 <event id="0xF400 + 0x0D" level="Op" property="EventFlagsWaitTimeout" value="ef_id=%x[val1]" info="Event flags wait timed out."/>
1482 <event id="0xF400 + 0x0E" level="Op" property="EventFlagsWaitCompleted" value="ef_id=%x[val1], flags=%x[val2], options=%x[val3], event_flags=%x[val4]" info="Event flags wait completed."/>
1483 <event id="0xF400 + 0x0F" level="Op" property="EventFlagsWaitNotCompleted" value="ef_id=%x[val1], flags=%x[val2], options=%x[val3]" info="Event flags wait not completed."/>
1484 <event id="0xF400 + 0x10" level="API" property="EventFlagsDelete" value="ef_id=%x[val1]" info="osEventFlagsDelete function was called."/>
1485 <event id="0xF400 + 0x11" level="Op" property="EventFlagsDestroyed" value="ef_id=%x[val1]" info="Event flags object was deleted."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001486
1487 <event id="0xF500 + 0x00" level="Error" property="MutexError" value="mutex_id=%x[val1], status=%E[val2, rtx_t:status]" info="Mutex error occurred."/>
1488 <event id="0xF500 + 0x01" level="API" property="MutexNew" value="attr=%x[val1]" info="osMutexNew function was called"/>
1489 <event id="0xF500 + 0x02" level="Detail" property="MutexNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size]" val1="osMutexAttr_t" info="Attributes structure for mutex object."/>
1490 <event id="0xF500 + 0x03" level="Op" property="MutexCreated" value="mutex_id=%x[val1]" info="Mutex object was created"/>
1491 <event id="0xF500 + 0x04" level="API" property="MutexGetName" value="mutex_id=%x[val1], name=%x[val2]" info="osMutexGetName function was called and object name was retrieved."/>
1492 <event id="0xF500 + 0x05" level="Detail" property="MutexGetName" value="name=%t[val1]" info="Mutex object name as ASCII string."/>
1493 <event id="0xF500 + 0x06" level="API" property="MutexAcquire" value="mutex_id=%x[val1], timeout=%d[val2]" info="osMutexAcquire function was called."/>
1494 <event id="0xF500 + 0x07" level="Op" property="MutexAcquirePending" value="mutex_id=%x[val1], timeout=%d[val2]" info="Mutex object acquire is pending."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001495 <event id="0xF500 + 0x08" level="Op" property="MutexAcquireTimeout" value="mutex_id=%x[val1]" info="Mutex object acquire timed out."/>
1496 <event id="0xF500 + 0x09" level="Op" property="MutexAcquired" value="mutex_id=%x[val1], lock=%d[val2]" info="Mutex object was acquired."/>
1497 <event id="0xF500 + 0x0A" level="Op" property="MutexNotAcquired" value="mutex_id=%x[val1]" info="Mutex object was not acquired."/>
1498 <event id="0xF500 + 0x0B" level="API" property="MutexRelease" value="mutex_id=%x[val1]" info="osMutexRelease function was called."/>
1499 <event id="0xF500 + 0x0C" level="Op" property="MutexReleased" value="mutex_id=%x[val1], lock=%d[val2]" info="Mutex object was released."/>
1500 <event id="0xF500 + 0x0D" level="API" property="MutexGetOwner" value="mutex_id=%x[val1], thread_id=%x[val2]" info="osMutexGetOwner function was called and mutex owner thread was retrieved."/>
1501 <event id="0xF500 + 0x0E" level="API" property="MutexDelete" value="mutex_id=%x[val1]" info="osMutexDelete function was called."/>
1502 <event id="0xF500 + 0x0F" level="Op" property="MutexDestroyed" value="mutex_id=%x[val1]" info="Mutex object was deleted."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001503
1504 <event id="0xF600 + 0x00" level="Error" property="SemaphoreError" value="semaphore_id=%x[val1], status=%E[val2, rtx_t:status]" info="Semaphore error occurred."/>
1505 <event id="0xF600 + 0x01" level="API" property="SemaphoreNew" value="max_count=%d[val1], initial_count=%d[val2], attr=%x[val3]" info="osSemaphoreNew function was called."/>
1506 <event id="0xF600 + 0x02" level="Detail" property="SemaphoreNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size]" val1="osSemaphoreAttr_t" info="Attributes structure for semaphore object."/>
1507 <event id="0xF600 + 0x03" level="Op" property="SemaphoreCreated" value="semaphore_id=%x[val1]" info="Semaphore object was created."/>
1508 <event id="0xF600 + 0x04" level="API" property="SemaphoreGetName" value="semaphore_id=%x[val1], name=%x[val2]" info="osSemaphoreGetName function was called and object name was retrieved."/>
1509 <event id="0xF600 + 0x05" level="Detail" property="SemaphoreGetName" value="name=%t[val1]" info="Semaphore object name as ASCII string."/>
1510 <event id="0xF600 + 0x06" level="API" property="SemaphoreAcquire" value="semaphore_id=%x[val1], timeout=%d[val2]" info="osSemaphoreAcquire function was called."/>
1511 <event id="0xF600 + 0x07" level="Op" property="SemaphoreAcquirePending" value="semaphore_id=%x[val1], timeout=%d[val2]" info="Semaphore object acquire is pending."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001512 <event id="0xF600 + 0x08" level="Op" property="SemaphoreAcquireTimeout" value="semaphore_id=%x[val1]" info="Semaphore object acquire timed out."/>
1513 <event id="0xF600 + 0x09" level="Op" property="SemaphoreAcquired" value="semaphore_id=%x[val1]" info="Semaphore object was acquired."/>
1514 <event id="0xF600 + 0x0A" level="Op" property="SemaphoreNotAcquired" value="semaphore_id=%x[val1]" info="Semaphore object was not acquired."/>
1515 <event id="0xF600 + 0x0B" level="API" property="SemaphoreRelease" value="semaphore_id=%x[val1]" info="osSemaphoreRelease function was called."/>
1516 <event id="0xF600 + 0x0C" level="Op" property="SemaphoreReleased" value="semaphore_id=%x[val1]" info="Semaphore object was released."/>
1517 <event id="0xF600 + 0x0D" level="API" property="SemaphoreGetCount" value="semaphore_id=%x[val1], count=%d[val2]" info="osSemaphoreGetCount function was called and current number of available tokens was retrieved."/>
1518 <event id="0xF600 + 0x0E" level="API" property="SemaphoreDelete" value="semaphore_id=%x[val1]" info="osSemaphoreDelete function was called."/>
1519 <event id="0xF600 + 0x0F" level="Op" property="SemaphoreDestroyed" value="semaphore_id=%x[val1]" info="Semaphore object was deleted."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001520
1521 <event id="0xF700 + 0x00" level="Error" property="MemoryPoolError" value="mp_id=%x[val1], status=%E[val2, rtx_t:status]" info="Memory pool error occurred."/>
1522 <event id="0xF700 + 0x01" level="API" property="MemoryPoolNew" value="block_count=%d[val1], block_size=%d[val2], attr=%x[val3]" info="osMemoryPoolNew function was called."/>
1523 <event id="0xF700 + 0x02" level="Detail" property="MemoryPoolNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size], mp_mem=%x[val1.mp_mem], mp_size=%d[val1.mp_size]" val1="osMemoryPoolAttr_t" info="Attributes structure for memory pool object."/>
1524 <event id="0xF700 + 0x03" level="Op" property="MemoryPoolCreated" value="mp_id=%x[val1]" info="Memory Pool object was created"/>
1525 <event id="0xF700 + 0x04" level="API" property="MemoryPoolGetName" value="mp_id=%x[val1], name=%x[val2]" info="osMemoryPoolGetName function was called and object name was retrieved."/>"/>
1526 <event id="0xF700 + 0x05" level="Detail" property="MemoryPoolGetName" value="name=%t[val1]" info="Memory pool object name as ASCII string."/>
1527 <event id="0xF700 + 0x06" level="API" property="MemoryPoolAlloc" value="mp_id=%x[val1], timeout=%d[val2]" info="osMemoryPoolAlloc function was called."/>
1528 <event id="0xF700 + 0x07" level="Op" property="MemoryPoolAllocPending" value="mp_id=%x[val1], timeout=%d[val2]" info="Memory pool allocation is pending."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001529 <event id="0xF700 + 0x08" level="Op" property="MemoryPoolAllocTimeout" value="mp_id=%x[val1]" info="Memory pool allocation timed out."/>
1530 <event id="0xF700 + 0x09" level="Op" property="MemoryPoolAllocated" value="mp_id=%x[val1], block=%x[val2]" info="Memory pool was allocated."/>
1531 <event id="0xF700 + 0x0A" level="Op" property="MemoryPoolAllocFailed" value="mp_id=%x[val1]" info="Memory pool was not allocated."/>
1532 <event id="0xF700 + 0x0B" level="API" property="MemoryPoolFree" value="mp_id=%x[val1], block=%x[val2]" info="osMemoryPoolFree function was called."/>
1533 <event id="0xF700 + 0x0C" level="Op" property="MemoryPoolDeallocated" value="mp_id=%x[val1], block=%x[val2]" info="Memory pool was deallocated."/>
1534 <event id="0xF700 + 0x0D" level="Op" property="MemoryPoolFreeFailed" value="mp_id=%x[val1], block=%x[val2]" info="Memory pool was not deallocated."/>
1535 <event id="0xF700 + 0x0E" level="API" property="MemoryPoolGetCapacity" value="mp_id=%x[val1], capacity=%d[val2]" info="osMemoryPoolGetCapacity function was called and maximum number of memory blocks was retrieved."/>
1536 <event id="0xF700 + 0x0F" level="API" property="MemoryPoolGetBlockSize" value="mp_id=%x[val1], block_size=%d[val2]" info="osMemoryPoolGetBlockSize function was called and memory block size was retrieved."/>
1537 <event id="0xF700 + 0x10" level="API" property="MemoryPoolGetCount" value="mp_id=%x[val1], count=%d[val2]" info="osMemoryPoolGetCount function was called and number of used memory blocks was retrieved."/>
1538 <event id="0xF700 + 0x11" level="API" property="MemoryPoolGetSpace" value="mp_id=%x[val1], space=%d[val2]" info="osMemoryPoolGetSpace function was called and number of available memory blocks was retrieved."/>
1539 <event id="0xF700 + 0x12" level="API" property="MemoryPoolDelete" value="mp_id=%x[val1]" info="osMemoryPoolDelete function was called."/>
1540 <event id="0xF700 + 0x13" level="Op" property="MemoryPoolDestroyed" value="mp_id=%x[val1]" info="Memory pool object was deleted."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001541
1542 <event id="0xF800 + 0x00" level="Error" property="MessageQueueError" value="mq_id=%x[val1], status=%E[val2, rtx_t:status]" info="Message queue error occurred."/>
1543 <event id="0xF800 + 0x01" level="API" property="MessageQueueNew" value="msg_count=%d[val1], msg_size=%d[val2], attr=%x[val3]" info="osMessageQueueNew function was called."/>
1544 <event id="0xF800 + 0x02" level="Detail" property="MessageQueueNew" value="name=%x[val1.name], attr_bits=%x[val1.attr_bits], cb_mem=%x[val1.cb_mem], cb_size=%d[val1.cb_size], mq_mem=%x[val1.mq_mem], mq_size=%d[val1.mq_size]" val1="osMessageQueueAttr_t" info="Attributes structure for message queue object."/>
1545 <event id="0xF800 + 0x03" level="Op" property="MessageQueueCreated" value="mq_id=%x[val1]" info="Message Queue object was created"/>
1546 <event id="0xF800 + 0x04" level="API" property="MessageQueueGetName" value="mq_id=%x[val1], name=%x[val2]" info="osMessageQueueGetName function was called and object name was retrieved."/>
1547 <event id="0xF800 + 0x05" level="Detail" property="MessageQueueGetName" value="name=%t[val1]" info="Message queue object name as ASCII string."/>
1548 <event id="0xF800 + 0x06" level="API" property="MessageQueuePut" value="mq_id=%x[val1], msg_ptr=%x[val2], msg_prio=%d[val3], timeout=%d[val4]" info="osMessageQueuePut function was called."/>
1549 <event id="0xF800 + 0x07" level="Op" property="MessageQueuePutPending" value="mq_id=%x[val1], msg_ptr=%x[val2], timeout=%d[val3]" info="Message put is pending."/>
Robert Rostohara6abe962016-11-29 15:57:42 +01001550 <event id="0xF800 + 0x08" level="Op" property="MessageQueuePutTimeout" value="mq_id=%x[val1]" info="Message put timed out."/>
1551 <event id="0xF800 + 0x09" level="Op" property="MessageQueueInsertPending" value="mq_id=%x[val1], msg_ptr=%x[val2]" info="Message insert is pending."/>
1552 <event id="0xF800 + 0x0A" level="Op" property="MessageQueueInserted" value="mq_id=%x[val1], msg_ptr=%x[val2]" info="Message was inserted."/>
1553 <event id="0xF800 + 0x0B" level="Op" property="MessageQueueNotInserted" value="mq_id=%x[val1], msg_ptr=%x[val2]" info="Message was not inserted"/>
1554 <event id="0xF800 + 0x0C" level="API" property="MessageQueueGet" value="mq_id=%x[val1], msg_ptr=%x[val2], msg_prio=%x[val3], timeout=%d[val4]" info="osMessageQueueGet function was called."/>
1555 <event id="0xF800 + 0x0D" level="Op" property="MessageQueueGetPending" value="mq_id=%x[val1], msg_ptr=%x[val2], timeout=%d[val3]" info="Message get is pending."/>
1556 <event id="0xF800 + 0x0E" level="Op" property="MessageQueueGetTimeout" value="mq_id=%x[val1]" info="Message get timed out."/>
1557 <event id="0xF800 + 0x0F" level="Op" property="MessageQueueRetrieved" value="mq_id=%x[val1], msg_ptr=%x[val2]" info="Message was retrieved."/>
1558 <event id="0xF800 + 0x10" level="Op" property="MessageQueueNotRetrieved" value="mq_id=%x[val1], msg_ptr=%x[val2]" info="Message was not retrieved."/>
1559 <event id="0xF800 + 0x11" level="API" property="MessageQueueGetCapacity" value="mq_id=%x[val1], capacity=%d[val2]" info="osMessageQueueGetCapacity function was called and maximum number of messages was retrieved."/>
1560 <event id="0xF800 + 0x12" level="API" property="MessageQueueGetMsgSize" value="mq_id=%x[val1], msg_size=%d[val2]" info="osMessageQueueGetMsgSize function was called and maximum message size was retrieved."/>
1561 <event id="0xF800 + 0x13" level="API" property="MessageQueueGetCount" value="mq_id=%x[val1], count=%d[val2]" info="osMessageQueueGetCount function was called and number of queued messages was retrieved."/>
1562 <event id="0xF800 + 0x14" level="API" property="MessageQueueGetSpace" value="mq_id=%x[val1], space=%d[val2]" info="osMessageQueueGetSpace function was called and number of available message slots was retrieved."/>
1563 <event id="0xF800 + 0x15" level="API" property="MessageQueueReset" value="mq_id=%x[val1]" info="osMessageQueueReset function was called."/>
1564 <event id="0xF800 + 0x16" level="Op" property="MessageQueueResetDone" value="mq_id=%x[val1]" info="Message queue was reset."/>
1565 <event id="0xF800 + 0x17" level="API" property="MessageQueueDelete" value="mq_id=%x[val1]" info="osMessageQueueDelete function was called."/>
1566 <event id="0xF800 + 0x18" level="Op" property="MessageQueueDestroyed" value="mq_id=%x[val1]" info="Message queue object was deleted."/>
Robert Rostohar0667b182016-11-25 21:48:19 +01001567
1568 </events>
Matthias Hertelb73eaf32016-07-22 15:18:56 +02001569</component_viewer>