event_groups.c.076i.inline 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314
  1. IPA summary for vEventGroupSetNumber/17 is missing.
  2. IPA summary for uxEventGroupGetNumber/16 is missing.
  3. IPA summary for xEventGroupSetBitsFromISR/15 is missing.
  4. IPA summary for prvTestWaitCondition/14 is missing.
  5. IPA summary for vEventGroupClearBitsCallback/13 is missing.
  6. IPA summary for vEventGroupSetBitsCallback/12 is missing.
  7. IPA summary for vEventGroupDelete/11 is missing.
  8. IPA summary for xEventGroupSetBits/10 is missing.
  9. IPA summary for xEventGroupGetBitsFromISR/9 is missing.
  10. IPA summary for xEventGroupClearBitsFromISR/8 is missing.
  11. IPA summary for xEventGroupClearBits/7 is missing.
  12. IPA summary for xEventGroupWaitBits/6 is missing.
  13. IPA summary for xEventGroupSync/5 is missing.
  14. IPA summary for xEventGroupCreate/4 is missing.
  15. Flattening functions:
  16. Overall time estimate: 0.000000 weighted by profile: 0.000000
  17. Deciding on inlining of small functions. Starting with size 0.
  18. Reclaiming functions:
  19. Reclaiming variables:
  20. Clearing address taken flags:
  21. Deciding on functions to be inlined into all callers and removing useless speculations:
  22. Overall time estimate: 0.000000 weighted by profile: 0.000000
  23. Why inlining failed?
  24. function not considered for inlining : 5 calls, 5.000000 freq, 0 count
  25. function body not available : 27 calls, 27.000000 freq, 0 count
  26. IPA summary for vEventGroupSetNumber/17 is missing.
  27. IPA summary for uxEventGroupGetNumber/16 is missing.
  28. IPA summary for xEventGroupSetBitsFromISR/15 is missing.
  29. IPA summary for prvTestWaitCondition/14 is missing.
  30. IPA summary for vEventGroupClearBitsCallback/13 is missing.
  31. IPA summary for vEventGroupSetBitsCallback/12 is missing.
  32. IPA summary for vEventGroupDelete/11 is missing.
  33. IPA summary for xEventGroupSetBits/10 is missing.
  34. IPA summary for xEventGroupGetBitsFromISR/9 is missing.
  35. IPA summary for xEventGroupClearBitsFromISR/8 is missing.
  36. IPA summary for xEventGroupClearBits/7 is missing.
  37. IPA summary for xEventGroupWaitBits/6 is missing.
  38. IPA summary for xEventGroupSync/5 is missing.
  39. IPA summary for xEventGroupCreate/4 is missing.
  40. Symbol table:
  41. vPortFree/29 (vPortFree) @06c66b60
  42. Type: function
  43. Visibility: external public
  44. References:
  45. Referring:
  46. Availability: not_available
  47. Function flags:
  48. Called by: vEventGroupDelete/11
  49. Calls:
  50. vTaskRemoveFromUnorderedEventList/28 (vTaskRemoveFromUnorderedEventList) @06c669a0
  51. Type: function
  52. Visibility: external public
  53. References:
  54. Referring:
  55. Availability: not_available
  56. Function flags:
  57. Called by: vEventGroupDelete/11 xEventGroupSetBits/10
  58. Calls:
  59. xTimerPendFunctionCallFromISR/27 (xTimerPendFunctionCallFromISR) @06c66460
  60. Type: function
  61. Visibility: external public
  62. References:
  63. Referring:
  64. Availability: not_available
  65. Function flags:
  66. Called by: xEventGroupSetBitsFromISR/15 xEventGroupClearBitsFromISR/8
  67. Calls:
  68. vPortExitCritical/26 (vPortExitCritical) @06c3ce00
  69. Type: function
  70. Visibility: external public
  71. References:
  72. Referring:
  73. Availability: not_available
  74. Function flags:
  75. Called by: xEventGroupWaitBits/6 xEventGroupSync/5 xEventGroupClearBits/7
  76. Calls:
  77. vPortEnterCritical/25 (vPortEnterCritical) @06c3cd20
  78. Type: function
  79. Visibility: external public
  80. References:
  81. Referring:
  82. Availability: not_available
  83. Function flags:
  84. Called by: xEventGroupWaitBits/6 xEventGroupSync/5 xEventGroupClearBits/7
  85. Calls:
  86. uxTaskResetEventItemValue/24 (uxTaskResetEventItemValue) @06c3cc40
  87. Type: function
  88. Visibility: external public
  89. References:
  90. Referring:
  91. Availability: not_available
  92. Function flags:
  93. Called by: xEventGroupWaitBits/6 xEventGroupSync/5
  94. Calls:
  95. xTaskResumeAll/23 (xTaskResumeAll) @06c3cb60
  96. Type: function
  97. Visibility: external public
  98. References:
  99. Referring:
  100. Availability: not_available
  101. Function flags:
  102. Called by: xEventGroupWaitBits/6 vEventGroupDelete/11 xEventGroupSync/5 xEventGroupSetBits/10
  103. Calls:
  104. vTaskPlaceOnUnorderedEventList/22 (vTaskPlaceOnUnorderedEventList) @06c3ca80
  105. Type: function
  106. Visibility: external public
  107. References:
  108. Referring:
  109. Availability: not_available
  110. Function flags:
  111. Called by: xEventGroupWaitBits/6 xEventGroupSync/5
  112. Calls:
  113. vTaskSuspendAll/21 (vTaskSuspendAll) @06c3c9a0
  114. Type: function
  115. Visibility: external public
  116. References:
  117. Referring:
  118. Availability: not_available
  119. Function flags:
  120. Called by: xEventGroupWaitBits/6 vEventGroupDelete/11 xEventGroupSync/5 xEventGroupSetBits/10
  121. Calls:
  122. xTaskGetSchedulerState/20 (xTaskGetSchedulerState) @06c3c8c0
  123. Type: function
  124. Visibility: external public
  125. References:
  126. Referring:
  127. Availability: not_available
  128. Function flags:
  129. Called by: xEventGroupWaitBits/6 xEventGroupSync/5
  130. Calls:
  131. vListInitialise/19 (vListInitialise) @06c3c540
  132. Type: function
  133. Visibility: external public
  134. References:
  135. Referring:
  136. Availability: not_available
  137. Function flags:
  138. Called by: xEventGroupCreate/4
  139. Calls:
  140. pvPortMalloc/18 (pvPortMalloc) @06c3c460
  141. Type: function
  142. Visibility: external public
  143. References:
  144. Referring:
  145. Availability: not_available
  146. Function flags:
  147. Called by: xEventGroupCreate/4
  148. Calls:
  149. vEventGroupSetNumber/17 (vEventGroupSetNumber) @06c3c000
  150. Type: function definition analyzed
  151. Visibility: force_output externally_visible no_reorder public
  152. References:
  153. Referring:
  154. Availability: available
  155. Function flags: body
  156. Called by:
  157. Calls:
  158. uxEventGroupGetNumber/16 (uxEventGroupGetNumber) @06c32a80
  159. Type: function definition analyzed
  160. Visibility: force_output externally_visible no_reorder public
  161. References:
  162. Referring:
  163. Availability: available
  164. Function flags: body
  165. Called by:
  166. Calls:
  167. xEventGroupSetBitsFromISR/15 (xEventGroupSetBitsFromISR) @06c32460
  168. Type: function definition analyzed
  169. Visibility: force_output externally_visible no_reorder public
  170. References: vEventGroupSetBitsCallback/12 (addr)
  171. Referring:
  172. Availability: available
  173. Function flags: body
  174. Called by:
  175. Calls: xTimerPendFunctionCallFromISR/27
  176. prvTestWaitCondition/14 (prvTestWaitCondition) @06c32ee0
  177. Type: function definition analyzed
  178. Visibility: force_output no_reorder prevailing_def_ironly
  179. References:
  180. Referring:
  181. Availability: available
  182. Function flags: body
  183. Called by: xEventGroupWaitBits/6 xEventGroupWaitBits/6
  184. Calls:
  185. vEventGroupClearBitsCallback/13 (vEventGroupClearBitsCallback) @06c32c40
  186. Type: function definition analyzed
  187. Visibility: force_output externally_visible no_reorder public
  188. Address is taken.
  189. References:
  190. Referring: xEventGroupClearBitsFromISR/8 (addr)
  191. Availability: available
  192. Function flags: body
  193. Called by:
  194. Calls: xEventGroupClearBits/7
  195. vEventGroupSetBitsCallback/12 (vEventGroupSetBitsCallback) @06c329a0
  196. Type: function definition analyzed
  197. Visibility: force_output externally_visible no_reorder public
  198. Address is taken.
  199. References:
  200. Referring: xEventGroupSetBitsFromISR/15 (addr)
  201. Availability: available
  202. Function flags: body
  203. Called by:
  204. Calls: xEventGroupSetBits/10
  205. vEventGroupDelete/11 (vEventGroupDelete) @06c32700
  206. Type: function definition analyzed
  207. Visibility: force_output externally_visible no_reorder public
  208. References:
  209. Referring:
  210. Availability: available
  211. Function flags: body
  212. Called by:
  213. Calls: xTaskResumeAll/23 vPortFree/29 vTaskRemoveFromUnorderedEventList/28 vTaskSuspendAll/21
  214. xEventGroupSetBits/10 (xEventGroupSetBits) @06c32380
  215. Type: function definition analyzed
  216. Visibility: force_output externally_visible no_reorder public
  217. References:
  218. Referring:
  219. Availability: available
  220. Function flags: body
  221. Called by: vEventGroupSetBitsCallback/12 xEventGroupSync/5
  222. Calls: xTaskResumeAll/23 vTaskRemoveFromUnorderedEventList/28 vTaskSuspendAll/21
  223. xEventGroupGetBitsFromISR/9 (xEventGroupGetBitsFromISR) @06befc40
  224. Type: function definition analyzed
  225. Visibility: force_output externally_visible no_reorder public
  226. References:
  227. Referring:
  228. Availability: available
  229. Function flags: body
  230. Called by:
  231. Calls:
  232. xEventGroupClearBitsFromISR/8 (xEventGroupClearBitsFromISR) @06bef2a0
  233. Type: function definition analyzed
  234. Visibility: force_output externally_visible no_reorder public
  235. References: vEventGroupClearBitsCallback/13 (addr)
  236. Referring:
  237. Availability: available
  238. Function flags: body
  239. Called by:
  240. Calls: xTimerPendFunctionCallFromISR/27
  241. xEventGroupClearBits/7 (xEventGroupClearBits) @06befee0
  242. Type: function definition analyzed
  243. Visibility: force_output externally_visible no_reorder public
  244. References:
  245. Referring:
  246. Availability: available
  247. Function flags: body
  248. Called by: vEventGroupClearBitsCallback/13
  249. Calls: vPortExitCritical/26 vPortEnterCritical/25
  250. xEventGroupWaitBits/6 (xEventGroupWaitBits) @06befb60
  251. Type: function definition analyzed
  252. Visibility: force_output externally_visible no_reorder public
  253. References:
  254. Referring:
  255. Availability: available
  256. Function flags: body
  257. Called by:
  258. Calls: vPortExitCritical/26 prvTestWaitCondition/14 vPortEnterCritical/25 uxTaskResetEventItemValue/24 xTaskResumeAll/23 vTaskPlaceOnUnorderedEventList/22 prvTestWaitCondition/14 vTaskSuspendAll/21 xTaskGetSchedulerState/20
  259. xEventGroupSync/5 (xEventGroupSync) @06bef620
  260. Type: function definition analyzed
  261. Visibility: force_output externally_visible no_reorder public
  262. References:
  263. Referring:
  264. Availability: available
  265. Function flags: body
  266. Called by:
  267. Calls: vPortExitCritical/26 vPortEnterCritical/25 uxTaskResetEventItemValue/24 xTaskResumeAll/23 vTaskPlaceOnUnorderedEventList/22 xEventGroupSetBits/10 vTaskSuspendAll/21 xTaskGetSchedulerState/20
  268. xEventGroupCreate/4 (xEventGroupCreate) @06bef1c0
  269. Type: function definition analyzed
  270. Visibility: force_output externally_visible no_reorder public
  271. References:
  272. Referring:
  273. Availability: available
  274. Function flags: body
  275. Called by:
  276. Calls: vListInitialise/19 pvPortMalloc/18
  277. ;; Function xEventGroupCreate (xEventGroupCreate, funcdef_no=4, decl_uid=6272, cgraph_uid=5, symbol_order=4)
  278. xEventGroupCreate ()
  279. {
  280. struct EventGroup_t * pxEventBits;
  281. struct EventGroupDef_t * D.6439;
  282. struct List_t * _1;
  283. struct EventGroupDef_t * _8;
  284. <bb 2> :
  285. pxEventBits_5 = pvPortMalloc (28);
  286. if (pxEventBits_5 != 0B)
  287. goto <bb 3>; [INV]
  288. else
  289. goto <bb 4>; [INV]
  290. <bb 3> :
  291. pxEventBits_5->uxEventBits = 0;
  292. _1 = &pxEventBits_5->xTasksWaitingForBits;
  293. vListInitialise (_1);
  294. <bb 4> :
  295. _8 = pxEventBits_5;
  296. <bb 5> :
  297. <L3>:
  298. return _8;
  299. }
  300. ;; Function xEventGroupSync (xEventGroupSync, funcdef_no=5, decl_uid=6296, cgraph_uid=6, symbol_order=5)
  301. xEventGroupSync (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
  302. {
  303. uint32_t ulNewBASEPRI;
  304. uint32_t ulNewBASEPRI;
  305. uint32_t ulNewBASEPRI;
  306. BaseType_t xTimeoutOccurred;
  307. BaseType_t xAlreadyYielded;
  308. struct EventGroup_t * pxEventBits;
  309. EventBits_t uxReturn;
  310. EventBits_t uxOriginalBitValue;
  311. EventBits_t D.6469;
  312. int iftmp.0;
  313. long unsigned int _1;
  314. long int _2;
  315. long unsigned int _3;
  316. long unsigned int _4;
  317. long unsigned int _5;
  318. long unsigned int _6;
  319. long unsigned int _7;
  320. struct List_t * _8;
  321. long unsigned int _9;
  322. volatile uint32_t * _10;
  323. long unsigned int _11;
  324. long unsigned int _12;
  325. long unsigned int _13;
  326. long unsigned int _14;
  327. long unsigned int _15;
  328. int iftmp.0_20;
  329. int iftmp.0_33;
  330. int iftmp.0_34;
  331. EventBits_t _59;
  332. <bb 2> :
  333. pxEventBits_27 = xEventGroup_26(D);
  334. xTimeoutOccurred_28 = 0;
  335. _1 = uxBitsToWaitFor_29(D) & 4278190080;
  336. if (_1 != 0)
  337. goto <bb 3>; [INV]
  338. else
  339. goto <bb 6>; [INV]
  340. <bb 3> :
  341. __asm__ __volatile__(" mov %0, %1
  342. msr basepri, %0
  343. isb
  344. dsb
  345. " : "=r" ulNewBASEPRI_60 : "i" 16 : "memory");
  346. <bb 4> :
  347. <bb 5> :
  348. goto <bb 5>; [INV]
  349. <bb 6> :
  350. if (uxBitsToWaitFor_29(D) == 0)
  351. goto <bb 7>; [INV]
  352. else
  353. goto <bb 10>; [INV]
  354. <bb 7> :
  355. __asm__ __volatile__(" mov %0, %1
  356. msr basepri, %0
  357. isb
  358. dsb
  359. " : "=r" ulNewBASEPRI_61 : "i" 16 : "memory");
  360. <bb 8> :
  361. <bb 9> :
  362. goto <bb 9>; [INV]
  363. <bb 10> :
  364. _2 = xTaskGetSchedulerState ();
  365. if (_2 != 0)
  366. goto <bb 12>; [INV]
  367. else
  368. goto <bb 11>; [INV]
  369. <bb 11> :
  370. if (xTicksToWait_32(D) == 0)
  371. goto <bb 12>; [INV]
  372. else
  373. goto <bb 13>; [INV]
  374. <bb 12> :
  375. iftmp.0_34 = 1;
  376. goto <bb 14>; [INV]
  377. <bb 13> :
  378. iftmp.0_33 = 0;
  379. <bb 14> :
  380. # iftmp.0_20 = PHI <iftmp.0_34(12), iftmp.0_33(13)>
  381. if (iftmp.0_20 == 0)
  382. goto <bb 15>; [INV]
  383. else
  384. goto <bb 18>; [INV]
  385. <bb 15> :
  386. __asm__ __volatile__(" mov %0, %1
  387. msr basepri, %0
  388. isb
  389. dsb
  390. " : "=r" ulNewBASEPRI_62 : "i" 16 : "memory");
  391. <bb 16> :
  392. <bb 17> :
  393. goto <bb 17>; [INV]
  394. <bb 18> :
  395. vTaskSuspendAll ();
  396. uxOriginalBitValue_36 = pxEventBits_27->uxEventBits;
  397. xEventGroupSetBits (xEventGroup_26(D), uxBitsToSet_37(D));
  398. _3 = uxOriginalBitValue_36 | uxBitsToSet_37(D);
  399. _4 = uxBitsToWaitFor_29(D) & _3;
  400. if (uxBitsToWaitFor_29(D) == _4)
  401. goto <bb 19>; [INV]
  402. else
  403. goto <bb 20>; [INV]
  404. <bb 19> :
  405. uxReturn_43 = uxOriginalBitValue_36 | uxBitsToSet_37(D);
  406. _5 = pxEventBits_27->uxEventBits;
  407. _6 = ~uxBitsToWaitFor_29(D);
  408. _7 = _5 & _6;
  409. pxEventBits_27->uxEventBits = _7;
  410. xTicksToWait_45 = 0;
  411. goto <bb 23>; [INV]
  412. <bb 20> :
  413. if (xTicksToWait_32(D) != 0)
  414. goto <bb 21>; [INV]
  415. else
  416. goto <bb 22>; [INV]
  417. <bb 21> :
  418. _8 = &pxEventBits_27->xTasksWaitingForBits;
  419. _9 = uxBitsToWaitFor_29(D) | 83886080;
  420. vTaskPlaceOnUnorderedEventList (_8, _9, xTicksToWait_32(D));
  421. uxReturn_42 = 0;
  422. goto <bb 23>; [INV]
  423. <bb 22> :
  424. uxReturn_39 = pxEventBits_27->uxEventBits;
  425. xTimeoutOccurred_40 = 1;
  426. <bb 23> :
  427. # xTicksToWait_16 = PHI <xTicksToWait_45(19), xTicksToWait_32(D)(21), xTicksToWait_32(D)(22)>
  428. # uxReturn_17 = PHI <uxReturn_43(19), uxReturn_42(21), uxReturn_39(22)>
  429. xAlreadyYielded_47 = xTaskResumeAll ();
  430. if (xTicksToWait_16 != 0)
  431. goto <bb 24>; [INV]
  432. else
  433. goto <bb 31>; [INV]
  434. <bb 24> :
  435. if (xAlreadyYielded_47 == 0)
  436. goto <bb 25>; [INV]
  437. else
  438. goto <bb 26>; [INV]
  439. <bb 25> :
  440. _10 = 3758157060B;
  441. *_10 ={v} 268435456;
  442. __asm__ __volatile__("dsb" : : : "memory");
  443. __asm__ __volatile__("isb");
  444. <bb 26> :
  445. uxReturn_52 = uxTaskResetEventItemValue ();
  446. _11 = uxReturn_52 & 33554432;
  447. if (_11 == 0)
  448. goto <bb 27>; [INV]
  449. else
  450. goto <bb 30>; [INV]
  451. <bb 27> :
  452. vPortEnterCritical ();
  453. uxReturn_54 = pxEventBits_27->uxEventBits;
  454. _12 = uxReturn_54 & uxBitsToWaitFor_29(D);
  455. if (uxBitsToWaitFor_29(D) == _12)
  456. goto <bb 28>; [INV]
  457. else
  458. goto <bb 29>; [INV]
  459. <bb 28> :
  460. _13 = pxEventBits_27->uxEventBits;
  461. _14 = ~uxBitsToWaitFor_29(D);
  462. _15 = _13 & _14;
  463. pxEventBits_27->uxEventBits = _15;
  464. <bb 29> :
  465. vPortExitCritical ();
  466. xTimeoutOccurred_57 = 1;
  467. <bb 30> :
  468. # uxReturn_18 = PHI <uxReturn_52(26), uxReturn_54(29)>
  469. uxReturn_58 = uxReturn_18 & 16777215;
  470. <bb 31> :
  471. # uxReturn_19 = PHI <uxReturn_17(23), uxReturn_58(30)>
  472. _59 = uxReturn_19;
  473. <bb 32> :
  474. <L30>:
  475. return _59;
  476. }
  477. ;; Function xEventGroupWaitBits (xEventGroupWaitBits, funcdef_no=6, decl_uid=6278, cgraph_uid=7, symbol_order=6)
  478. xEventGroupWaitBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
  479. {
  480. uint32_t ulNewBASEPRI;
  481. uint32_t ulNewBASEPRI;
  482. uint32_t ulNewBASEPRI;
  483. uint32_t ulNewBASEPRI;
  484. const EventBits_t uxCurrentEventBits;
  485. BaseType_t xTimeoutOccurred;
  486. BaseType_t xAlreadyYielded;
  487. BaseType_t xWaitConditionMet;
  488. EventBits_t uxControlBits;
  489. EventBits_t uxReturn;
  490. struct EventGroup_t * pxEventBits;
  491. EventBits_t D.6513;
  492. int iftmp.1;
  493. long unsigned int _1;
  494. long int _2;
  495. long unsigned int _3;
  496. long unsigned int _4;
  497. long unsigned int _5;
  498. struct List_t * _6;
  499. long unsigned int _7;
  500. volatile uint32_t * _8;
  501. long unsigned int _9;
  502. long int _10;
  503. long unsigned int _11;
  504. long unsigned int _12;
  505. long unsigned int _13;
  506. int iftmp.1_20;
  507. int iftmp.1_34;
  508. int iftmp.1_35;
  509. EventBits_t _65;
  510. <bb 2> :
  511. pxEventBits_27 = xEventGroup_26(D);
  512. uxControlBits_28 = 0;
  513. xTimeoutOccurred_29 = 0;
  514. if (xEventGroup_26(D) == 0B)
  515. goto <bb 3>; [INV]
  516. else
  517. goto <bb 6>; [INV]
  518. <bb 3> :
  519. __asm__ __volatile__(" mov %0, %1
  520. msr basepri, %0
  521. isb
  522. dsb
  523. " : "=r" ulNewBASEPRI_66 : "i" 16 : "memory");
  524. <bb 4> :
  525. <bb 5> :
  526. goto <bb 5>; [INV]
  527. <bb 6> :
  528. _1 = uxBitsToWaitFor_30(D) & 4278190080;
  529. if (_1 != 0)
  530. goto <bb 7>; [INV]
  531. else
  532. goto <bb 10>; [INV]
  533. <bb 7> :
  534. __asm__ __volatile__(" mov %0, %1
  535. msr basepri, %0
  536. isb
  537. dsb
  538. " : "=r" ulNewBASEPRI_67 : "i" 16 : "memory");
  539. <bb 8> :
  540. <bb 9> :
  541. goto <bb 9>; [INV]
  542. <bb 10> :
  543. if (uxBitsToWaitFor_30(D) == 0)
  544. goto <bb 11>; [INV]
  545. else
  546. goto <bb 14>; [INV]
  547. <bb 11> :
  548. __asm__ __volatile__(" mov %0, %1
  549. msr basepri, %0
  550. isb
  551. dsb
  552. " : "=r" ulNewBASEPRI_68 : "i" 16 : "memory");
  553. <bb 12> :
  554. <bb 13> :
  555. goto <bb 13>; [INV]
  556. <bb 14> :
  557. _2 = xTaskGetSchedulerState ();
  558. if (_2 != 0)
  559. goto <bb 16>; [INV]
  560. else
  561. goto <bb 15>; [INV]
  562. <bb 15> :
  563. if (xTicksToWait_33(D) == 0)
  564. goto <bb 16>; [INV]
  565. else
  566. goto <bb 17>; [INV]
  567. <bb 16> :
  568. iftmp.1_35 = 1;
  569. goto <bb 18>; [INV]
  570. <bb 17> :
  571. iftmp.1_34 = 0;
  572. <bb 18> :
  573. # iftmp.1_20 = PHI <iftmp.1_35(16), iftmp.1_34(17)>
  574. if (iftmp.1_20 == 0)
  575. goto <bb 19>; [INV]
  576. else
  577. goto <bb 22>; [INV]
  578. <bb 19> :
  579. __asm__ __volatile__(" mov %0, %1
  580. msr basepri, %0
  581. isb
  582. dsb
  583. " : "=r" ulNewBASEPRI_69 : "i" 16 : "memory");
  584. <bb 20> :
  585. <bb 21> :
  586. goto <bb 21>; [INV]
  587. <bb 22> :
  588. vTaskSuspendAll ();
  589. uxCurrentEventBits_37 = pxEventBits_27->uxEventBits;
  590. xWaitConditionMet_40 = prvTestWaitCondition (uxCurrentEventBits_37, uxBitsToWaitFor_30(D), xWaitForAllBits_38(D));
  591. if (xWaitConditionMet_40 != 0)
  592. goto <bb 23>; [INV]
  593. else
  594. goto <bb 25>; [INV]
  595. <bb 23> :
  596. uxReturn_48 = uxCurrentEventBits_37;
  597. xTicksToWait_49 = 0;
  598. if (xClearOnExit_41(D) != 0)
  599. goto <bb 24>; [INV]
  600. else
  601. goto <bb 32>; [INV]
  602. <bb 24> :
  603. _3 = pxEventBits_27->uxEventBits;
  604. _4 = ~uxBitsToWaitFor_30(D);
  605. _5 = _3 & _4;
  606. pxEventBits_27->uxEventBits = _5;
  607. goto <bb 32>; [INV]
  608. <bb 25> :
  609. if (xTicksToWait_33(D) == 0)
  610. goto <bb 26>; [INV]
  611. else
  612. goto <bb 27>; [INV]
  613. <bb 26> :
  614. uxReturn_46 = uxCurrentEventBits_37;
  615. xTimeoutOccurred_47 = 1;
  616. goto <bb 32>; [INV]
  617. <bb 27> :
  618. if (xClearOnExit_41(D) != 0)
  619. goto <bb 28>; [INV]
  620. else
  621. goto <bb 29>; [INV]
  622. <bb 28> :
  623. uxControlBits_42 = uxControlBits_28 | 16777216;
  624. <bb 29> :
  625. # uxControlBits_18 = PHI <uxControlBits_28(27), uxControlBits_42(28)>
  626. if (xWaitForAllBits_38(D) != 0)
  627. goto <bb 30>; [INV]
  628. else
  629. goto <bb 31>; [INV]
  630. <bb 30> :
  631. uxControlBits_43 = uxControlBits_18 | 67108864;
  632. <bb 31> :
  633. # uxControlBits_19 = PHI <uxControlBits_18(29), uxControlBits_43(30)>
  634. _6 = &pxEventBits_27->xTasksWaitingForBits;
  635. _7 = uxBitsToWaitFor_30(D) | uxControlBits_19;
  636. vTaskPlaceOnUnorderedEventList (_6, _7, xTicksToWait_33(D));
  637. uxReturn_45 = 0;
  638. <bb 32> :
  639. # xTicksToWait_14 = PHI <xTicksToWait_49(24), xTicksToWait_33(D)(26), xTicksToWait_33(D)(31), xTicksToWait_49(23)>
  640. # uxReturn_15 = PHI <uxReturn_48(24), uxReturn_46(26), uxReturn_45(31), uxReturn_48(23)>
  641. xAlreadyYielded_52 = xTaskResumeAll ();
  642. if (xTicksToWait_14 != 0)
  643. goto <bb 33>; [INV]
  644. else
  645. goto <bb 41>; [INV]
  646. <bb 33> :
  647. if (xAlreadyYielded_52 == 0)
  648. goto <bb 34>; [INV]
  649. else
  650. goto <bb 35>; [INV]
  651. <bb 34> :
  652. _8 = 3758157060B;
  653. *_8 ={v} 268435456;
  654. __asm__ __volatile__("dsb" : : : "memory");
  655. __asm__ __volatile__("isb");
  656. <bb 35> :
  657. uxReturn_57 = uxTaskResetEventItemValue ();
  658. _9 = uxReturn_57 & 33554432;
  659. if (_9 == 0)
  660. goto <bb 36>; [INV]
  661. else
  662. goto <bb 40>; [INV]
  663. <bb 36> :
  664. vPortEnterCritical ();
  665. uxReturn_59 = pxEventBits_27->uxEventBits;
  666. _10 = prvTestWaitCondition (uxReturn_59, uxBitsToWaitFor_30(D), xWaitForAllBits_38(D));
  667. if (_10 != 0)
  668. goto <bb 37>; [INV]
  669. else
  670. goto <bb 39>; [INV]
  671. <bb 37> :
  672. if (xClearOnExit_41(D) != 0)
  673. goto <bb 38>; [INV]
  674. else
  675. goto <bb 39>; [INV]
  676. <bb 38> :
  677. _11 = pxEventBits_27->uxEventBits;
  678. _12 = ~uxBitsToWaitFor_30(D);
  679. _13 = _11 & _12;
  680. pxEventBits_27->uxEventBits = _13;
  681. <bb 39> :
  682. xTimeoutOccurred_62 = 1;
  683. vPortExitCritical ();
  684. <bb 40> :
  685. # uxReturn_16 = PHI <uxReturn_57(35), uxReturn_59(39)>
  686. uxReturn_64 = uxReturn_16 & 16777215;
  687. <bb 41> :
  688. # uxReturn_17 = PHI <uxReturn_15(32), uxReturn_64(40)>
  689. _65 = uxReturn_17;
  690. <bb 42> :
  691. <L45>:
  692. return _65;
  693. }
  694. ;; Function xEventGroupClearBits (xEventGroupClearBits, funcdef_no=7, decl_uid=6281, cgraph_uid=8, symbol_order=7)
  695. xEventGroupClearBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToClear)
  696. {
  697. uint32_t ulNewBASEPRI;
  698. uint32_t ulNewBASEPRI;
  699. EventBits_t uxReturn;
  700. struct EventGroup_t * pxEventBits;
  701. EventBits_t D.6519;
  702. long unsigned int _1;
  703. long unsigned int _2;
  704. long unsigned int _3;
  705. long unsigned int _4;
  706. EventBits_t _13;
  707. <bb 2> :
  708. pxEventBits_6 = xEventGroup_5(D);
  709. if (xEventGroup_5(D) == 0B)
  710. goto <bb 3>; [INV]
  711. else
  712. goto <bb 6>; [INV]
  713. <bb 3> :
  714. __asm__ __volatile__(" mov %0, %1
  715. msr basepri, %0
  716. isb
  717. dsb
  718. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  719. <bb 4> :
  720. <bb 5> :
  721. goto <bb 5>; [INV]
  722. <bb 6> :
  723. _1 = uxBitsToClear_7(D) & 4278190080;
  724. if (_1 != 0)
  725. goto <bb 7>; [INV]
  726. else
  727. goto <bb 10>; [INV]
  728. <bb 7> :
  729. __asm__ __volatile__(" mov %0, %1
  730. msr basepri, %0
  731. isb
  732. dsb
  733. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  734. <bb 8> :
  735. <bb 9> :
  736. goto <bb 9>; [INV]
  737. <bb 10> :
  738. vPortEnterCritical ();
  739. uxReturn_10 = pxEventBits_6->uxEventBits;
  740. _2 = pxEventBits_6->uxEventBits;
  741. _3 = ~uxBitsToClear_7(D);
  742. _4 = _2 & _3;
  743. pxEventBits_6->uxEventBits = _4;
  744. vPortExitCritical ();
  745. _13 = uxReturn_10;
  746. <bb 11> :
  747. <L6>:
  748. return _13;
  749. }
  750. ;; Function xEventGroupClearBitsFromISR (xEventGroupClearBitsFromISR, funcdef_no=8, decl_uid=6284, cgraph_uid=9, symbol_order=8)
  751. xEventGroupClearBitsFromISR (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToClear)
  752. {
  753. BaseType_t xReturn;
  754. BaseType_t D.6521;
  755. BaseType_t _6;
  756. <bb 2> :
  757. xReturn_5 = xTimerPendFunctionCallFromISR (vEventGroupClearBitsCallback, xEventGroup_2(D), uxBitsToClear_3(D), 0B);
  758. _6 = xReturn_5;
  759. <bb 3> :
  760. <L0>:
  761. return _6;
  762. }
  763. ;; Function xEventGroupGetBitsFromISR (xEventGroupGetBitsFromISR, funcdef_no=9, decl_uid=6298, cgraph_uid=10, symbol_order=9)
  764. xEventGroupGetBitsFromISR (struct EventGroupDef_t * xEventGroup)
  765. {
  766. uint32_t D.6592;
  767. uint32_t ulOriginalBASEPRI;
  768. uint32_t ulNewBASEPRI;
  769. uint32_t D.6591;
  770. uint32_t ulNewMaskValue;
  771. EventBits_t uxReturn;
  772. const struct EventGroup_t * const pxEventBits;
  773. UBaseType_t uxSavedInterruptStatus;
  774. EventBits_t D.6523;
  775. EventBits_t _6;
  776. long unsigned int _10;
  777. <bb 2> :
  778. pxEventBits_2 = xEventGroup_1(D);
  779. __asm__ __volatile__(" mrs %0, basepri
  780. mov %1, %2
  781. msr basepri, %1
  782. isb
  783. dsb
  784. " : "=r" ulOriginalBASEPRI_8, "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  785. _10 = ulOriginalBASEPRI_8;
  786. <bb 3> :
  787. <L1>:
  788. _12 = _10;
  789. <bb 4> :
  790. uxSavedInterruptStatus_4 = _12;
  791. uxReturn_5 = pxEventBits_2->uxEventBits;
  792. ulNewMaskValue_7 = uxSavedInterruptStatus_4;
  793. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulNewMaskValue_7 : "memory");
  794. <bb 5> :
  795. _6 = uxReturn_5;
  796. <bb 6> :
  797. <L0>:
  798. return _6;
  799. }
  800. ;; Function xEventGroupSetBits (xEventGroupSetBits, funcdef_no=10, decl_uid=6287, cgraph_uid=11, symbol_order=10)
  801. xEventGroupSetBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet)
  802. {
  803. uint32_t ulNewBASEPRI;
  804. uint32_t ulNewBASEPRI;
  805. BaseType_t xMatchFound;
  806. struct EventGroup_t * pxEventBits;
  807. EventBits_t uxControlBits;
  808. EventBits_t uxBitsWaitedFor;
  809. EventBits_t uxBitsToClear;
  810. const struct List_t * pxList;
  811. const struct ListItem_t * pxListEnd;
  812. struct ListItem_t * pxNext;
  813. struct ListItem_t * pxListItem;
  814. EventBits_t D.6545;
  815. long unsigned int _1;
  816. long unsigned int _2;
  817. long unsigned int _3;
  818. long unsigned int _4;
  819. long unsigned int _5;
  820. long unsigned int _6;
  821. long unsigned int _7;
  822. long unsigned int _8;
  823. long unsigned int _9;
  824. long unsigned int _10;
  825. long unsigned int _11;
  826. long unsigned int _12;
  827. long unsigned int _13;
  828. long unsigned int _14;
  829. EventBits_t _35;
  830. <bb 2> :
  831. uxBitsToClear_22 = 0;
  832. pxEventBits_24 = xEventGroup_23(D);
  833. xMatchFound_25 = 0;
  834. if (xEventGroup_23(D) == 0B)
  835. goto <bb 3>; [INV]
  836. else
  837. goto <bb 6>; [INV]
  838. <bb 3> :
  839. __asm__ __volatile__(" mov %0, %1
  840. msr basepri, %0
  841. isb
  842. dsb
  843. " : "=r" ulNewBASEPRI_46 : "i" 16 : "memory");
  844. <bb 4> :
  845. <bb 5> :
  846. goto <bb 5>; [INV]
  847. <bb 6> :
  848. _1 = uxBitsToSet_26(D) & 4278190080;
  849. if (_1 != 0)
  850. goto <bb 7>; [INV]
  851. else
  852. goto <bb 10>; [INV]
  853. <bb 7> :
  854. __asm__ __volatile__(" mov %0, %1
  855. msr basepri, %0
  856. isb
  857. dsb
  858. " : "=r" ulNewBASEPRI_47 : "i" 16 : "memory");
  859. <bb 8> :
  860. <bb 9> :
  861. goto <bb 9>; [INV]
  862. <bb 10> :
  863. pxList_27 = &pxEventBits_24->xTasksWaitingForBits;
  864. pxListEnd_28 = &pxList_27->xListEnd;
  865. vTaskSuspendAll ();
  866. pxListItem_31 = pxList_27->xListEnd.pxNext;
  867. _2 = pxEventBits_24->uxEventBits;
  868. _3 = uxBitsToSet_26(D) | _2;
  869. pxEventBits_24->uxEventBits = _3;
  870. goto <bb 21>; [INV]
  871. <bb 11> :
  872. pxNext_36 = pxListItem_15->pxNext;
  873. uxBitsWaitedFor_37 = pxListItem_15->xItemValue;
  874. xMatchFound_38 = 0;
  875. uxControlBits_39 = uxBitsWaitedFor_37 & 4278190080;
  876. uxBitsWaitedFor_40 = uxBitsWaitedFor_37 & 16777215;
  877. _4 = uxControlBits_39 & 67108864;
  878. if (_4 == 0)
  879. goto <bb 12>; [INV]
  880. else
  881. goto <bb 14>; [INV]
  882. <bb 12> :
  883. _5 = pxEventBits_24->uxEventBits;
  884. _6 = uxBitsWaitedFor_40 & _5;
  885. if (_6 != 0)
  886. goto <bb 13>; [INV]
  887. else
  888. goto <bb 16>; [INV]
  889. <bb 13> :
  890. xMatchFound_42 = 1;
  891. goto <bb 16>; [INV]
  892. <bb 14> :
  893. _7 = pxEventBits_24->uxEventBits;
  894. _8 = uxBitsWaitedFor_40 & _7;
  895. if (uxBitsWaitedFor_40 == _8)
  896. goto <bb 15>; [INV]
  897. else
  898. goto <bb 16>; [INV]
  899. <bb 15> :
  900. xMatchFound_41 = 1;
  901. <bb 16> :
  902. # xMatchFound_19 = PHI <xMatchFound_42(13), xMatchFound_38(14), xMatchFound_41(15), xMatchFound_38(12)>
  903. if (xMatchFound_19 != 0)
  904. goto <bb 17>; [INV]
  905. else
  906. goto <bb 20>; [INV]
  907. <bb 17> :
  908. _9 = uxControlBits_39 & 16777216;
  909. if (_9 != 0)
  910. goto <bb 18>; [INV]
  911. else
  912. goto <bb 19>; [INV]
  913. <bb 18> :
  914. uxBitsToClear_43 = uxBitsToClear_18 | uxBitsWaitedFor_40;
  915. <bb 19> :
  916. # uxBitsToClear_16 = PHI <uxBitsToClear_18(17), uxBitsToClear_43(18)>
  917. _10 = pxEventBits_24->uxEventBits;
  918. _11 = _10 | 33554432;
  919. vTaskRemoveFromUnorderedEventList (pxListItem_15, _11);
  920. <bb 20> :
  921. # uxBitsToClear_17 = PHI <uxBitsToClear_18(16), uxBitsToClear_16(19)>
  922. pxListItem_45 = pxNext_36;
  923. <bb 21> :
  924. # pxListItem_15 = PHI <pxListItem_31(10), pxListItem_45(20)>
  925. # uxBitsToClear_18 = PHI <uxBitsToClear_22(10), uxBitsToClear_17(20)>
  926. if (pxListItem_15 != pxListEnd_28)
  927. goto <bb 11>; [INV]
  928. else
  929. goto <bb 22>; [INV]
  930. <bb 22> :
  931. _12 = pxEventBits_24->uxEventBits;
  932. _13 = ~uxBitsToClear_18;
  933. _14 = _12 & _13;
  934. pxEventBits_24->uxEventBits = _14;
  935. xTaskResumeAll ();
  936. _35 = pxEventBits_24->uxEventBits;
  937. <bb 23> :
  938. <L23>:
  939. return _35;
  940. }
  941. ;; Function vEventGroupDelete (vEventGroupDelete, funcdef_no=11, decl_uid=6300, cgraph_uid=12, symbol_order=11)
  942. vEventGroupDelete (struct EventGroupDef_t * xEventGroup)
  943. {
  944. uint32_t ulNewBASEPRI;
  945. uint32_t ulNewBASEPRI;
  946. const struct List_t * pxTasksWaitingForBits;
  947. struct EventGroup_t * pxEventBits;
  948. struct xLIST_ITEM * _1;
  949. const struct MiniListItem_t * _2;
  950. struct xLIST_ITEM * _3;
  951. long unsigned int _4;
  952. <bb 2> :
  953. if (xEventGroup_6(D) == 0B)
  954. goto <bb 3>; [INV]
  955. else
  956. goto <bb 6>; [INV]
  957. <bb 3> :
  958. __asm__ __volatile__(" mov %0, %1
  959. msr basepri, %0
  960. isb
  961. dsb
  962. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  963. <bb 4> :
  964. <bb 5> :
  965. goto <bb 5>; [INV]
  966. <bb 6> :
  967. pxEventBits_7 = xEventGroup_6(D);
  968. pxTasksWaitingForBits_8 = &pxEventBits_7->xTasksWaitingForBits;
  969. vTaskSuspendAll ();
  970. goto <bb 12>; [INV]
  971. <bb 7> :
  972. _1 = pxTasksWaitingForBits_8->xListEnd.pxNext;
  973. _2 = &pxTasksWaitingForBits_8->xListEnd;
  974. if (_1 == _2)
  975. goto <bb 8>; [INV]
  976. else
  977. goto <bb 11>; [INV]
  978. <bb 8> :
  979. __asm__ __volatile__(" mov %0, %1
  980. msr basepri, %0
  981. isb
  982. dsb
  983. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  984. <bb 9> :
  985. <bb 10> :
  986. goto <bb 10>; [INV]
  987. <bb 11> :
  988. _3 = pxTasksWaitingForBits_8->xListEnd.pxNext;
  989. vTaskRemoveFromUnorderedEventList (_3, 33554432);
  990. <bb 12> :
  991. _4 ={v} pxTasksWaitingForBits_8->uxNumberOfItems;
  992. if (_4 != 0)
  993. goto <bb 7>; [INV]
  994. else
  995. goto <bb 13>; [INV]
  996. <bb 13> :
  997. vPortFree (pxEventBits_7);
  998. xTaskResumeAll ();
  999. return;
  1000. }
  1001. ;; Function vEventGroupSetBitsCallback (vEventGroupSetBitsCallback, funcdef_no=12, decl_uid=6303, cgraph_uid=13, symbol_order=12)
  1002. vEventGroupSetBitsCallback (void * pvEventGroup, const uint32_t ulBitsToSet)
  1003. {
  1004. <bb 2> :
  1005. xEventGroupSetBits (pvEventGroup_2(D), ulBitsToSet_3(D));
  1006. return;
  1007. }
  1008. ;; Function vEventGroupClearBitsCallback (vEventGroupClearBitsCallback, funcdef_no=13, decl_uid=6306, cgraph_uid=14, symbol_order=13)
  1009. vEventGroupClearBitsCallback (void * pvEventGroup, const uint32_t ulBitsToClear)
  1010. {
  1011. <bb 2> :
  1012. xEventGroupClearBits (pvEventGroup_2(D), ulBitsToClear_3(D));
  1013. return;
  1014. }
  1015. ;; Function prvTestWaitCondition (prvTestWaitCondition, funcdef_no=14, decl_uid=6319, cgraph_uid=15, symbol_order=14)
  1016. prvTestWaitCondition (const EventBits_t uxCurrentEventBits, const EventBits_t uxBitsToWaitFor, const BaseType_t xWaitForAllBits)
  1017. {
  1018. BaseType_t xWaitConditionMet;
  1019. BaseType_t D.6560;
  1020. long unsigned int _1;
  1021. long unsigned int _2;
  1022. BaseType_t _10;
  1023. <bb 2> :
  1024. xWaitConditionMet_4 = 0;
  1025. if (xWaitForAllBits_5(D) == 0)
  1026. goto <bb 3>; [INV]
  1027. else
  1028. goto <bb 5>; [INV]
  1029. <bb 3> :
  1030. _1 = uxCurrentEventBits_6(D) & uxBitsToWaitFor_7(D);
  1031. if (_1 != 0)
  1032. goto <bb 4>; [INV]
  1033. else
  1034. goto <bb 7>; [INV]
  1035. <bb 4> :
  1036. xWaitConditionMet_9 = 1;
  1037. goto <bb 7>; [INV]
  1038. <bb 5> :
  1039. _2 = uxCurrentEventBits_6(D) & uxBitsToWaitFor_7(D);
  1040. if (uxBitsToWaitFor_7(D) == _2)
  1041. goto <bb 6>; [INV]
  1042. else
  1043. goto <bb 7>; [INV]
  1044. <bb 6> :
  1045. xWaitConditionMet_8 = 1;
  1046. <bb 7> :
  1047. # xWaitConditionMet_3 = PHI <xWaitConditionMet_9(4), xWaitConditionMet_4(5), xWaitConditionMet_8(6), xWaitConditionMet_4(3)>
  1048. _10 = xWaitConditionMet_3;
  1049. <bb 8> :
  1050. <L9>:
  1051. return _10;
  1052. }
  1053. ;; Function xEventGroupSetBitsFromISR (xEventGroupSetBitsFromISR, funcdef_no=15, decl_uid=6291, cgraph_uid=16, symbol_order=15)
  1054. xEventGroupSetBitsFromISR (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet, BaseType_t * pxHigherPriorityTaskWoken)
  1055. {
  1056. BaseType_t xReturn;
  1057. BaseType_t D.6562;
  1058. BaseType_t _7;
  1059. <bb 2> :
  1060. xReturn_6 = xTimerPendFunctionCallFromISR (vEventGroupSetBitsCallback, xEventGroup_2(D), uxBitsToSet_3(D), pxHigherPriorityTaskWoken_4(D));
  1061. _7 = xReturn_6;
  1062. <bb 3> :
  1063. <L0>:
  1064. return _7;
  1065. }
  1066. ;; Function uxEventGroupGetNumber (uxEventGroupGetNumber, funcdef_no=16, decl_uid=6308, cgraph_uid=17, symbol_order=16)
  1067. uxEventGroupGetNumber (void * xEventGroup)
  1068. {
  1069. const struct EventGroup_t * pxEventBits;
  1070. UBaseType_t xReturn;
  1071. UBaseType_t D.6567;
  1072. UBaseType_t _7;
  1073. <bb 2> :
  1074. pxEventBits_3 = xEventGroup_2(D);
  1075. if (xEventGroup_2(D) == 0B)
  1076. goto <bb 3>; [INV]
  1077. else
  1078. goto <bb 4>; [INV]
  1079. <bb 3> :
  1080. xReturn_6 = 0;
  1081. goto <bb 5>; [INV]
  1082. <bb 4> :
  1083. xReturn_5 = pxEventBits_3->uxEventGroupNumber;
  1084. <bb 5> :
  1085. # xReturn_1 = PHI <xReturn_6(3), xReturn_5(4)>
  1086. _7 = xReturn_1;
  1087. <bb 6> :
  1088. <L3>:
  1089. return _7;
  1090. }
  1091. ;; Function vEventGroupSetNumber (vEventGroupSetNumber, funcdef_no=17, decl_uid=6311, cgraph_uid=18, symbol_order=17)
  1092. vEventGroupSetNumber (void * xEventGroup, UBaseType_t uxEventGroupNumber)
  1093. {
  1094. <bb 2> :
  1095. MEM[(struct EventGroup_t *)xEventGroup_2(D)].uxEventGroupNumber = uxEventGroupNumber_3(D);
  1096. return;
  1097. }