1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492 |
- Symbol table:
- xEventGroupSetBits.part.0/39 (xEventGroupSetBits.part.0) @05de90e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:118111600 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupSetBits/10 (52886 (estimated locally),0.23 per call)
- Calls: vTaskSuspendAll/21 (118111600 (estimated locally),1.00 per call) vTaskRemoveFromUnorderedEventList/28 (401364694 (estimated locally),3.40 per call) xTaskResumeAll/23 (118111601 (estimated locally),1.00 per call)
- xEventGroupClearBits.part.0/36 (xEventGroupClearBits.part.0) @05de3a80
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupClearBits/7 (52886 (estimated locally),0.23 per call)
- Calls: vPortEnterCritical/25 (1073741824 (estimated locally),1.00 per call) vPortExitCritical/26 (1073741824 (estimated locally),1.00 per call)
- vPortFree/29 (vPortFree) @05ecab60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vEventGroupDelete/11 (63439 (estimated locally),0.27 per call)
- Calls:
- vTaskRemoveFromUnorderedEventList/28 (vTaskRemoveFromUnorderedEventList) @05eca9a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vEventGroupDelete/11 (1030048 (estimated locally),4.46 per call) xEventGroupSetBits.part.0/39 (401364694 (estimated locally),3.40 per call)
- Calls:
- xTimerPendFunctionCallFromISR/27 (xTimerPendFunctionCallFromISR) @05eca460
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSetBitsFromISR/15 (1073741824 (estimated locally),1.00 per call) xEventGroupClearBitsFromISR/8 (1073741824 (estimated locally),1.00 per call)
- Calls:
- vPortExitCritical/26 (vPortExitCritical) @05eadd20
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSync/5 (3888 (estimated locally),0.02 per call) xEventGroupClearBits.part.0/36 (1073741824 (estimated locally),1.00 per call) xEventGroupWaitBits/6 (3888 (estimated locally),0.01 per call)
- Calls:
- vPortEnterCritical/25 (vPortEnterCritical) @05eadc40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSync/5 (3888 (estimated locally),0.02 per call) xEventGroupClearBits.part.0/36 (1073741824 (estimated locally),1.00 per call) xEventGroupWaitBits/6 (3888 (estimated locally),0.01 per call)
- Calls:
- uxTaskResetEventItemValue/24 (uxTaskResetEventItemValue) @05eadb60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSync/5 (11782 (estimated locally),0.05 per call) xEventGroupWaitBits/6 (11782 (estimated locally),0.04 per call)
- Calls:
- xTaskResumeAll/23 (xTaskResumeAll) @05eada80
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vEventGroupDelete/11 (63439 (estimated locally),0.27 per call) xEventGroupSync/5 (23563 (estimated locally),0.11 per call) xEventGroupSetBits.part.0/39 (118111601 (estimated locally),1.00 per call) xEventGroupWaitBits/6 (23563 (estimated locally),0.08 per call)
- Calls:
- vTaskPlaceOnUnorderedEventList/22 (vTaskPlaceOnUnorderedEventList) @05ead9a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSync/5 (5132 (estimated locally),0.02 per call) xEventGroupWaitBits/6 (5891 (estimated locally),0.02 per call)
- Calls:
- vTaskSuspendAll/21 (vTaskSuspendAll) @05ead8c0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vEventGroupDelete/11 (123389 (estimated locally),0.53 per call) xEventGroupSync/5 (23563 (estimated locally),0.11 per call) xEventGroupSetBits.part.0/39 (118111600 (estimated locally),1.00 per call) xEventGroupWaitBits/6 (23563 (estimated locally),0.08 per call)
- Calls:
- xTaskGetSchedulerState/20 (xTaskGetSchedulerState) @05ead7e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupSync/5 (35433 (estimated locally),0.16 per call) xEventGroupWaitBits/6 (35433 (estimated locally),0.12 per call)
- Calls:
- vListInitialise/19 (vListInitialise) @05ead460
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupCreate/4 (574129754 (estimated locally),0.53 per call)
- Calls:
- pvPortMalloc/18 (pvPortMalloc) @05ead380
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xEventGroupCreate/4 (1073741824 (estimated locally),1.00 per call)
- Calls:
- vEventGroupSetNumber/17 (vEventGroupSetNumber) @05ea1e00
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxEventGroupGetNumber/16 (uxEventGroupGetNumber) @05ea18c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xEventGroupSetBitsFromISR/15 (xEventGroupSetBitsFromISR) @05ea12a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: vEventGroupSetBitsCallback/12 (addr)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: xTimerPendFunctionCallFromISR/27 (1073741824 (estimated locally),1.00 per call)
- prvTestWaitCondition/14 (prvTestWaitCondition) @05ea1d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xEventGroupWaitBits/6 (3888 (estimated locally),0.01 per call) xEventGroupWaitBits/6 (23563 (estimated locally),0.08 per call)
- Calls:
- vEventGroupClearBitsCallback/13 (vEventGroupClearBitsCallback) @05ea1a80
- Type: function definition analyzed
- Visibility: externally_visible public
- Address is taken.
- References:
- Referring: xEventGroupClearBitsFromISR/8 (addr)
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: xEventGroupClearBits/7 (1073741824 (estimated locally),1.00 per call)
- vEventGroupSetBitsCallback/12 (vEventGroupSetBitsCallback) @05ea17e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Address is taken.
- References:
- Referring: xEventGroupSetBitsFromISR/15 (addr)
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: xEventGroupSetBits/10 (1073741824 (estimated locally),1.00 per call)
- vEventGroupDelete/11 (vEventGroupDelete) @05ea1540
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/23 (63439 (estimated locally),0.27 per call) vPortFree/29 (63439 (estimated locally),0.27 per call) vTaskRemoveFromUnorderedEventList/28 (1030048 (estimated locally),4.46 per call) vTaskSuspendAll/21 (123389 (estimated locally),0.53 per call)
- xEventGroupSetBits/10 (xEventGroupSetBits) @05ea11c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:228942 (estimated locally) body optimize_size
- Called by: vEventGroupSetBitsCallback/12 (1073741824 (estimated locally),1.00 per call) xEventGroupSync/5 (23563 (estimated locally),0.11 per call)
- Calls: xEventGroupSetBits.part.0/39 (52886 (estimated locally),0.23 per call)
- xEventGroupGetBitsFromISR/9 (xEventGroupGetBitsFromISR) @05e5da80
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xEventGroupClearBitsFromISR/8 (xEventGroupClearBitsFromISR) @05e5d0e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: vEventGroupClearBitsCallback/13 (addr)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: xTimerPendFunctionCallFromISR/27 (1073741824 (estimated locally),1.00 per call)
- xEventGroupClearBits/7 (xEventGroupClearBits) @05e5dd20
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:228942 (estimated locally) body optimize_size
- Called by: vEventGroupClearBitsCallback/13 (1073741824 (estimated locally),1.00 per call)
- Calls: xEventGroupClearBits.part.0/36 (52886 (estimated locally),0.23 per call)
- xEventGroupWaitBits/6 (xEventGroupWaitBits) @05e5d9a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:306783 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/26 (3888 (estimated locally),0.01 per call) prvTestWaitCondition/14 (3888 (estimated locally),0.01 per call) vPortEnterCritical/25 (3888 (estimated locally),0.01 per call) uxTaskResetEventItemValue/24 (11782 (estimated locally),0.04 per call) xTaskResumeAll/23 (23563 (estimated locally),0.08 per call) vTaskPlaceOnUnorderedEventList/22 (5891 (estimated locally),0.02 per call) prvTestWaitCondition/14 (23563 (estimated locally),0.08 per call) vTaskSuspendAll/21 (23563 (estimated locally),0.08 per call) xTaskGetSchedulerState/20 (35433 (estimated locally),0.12 per call)
- xEventGroupSync/5 (xEventGroupSync) @05e5d460
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:214748 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/26 (3888 (estimated locally),0.02 per call) vPortEnterCritical/25 (3888 (estimated locally),0.02 per call) uxTaskResetEventItemValue/24 (11782 (estimated locally),0.05 per call) xTaskResumeAll/23 (23563 (estimated locally),0.11 per call) vTaskPlaceOnUnorderedEventList/22 (5132 (estimated locally),0.02 per call) xEventGroupSetBits/10 (23563 (estimated locally),0.11 per call) vTaskSuspendAll/21 (23563 (estimated locally),0.11 per call) xTaskGetSchedulerState/20 (35433 (estimated locally),0.16 per call)
- xEventGroupCreate/4 (xEventGroupCreate) @05e5d000
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vListInitialise/19 (574129754 (estimated locally),0.53 per call) pvPortMalloc/18 (1073741824 (estimated locally),1.00 per call)
- xEventGroupSetBits.part.0 (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet)
- {
- struct ListItem_t * pxListItem;
- struct ListItem_t * pxNext;
- const struct ListItem_t * pxListEnd;
- const struct List_t * pxList;
- EventBits_t uxBitsToClear;
- EventBits_t uxBitsWaitedFor;
- EventBits_t uxControlBits;
- struct EventGroup_t * pxEventBits;
- BaseType_t xMatchFound;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- long unsigned int _4;
- long unsigned int _6;
- long unsigned int _11;
- long unsigned int _12;
- long unsigned int _13;
- long unsigned int _14;
- long unsigned int _15;
- long unsigned int _16;
- long unsigned int _19;
- long unsigned int _20;
- long unsigned int _21;
- long unsigned int _23;
- long unsigned int _24;
- long unsigned int _25;
- <bb 12> [local count: 118111600]:
- <bb 2> [local count: 118111600]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG D#1 => &MEM[(struct EventGroup_t *)xEventGroup_1(D)].xTasksWaitingForBits
- # DEBUG pxList => D#1
- # DEBUG BEGIN_STMT
- pxListEnd_2 = &MEM[(const struct List_t *)xEventGroup_1(D) + 4B].xListEnd;
- # DEBUG pxListEnd => pxListEnd_2
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxListItem_3 = MEM[(const struct List_t *)xEventGroup_1(D) + 4B].xListEnd.pxNext;
- # DEBUG pxListItem => pxListItem_3
- # DEBUG BEGIN_STMT
- _4 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- _6 = _4 | uxBitsToSet_5(D);
- MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits = _6;
- # DEBUG BEGIN_STMT
- goto <bb 10>; [100.00%]
- <bb 3> [local count: 955630223]:
- # DEBUG BEGIN_STMT
- pxNext_8 = pxListItem_7->pxNext;
- # DEBUG pxNext => pxNext_8
- # DEBUG BEGIN_STMT
- uxBitsWaitedFor_9 = pxListItem_7->xItemValue;
- # DEBUG uxBitsWaitedFor => uxBitsWaitedFor_9
- # DEBUG BEGIN_STMT
- # DEBUG xMatchFound => 0
- # DEBUG BEGIN_STMT
- # DEBUG uxControlBits => uxBitsWaitedFor_9 & 4278190080
- # DEBUG BEGIN_STMT
- uxBitsWaitedFor_10 = uxBitsWaitedFor_9 & 16777215;
- # DEBUG uxBitsWaitedFor => uxBitsWaitedFor_10
- # DEBUG BEGIN_STMT
- _11 = uxBitsWaitedFor_9 & 67108864;
- if (_11 == 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 4> [local count: 477815111]:
- # DEBUG BEGIN_STMT
- _12 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- _13 = uxBitsWaitedFor_10 & _12;
- if (_13 != 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 5> [local count: 477815111]:
- # DEBUG BEGIN_STMT
- _14 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- _15 = uxBitsWaitedFor_10 & _14;
- if (uxBitsWaitedFor_10 == _15)
- goto <bb 6>; [34.00%]
- else
- goto <bb 9>; [66.00%]
- <bb 6> [local count: 401364694]:
- # DEBUG xMatchFound => NULL
- # DEBUG BEGIN_STMT
- _16 = uxBitsWaitedFor_9 & 16777216;
- if (_16 != 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 7> [local count: 200682347]:
- # DEBUG BEGIN_STMT
- uxBitsToClear_18 = uxBitsWaitedFor_10 | uxBitsToClear_17;
- # DEBUG uxBitsToClear => uxBitsToClear_18
- <bb 8> [local count: 401364694]:
- # uxBitsToClear_26 = PHI <uxBitsToClear_17(6), uxBitsToClear_18(7)>
- # DEBUG uxBitsToClear => uxBitsToClear_26
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _19 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- _20 = _19 | 33554432;
- vTaskRemoveFromUnorderedEventList (pxListItem_7, _20);
- <bb 9> [local count: 955630225]:
- # pxListItem_27 = PHI <pxNext_8(4), pxNext_8(5), pxNext_8(8)>
- # uxBitsToClear_28 = PHI <uxBitsToClear_17(4), uxBitsToClear_17(5), uxBitsToClear_26(8)>
- <bb 10> [local count: 1073741824]:
- # pxListItem_7 = PHI <pxListItem_3(2), pxListItem_27(9)>
- # uxBitsToClear_17 = PHI <0(2), uxBitsToClear_28(9)>
- # DEBUG xMatchFound => NULL
- # DEBUG uxBitsToClear => uxBitsToClear_17
- # DEBUG pxListItem => pxListItem_7
- # DEBUG BEGIN_STMT
- if (pxListEnd_2 != pxListItem_7)
- goto <bb 3>; [89.00%]
- else
- goto <bb 11>; [11.00%]
- <bb 11> [local count: 118111601]:
- # uxBitsToClear_22 = PHI <uxBitsToClear_17(10)>
- # DEBUG BEGIN_STMT
- _21 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- _23 = ~uxBitsToClear_22;
- _24 = _21 & _23;
- MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits = _24;
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- _25 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- return _25;
- }
- xEventGroupClearBits.part.0 (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToClear)
- {
- struct EventGroup_t * pxEventBits;
- EventBits_t uxReturn;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- long unsigned int _4;
- long unsigned int _5;
- <bb 3> [local count: 1073741824]:
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxReturn_2 = MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- # DEBUG uxReturn => uxReturn_2
- # DEBUG BEGIN_STMT
- _4 = ~uxBitsToClear_3(D);
- _5 = uxReturn_2 & _4;
- MEM[(struct EventGroup_t *)xEventGroup_1(D)].uxEventBits = _5;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return uxReturn_2;
- }
- vEventGroupSetNumber (void * xEventGroup, UBaseType_t uxEventGroupNumber)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- MEM[(struct EventGroup_t *)xEventGroup_2(D)].uxEventGroupNumber = uxEventGroupNumber_3(D);
- return;
- }
- uxEventGroupGetNumber (void * xEventGroup)
- {
- UBaseType_t xReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_2(D)
- # DEBUG BEGIN_STMT
- if (xEventGroup_2(D) == 0B)
- goto <bb 4>; [30.00%]
- else
- goto <bb 3>; [70.00%]
- <bb 3> [local count: 751619278]:
- # DEBUG BEGIN_STMT
- xReturn_4 = MEM[(const struct EventGroup_t *)xEventGroup_2(D)].uxEventGroupNumber;
- # DEBUG xReturn => xReturn_4
- <bb 4> [local count: 1073741824]:
- # xReturn_1 = PHI <0(2), xReturn_4(3)>
- # DEBUG xReturn => xReturn_1
- # DEBUG BEGIN_STMT
- return xReturn_1;
- }
- xEventGroupSetBitsFromISR (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet, BaseType_t * pxHigherPriorityTaskWoken)
- {
- BaseType_t xReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_6 = xTimerPendFunctionCallFromISR (vEventGroupSetBitsCallback, xEventGroup_2(D), uxBitsToSet_3(D), pxHigherPriorityTaskWoken_4(D));
- # DEBUG xReturn => xReturn_6
- # DEBUG BEGIN_STMT
- return xReturn_6;
- }
- prvTestWaitCondition (const EventBits_t uxCurrentEventBits, const EventBits_t uxBitsToWaitFor, const BaseType_t xWaitForAllBits)
- {
- BaseType_t xWaitConditionMet;
- long unsigned int _1;
- long unsigned int _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG xWaitConditionMet => 0
- # DEBUG BEGIN_STMT
- if (xWaitForAllBits_4(D) == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- _1 = uxCurrentEventBits_5(D) & uxBitsToWaitFor_6(D);
- if (_1 != 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 4> [local count: 268435456]:
- # DEBUG BEGIN_STMT
- # DEBUG xWaitConditionMet => 1
- goto <bb 7>; [100.00%]
- <bb 5> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- _2 = uxCurrentEventBits_5(D) & uxBitsToWaitFor_6(D);
- if (_2 == uxBitsToWaitFor_6(D))
- goto <bb 6>; [34.00%]
- else
- goto <bb 7>; [66.00%]
- <bb 6> [local count: 182536110]:
- # DEBUG BEGIN_STMT
- # DEBUG xWaitConditionMet => 1
- <bb 7> [local count: 1073741824]:
- # xWaitConditionMet_3 = PHI <1(4), 0(5), 1(6), 0(3)>
- # DEBUG xWaitConditionMet => xWaitConditionMet_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xWaitConditionMet_3;
- }
- vEventGroupClearBitsCallback (void * pvEventGroup, const uint32_t ulBitsToClear)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xEventGroupClearBits (pvEventGroup_2(D), ulBitsToClear_3(D));
- return;
- }
- vEventGroupSetBitsCallback (void * pvEventGroup, const uint32_t ulBitsToSet)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xEventGroupSetBits (pvEventGroup_2(D), ulBitsToSet_3(D));
- return;
- }
- vEventGroupDelete (struct EventGroupDef_t * xEventGroup)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct xLIST_ITEM * _1;
- const struct MiniListItem_t * _2;
- long unsigned int _3;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- if (xEventGroup_5(D) == 0B)
- goto <bb 3>; [46.53%]
- else
- goto <bb 5>; [53.47%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_11 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_11
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 12> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG D#2 => &MEM[(struct EventGroup_t *)xEventGroup_5(D)].xTasksWaitingForBits
- # DEBUG pxTasksWaitingForBits => D#2
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 10>; [100.00%]
- <bb 6> [local count: 1089998]:
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct List_t *)xEventGroup_5(D) + 4B].xListEnd.pxNext;
- _2 = &MEM[(const struct List_t *)xEventGroup_5(D) + 4B].xListEnd;
- if (_1 == _2)
- goto <bb 7>; [5.50%]
- else
- goto <bb 9>; [94.50%]
- <bb 7> [local count: 59950]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- <bb 8> [local count: 599500022]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 599500022]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 1030048]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskRemoveFromUnorderedEventList (_1, 33554432);
- <bb 10> [local count: 1153437]:
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(const struct List_t *)xEventGroup_5(D) + 4B].uxNumberOfItems;
- if (_3 != 0)
- goto <bb 6>; [94.50%]
- else
- goto <bb 11>; [5.50%]
- <bb 11> [local count: 63439]:
- # DEBUG BEGIN_STMT
- vPortFree (xEventGroup_5(D));
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- return;
- }
- xEventGroupSetBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet)
- {
- EventBits_t D.6634;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- long unsigned int _1;
- <bb 2> [local count: 228942]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG uxBitsToClear => 0
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_3(D)
- # DEBUG BEGIN_STMT
- # DEBUG xMatchFound => 0
- # DEBUG BEGIN_STMT
- if (xEventGroup_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 68683]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
- <bb 4> [local count: 686828460]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 686828460]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = uxBitsToSet_4(D) & 4278190080;
- if (_1 != 0)
- goto <bb 6>; [67.00%]
- else
- goto <bb 8>; [33.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 7> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 52886]:
- _6 = xEventGroupSetBits.part.0 (xEventGroup_3(D), uxBitsToSet_4(D));
- return _6;
- }
- xEventGroupGetBitsFromISR (struct EventGroupDef_t * xEventGroup)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- EventBits_t uxReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_1(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_4, "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_4
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_4
- # DEBUG BEGIN_STMT
- uxReturn_3 = MEM[(const struct EventGroup_t *)xEventGroup_1(D)].uxEventBits;
- # DEBUG uxReturn => uxReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_4
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_4 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return uxReturn_3;
- }
- xEventGroupClearBitsFromISR (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToClear)
- {
- BaseType_t xReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_5 = xTimerPendFunctionCallFromISR (vEventGroupClearBitsCallback, xEventGroup_2(D), uxBitsToClear_3(D), 0B);
- # DEBUG xReturn => xReturn_5
- # DEBUG BEGIN_STMT
- return xReturn_5;
- }
- xEventGroupClearBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToClear)
- {
- EventBits_t D.6607;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- long unsigned int _1;
- <bb 2> [local count: 228942]:
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_3(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xEventGroup_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 68683]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
- <bb 4> [local count: 686828460]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 686828460]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = uxBitsToClear_5(D) & 4278190080;
- if (_1 != 0)
- goto <bb 6>; [67.00%]
- else
- goto <bb 8>; [33.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 7> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 52886]:
- _2 = xEventGroupClearBits.part.0 (xEventGroup_3(D), uxBitsToClear_5(D));
- return _2;
- }
- xEventGroupWaitBits (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- const EventBits_t uxCurrentEventBits;
- BaseType_t xAlreadyYielded;
- BaseType_t xWaitConditionMet;
- EventBits_t uxControlBits;
- EventBits_t uxReturn;
- long unsigned int _1;
- long int _2;
- long unsigned int _3;
- long unsigned int _4;
- struct List_t * _5;
- long unsigned int _6;
- long unsigned int _7;
- long int _8;
- long unsigned int _9;
- long unsigned int _10;
- <bb 2> [local count: 306783]:
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_22(D)
- # DEBUG BEGIN_STMT
- # DEBUG uxControlBits => 0
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xTimeoutOccurred => 0
- # DEBUG BEGIN_STMT
- if (xEventGroup_22(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 92035]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_45 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_45
- <bb 4> [local count: 920350133]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 34> [local count: 920350133]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = uxBitsToWaitFor_23(D) & 4278190080;
- if (_1 != 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_30 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_30
- <bb 7> [local count: 1073741823]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 35> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxBitsToWaitFor_23(D) == 0)
- goto <bb 9>; [67.00%]
- else
- goto <bb 11>; [33.00%]
- <bb 9> [local count: 71941]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_49 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_49
- <bb 10> [local count: 719407021]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 36> [local count: 719407021]:
- goto <bb 10>; [100.00%]
- <bb 11> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = xTaskGetSchedulerState ();
- if (_2 != 0)
- goto <bb 15>; [33.00%]
- else
- goto <bb 12>; [67.00%]
- <bb 12> [local count: 23740]:
- if (xTicksToWait_26(D) == 0)
- goto <bb 15>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 13> [local count: 11870]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_50 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_50
- <bb 14> [local count: 118702158]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 37> [local count: 118702158]:
- goto <bb 14>; [100.00%]
- <bb 15> [local count: 23563]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- uxCurrentEventBits_28 = MEM[(struct EventGroup_t *)xEventGroup_22(D)].uxEventBits;
- # DEBUG uxCurrentEventBits => uxCurrentEventBits_28
- # DEBUG BEGIN_STMT
- xWaitConditionMet_31 = prvTestWaitCondition (uxCurrentEventBits_28, uxBitsToWaitFor_23(D), xWaitForAllBits_29(D));
- # DEBUG xWaitConditionMet => xWaitConditionMet_31
- # DEBUG BEGIN_STMT
- if (xWaitConditionMet_31 != 0)
- goto <bb 16>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 16> [local count: 11782]:
- # DEBUG BEGIN_STMT
- # DEBUG uxReturn => uxCurrentEventBits_28
- # DEBUG BEGIN_STMT
- # DEBUG xTicksToWait => 0
- # DEBUG BEGIN_STMT
- if (xClearOnExit_32(D) != 0)
- goto <bb 17>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 17> [local count: 5891]:
- # DEBUG BEGIN_STMT
- _3 = ~uxBitsToWaitFor_23(D);
- _4 = _3 & uxCurrentEventBits_28;
- MEM[(struct EventGroup_t *)xEventGroup_22(D)].uxEventBits = _4;
- goto <bb 24>; [100.00%]
- <bb 18> [local count: 11782]:
- # DEBUG BEGIN_STMT
- if (xTicksToWait_26(D) == 0)
- goto <bb 24>; [50.00%]
- else
- goto <bb 19>; [50.00%]
- <bb 19> [local count: 5891]:
- # DEBUG BEGIN_STMT
- if (xClearOnExit_32(D) != 0)
- goto <bb 20>; [50.00%]
- else
- goto <bb 21>; [50.00%]
- <bb 20> [local count: 2945]:
- # DEBUG BEGIN_STMT
- # DEBUG uxControlBits => 16777216
- <bb 21> [local count: 5891]:
- # uxControlBits_15 = PHI <0(19), 16777216(20)>
- # DEBUG uxControlBits => uxControlBits_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xWaitForAllBits_29(D) != 0)
- goto <bb 22>; [50.00%]
- else
- goto <bb 23>; [50.00%]
- <bb 22> [local count: 2945]:
- # DEBUG BEGIN_STMT
- uxControlBits_33 = uxControlBits_15 | 67108864;
- # DEBUG uxControlBits => uxControlBits_33
- <bb 23> [local count: 5891]:
- # uxControlBits_16 = PHI <uxControlBits_15(21), uxControlBits_33(22)>
- # DEBUG uxControlBits => uxControlBits_16
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _5 = &MEM[(struct EventGroup_t *)xEventGroup_22(D)].xTasksWaitingForBits;
- _6 = uxControlBits_16 | uxBitsToWaitFor_23(D);
- vTaskPlaceOnUnorderedEventList (_5, _6, xTicksToWait_26(D));
- # DEBUG BEGIN_STMT
- # DEBUG uxReturn => 0
- <bb 24> [local count: 23563]:
- # xTicksToWait_11 = PHI <0(17), xTicksToWait_26(D)(18), xTicksToWait_26(D)(23), 0(16)>
- # uxReturn_12 = PHI <uxCurrentEventBits_28(17), uxCurrentEventBits_28(18), 0(23), uxCurrentEventBits_28(16)>
- # DEBUG xTimeoutOccurred => NULL
- # DEBUG uxReturn => uxReturn_12
- # DEBUG xTicksToWait => xTicksToWait_11
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xAlreadyYielded_37 = xTaskResumeAll ();
- # DEBUG xAlreadyYielded => xAlreadyYielded_37
- # DEBUG BEGIN_STMT
- if (xTicksToWait_11 != 0)
- goto <bb 25>; [50.00%]
- else
- goto <bb 33>; [50.00%]
- <bb 25> [local count: 11782]:
- # DEBUG BEGIN_STMT
- if (xAlreadyYielded_37 == 0)
- goto <bb 26>; [50.00%]
- else
- goto <bb 27>; [50.00%]
- <bb 26> [local count: 5891]:
- # DEBUG BEGIN_STMT
- MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("dsb" : : : "memory");
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("isb");
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 11782]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxReturn_42 = uxTaskResetEventItemValue ();
- # DEBUG uxReturn => uxReturn_42
- # DEBUG BEGIN_STMT
- _7 = uxReturn_42 & 33554432;
- if (_7 == 0)
- goto <bb 28>; [33.00%]
- else
- goto <bb 32>; [67.00%]
- <bb 28> [local count: 3888]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- uxReturn_44 = MEM[(struct EventGroup_t *)xEventGroup_22(D)].uxEventBits;
- # DEBUG uxReturn => uxReturn_44
- # DEBUG BEGIN_STMT
- _8 = prvTestWaitCondition (uxReturn_44, uxBitsToWaitFor_23(D), xWaitForAllBits_29(D));
- if (_8 != 0)
- goto <bb 29>; [50.00%]
- else
- goto <bb 31>; [50.00%]
- <bb 29> [local count: 1944]:
- # DEBUG BEGIN_STMT
- if (xClearOnExit_32(D) != 0)
- goto <bb 30>; [50.00%]
- else
- goto <bb 31>; [50.00%]
- <bb 30> [local count: 972]:
- # DEBUG BEGIN_STMT
- _9 = ~uxBitsToWaitFor_23(D);
- _10 = _9 & uxReturn_44;
- MEM[(struct EventGroup_t *)xEventGroup_22(D)].uxEventBits = _10;
- <bb 31> [local count: 3888]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xTimeoutOccurred => 1
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- <bb 32> [local count: 11782]:
- # uxReturn_13 = PHI <uxReturn_42(27), uxReturn_44(31)>
- # DEBUG uxReturn => uxReturn_13
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxReturn_48 = uxReturn_13 & 16777215;
- # DEBUG uxReturn => uxReturn_48
- <bb 33> [local count: 23563]:
- # uxReturn_14 = PHI <uxReturn_12(24), uxReturn_48(32)>
- # DEBUG uxReturn => uxReturn_14
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return uxReturn_14;
- }
- xEventGroupSync (struct EventGroupDef_t * xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xAlreadyYielded;
- EventBits_t uxReturn;
- EventBits_t uxOriginalBitValue;
- long unsigned int _1;
- long int _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- long unsigned int _6;
- long unsigned int _7;
- struct List_t * _8;
- long unsigned int _9;
- long unsigned int _10;
- long unsigned int _11;
- long unsigned int _12;
- long unsigned int _13;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxEventBits => xEventGroup_23(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xTimeoutOccurred => 0
- # DEBUG BEGIN_STMT
- _1 = uxBitsToWaitFor_24(D) & 4278190080;
- if (_1 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_47 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_47
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxBitsToWaitFor_24(D) == 0)
- goto <bb 6>; [67.00%]
- else
- goto <bb 8>; [33.00%]
- <bb 6> [local count: 71941]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_48 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_48
- <bb 7> [local count: 719407023]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 719407023]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = xTaskGetSchedulerState ();
- if (_2 != 0)
- goto <bb 12>; [33.00%]
- else
- goto <bb 9>; [67.00%]
- <bb 9> [local count: 23740]:
- if (xTicksToWait_27(D) == 0)
- goto <bb 12>; [50.00%]
- else
- goto <bb 10>; [50.00%]
- <bb 10> [local count: 11870]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_49 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_49
- <bb 11> [local count: 118702159]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 28> [local count: 118702159]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 23563]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- uxOriginalBitValue_29 = MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits;
- # DEBUG uxOriginalBitValue => uxOriginalBitValue_29
- # DEBUG BEGIN_STMT
- xEventGroupSetBits (xEventGroup_23(D), uxBitsToSet_30(D));
- # DEBUG BEGIN_STMT
- _3 = uxOriginalBitValue_29 | uxBitsToSet_30(D);
- _4 = _3 & uxBitsToWaitFor_24(D);
- if (_4 == uxBitsToWaitFor_24(D))
- goto <bb 13>; [34.00%]
- else
- goto <bb 14>; [66.00%]
- <bb 13> [local count: 8011]:
- # DEBUG BEGIN_STMT
- # DEBUG uxReturn => _3
- # DEBUG BEGIN_STMT
- _5 = MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits;
- _6 = ~uxBitsToWaitFor_24(D);
- _7 = _5 & _6;
- MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits = _7;
- # DEBUG BEGIN_STMT
- # DEBUG xTicksToWait => 0
- goto <bb 17>; [100.00%]
- <bb 14> [local count: 15552]:
- # DEBUG BEGIN_STMT
- if (xTicksToWait_27(D) != 0)
- goto <bb 15>; [33.00%]
- else
- goto <bb 16>; [67.00%]
- <bb 15> [local count: 5132]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _8 = &MEM[(struct EventGroup_t *)xEventGroup_23(D)].xTasksWaitingForBits;
- _9 = uxBitsToWaitFor_24(D) | 83886080;
- vTaskPlaceOnUnorderedEventList (_8, _9, xTicksToWait_27(D));
- # DEBUG BEGIN_STMT
- # DEBUG uxReturn => 0
- goto <bb 17>; [100.00%]
- <bb 16> [local count: 10420]:
- # DEBUG BEGIN_STMT
- uxReturn_32 = MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits;
- # DEBUG uxReturn => uxReturn_32
- # DEBUG BEGIN_STMT
- # DEBUG xTimeoutOccurred => 1
- <bb 17> [local count: 23563]:
- # xTicksToWait_14 = PHI <0(13), xTicksToWait_27(D)(15), 0(16)>
- # uxReturn_15 = PHI <_3(13), 0(15), uxReturn_32(16)>
- # DEBUG uxReturn => uxReturn_15
- # DEBUG xTicksToWait => xTicksToWait_14
- # DEBUG BEGIN_STMT
- xAlreadyYielded_36 = xTaskResumeAll ();
- # DEBUG xAlreadyYielded => xAlreadyYielded_36
- # DEBUG BEGIN_STMT
- if (xTicksToWait_14 != 0)
- goto <bb 18>; [50.00%]
- else
- goto <bb 25>; [50.00%]
- <bb 18> [local count: 11782]:
- # DEBUG BEGIN_STMT
- if (xAlreadyYielded_36 == 0)
- goto <bb 19>; [50.00%]
- else
- goto <bb 20>; [50.00%]
- <bb 19> [local count: 5891]:
- # DEBUG BEGIN_STMT
- MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("dsb" : : : "memory");
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("isb");
- # DEBUG BEGIN_STMT
- <bb 20> [local count: 11782]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxReturn_41 = uxTaskResetEventItemValue ();
- # DEBUG uxReturn => uxReturn_41
- # DEBUG BEGIN_STMT
- _10 = uxReturn_41 & 33554432;
- if (_10 == 0)
- goto <bb 21>; [33.00%]
- else
- goto <bb 24>; [67.00%]
- <bb 21> [local count: 3888]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- uxReturn_43 = MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits;
- # DEBUG uxReturn => uxReturn_43
- # DEBUG BEGIN_STMT
- _11 = uxBitsToWaitFor_24(D) & uxReturn_43;
- if (_11 == uxBitsToWaitFor_24(D))
- goto <bb 22>; [34.00%]
- else
- goto <bb 23>; [66.00%]
- <bb 22> [local count: 1322]:
- # DEBUG BEGIN_STMT
- _12 = ~uxBitsToWaitFor_24(D);
- _13 = _12 & uxReturn_43;
- MEM[(struct EventGroup_t *)xEventGroup_23(D)].uxEventBits = _13;
- <bb 23> [local count: 3888]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG xTimeoutOccurred => 1
- <bb 24> [local count: 11782]:
- # uxReturn_16 = PHI <uxReturn_41(20), uxReturn_43(23)>
- # DEBUG uxReturn => uxReturn_16
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxReturn_46 = uxReturn_16 & 16777215;
- # DEBUG uxReturn => uxReturn_46
- <bb 25> [local count: 23563]:
- # uxReturn_17 = PHI <uxReturn_15(17), uxReturn_46(24)>
- # DEBUG uxReturn => uxReturn_17
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return uxReturn_17;
- }
- xEventGroupCreate ()
- {
- struct EventGroup_t * pxEventBits;
- struct List_t * _1;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxEventBits_5 = pvPortMalloc (28);
- # DEBUG pxEventBits => pxEventBits_5
- # DEBUG BEGIN_STMT
- if (pxEventBits_5 != 0B)
- goto <bb 3>; [53.47%]
- else
- goto <bb 4>; [46.53%]
- <bb 3> [local count: 574129754]:
- # DEBUG BEGIN_STMT
- pxEventBits_5->uxEventBits = 0;
- # DEBUG BEGIN_STMT
- _1 = &pxEventBits_5->xTasksWaitingForBits;
- vListInitialise (_1);
- # DEBUG BEGIN_STMT
- <bb 4> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return pxEventBits_5;
- }
|