123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845 |
- callgraph:
- prvTestWaitCondition/44 (prvTestWaitCondition) @05de9380
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 14
- References:
- Referring:
- Function prvTestWaitCondition/44 is inline copy in xEventGroupWaitBits/6
- Clone of prvTestWaitCondition/14
- Availability: local
- Function flags: count:23563 (estimated locally) body local nonfreeing_fn optimize_size
- Called by: xEventGroupWaitBits/6 (inlined) (23563 (estimated locally),0.08 per call)
- Calls:
- xEventGroupSetBits.part.0/39 (xEventGroupSetBits.part.0) @05de90e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Function xEventGroupSetBits.part.0/39 is inline copy in xEventGroupSetBits/10
- Availability: local
- Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupSetBits/10 (inlined) (52886 (estimated locally),0.23 per call)
- Calls: vTaskSuspendAll/21 (52886 (estimated locally),0.23 per call) vTaskRemoveFromUnorderedEventList/28 (179716 (estimated locally),0.78 per call) xTaskResumeAll/23 (52886 (estimated locally),0.23 per call)
- xEventGroupClearBits.part.0/36 (xEventGroupClearBits.part.0) @05de3a80
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Function xEventGroupClearBits.part.0/36 is inline copy in xEventGroupClearBits/7
- Availability: local
- Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupClearBits/7 (inlined) (52886 (estimated locally),0.23 per call)
- Calls: vPortEnterCritical/25 (52886 (estimated locally),0.23 per call) vPortExitCritical/26 (52886 (estimated locally),0.23 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 (179716 (estimated locally),0.78 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 (52886 (estimated locally),0.23 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 (52886 (estimated locally),0.23 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 (52886 (estimated locally),0.23 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 (52886 (estimated locally),0.23 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 nonfreeing_fn 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 nonfreeing_fn 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
- previous sharing asm name: 44
- References:
- Referring:
- Function prvTestWaitCondition/14 is inline copy in xEventGroupWaitBits/6
- Availability: local
- Function flags: count:3888 (estimated locally) body local nonfreeing_fn optimize_size
- Called by: xEventGroupWaitBits/6 (inlined) (3888 (estimated locally),0.01 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 (inlined) (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 (inlined) (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 (inlined) (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/44 (inlined) (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)
- Clearing variable flags:
- Function name:prvTestWaitCondition/44:
- locals read:
- locals written:
- Function name:xEventGroupSetBits.part.0/39:
- locals read:
- locals written:
- Function name:xEventGroupClearBits.part.0/36:
- locals read:
- locals written:
- Function name:vEventGroupSetNumber/17:
- locals read:
- locals written:
- Function name:uxEventGroupGetNumber/16:
- locals read:
- locals written:
- Function name:xEventGroupSetBitsFromISR/15:
- locals read:
- locals written:
- Function name:prvTestWaitCondition/14:
- locals read:
- locals written:
- Function name:vEventGroupClearBitsCallback/13:
- locals read:
- locals written:
- Function name:vEventGroupSetBitsCallback/12:
- locals read:
- locals written:
- Function name:vEventGroupDelete/11:
- locals read:
- locals written:
- Function name:xEventGroupSetBits/10:
- locals read:
- locals written:
- Function name:xEventGroupGetBitsFromISR/9:
- locals read:
- locals written:
- Function name:xEventGroupClearBitsFromISR/8:
- locals read:
- locals written:
- Function name:xEventGroupClearBits/7:
- locals read:
- locals written:
- Function name:xEventGroupWaitBits/6:
- locals read:
- locals written:
- Function name:xEventGroupSync/5:
- locals read:
- locals written:
- Function name:xEventGroupCreate/4:
- locals read:
- locals written:
- ordered call graph: reduced
- vEventGroupSetNumber/17 (vEventGroupSetNumber) @05ea1e00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60c00
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
- Called by:
- Calls:
- uxEventGroupGetNumber/16 (uxEventGroupGetNumber) @05ea18c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60aa0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
- Called by:
- Calls:
- xEventGroupSetBitsFromISR/15 (xEventGroupSetBitsFromISR) @05ea12a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60bc0
- 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)
- vEventGroupClearBitsCallback/13 (vEventGroupClearBitsCallback) @05ea1a80
- Type: function definition analyzed
- Visibility: externally_visible public
- Address is taken.
- Aux: @05e60960
- 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.
- Aux: @05e60b20
- 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
- Aux: @05e60c20
- 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)
- xEventGroupGetBitsFromISR/9 (xEventGroupGetBitsFromISR) @05e5da80
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60a00
- 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
- Aux: @05e60b40
- 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
- Aux: @05e609a0
- 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 (inlined) (52886 (estimated locally),0.23 per call)
- xEventGroupClearBits.part.0/36 (xEventGroupClearBits.part.0) @05de3a80
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05e60b60
- References:
- Referring:
- Function xEventGroupClearBits.part.0/36 is inline copy in xEventGroupClearBits/7
- Availability: local
- Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupClearBits/7 (inlined) (52886 (estimated locally),0.23 per call)
- Calls: vPortEnterCritical/25 (52886 (estimated locally),0.23 per call) vPortExitCritical/26 (52886 (estimated locally),0.23 per call)
- xEventGroupWaitBits/6 (xEventGroupWaitBits) @05e5d9a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60900
- 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 (inlined) (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/44 (inlined) (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)
- prvTestWaitCondition/44 (prvTestWaitCondition) @05de9380
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 14
- Aux: @05e60be0
- References:
- Referring:
- Function prvTestWaitCondition/44 is inline copy in xEventGroupWaitBits/6
- Clone of prvTestWaitCondition/14
- Availability: local
- Function flags: count:23563 (estimated locally) body local nonfreeing_fn optimize_size
- Called by: xEventGroupWaitBits/6 (inlined) (23563 (estimated locally),0.08 per call)
- Calls:
- prvTestWaitCondition/14 (prvTestWaitCondition) @05ea1d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- previous sharing asm name: 44
- Aux: @05e609e0
- References:
- Referring:
- Function prvTestWaitCondition/14 is inline copy in xEventGroupWaitBits/6
- Availability: local
- Function flags: count:3888 (estimated locally) body local nonfreeing_fn optimize_size
- Called by: xEventGroupWaitBits/6 (inlined) (3888 (estimated locally),0.01 per call)
- Calls:
- xEventGroupSync/5 (xEventGroupSync) @05e5d460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60c40
- 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)
- xEventGroupSetBits/10 (xEventGroupSetBits) @05ea11c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60980
- 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 (inlined) (52886 (estimated locally),0.23 per call)
- xEventGroupSetBits.part.0/39 (xEventGroupSetBits.part.0) @05de90e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05e60ba0
- References:
- Referring:
- Function xEventGroupSetBits.part.0/39 is inline copy in xEventGroupSetBits/10
- Availability: local
- Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xEventGroupSetBits/10 (inlined) (52886 (estimated locally),0.23 per call)
- Calls: vTaskSuspendAll/21 (52886 (estimated locally),0.23 per call) vTaskRemoveFromUnorderedEventList/28 (179716 (estimated locally),0.78 per call) xTaskResumeAll/23 (52886 (estimated locally),0.23 per call)
- xEventGroupCreate/4 (xEventGroupCreate) @05e5d000
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05e60b80
- 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)
- Function name:xEventGroupCreate/4:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupSetBits.part.0/39:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupSetBits/10:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupSync/5:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:prvTestWaitCondition/14:
- locals read:
- locals written:
- globals read:
- globals written:
- Function name:prvTestWaitCondition/44:
- locals read:
- locals written:
- globals read:
- globals written:
- Function name:xEventGroupWaitBits/6:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupClearBits.part.0/36:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupClearBits/7:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupClearBitsFromISR/8:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupGetBitsFromISR/9:
- locals read:
- locals written:
- globals read:
- globals written:
- Function name:vEventGroupDelete/11:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:vEventGroupSetBitsCallback/12:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:vEventGroupClearBitsCallback/13:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:xEventGroupSetBitsFromISR/15:
- locals read:
- locals written:
- globals read: ALL
- globals written: ALL
- Function name:uxEventGroupGetNumber/16:
- locals read:
- locals written:
- globals read:
- globals written:
- Function name:vEventGroupSetNumber/17:
- locals read:
- locals written:
- globals read:
- globals written:
- 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;
- }
|