123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694 |
- IPA constant propagation start:
- Determining dynamic type for call: vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- Starting walk at: vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- instance pointer: pxNextTCB_12 Outer instance pointer: pxNextTCB_12 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- Determining dynamic type for call: vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- Starting walk at: vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- instance pointer: _16 Outer instance pointer: _16 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
- Determining dynamic type for call: uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- Starting walk at: uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- instance pointer: pxTaskStatusArray_26 Outer instance pointer: pxTaskStatusArray_26 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTaskStatusArray_26 = pvPortMalloc (_2);
- Determining dynamic type for call: uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- Starting walk at: uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- instance pointer: 0B Outer instance pointer: 0B offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTaskStatusArray_26 = pvPortMalloc (_2);
- Determining dynamic type for call: pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- Starting walk at: pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- instance pointer: pcWriteBuffer_16 Outer instance pointer: pcWriteBuffer_16 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- Function call may change dynamic type:pxTaskStatusArray_26 = pvPortMalloc (_2);
- Function call may change dynamic type:sprintf (pcWriteBuffer_31, "\t%c\t%u\t%u\t%u\r\n", _9, _11, _13, _14);
- Function call may change dynamic type:pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- Determining dynamic type for call: pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- Starting walk at: pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- instance pointer: _8 Outer instance pointer: _8 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- Function call may change dynamic type:pxTaskStatusArray_26 = pvPortMalloc (_2);
- Function call may change dynamic type:sprintf (pcWriteBuffer_31, "\t%c\t%u\t%u\t%u\r\n", _9, _11, _13, _14);
- Function call may change dynamic type:pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- Determining dynamic type for call: _1 = prvTaskCheckFreeStackSpace (pucEndOfStack_6);
- Starting walk at: _1 = prvTaskCheckFreeStackSpace (pucEndOfStack_6);
- instance pointer: pucEndOfStack_6 Outer instance pointer: pucEndOfStack_6 offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
- Starting walk at: uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
- instance pointer: pxTaskStatusArray_8(D) Outer instance pointer: pxTaskStatusArray_8(D) offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
- Starting walk at: uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
- instance pointer: pxList_7(D) Outer instance pointer: pxList_7(D) offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: _8 = eTaskGetState (iftmp.119_11);
- Starting walk at: _8 = eTaskGetState (iftmp.119_11);
- instance pointer: iftmp.119_11 Outer instance pointer: iftmp.119_11 offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: _10 = prvTaskCheckFreeStackSpace (_9);
- Starting walk at: _10 = prvTaskCheckFreeStackSpace (_9);
- instance pointer: _9 Outer instance pointer: _9 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_8 = eTaskGetState (iftmp.119_11);
- Function call may change dynamic type:xTaskResumeAll ();
- Function call may change dynamic type:vTaskSuspendAll ();
- Determining dynamic type for call: prvDeleteTCB (pxTCB_11);
- Starting walk at: prvDeleteTCB (pxTCB_11);
- instance pointer: pxTCB_11 Outer instance pointer: pxTCB_11 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortExitCritical ();
- Function call may change dynamic type:uxListRemove (_2);
- Function call may change dynamic type:vPortEnterCritical ();
- Function call may change dynamic type:prvDeleteTCB (pxTCB_11);
- Function call may change dynamic type:vPortExitCritical ();
- Function call may change dynamic type:uxListRemove (_2);
- Function call may change dynamic type:vPortEnterCritical ();
- Determining dynamic type for call: vTaskInternalSetTimeOutState (pxTimeOut_11(D));
- Starting walk at: vTaskInternalSetTimeOutState (pxTimeOut_11(D));
- instance pointer: pxTimeOut_11(D) Outer instance pointer: pxTimeOut_11(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortEnterCritical ();
- Determining dynamic type for call: _1 = eTaskGetState (xTask_18(D));
- Starting walk at: _1 = eTaskGetState (xTask_18(D));
- instance pointer: xTask_18(D) Outer instance pointer: xTask_18(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskSuspendAll ();
- Determining dynamic type for call: _27 = prvListTasksWithinSingleList (_3, _4, 1);
- Starting walk at: _27 = prvListTasksWithinSingleList (_3, _4, 1);
- instance pointer: _3 Outer instance pointer: _3 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _27 = prvListTasksWithinSingleList (_3, _4, 1);
- Starting walk at: _27 = prvListTasksWithinSingleList (_3, _4, 1);
- instance pointer: _4 Outer instance pointer: &pxReadyTasksLists[uxQueue_24] offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Starting walk at: _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- instance pointer: _6 Outer instance pointer: _6 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Starting walk at: _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- instance pointer: pxDelayedTaskList.73_7 Outer instance pointer: pxDelayedTaskList.73_7 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Starting walk at: _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- instance pointer: _9 Outer instance pointer: _9 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Starting walk at: _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- instance pointer: pxOverflowDelayedTaskList.74_10 Outer instance pointer: pxOverflowDelayedTaskList.74_10 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- Starting walk at: _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- instance pointer: _12 Outer instance pointer: _12 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- Starting walk at: _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- instance pointer: &xTasksWaitingTermination Outer instance pointer: xTasksWaitingTermination offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
- Starting walk at: _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
- instance pointer: _14 Outer instance pointer: _14 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- Function call may change dynamic type:_33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
- Starting walk at: _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
- instance pointer: &xSuspendedTaskList Outer instance pointer: xSuspendedTaskList offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:_36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- Function call may change dynamic type:_33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- Function call may change dynamic type:_30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:_27 = prvListTasksWithinSingleList (_3, _4, 1);
- Determining dynamic type for call: pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Starting walk at: pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- instance pointer: _2 Outer instance pointer: &pxReadyTasksLists[uxQueue_19] offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Starting walk at: pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- instance pointer: pcNameToQuery_17(D) Outer instance pointer: pcNameToQuery_17(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Starting walk at: pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- instance pointer: pxDelayedTaskList.70_3 Outer instance pointer: pxDelayedTaskList.70_3 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Starting walk at: pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- instance pointer: pcNameToQuery_17(D) Outer instance pointer: pcNameToQuery_17(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Starting walk at: pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- instance pointer: pxOverflowDelayedTaskList.71_4 Outer instance pointer: pxOverflowDelayedTaskList.71_4 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Starting walk at: pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- instance pointer: pcNameToQuery_17(D) Outer instance pointer: pcNameToQuery_17(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- Starting walk at: pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- instance pointer: &xSuspendedTaskList Outer instance pointer: xSuspendedTaskList offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- Starting walk at: pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- instance pointer: pcNameToQuery_17(D) Outer instance pointer: pcNameToQuery_17(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
- Starting walk at: pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
- instance pointer: &xTasksWaitingTermination Outer instance pointer: xTasksWaitingTermination offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- Determining dynamic type for call: pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
- Starting walk at: pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
- instance pointer: pcNameToQuery_17(D) Outer instance pointer: pcNameToQuery_17(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- Function call may change dynamic type:vTaskSuspendAll ();
- Function call may change dynamic type:pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- Function call may change dynamic type:pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- Determining dynamic type for call: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- Starting walk at: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- instance pointer: prvIdleTask Outer instance pointer: prvIdleTask offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- Starting walk at: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- instance pointer: "IDLE" Outer instance pointer: "IDLE" offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- Starting walk at: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- instance pointer: 0B Outer instance pointer: 0B offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- Starting walk at: xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- instance pointer: &xIdleTaskHandle Outer instance pointer: xIdleTaskHandle offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: _1 = prvTaskIsTaskSuspended (xTaskToResume_20(D));
- Starting walk at: _1 = prvTaskIsTaskSuspended (xTaskToResume_20(D));
- instance pointer: xTaskToResume_20(D) Outer instance pointer: xTaskToResume_20(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortValidateInterruptPriority ();
- Determining dynamic type for call: _2 = prvTaskIsTaskSuspended (xTaskToResume_16(D));
- Starting walk at: _2 = prvTaskIsTaskSuspended (xTaskToResume_16(D));
- instance pointer: xTaskToResume_16(D) Outer instance pointer: xTaskToResume_16(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortEnterCritical ();
- Determining dynamic type for call: xReturn_2 = prvTaskIsTaskSuspended.part.0 (xTask_5(D));
- Starting walk at: xReturn_2 = prvTaskIsTaskSuspended.part.0 (xTask_5(D));
- instance pointer: xTask_5(D) Outer instance pointer: xTask_5(D) offset: 0 (bits) vtbl reference:
- Determining dynamic type for call: eReturn_13 = eTaskGetState.part.0 (xTask_5(D));
- Starting walk at: eReturn_13 = eTaskGetState.part.0 (xTask_5(D));
- instance pointer: xTask_5(D) Outer instance pointer: xTask_5(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortExitCritical ();
- Function call may change dynamic type:vPortEnterCritical ();
- Determining dynamic type for call: prvDeleteTCB (iftmp.12_14);
- Starting walk at: prvDeleteTCB (iftmp.12_14);
- instance pointer: iftmp.12_14 Outer instance pointer: iftmp.12_14 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:uxListRemove (_1);
- Function call may change dynamic type:vPortEnterCritical ();
- Function call may change dynamic type:uxListRemove (_3);
- Determining dynamic type for call: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Starting walk at: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- instance pointer: pxTaskCode_14(D) Outer instance pointer: pxTaskCode_14(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- Determining dynamic type for call: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Starting walk at: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- instance pointer: pcName_15(D) Outer instance pointer: pcName_15(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- Determining dynamic type for call: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Starting walk at: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- instance pointer: pvParameters_16(D) Outer instance pointer: pvParameters_16(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- Determining dynamic type for call: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Starting walk at: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- instance pointer: pxCreatedTask_18(D) Outer instance pointer: pxCreatedTask_18(D) offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- Determining dynamic type for call: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Starting walk at: prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- instance pointer: pxNewTCB_11 Outer instance pointer: pxNewTCB_11 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- Determining dynamic type for call: prvAddNewTaskToReadyList (pxNewTCB_11);
- Starting walk at: prvAddNewTaskToReadyList (pxNewTCB_11);
- instance pointer: pxNewTCB_11 Outer instance pointer: pxNewTCB_11 offset: 0 (bits) vtbl reference:
- Function call may change dynamic type:prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- Function call may change dynamic type:vPortFree (pxStack_9);
- Function call may change dynamic type:pxNewTCB_11 = pvPortMalloc (88);
- Function call may change dynamic type:pxStack_9 = pvPortMalloc (_2);
- IPA structures before propagation:
- Jump functions:
- Jump functions of caller prvListTasksWithinSingleList.part.0/158:
- callsite prvListTasksWithinSingleList.part.0/158 -> vTaskGetInfo/72 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- param 3: PASS THROUGH: 2, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskSwitchContext.part.0/146:
- Jump functions of caller xTaskResumeAll.part.0/137:
- callsite xTaskResumeAll.part.0/137 -> prvResetNextTaskUnblockTime/77 :
- callsite xTaskResumeAll.part.0/137 -> xTaskIncrementTick/56 :
- Jump functions of caller xTaskIncrementTick.part.0/135:
- callsite xTaskIncrementTick.part.0/135 -> prvResetNextTaskUnblockTime/77 :
- Jump functions of caller eTaskGetState.part.0/122:
- Jump functions of caller prvAddCurrentTaskToDelayedList.part.0/119:
- Jump functions of caller prvInitialiseNewTask.isra.0/118:
- Jump functions of caller prvResetNextTaskUnblockTime.part.0/115:
- Jump functions of caller prvTaskIsTaskSuspended.part.0/114:
- Jump functions of caller strcpy/112:
- Jump functions of caller sprintf/111:
- Jump functions of caller strlen/110:
- Jump functions of caller vPortEndScheduler/109:
- Jump functions of caller xPortStartScheduler/108:
- Jump functions of caller xTimerCreateTimerTask/107:
- Jump functions of caller vPortValidateInterruptPriority/106:
- Jump functions of caller vListInsert/105:
- Jump functions of caller vListInsertEnd/104:
- Jump functions of caller uxListRemove/103:
- Jump functions of caller vListInitialise/102:
- Jump functions of caller vPortExitCritical/101:
- Jump functions of caller vPortEnterCritical/100:
- Jump functions of caller pxPortInitialiseStack/99:
- Jump functions of caller vListInitialiseItem/98:
- Jump functions of caller memset/97:
- Jump functions of caller vPortFree/96:
- Jump functions of caller pvPortMalloc/95:
- Jump functions of caller prvAddCurrentTaskToDelayedList/94:
- callsite prvAddCurrentTaskToDelayedList/94 -> prvAddCurrentTaskToDelayedList.part.0/119 :
- Jump functions of caller ulTaskGenericNotifyValueClear/93:
- Jump functions of caller xTaskGenericNotifyStateClear/92:
- Jump functions of caller vTaskGenericNotifyGiveFromISR/91:
- Jump functions of caller xTaskGenericNotifyFromISR/90:
- Jump functions of caller xTaskGenericNotify/89:
- Jump functions of caller xTaskGenericNotifyWait/88:
- callsite xTaskGenericNotifyWait/88 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: PASS THROUGH: 4, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- Jump functions of caller ulTaskGenericNotifyTake/87:
- callsite ulTaskGenericNotifyTake/87 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: PASS THROUGH: 2, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- Jump functions of caller pvTaskIncrementMutexHeldCount/86:
- Jump functions of caller uxTaskResetEventItemValue/85:
- Jump functions of caller vTaskList/84:
- callsite vTaskList/84 -> prvWriteNameToBuffer/83 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite vTaskList/84 -> uxTaskGetSystemState/53 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: CONST: 0B
- value: 0x0, mask: 0xfffffff8
- Unknown VR
- Jump functions of caller prvWriteNameToBuffer/83:
- Jump functions of caller vTaskPriorityDisinheritAfterTimeout/82:
- Jump functions of caller xTaskPriorityDisinherit/81:
- Jump functions of caller xTaskPriorityInherit/80:
- Jump functions of caller xTaskGetSchedulerState/79:
- Jump functions of caller xTaskGetCurrentTaskHandle/78:
- Jump functions of caller prvResetNextTaskUnblockTime/77:
- callsite prvResetNextTaskUnblockTime/77 -> prvResetNextTaskUnblockTime.part.0/115 :
- Jump functions of caller prvDeleteTCB/76:
- Jump functions of caller uxTaskGetStackHighWaterMark/75:
- callsite uxTaskGetStackHighWaterMark/75 -> prvTaskCheckFreeStackSpace/74 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller prvTaskCheckFreeStackSpace/74:
- Jump functions of caller prvListTasksWithinSingleList/73:
- callsite prvListTasksWithinSingleList/73 -> prvListTasksWithinSingleList.part.0/158 :
- param 0: PASS THROUGH: 0, op nop_expr, agg_preserved
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: PASS THROUGH: 1, op nop_expr, agg_preserved
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: PASS THROUGH: 2, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskGetInfo/72:
- callsite vTaskGetInfo/72 -> prvTaskCheckFreeStackSpace/74 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite vTaskGetInfo/72 -> eTaskGetState/35 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite vTaskGetInfo/72 -> xTaskResumeAll/46 :
- callsite vTaskGetInfo/72 -> vTaskSuspendAll/45 :
- Jump functions of caller prvCheckTasksWaitingTermination/71:
- callsite prvCheckTasksWaitingTermination/71 -> prvDeleteTCB/76 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller prvInitialiseTaskLists/70:
- Jump functions of caller prvIdleTask/69:
- callsite prvIdleTask/69 -> prvCheckTasksWaitingTermination/71 :
- Jump functions of caller vTaskSetTaskNumber/68:
- Jump functions of caller uxTaskGetTaskNumber/67:
- Jump functions of caller vTaskMissedYield/66:
- Jump functions of caller xTaskCheckForTimeOut/65:
- callsite xTaskCheckForTimeOut/65 -> vTaskInternalSetTimeOutState/64 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskInternalSetTimeOutState/64:
- Jump functions of caller vTaskSetTimeOutState/63:
- Jump functions of caller vTaskRemoveFromUnorderedEventList/62:
- Jump functions of caller xTaskRemoveFromEventList/61:
- Jump functions of caller vTaskPlaceOnEventListRestricted/60:
- callsite vTaskPlaceOnEventListRestricted/60 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: PASS THROUGH: 2, op nop_expr
- value: 0x0, mask: 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
- Unknown VR
- Jump functions of caller vTaskPlaceOnUnorderedEventList/59:
- callsite vTaskPlaceOnUnorderedEventList/59 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: PASS THROUGH: 2, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- Jump functions of caller vTaskPlaceOnEventList/58:
- callsite vTaskPlaceOnEventList/58 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: PASS THROUGH: 1, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- Jump functions of caller vTaskSwitchContext/57:
- callsite vTaskSwitchContext/57 -> vTaskSwitchContext.part.0/146 :
- Jump functions of caller xTaskIncrementTick/56:
- callsite xTaskIncrementTick/56 -> xTaskIncrementTick.part.0/135 :
- Jump functions of caller xTaskAbortDelay/55:
- callsite xTaskAbortDelay/55 -> xTaskResumeAll/46 :
- callsite xTaskAbortDelay/55 -> eTaskGetState/35 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskAbortDelay/55 -> vTaskSuspendAll/45 :
- Jump functions of caller xTaskCatchUpTicks/54:
- callsite xTaskCatchUpTicks/54 -> xTaskResumeAll/46 :
- callsite xTaskCatchUpTicks/54 -> vTaskSuspendAll/45 :
- Jump functions of caller uxTaskGetSystemState/53:
- callsite uxTaskGetSystemState/53 -> xTaskResumeAll/46 :
- callsite uxTaskGetSystemState/53 -> prvListTasksWithinSingleList/73 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: &xSuspendedTaskList
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 2: CONST: 3
- value: 0x3, mask: 0x0
- Unknown VR
- callsite uxTaskGetSystemState/53 -> prvListTasksWithinSingleList/73 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: &xTasksWaitingTermination
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 2: CONST: 4
- value: 0x4, mask: 0x0
- Unknown VR
- callsite uxTaskGetSystemState/53 -> prvListTasksWithinSingleList/73 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: CONST: 2
- value: 0x2, mask: 0x0
- Unknown VR
- callsite uxTaskGetSystemState/53 -> prvListTasksWithinSingleList/73 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: CONST: 2
- value: 0x2, mask: 0x0
- Unknown VR
- callsite uxTaskGetSystemState/53 -> prvListTasksWithinSingleList/73 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: UNKNOWN
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 2: CONST: 1
- value: 0x1, mask: 0x0
- Unknown VR
- callsite uxTaskGetSystemState/53 -> vTaskSuspendAll/45 :
- Jump functions of caller xTaskGetHandle/52:
- callsite xTaskGetHandle/52 -> xTaskResumeAll/46 :
- callsite xTaskGetHandle/52 -> prvSearchForNameWithinSingleList/51 :
- param 0: CONST: &xTasksWaitingTermination
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 1: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskGetHandle/52 -> prvSearchForNameWithinSingleList/51 :
- param 0: CONST: &xSuspendedTaskList
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 1: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskGetHandle/52 -> prvSearchForNameWithinSingleList/51 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskGetHandle/52 -> prvSearchForNameWithinSingleList/51 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskGetHandle/52 -> prvSearchForNameWithinSingleList/51 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- param 1: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskGetHandle/52 -> vTaskSuspendAll/45 :
- Jump functions of caller prvSearchForNameWithinSingleList/51:
- Jump functions of caller pcTaskGetName/50:
- Jump functions of caller uxTaskGetNumberOfTasks/49:
- Jump functions of caller xTaskGetTickCountFromISR/48:
- Jump functions of caller xTaskGetTickCount/47:
- Jump functions of caller xTaskResumeAll/46:
- callsite xTaskResumeAll/46 -> xTaskResumeAll.part.0/137 :
- Jump functions of caller vTaskSuspendAll/45:
- Jump functions of caller vTaskEndScheduler/44:
- Jump functions of caller vTaskStartScheduler/43:
- callsite vTaskStartScheduler/43 -> xTaskCreate/29 :
- param 0: CONST: prvIdleTask
- value: 0x0, mask: 0xffffffff
- VR ~[0, 0]
- param 1: CONST: "IDLE"
- value: 0x0, mask: 0xffffffff
- VR ~[0, 0]
- param 2: CONST: 90
- value: 0x5a, mask: 0x0
- Unknown VR
- param 3: CONST: 0B
- value: 0x0, mask: 0xfffffff8
- Unknown VR
- param 4: CONST: 0
- value: 0x0, mask: 0x0
- Unknown VR
- param 5: CONST: &xIdleTaskHandle
- value: 0x0, mask: 0xfffffffc
- VR ~[0, 0]
- Jump functions of caller xTaskResumeFromISR/42:
- callsite xTaskResumeFromISR/42 -> prvTaskIsTaskSuspended/40 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskResume/41:
- callsite vTaskResume/41 -> prvTaskIsTaskSuspended/40 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller prvTaskIsTaskSuspended/40:
- callsite prvTaskIsTaskSuspended/40 -> prvTaskIsTaskSuspended.part.0/114 :
- param 0: PASS THROUGH: 0, op nop_expr, agg_preserved
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskSuspend/39:
- callsite vTaskSuspend/39 -> vTaskSwitchContext/57 :
- callsite vTaskSuspend/39 -> prvResetNextTaskUnblockTime/77 :
- Jump functions of caller vTaskPrioritySet/38:
- Jump functions of caller uxTaskPriorityGetFromISR/37:
- Jump functions of caller uxTaskPriorityGet/36:
- Jump functions of caller eTaskGetState/35:
- callsite eTaskGetState/35 -> eTaskGetState.part.0/122 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller vTaskDelay/34:
- callsite vTaskDelay/34 -> xTaskResumeAll/46 :
- callsite vTaskDelay/34 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 0
- value: 0x0, mask: 0x0
- Unknown VR
- callsite vTaskDelay/34 -> vTaskSuspendAll/45 :
- Jump functions of caller xTaskDelayUntil/33:
- callsite xTaskDelayUntil/33 -> xTaskResumeAll/46 :
- callsite xTaskDelayUntil/33 -> prvAddCurrentTaskToDelayedList/94 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: CONST: 0
- value: 0x0, mask: 0x0
- Unknown VR
- callsite xTaskDelayUntil/33 -> vTaskSuspendAll/45 :
- Jump functions of caller vTaskDelete/32:
- callsite vTaskDelete/32 -> prvResetNextTaskUnblockTime/77 :
- callsite vTaskDelete/32 -> prvDeleteTCB/76 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Jump functions of caller prvAddNewTaskToReadyList/31:
- callsite prvAddNewTaskToReadyList/31 -> prvInitialiseTaskLists/70 :
- Jump functions of caller xTaskCreate/29:
- callsite xTaskCreate/29 -> prvAddNewTaskToReadyList/31 :
- param 0: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- callsite xTaskCreate/29 -> prvInitialiseNewTask.isra.0/118 :
- param 0: PASS THROUGH: 0, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 1: PASS THROUGH: 1, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 2: UNKNOWN
- value: 0x0, mask: 0xffff
- VR [0, 65535]
- param 3: PASS THROUGH: 3, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 4: PASS THROUGH: 4, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 5: PASS THROUGH: 5, op nop_expr
- value: 0x0, mask: 0xffffffff
- Unknown VR
- param 6: UNKNOWN
- value: 0x0, mask: 0xffffffff
- Unknown VR
- Propagating constants:
- Not considering ulTaskGenericNotifyValueClear for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGenericNotifyStateClear for cloning; -fipa-cp-clone disabled.
- Not considering vTaskGenericNotifyGiveFromISR for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGenericNotifyFromISR for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGenericNotify for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGenericNotifyWait for cloning; -fipa-cp-clone disabled.
- Not considering ulTaskGenericNotifyTake for cloning; -fipa-cp-clone disabled.
- Not considering pvTaskIncrementMutexHeldCount for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskResetEventItemValue for cloning; -fipa-cp-clone disabled.
- Not considering vTaskList for cloning; -fipa-cp-clone disabled.
- Not considering vTaskPriorityDisinheritAfterTimeout for cloning; -fipa-cp-clone disabled.
- Not considering xTaskPriorityDisinherit for cloning; -fipa-cp-clone disabled.
- Not considering xTaskPriorityInherit for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGetSchedulerState for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGetCurrentTaskHandle for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskGetStackHighWaterMark for cloning; -fipa-cp-clone disabled.
- Not considering vTaskGetInfo for cloning; -fipa-cp-clone disabled.
- Not considering prvIdleTask for cloning; -fipa-cp-clone disabled.
- Not considering vTaskSetTaskNumber for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskGetTaskNumber for cloning; -fipa-cp-clone disabled.
- Not considering vTaskMissedYield for cloning; -fipa-cp-clone disabled.
- Not considering xTaskCheckForTimeOut for cloning; -fipa-cp-clone disabled.
- Not considering vTaskInternalSetTimeOutState for cloning; -fipa-cp-clone disabled.
- Not considering vTaskSetTimeOutState for cloning; -fipa-cp-clone disabled.
- Not considering vTaskRemoveFromUnorderedEventList for cloning; -fipa-cp-clone disabled.
- Not considering xTaskRemoveFromEventList for cloning; -fipa-cp-clone disabled.
- Not considering vTaskPlaceOnEventListRestricted for cloning; -fipa-cp-clone disabled.
- Not considering vTaskPlaceOnUnorderedEventList for cloning; -fipa-cp-clone disabled.
- Not considering vTaskPlaceOnEventList for cloning; -fipa-cp-clone disabled.
- Not considering vTaskSwitchContext for cloning; -fipa-cp-clone disabled.
- Not considering xTaskIncrementTick for cloning; -fipa-cp-clone disabled.
- Not considering xTaskAbortDelay for cloning; -fipa-cp-clone disabled.
- Not considering xTaskCatchUpTicks for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskGetSystemState for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGetHandle for cloning; -fipa-cp-clone disabled.
- Not considering pcTaskGetName for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskGetNumberOfTasks for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGetTickCountFromISR for cloning; -fipa-cp-clone disabled.
- Not considering xTaskGetTickCount for cloning; -fipa-cp-clone disabled.
- Not considering xTaskResumeAll for cloning; -fipa-cp-clone disabled.
- Not considering vTaskSuspendAll for cloning; -fipa-cp-clone disabled.
- Not considering vTaskEndScheduler for cloning; -fipa-cp-clone disabled.
- Not considering vTaskStartScheduler for cloning; -fipa-cp-clone disabled.
- Not considering xTaskResumeFromISR for cloning; -fipa-cp-clone disabled.
- Not considering vTaskResume for cloning; -fipa-cp-clone disabled.
- Not considering vTaskSuspend for cloning; -fipa-cp-clone disabled.
- Not considering vTaskPrioritySet for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskPriorityGetFromISR for cloning; -fipa-cp-clone disabled.
- Not considering uxTaskPriorityGet for cloning; -fipa-cp-clone disabled.
- Not considering eTaskGetState for cloning; -fipa-cp-clone disabled.
- Not considering vTaskDelay for cloning; -fipa-cp-clone disabled.
- Not considering xTaskDelayUntil for cloning; -fipa-cp-clone disabled.
- Not considering vTaskDelete for cloning; -fipa-cp-clone disabled.
- Not considering xTaskCreate for cloning; -fipa-cp-clone disabled.
- overall_size: 2347, max_new_size: 11001
- - context independent values, size: 9, time_benefit: 1.000000
- IPA lattices after all propagation:
- Lattices:
- Node: prvListTasksWithinSingleList.part.0/158:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- &xSuspendedTaskList [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- &xTasksWaitingTermination [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [2]: 3 [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- 4 [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- 2 [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- 1 [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits: value = 0x3, mask = 0x7
- eTaskState [1, 4]
- AGGS VARIABLE
- Node: vTaskSwitchContext.part.0/146:
- Node: xTaskResumeAll.part.0/137:
- Node: xTaskIncrementTick.part.0/135:
- Node: eTaskGetState.part.0/122:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: prvAddCurrentTaskToDelayedList.part.0/119:
- Node: prvInitialiseNewTask.isra.0/118:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [2]: VARIABLE
- ctxs: VARIABLE
- Bits: value = 0x0, mask = 0xffff
- const uint32_t [0, 65535]
- AGGS VARIABLE
- param [3]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [4]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [5]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [6]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: prvResetNextTaskUnblockTime.part.0/115:
- Node: prvTaskIsTaskSuspended.part.0/114:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: prvAddCurrentTaskToDelayedList/94:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- 0 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
- 1 [loc_time: 1, loc_size: 31, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: ulTaskGenericNotifyValueClear/93:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGenericNotifyStateClear/92:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskGenericNotifyGiveFromISR/91:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGenericNotifyFromISR/90:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [3]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [4]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [5]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGenericNotify/89:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [3]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [4]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGenericNotifyWait/88:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [3]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [4]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: ulTaskGenericNotifyTake/87:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: pvTaskIncrementMutexHeldCount/86:
- Node: uxTaskResetEventItemValue/85:
- Node: vTaskList/84:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvWriteNameToBuffer/83:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: vTaskPriorityDisinheritAfterTimeout/82:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskPriorityDisinherit/81:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskPriorityInherit/80:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGetSchedulerState/79:
- Node: xTaskGetCurrentTaskHandle/78:
- Node: prvResetNextTaskUnblockTime/77:
- Node: prvDeleteTCB/76:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: uxTaskGetStackHighWaterMark/75:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvTaskCheckFreeStackSpace/74:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: prvListTasksWithinSingleList/73:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- &xTasksWaitingTermination [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- &xSuspendedTaskList [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [2]: 1 [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- 2 [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- 4 [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- 3 [loc_time: 1, loc_size: 11, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits: value = 0x3, mask = 0x7
- eTaskState [1, 4]
- AGGS VARIABLE
- Node: vTaskGetInfo/72:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [3]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvCheckTasksWaitingTermination/71:
- Node: prvInitialiseTaskLists/70:
- Node: prvIdleTask/69:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskSetTaskNumber/68:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: uxTaskGetTaskNumber/67:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskMissedYield/66:
- Node: xTaskCheckForTimeOut/65:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskInternalSetTimeOutState/64:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskSetTimeOutState/63:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskRemoveFromUnorderedEventList/62:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskRemoveFromEventList/61:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskPlaceOnEventListRestricted/60:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskPlaceOnUnorderedEventList/59:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskPlaceOnEventList/58:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskSwitchContext/57:
- Node: xTaskIncrementTick/56:
- Node: xTaskAbortDelay/55:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskCatchUpTicks/54:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: uxTaskGetSystemState/53:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskGetHandle/52:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvSearchForNameWithinSingleList/51:
- param [0]: VARIABLE
- &xSuspendedTaskList [loc_time: 1, loc_size: 38, prop_time: 0, prop_size: 0]
- &xTasksWaitingTermination [loc_time: 1, loc_size: 38, prop_time: 0, prop_size: 0]
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- param [1]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: pcTaskGetName/50:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: uxTaskGetNumberOfTasks/49:
- Node: xTaskGetTickCountFromISR/48:
- Node: xTaskGetTickCount/47:
- Node: xTaskResumeAll/46:
- Node: vTaskSuspendAll/45:
- Node: vTaskEndScheduler/44:
- Node: vTaskStartScheduler/43:
- Node: xTaskResumeFromISR/42:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskResume/41:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvTaskIsTaskSuspended/40:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: vTaskSuspend/39:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskPrioritySet/38:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: uxTaskPriorityGetFromISR/37:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: uxTaskPriorityGet/36:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: eTaskGetState/35:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskDelay/34:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: xTaskDelayUntil/33:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: vTaskDelete/32:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- Node: prvAddNewTaskToReadyList/31:
- param [0]: VARIABLE
- ctxs: VARIABLE
- Bits unusable (BOTTOM)
- VARYING
- AGGS VARIABLE
- Node: xTaskCreate/29:
- param [0]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [1]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [2]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [3]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [4]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- param [5]: BOTTOM
- ctxs: BOTTOM
- Bits unusable (BOTTOM)
- VARYING
- AGGS BOTTOM
- IPA decision stage:
- Propagated bits info for function prvListTasksWithinSingleList.part.0/158:
- param 2: value = 0x3, mask = 0x7
- Propagated bits info for function prvInitialiseNewTask.isra.0/118:
- param 2: value = 0x0, mask = 0xffff
- Propagated bits info for function prvListTasksWithinSingleList/73:
- param 2: value = 0x3, mask = 0x7
- IPA constant propagation end
- Reclaiming functions:
- Reclaiming variables:
- Clearing address taken flags:
- Symbol table:
- CSWTCH.225/163 (CSWTCH.225) @063c4798
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring: vTaskList/84 (read)
- Availability: available
- Varpool flags: initialized read-only const-value-known
- prvListTasksWithinSingleList.part.0/158 (prvListTasksWithinSingleList.part.0) @061d3b60
- 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: prvListTasksWithinSingleList/73 (118111600 (estimated locally),0.50 per call)
- Calls: vTaskGetInfo/72 (1073741824 (estimated locally),9.09 per call)
- vTaskSwitchContext.part.0/146 (vTaskSwitchContext.part.0) @063282a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: vTaskSwitchContext/57 (107374 (estimated locally),0.24 per call)
- Calls:
- xTaskResumeAll.part.0/137 (xTaskResumeAll.part.0) @06328620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References: uxSchedulerSuspended/28 (read)uxSchedulerSuspended/28 (write)uxSchedulerSuspended/28 (read)uxCurrentNumberOfTasks/17 (read)xPendingReadyList/13 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)xPendingReadyList/13 (read)xPendedTicks/21 (read)xYieldPending/22 (write)xPendedTicks/21 (write)xYieldPending/22 (read)
- Referring:
- Availability: local
- Function flags: count:472446400 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xTaskResumeAll/46 (52886 (estimated locally),0.33 per call)
- Calls: vPortEnterCritical/100 (472446400 (estimated locally),1.00 per call) prvResetNextTaskUnblockTime/77 (63154273 (estimated locally),0.13 per call) xTaskIncrementTick/56 (536870915 (estimated locally),1.14 per call) vPortExitCritical/101 (472446401 (estimated locally),1.00 per call)
- xTaskIncrementTick.part.0/135 (xTaskIncrementTick.part.0) @06328540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References: xTickCount/18 (read)xTickCount/18 (write)pxDelayedTaskList/11 (read)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)pxDelayedTaskList/11 (write)pxOverflowDelayedTaskList/12 (write)xNumOfOverflows/23 (read)xNumOfOverflows/23 (write)xNextTaskUnblockTime/25 (read)pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxReadyTasksLists/8 (read)xYieldPending/22 (read)
- Referring:
- Availability: local
- Function flags: count:320519 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xTaskIncrementTick/56 (320520 (estimated locally),0.50 per call)
- Calls: prvResetNextTaskUnblockTime/77 (52886 (estimated locally),0.17 per call)
- eTaskGetState.part.0/122 (eTaskGetState.part.0) @061d39a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:566398813 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: eTaskGetState/35 (11759 (estimated locally),0.03 per call)
- Calls:
- prvAddCurrentTaskToDelayedList.part.0/119 (prvAddCurrentTaskToDelayedList.part.0) @05f2a540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References: xSuspendedTaskList/16 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)xSuspendedTaskList/16 (addr)xSuspendedTaskList/16 (read)xSuspendedTaskList/16 (write)
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvAddCurrentTaskToDelayedList/94 (182536110 (estimated locally),0.17 per call)
- Calls:
- prvInitialiseNewTask.isra.0/118 (prvInitialiseNewTask.isra.0) @05f2a2a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) body local optimize_size
- Called by: xTaskCreate/29 (306987179 (estimated locally),0.29 per call)
- Calls: pxPortInitialiseStack/99 (52886 (estimated locally),0.33 per call) memset/97 (52886 (estimated locally),0.33 per call) memset/97 (52886 (estimated locally),0.33 per call) vListInitialiseItem/98 (52886 (estimated locally),0.33 per call) vListInitialiseItem/98 (52886 (estimated locally),0.33 per call) memset/97 (160260 (estimated locally),1.00 per call)
- prvResetNextTaskUnblockTime.part.0/115 (prvResetNextTaskUnblockTime.part.0) @05f22e00
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvResetNextTaskUnblockTime/77 (536870912 (estimated locally),0.50 per call)
- Calls:
- prvTaskIsTaskSuspended.part.0/114 (prvTaskIsTaskSuspended.part.0) @05e542a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References: xPendingReadyList/13 (addr)
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvTaskIsTaskSuspended/40 (75162 (estimated locally),0.21 per call)
- Calls:
- strcpy/112 (strcpy) @06161000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvWriteNameToBuffer/83 (118111600 (estimated locally),1.00 per call)
- Calls:
- sprintf/111 (sprintf) @06141ee0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskList/84 (955630226 (estimated locally),4.33 per call)
- Calls:
- strlen/110 (strlen) @060d49a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskList/84 (955630226 (estimated locally),4.33 per call) xTaskGetHandle/52 (160260 (estimated locally),1.00 per call) prvWriteNameToBuffer/83 (118111600 (estimated locally),1.00 per call)
- Calls:
- vPortEndScheduler/109 (vPortEndScheduler) @060d4000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskEndScheduler/44 (1073741824 (estimated locally),1.00 per call)
- Calls:
- xPortStartScheduler/108 (xPortStartScheduler) @05a9ac40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskStartScheduler/43 (80139 (estimated locally),0.20 per call)
- Calls:
- xTimerCreateTimerTask/107 (xTimerCreateTimerTask) @05a9ab60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskStartScheduler/43 (80139 (estimated locally),0.20 per call)
- Calls:
- vPortValidateInterruptPriority/106 (vPortValidateInterruptPriority) @05a83e00
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskGenericNotifyGiveFromISR/91 (52886 (estimated locally),0.23 per call) xTaskGenericNotifyFromISR/90 (52886 (estimated locally),0.23 per call) xTaskGetTickCountFromISR/48 (1073741824 (estimated locally),1.00 per call) xTaskResumeFromISR/42 (123389 (estimated locally),0.53 per call) uxTaskPriorityGetFromISR/37 (1073741824 (estimated locally),1.00 per call)
- Calls:
- vListInsert/105 (vListInsert) @05a837e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskPlaceOnEventList/58 (123389 (estimated locally),0.53 per call) prvAddCurrentTaskToDelayedList/94 (445602856 (estimated locally),0.41 per call) prvAddCurrentTaskToDelayedList/94 (445602856 (estimated locally),0.41 per call)
- Calls:
- vListInsertEnd/104 (vListInsertEnd) @05a830e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskSuspend/39 (1431653 (estimated locally),1.00 per call) xTaskResumeFromISR/42 (20359 (estimated locally),0.09 per call) vTaskDelete/32 (429496 (estimated locally),0.30 per call)
- Calls:
- uxListRemove/103 (uxListRemove) @05a83000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskPriorityDisinheritAfterTimeout/82 (2940 (estimated locally),0.01 per call) xTaskPriorityDisinherit/81 (5011 (estimated locally),0.02 per call) xTaskPriorityInherit/80 (65503620 (estimated locally),0.06 per call) vTaskSuspend/39 (765505 (estimated locally),0.53 per call) vTaskSuspend/39 (1431653 (estimated locally),1.00 per call) xTaskAbortDelay/55 (13354 (estimated locally),0.06 per call) xTaskAbortDelay/55 (24974 (estimated locally),0.11 per call) xTaskResumeFromISR/42 (41335 (estimated locally),0.18 per call) vTaskResume/41 (44208 (estimated locally),0.12 per call) vTaskPrioritySet/38 (6084 (estimated locally),0.04 per call) vTaskDelete/32 (765505 (estimated locally),0.53 per call) vTaskDelete/32 (1431653 (estimated locally),1.00 per call) prvAddCurrentTaskToDelayedList/94 (1073741823 (estimated locally),1.00 per call) prvCheckTasksWaitingTermination/71 (955630223 (estimated locally),8.09 per call)
- Calls:
- vListInitialise/102 (vListInitialise) @060b4ee0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvInitialiseTaskLists/70 (178992762 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (178992762 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (178992762 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (178992762 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (178992762 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (894749063 (estimated locally),5.00 per call)
- Calls:
- vPortExitCritical/101 (vPortExitCritical) @060b4d20
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: ulTaskGenericNotifyValueClear/93 (1073741824 (estimated locally),1.00 per call) xTaskGenericNotifyStateClear/92 (107374 (estimated locally),0.50 per call) xTaskGenericNotify/89 (33803 (estimated locally),0.16 per call) xTaskGenericNotifyWait/88 (52886 (estimated locally),0.33 per call) xTaskGenericNotifyWait/88 (52886 (estimated locally),0.33 per call) ulTaskGenericNotifyTake/87 (52886 (estimated locally),0.33 per call) ulTaskGenericNotifyTake/87 (52886 (estimated locally),0.33 per call) xTaskCheckForTimeOut/65 (123389 (estimated locally),0.37 per call) vTaskSetTimeOutState/63 (123389 (estimated locally),0.53 per call) vTaskSuspend/39 (472446 (estimated locally),0.33 per call) vTaskSuspend/39 (1431653 (estimated locally),1.00 per call) xTaskAbortDelay/55 (24974 (estimated locally),0.11 per call) xTaskResumeAll.part.0/137 (472446401 (estimated locally),1.00 per call) vTaskResume/41 (133963 (estimated locally),0.37 per call) vTaskPrioritySet/38 (52886 (estimated locally),0.33 per call) uxTaskPriorityGet/36 (1073741824 (estimated locally),1.00 per call) eTaskGetState/35 (133963 (estimated locally),0.37 per call) vTaskDelete/32 (1431653 (estimated locally),1.00 per call) prvCheckTasksWaitingTermination/71 (955630223 (estimated locally),8.09 per call) prvAddNewTaskToReadyList/31 (1073741823 (estimated locally),1.00 per call)
- Calls:
- vPortEnterCritical/100 (vPortEnterCritical) @060b4b60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: ulTaskGenericNotifyValueClear/93 (1073741824 (estimated locally),1.00 per call) xTaskGenericNotifyStateClear/92 (107374 (estimated locally),0.50 per call) xTaskGenericNotify/89 (57413 (estimated locally),0.27 per call) xTaskGenericNotifyWait/88 (52886 (estimated locally),0.33 per call) xTaskGenericNotifyWait/88 (52886 (estimated locally),0.33 per call) ulTaskGenericNotifyTake/87 (52886 (estimated locally),0.33 per call) ulTaskGenericNotifyTake/87 (52886 (estimated locally),0.33 per call) xTaskCheckForTimeOut/65 (123389 (estimated locally),0.37 per call) vTaskSetTimeOutState/63 (123389 (estimated locally),0.53 per call) vTaskSuspend/39 (472446 (estimated locally),0.33 per call) vTaskSuspend/39 (1431653 (estimated locally),1.00 per call) xTaskAbortDelay/55 (24974 (estimated locally),0.11 per call) xTaskResumeAll.part.0/137 (472446400 (estimated locally),1.00 per call) vTaskResume/41 (133963 (estimated locally),0.37 per call) vTaskPrioritySet/38 (52886 (estimated locally),0.33 per call) uxTaskPriorityGet/36 (1073741824 (estimated locally),1.00 per call) eTaskGetState/35 (133963 (estimated locally),0.37 per call) vTaskDelete/32 (1431653 (estimated locally),1.00 per call) prvCheckTasksWaitingTermination/71 (955630223 (estimated locally),8.09 per call) prvAddNewTaskToReadyList/31 (1073741821 (estimated locally),1.00 per call)
- Calls:
- pxPortInitialiseStack/99 (pxPortInitialiseStack) @060b48c0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvInitialiseNewTask.isra.0/118 (52886 (estimated locally),0.33 per call)
- Calls:
- vListInitialiseItem/98 (vListInitialiseItem) @060b47e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvInitialiseNewTask.isra.0/118 (52886 (estimated locally),0.33 per call) prvInitialiseNewTask.isra.0/118 (52886 (estimated locally),0.33 per call)
- Calls:
- memset/97 (memset) @060b4700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvInitialiseNewTask.isra.0/118 (52886 (estimated locally),0.33 per call) prvInitialiseNewTask.isra.0/118 (52886 (estimated locally),0.33 per call) prvInitialiseNewTask.isra.0/118 (160260 (estimated locally),1.00 per call)
- Calls:
- vPortFree/96 (vPortFree) @060b4540
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskList/84 (118111601 (estimated locally),0.53 per call) xTaskCreate/29 (100070816 (estimated locally),0.09 per call) prvDeleteTCB/76 (1073741824 (estimated locally),1.00 per call) prvDeleteTCB/76 (1073741824 (estimated locally),1.00 per call)
- Calls:
- pvPortMalloc/95 (pvPortMalloc) @060b4460
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vTaskList/84 (220893212 (estimated locally),1.00 per call) xTaskCreate/29 (574129754 (estimated locally),0.53 per call) xTaskCreate/29 (1073741824 (estimated locally),1.00 per call)
- Calls:
- prvAddCurrentTaskToDelayedList/94 (prvAddCurrentTaskToDelayedList) @060b4000
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: xTickCount/18 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxOverflowDelayedTaskList/12 (read)pxCurrentTCB/7 (read)pxDelayedTaskList/11 (read)pxCurrentTCB/7 (read)xNextTaskUnblockTime/25 (read)xNextTaskUnblockTime/25 (write)
- Referring:
- Availability: local
- Function flags: count:1073741823 (estimated locally) body local optimize_size
- Called by: xTaskGenericNotifyWait/88 (11519 (estimated locally),0.07 per call) ulTaskGenericNotifyTake/87 (8726 (estimated locally),0.05 per call) vTaskPlaceOnEventListRestricted/60 (250539 (estimated locally),0.70 per call) vTaskPlaceOnUnorderedEventList/59 (52886 (estimated locally),0.23 per call) vTaskPlaceOnEventList/58 (123389 (estimated locally),0.53 per call) vTaskDelay/34 (52886 (estimated locally),0.17 per call) xTaskDelayUntil/33 (17717 (estimated locally),0.06 per call)
- Calls: vListInsert/105 (445602856 (estimated locally),0.41 per call) vListInsert/105 (445602856 (estimated locally),0.41 per call) prvAddCurrentTaskToDelayedList.part.0/119 (182536110 (estimated locally),0.17 per call) uxListRemove/103 (1073741823 (estimated locally),1.00 per call)
- ulTaskGenericNotifyValueClear/93 (ulTaskGenericNotifyValueClear) @0607a540
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
- xTaskGenericNotifyStateClear/92 (xTaskGenericNotifyStateClear) @0607ad20
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:214748 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (107374 (estimated locally),0.50 per call) vPortEnterCritical/100 (107374 (estimated locally),0.50 per call)
- vTaskGenericNotifyGiveFromISR/91 (vTaskGenericNotifyGiveFromISR) @0607a8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)xPendingReadyList/13 (read)xPendingReadyList/13 (addr)xPendingReadyList/13 (read)xPendingReadyList/13 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:228942 (estimated locally) body optimize_size
- Called by:
- Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
- xTaskGenericNotifyFromISR/90 (xTaskGenericNotifyFromISR) @0607a460
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xTickCount/18 (read)uxSchedulerSuspended/28 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)xPendingReadyList/13 (read)xPendingReadyList/13 (addr)xPendingReadyList/13 (read)xPendingReadyList/13 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:228942 (estimated locally) body optimize_size
- Called by:
- Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
- xTaskGenericNotify/89 (xTaskGenericNotify) @0606ce00
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xTickCount/18 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:214748 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (33803 (estimated locally),0.16 per call) vPortEnterCritical/100 (57413 (estimated locally),0.27 per call)
- xTaskGenericNotifyWait/88 (xTaskGenericNotifyWait) @0606cd20
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (52886 (estimated locally),0.33 per call) vPortEnterCritical/100 (52886 (estimated locally),0.33 per call) vPortExitCritical/101 (52886 (estimated locally),0.33 per call) prvAddCurrentTaskToDelayedList/94 (11519 (estimated locally),0.07 per call) vPortEnterCritical/100 (52886 (estimated locally),0.33 per call)
- ulTaskGenericNotifyTake/87 (ulTaskGenericNotifyTake) @0606c8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (52886 (estimated locally),0.33 per call) vPortEnterCritical/100 (52886 (estimated locally),0.33 per call) vPortExitCritical/101 (52886 (estimated locally),0.33 per call) prvAddCurrentTaskToDelayedList/94 (8726 (estimated locally),0.05 per call) vPortEnterCritical/100 (52886 (estimated locally),0.33 per call)
- pvTaskIncrementMutexHeldCount/86 (pvTaskIncrementMutexHeldCount) @0606c460
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxTaskResetEventItemValue/85 (uxTaskResetEventItemValue) @0606c1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vTaskList/84 (vTaskList) @0604fc40
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (read)CSWTCH.225/163 (read)
- Referring:
- Availability: available
- Function flags: count:220893212 (estimated locally) body optimize_size
- Called by:
- Calls: vPortFree/96 (118111601 (estimated locally),0.53 per call) strlen/110 (955630226 (estimated locally),4.33 per call) sprintf/111 (955630226 (estimated locally),4.33 per call) prvWriteNameToBuffer/83 (955630226 (estimated locally),4.33 per call) uxTaskGetSystemState/53 (118111600 (estimated locally),0.53 per call) pvPortMalloc/95 (220893212 (estimated locally),1.00 per call)
- prvWriteNameToBuffer/83 (prvWriteNameToBuffer) @0604f540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:118111600 (estimated locally) body local optimize_size
- Called by: vTaskList/84 (955630226 (estimated locally),4.33 per call)
- Calls: strlen/110 (118111600 (estimated locally),1.00 per call) strcpy/112 (118111600 (estimated locally),1.00 per call)
- vTaskPriorityDisinheritAfterTimeout/82 (vTaskPriorityDisinheritAfterTimeout) @0604f000
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxReadyTasksLists/8 (addr)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)
- Referring:
- Availability: available
- Function flags: count:306783 (estimated locally) body optimize_size
- Called by:
- Calls: uxListRemove/103 (2940 (estimated locally),0.01 per call)
- xTaskPriorityDisinherit/81 (xTaskPriorityDisinherit) @0604fb60
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)
- Referring:
- Availability: available
- Function flags: count:219131 (estimated locally) body optimize_size
- Called by:
- Calls: uxListRemove/103 (5011 (estimated locally),0.02 per call)
- xTaskPriorityInherit/80 (xTaskPriorityInherit) @0604f700
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxReadyTasksLists/8 (addr)pxCurrentTCB/7 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: uxListRemove/103 (65503620 (estimated locally),0.06 per call)
- xTaskGetSchedulerState/79 (xTaskGetSchedulerState) @0604f460
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xSchedulerRunning/20 (read)uxSchedulerSuspended/28 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xTaskGetCurrentTaskHandle/78 (xTaskGetCurrentTaskHandle) @0604f1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvResetNextTaskUnblockTime/77 (prvResetNextTaskUnblockTime) @06043c40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: vTaskSuspend/39 (472446 (estimated locally),0.33 per call) xTaskResumeAll.part.0/137 (63154273 (estimated locally),0.13 per call) xTaskIncrementTick.part.0/135 (52886 (estimated locally),0.17 per call) vTaskDelete/32 (1002157 (estimated locally),0.70 per call)
- Calls: prvResetNextTaskUnblockTime.part.0/115 (536870912 (estimated locally),0.50 per call)
- prvDeleteTCB/76 (prvDeleteTCB) @06043380
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: vTaskDelete/32 (1002157 (estimated locally),0.70 per call) prvCheckTasksWaitingTermination/71 (955630223 (estimated locally),8.09 per call)
- Calls: vPortFree/96 (1073741824 (estimated locally),1.00 per call) vPortFree/96 (1073741824 (estimated locally),1.00 per call)
- uxTaskGetStackHighWaterMark/75 (uxTaskGetStackHighWaterMark) @06043ee0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: prvTaskCheckFreeStackSpace/74 (1073741824 (estimated locally),1.00 per call)
- prvTaskCheckFreeStackSpace/74 (prvTaskCheckFreeStackSpace) @06043b60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:118111600 (estimated locally) body local optimize_size
- Called by: uxTaskGetStackHighWaterMark/75 (1073741824 (estimated locally),1.00 per call) vTaskGetInfo/72 (354334802 (estimated locally),0.33 per call)
- Calls:
- prvListTasksWithinSingleList/73 (prvListTasksWithinSingleList) @060438c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:236223200 (estimated locally) body local optimize_size
- Called by: uxTaskGetSystemState/53 (214748365 (estimated locally),0.50 per call) uxTaskGetSystemState/53 (214748365 (estimated locally),0.50 per call) uxTaskGetSystemState/53 (214748365 (estimated locally),0.50 per call) uxTaskGetSystemState/53 (214748365 (estimated locally),0.50 per call) uxTaskGetSystemState/53 (1073741824 (estimated locally),2.50 per call)
- Calls: prvListTasksWithinSingleList.part.0/158 (118111600 (estimated locally),0.50 per call)
- vTaskGetInfo/72 (vTaskGetInfo) @06043620
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741823 (estimated locally) body optimize_size
- Called by: prvListTasksWithinSingleList.part.0/158 (1073741824 (estimated locally),9.09 per call)
- Calls: prvTaskCheckFreeStackSpace/74 (354334802 (estimated locally),0.33 per call) eTaskGetState/35 (217325345 (estimated locally),0.20 per call) xTaskResumeAll/46 (121337087 (estimated locally),0.11 per call) vTaskSuspendAll/45 (121337087 (estimated locally),0.11 per call)
- prvCheckTasksWaitingTermination/71 (prvCheckTasksWaitingTermination) @060432a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: xTasksWaitingTermination/14 (read)uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (write)uxDeletedTasksWaitingCleanUp/15 (read)uxDeletedTasksWaitingCleanUp/15 (write)uxDeletedTasksWaitingCleanUp/15 (read)
- Referring:
- Availability: local
- Function flags: count:118111600 (estimated locally) body local optimize_size
- Called by: prvIdleTask/69 (1073741824 (estimated locally),16949.09 per call)
- Calls: prvDeleteTCB/76 (955630223 (estimated locally),8.09 per call) vPortExitCritical/101 (955630223 (estimated locally),8.09 per call) uxListRemove/103 (955630223 (estimated locally),8.09 per call) vPortEnterCritical/100 (955630223 (estimated locally),8.09 per call)
- prvInitialiseTaskLists/70 (prvInitialiseTaskLists) @0603fee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: pxReadyTasksLists/8 (addr)xDelayedTaskList1/9 (addr)xDelayedTaskList2/10 (addr)xPendingReadyList/13 (addr)xTasksWaitingTermination/14 (addr)xSuspendedTaskList/16 (addr)pxDelayedTaskList/11 (write)xDelayedTaskList1/9 (addr)pxOverflowDelayedTaskList/12 (write)xDelayedTaskList2/10 (addr)
- Referring:
- Availability: local
- Function flags: count:178992762 (estimated locally) body local optimize_size
- Called by: prvAddNewTaskToReadyList/31 (65197603 (estimated locally),0.06 per call)
- Calls: vListInitialise/102 (178992762 (estimated locally),1.00 per call) vListInitialise/102 (178992762 (estimated locally),1.00 per call) vListInitialise/102 (178992762 (estimated locally),1.00 per call) vListInitialise/102 (178992762 (estimated locally),1.00 per call) vListInitialise/102 (178992762 (estimated locally),1.00 per call) vListInitialise/102 (894749063 (estimated locally),5.00 per call)
- prvIdleTask/69 (prvIdleTask) @0603f9a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Address is taken.
- References: pxReadyTasksLists/8 (read)
- Referring: vTaskStartScheduler/43 (addr)
- Availability: available
- Function flags: count:63351 (estimated locally) body executed_once optimize_size
- Called by:
- Calls: prvCheckTasksWaitingTermination/71 (1073741824 (estimated locally),16949.09 per call)
- vTaskSetTaskNumber/68 (vTaskSetTaskNumber) @0603fe00
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxTaskGetTaskNumber/67 (uxTaskGetTaskNumber) @0603fb60
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vTaskMissedYield/66 (vTaskMissedYield) @0603f8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xTaskCheckForTimeOut/65 (xTaskCheckForTimeOut) @0603f620
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xTickCount/18 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)xNumOfOverflows/23 (read)
- Referring:
- Availability: available
- Function flags: count:329661 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (123389 (estimated locally),0.37 per call) vTaskInternalSetTimeOutState/64 (9003 (estimated locally),0.03 per call) vPortEnterCritical/100 (123389 (estimated locally),0.37 per call)
- vTaskInternalSetTimeOutState/64 (vTaskInternalSetTimeOutState) @0603f1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xNumOfOverflows/23 (read)xTickCount/18 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by: xTaskCheckForTimeOut/65 (9003 (estimated locally),0.03 per call)
- Calls:
- vTaskSetTimeOutState/63 (vTaskSetTimeOutState) @05f9ab60
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xNumOfOverflows/23 (read)xTickCount/18 (read)
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (123389 (estimated locally),0.53 per call) vPortEnterCritical/100 (123389 (estimated locally),0.53 per call)
- vTaskRemoveFromUnorderedEventList/62 (vTaskRemoveFromUnorderedEventList) @05f9aee0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:214748 (estimated locally) body optimize_size
- Called by:
- Calls:
- xTaskRemoveFromEventList/61 (xTaskRemoveFromEventList) @05f9aa80
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)xPendingReadyList/13 (read)xPendingReadyList/13 (addr)xPendingReadyList/13 (read)xPendingReadyList/13 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- vTaskPlaceOnEventListRestricted/60 (vTaskPlaceOnEventListRestricted) @05f9a620
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvAddCurrentTaskToDelayedList/94 (250539 (estimated locally),0.70 per call)
- vTaskPlaceOnUnorderedEventList/59 (vTaskPlaceOnUnorderedEventList) @05f9a2a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:228942 (estimated locally) body optimize_size
- Called by:
- Calls: prvAddCurrentTaskToDelayedList/94 (52886 (estimated locally),0.23 per call)
- vTaskPlaceOnEventList/58 (vTaskPlaceOnEventList) @05f8aa80
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvAddCurrentTaskToDelayedList/94 (123389 (estimated locally),0.53 per call) vListInsert/105 (123389 (estimated locally),0.53 per call)
- vTaskSwitchContext/57 (vTaskSwitchContext) @05f8ae00
- Type: function definition analyzed
- Visibility: force_output externally_visible public
- References: uxSchedulerSuspended/28 (read)xYieldPending/22 (write)xYieldPending/22 (write)uxTopReadyPriority/19 (read)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (write)pxReadyTasksLists/8 (read)pxCurrentTCB/7 (write)uxTopReadyPriority/19 (write)
- Referring:
- Availability: available
- Function flags: count:441995 (estimated locally) body optimize_size
- Called by: vTaskSuspend/39 (104969 (estimated locally),0.07 per call)
- Calls: vTaskSwitchContext.part.0/146 (107374 (estimated locally),0.24 per call)
- xTaskIncrementTick/56 (xTaskIncrementTick) @05f8a9a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
- Referring:
- Availability: available
- Function flags: count:641039 (estimated locally) body optimize_size
- Called by: xTaskResumeAll.part.0/137 (536870915 (estimated locally),1.14 per call)
- Calls: xTaskIncrementTick.part.0/135 (320520 (estimated locally),0.50 per call)
- xTaskAbortDelay/55 (xTaskAbortDelay) @05f8a380
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)xYieldPending/22 (write)
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/46 (123389 (estimated locally),0.53 per call) vPortExitCritical/101 (24974 (estimated locally),0.11 per call) uxListRemove/103 (13354 (estimated locally),0.06 per call) vPortEnterCritical/100 (24974 (estimated locally),0.11 per call) uxListRemove/103 (24974 (estimated locally),0.11 per call) eTaskGetState/35 (123389 (estimated locally),0.53 per call) vTaskSuspendAll/45 (123389 (estimated locally),0.53 per call)
- xTaskCatchUpTicks/54 (xTaskCatchUpTicks) @05f8a000
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/46 (52886 (estimated locally),0.33 per call) vTaskSuspendAll/45 (52886 (estimated locally),0.33 per call)
- uxTaskGetSystemState/53 (uxTaskGetSystemState) @05f7f7e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxCurrentNumberOfTasks/17 (read)pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xTasksWaitingTermination/14 (addr)xSuspendedTaskList/16 (addr)
- Referring:
- Availability: available
- Function flags: count:429496728 (estimated locally) body optimize_size
- Called by: vTaskList/84 (118111600 (estimated locally),0.53 per call)
- Calls: xTaskResumeAll/46 (429496729 (estimated locally),1.00 per call) prvListTasksWithinSingleList/73 (214748365 (estimated locally),0.50 per call) prvListTasksWithinSingleList/73 (214748365 (estimated locally),0.50 per call) prvListTasksWithinSingleList/73 (214748365 (estimated locally),0.50 per call) prvListTasksWithinSingleList/73 (214748365 (estimated locally),0.50 per call) prvListTasksWithinSingleList/73 (1073741824 (estimated locally),2.50 per call) vTaskSuspendAll/45 (429496728 (estimated locally),1.00 per call)
- xTaskGetHandle/52 (xTaskGetHandle) @05f7f2a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/46 (52886 (estimated locally),0.33 per call) prvSearchForNameWithinSingleList/51 (9218 (estimated locally),0.06 per call) prvSearchForNameWithinSingleList/51 (9218 (estimated locally),0.06 per call) prvSearchForNameWithinSingleList/51 (9218 (estimated locally),0.06 per call) prvSearchForNameWithinSingleList/51 (9218 (estimated locally),0.06 per call) prvSearchForNameWithinSingleList/51 (216745 (estimated locally),1.35 per call) vTaskSuspendAll/45 (52886 (estimated locally),0.33 per call) strlen/110 (160260 (estimated locally),1.00 per call)
- prvSearchForNameWithinSingleList/51 (prvSearchForNameWithinSingleList) @05f7fe00
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:25274560 (estimated locally) body local optimize_size
- Called by: xTaskGetHandle/52 (9218 (estimated locally),0.06 per call) xTaskGetHandle/52 (9218 (estimated locally),0.06 per call) xTaskGetHandle/52 (9218 (estimated locally),0.06 per call) xTaskGetHandle/52 (9218 (estimated locally),0.06 per call) xTaskGetHandle/52 (216745 (estimated locally),1.35 per call)
- Calls:
- pcTaskGetName/50 (pcTaskGetName) @05f7fb60
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxTaskGetNumberOfTasks/49 (uxTaskGetNumberOfTasks) @05f7f700
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxCurrentNumberOfTasks/17 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xTaskGetTickCountFromISR/48 (xTaskGetTickCountFromISR) @05f7f460
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xTickCount/18 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
- xTaskGetTickCount/47 (xTaskGetTickCount) @05f7f1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xTickCount/18 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xTaskResumeAll/46 (xTaskResumeAll) @05f6ce00
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by: uxTaskGetSystemState/53 (429496729 (estimated locally),1.00 per call) vTaskGetInfo/72 (121337087 (estimated locally),0.11 per call) xTaskAbortDelay/55 (123389 (estimated locally),0.53 per call) xTaskCatchUpTicks/54 (52886 (estimated locally),0.33 per call) xTaskGetHandle/52 (52886 (estimated locally),0.33 per call) vTaskDelay/34 (52886 (estimated locally),0.17 per call) xTaskDelayUntil/33 (35433 (estimated locally),0.12 per call)
- Calls: xTaskResumeAll.part.0/137 (52886 (estimated locally),0.33 per call)
- vTaskSuspendAll/45 (vTaskSuspendAll) @05f6cd20
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)uxSchedulerSuspended/28 (write)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by: uxTaskGetSystemState/53 (429496728 (estimated locally),1.00 per call) vTaskGetInfo/72 (121337087 (estimated locally),0.11 per call) xTaskAbortDelay/55 (123389 (estimated locally),0.53 per call) xTaskCatchUpTicks/54 (52886 (estimated locally),0.33 per call) xTaskGetHandle/52 (52886 (estimated locally),0.33 per call) vTaskDelay/34 (52886 (estimated locally),0.17 per call) xTaskDelayUntil/33 (35433 (estimated locally),0.12 per call)
- Calls:
- vTaskEndScheduler/44 (vTaskEndScheduler) @05f6ca80
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xSchedulerRunning/20 (write)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vPortEndScheduler/109 (1073741824 (estimated locally),1.00 per call)
- vTaskStartScheduler/43 (vTaskStartScheduler) @05f6c7e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: prvIdleTask/69 (addr)xIdleTaskHandle/26 (addr)xNextTaskUnblockTime/25 (write)xSchedulerRunning/20 (write)xTickCount/18 (write)uxTopUsedPriority/27 (read)
- Referring:
- Availability: available
- Function flags: count:395945 (estimated locally) body optimize_size
- Called by:
- Calls: xPortStartScheduler/108 (80139 (estimated locally),0.20 per call) xTimerCreateTimerTask/107 (80139 (estimated locally),0.20 per call) xTaskCreate/29 (395945 (estimated locally),1.00 per call)
- xTaskResumeFromISR/42 (xTaskResumeFromISR) @05f6c540
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)pxCurrentTCB/7 (read)xYieldPending/22 (write)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)xPendingReadyList/13 (addr)
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vListInsertEnd/104 (20359 (estimated locally),0.09 per call) uxListRemove/103 (41335 (estimated locally),0.18 per call) prvTaskIsTaskSuspended/40 (123389 (estimated locally),0.53 per call) vPortValidateInterruptPriority/106 (123389 (estimated locally),0.53 per call)
- vTaskResume/41 (vTaskResume) @05f6c1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (133963 (estimated locally),0.37 per call) uxListRemove/103 (44208 (estimated locally),0.12 per call) prvTaskIsTaskSuspended/40 (133963 (estimated locally),0.37 per call) vPortEnterCritical/100 (133963 (estimated locally),0.37 per call)
- prvTaskIsTaskSuspended/40 (prvTaskIsTaskSuspended) @05f5d9a0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: xSuspendedTaskList/16 (addr)
- Referring:
- Availability: local
- Function flags: count:357913 (estimated locally) body local optimize_size
- Called by: xTaskResumeFromISR/42 (123389 (estimated locally),0.53 per call) vTaskResume/41 (133963 (estimated locally),0.37 per call)
- Calls: prvTaskIsTaskSuspended.part.0/114 (75162 (estimated locally),0.21 per call)
- vTaskSuspend/39 (vTaskSuspend) @05f5de00
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)xSuspendedTaskList/16 (addr)xSchedulerRunning/20 (read)pxCurrentTCB/7 (read)xSchedulerRunning/20 (read)uxSchedulerSuspended/28 (read)xSuspendedTaskList/16 (read)uxCurrentNumberOfTasks/17 (read)pxCurrentTCB/7 (write)
- Referring:
- Availability: available
- Function flags: count:1431653 (estimated locally) body optimize_size
- Called by:
- Calls: vTaskSwitchContext/57 (104969 (estimated locally),0.07 per call) vPortExitCritical/101 (472446 (estimated locally),0.33 per call) prvResetNextTaskUnblockTime/77 (472446 (estimated locally),0.33 per call) vPortEnterCritical/100 (472446 (estimated locally),0.33 per call) vPortExitCritical/101 (1431653 (estimated locally),1.00 per call) vListInsertEnd/104 (1431653 (estimated locally),1.00 per call) uxListRemove/103 (765505 (estimated locally),0.53 per call) uxListRemove/103 (1431653 (estimated locally),1.00 per call) vPortEnterCritical/100 (1431653 (estimated locally),1.00 per call)
- vTaskPrioritySet/38 (vTaskPrioritySet) @05f5d8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxReadyTasksLists/8 (addr)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)
- Referring:
- Availability: available
- Function flags: count:160260 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (52886 (estimated locally),0.33 per call) uxListRemove/103 (6084 (estimated locally),0.04 per call) vPortEnterCritical/100 (52886 (estimated locally),0.33 per call)
- uxTaskPriorityGetFromISR/37 (uxTaskPriorityGetFromISR) @05f5d380
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
- uxTaskPriorityGet/36 (uxTaskPriorityGet) @05f5d000
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
- eTaskGetState/35 (eTaskGetState) @05f482a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by: vTaskGetInfo/72 (217325345 (estimated locally),0.20 per call) xTaskAbortDelay/55 (123389 (estimated locally),0.53 per call)
- Calls: eTaskGetState.part.0/122 (11759 (estimated locally),0.03 per call) vPortExitCritical/101 (133963 (estimated locally),0.37 per call) vPortEnterCritical/100 (133963 (estimated locally),0.37 per call)
- vTaskDelay/34 (vTaskDelay) @05f48c40
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)
- Referring:
- Availability: available
- Function flags: count:320519 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/46 (52886 (estimated locally),0.17 per call) prvAddCurrentTaskToDelayedList/94 (52886 (estimated locally),0.17 per call) vTaskSuspendAll/45 (52886 (estimated locally),0.17 per call)
- xTaskDelayUntil/33 (xTaskDelayUntil) @05f487e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: uxSchedulerSuspended/28 (read)xTickCount/18 (read)
- Referring:
- Availability: available
- Function flags: count:306783 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/46 (35433 (estimated locally),0.12 per call) prvAddCurrentTaskToDelayedList/94 (17717 (estimated locally),0.06 per call) vTaskSuspendAll/45 (35433 (estimated locally),0.12 per call)
- vTaskDelete/32 (vTaskDelete) @05f481c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxCurrentTCB/7 (read)uxTaskNumber/24 (read)uxTaskNumber/24 (write)pxCurrentTCB/7 (read)xTasksWaitingTermination/14 (addr)uxDeletedTasksWaitingCleanUp/15 (read)uxDeletedTasksWaitingCleanUp/15 (write)uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (write)xSchedulerRunning/20 (read)pxCurrentTCB/7 (read)uxSchedulerSuspended/28 (read)
- Referring:
- Availability: available
- Function flags: count:1431653 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/101 (1431653 (estimated locally),1.00 per call) prvResetNextTaskUnblockTime/77 (1002157 (estimated locally),0.70 per call) prvDeleteTCB/76 (1002157 (estimated locally),0.70 per call) vListInsertEnd/104 (429496 (estimated locally),0.30 per call) uxListRemove/103 (765505 (estimated locally),0.53 per call) uxListRemove/103 (1431653 (estimated locally),1.00 per call) vPortEnterCritical/100 (1431653 (estimated locally),1.00 per call)
- prvAddNewTaskToReadyList/31 (prvAddNewTaskToReadyList) @05f36540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (write)pxCurrentTCB/7 (read)pxCurrentTCB/7 (write)uxCurrentNumberOfTasks/17 (read)xSchedulerRunning/20 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (write)uxTaskNumber/24 (read)uxTaskNumber/24 (write)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)xSchedulerRunning/20 (read)pxCurrentTCB/7 (read)
- Referring:
- Availability: local
- Function flags: count:1073741821 (estimated locally) body local optimize_size
- Called by: xTaskCreate/29 (306987179 (estimated locally),0.29 per call)
- Calls: vPortExitCritical/101 (1073741823 (estimated locally),1.00 per call) prvInitialiseTaskLists/70 (65197603 (estimated locally),0.06 per call) vPortEnterCritical/100 (1073741821 (estimated locally),1.00 per call)
- xTaskCreate/29 (xTaskCreate) @05f36700
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by: vTaskStartScheduler/43 (395945 (estimated locally),1.00 per call)
- Calls: prvAddNewTaskToReadyList/31 (306987179 (estimated locally),0.29 per call) prvInitialiseNewTask.isra.0/118 (306987179 (estimated locally),0.29 per call) vPortFree/96 (100070816 (estimated locally),0.09 per call) pvPortMalloc/95 (574129754 (estimated locally),0.53 per call) pvPortMalloc/95 (1073741824 (estimated locally),1.00 per call)
- uxSchedulerSuspended/28 (uxSchedulerSuspended) @05f305a0
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskGetSchedulerState/79 (read)xTaskIncrementTick/56 (read)xTaskResumeAll/46 (read)xTaskCatchUpTicks/54 (read)xTaskGenericNotifyFromISR/90 (read)vTaskRemoveFromUnorderedEventList/62 (read)vTaskDelete/32 (read)vTaskPlaceOnUnorderedEventList/59 (read)xTaskRemoveFromEventList/61 (read)vTaskSuspendAll/45 (read)vTaskSuspendAll/45 (write)xTaskDelayUntil/33 (read)xTaskResumeFromISR/42 (read)vTaskDelay/34 (read)vTaskSwitchContext/57 (read)vTaskSuspend/39 (read)xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (write)vTaskGenericNotifyGiveFromISR/91 (read)
- Availability: available
- Varpool flags: initialized
- uxTopUsedPriority/27 (uxTopUsedPriority) @05f30510
- Type: variable definition analyzed
- Visibility: force_output externally_visible public
- References:
- Referring: vTaskStartScheduler/43 (read)
- Availability: available
- Varpool flags: initialized read-only
- xIdleTaskHandle/26 (xIdleTaskHandle) @05f30480
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: vTaskStartScheduler/43 (addr)
- Availability: available
- Varpool flags: initialized
- xNextTaskUnblockTime/25 (xNextTaskUnblockTime) @05f303f0
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: prvResetNextTaskUnblockTime.part.0/115 (write)prvAddCurrentTaskToDelayedList/94 (write)prvAddCurrentTaskToDelayedList/94 (read)vTaskStartScheduler/43 (write)prvResetNextTaskUnblockTime/77 (write)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (write)xTaskIncrementTick.part.0/135 (write)
- Availability: available
- Varpool flags: initialized
- uxTaskNumber/24 (uxTaskNumber) @05f30360
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvAddNewTaskToReadyList/31 (write)prvAddNewTaskToReadyList/31 (read)vTaskDelete/32 (read)vTaskDelete/32 (write)
- Availability: available
- Varpool flags: initialized
- xNumOfOverflows/23 (xNumOfOverflows) @05f30318
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskIncrementTick.part.0/135 (write)vTaskSetTimeOutState/63 (read)vTaskInternalSetTimeOutState/64 (read)xTaskIncrementTick.part.0/135 (read)xTaskCheckForTimeOut/65 (read)
- Availability: available
- Varpool flags: initialized
- xYieldPending/22 (xYieldPending) @05f302d0
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: vTaskMissedYield/66 (write)xTaskRemoveFromEventList/61 (write)vTaskRemoveFromUnorderedEventList/62 (write)xTaskResumeFromISR/42 (write)xTaskIncrementTick.part.0/135 (read)xTaskGenericNotifyFromISR/90 (write)xTaskResumeAll.part.0/137 (write)xTaskResumeAll.part.0/137 (read)xTaskAbortDelay/55 (write)vTaskSwitchContext/57 (write)xTaskResumeAll.part.0/137 (write)vTaskSwitchContext/57 (write)vTaskGenericNotifyGiveFromISR/91 (write)
- Availability: available
- Varpool flags: initialized
- xPendedTicks/21 (xPendedTicks) @05f30240
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (write)xTaskIncrementTick/56 (read)xTaskIncrementTick/56 (write)xTaskCatchUpTicks/54 (read)xTaskCatchUpTicks/54 (write)
- Availability: available
- Varpool flags: initialized
- xSchedulerRunning/20 (xSchedulerRunning) @05f301b0
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: vTaskDelete/32 (read)vTaskEndScheduler/44 (write)vTaskSuspend/39 (read)prvAddNewTaskToReadyList/31 (read)vTaskStartScheduler/43 (write)prvAddNewTaskToReadyList/31 (read)vTaskSuspend/39 (read)xTaskGetSchedulerState/79 (read)
- Availability: available
- Varpool flags: initialized
- uxTopReadyPriority/19 (uxTopReadyPriority) @05f30120
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskGenericNotify/89 (read)xTaskGenericNotify/89 (write)xTaskGenericNotifyFromISR/90 (read)xTaskGenericNotifyFromISR/90 (write)prvAddNewTaskToReadyList/31 (read)prvAddNewTaskToReadyList/31 (write)vTaskPrioritySet/38 (read)vTaskPrioritySet/38 (write)xTaskResumeFromISR/42 (read)xTaskResumeFromISR/42 (write)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (write)vTaskResume/41 (read)vTaskResume/41 (write)xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (write)xTaskAbortDelay/55 (read)xTaskAbortDelay/55 (write)vTaskSwitchContext/57 (read)vTaskSwitchContext/57 (write)xTaskRemoveFromEventList/61 (read)xTaskRemoveFromEventList/61 (write)vTaskRemoveFromUnorderedEventList/62 (read)vTaskRemoveFromUnorderedEventList/62 (write)xTaskPriorityInherit/80 (read)xTaskPriorityInherit/80 (write)xTaskPriorityDisinherit/81 (read)xTaskPriorityDisinherit/81 (write)vTaskPriorityDisinheritAfterTimeout/82 (read)vTaskPriorityDisinheritAfterTimeout/82 (write)vTaskGenericNotifyGiveFromISR/91 (read)vTaskGenericNotifyGiveFromISR/91 (write)
- Availability: available
- Varpool flags: initialized
- xTickCount/18 (xTickCount) @05f300d8
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskGetTickCountFromISR/48 (read)xTaskCheckForTimeOut/65 (read)xTaskGenericNotify/89 (read)prvAddCurrentTaskToDelayedList/94 (read)vTaskStartScheduler/43 (write)vTaskInternalSetTimeOutState/64 (read)xTaskGetTickCount/47 (read)xTaskIncrementTick.part.0/135 (write)xTaskDelayUntil/33 (read)vTaskSetTimeOutState/63 (read)xTaskIncrementTick.part.0/135 (read)xTaskGenericNotifyFromISR/90 (read)
- Availability: available
- Varpool flags: initialized
- uxCurrentNumberOfTasks/17 (uxCurrentNumberOfTasks) @05f30090
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskResumeAll.part.0/137 (read)prvCheckTasksWaitingTermination/71 (read)vTaskSuspend/39 (read)prvAddNewTaskToReadyList/31 (write)prvAddNewTaskToReadyList/31 (read)uxTaskGetNumberOfTasks/49 (read)vTaskDelete/32 (read)uxTaskGetSystemState/53 (read)vTaskDelete/32 (write)prvCheckTasksWaitingTermination/71 (write)prvAddNewTaskToReadyList/31 (read)vTaskList/84 (read)vTaskList/84 (read)
- Availability: available
- Varpool flags: initialized
- xSuspendedTaskList/16 (xSuspendedTaskList) @05f2cf78
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: vTaskSuspend/39 (read)eTaskGetState/35 (addr)xTaskGetHandle/52 (addr)prvAddCurrentTaskToDelayedList.part.0/119 (write)prvTaskIsTaskSuspended/40 (addr)prvInitialiseTaskLists/70 (addr)prvAddCurrentTaskToDelayedList.part.0/119 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)prvAddCurrentTaskToDelayedList.part.0/119 (addr)vTaskSuspend/39 (addr)uxTaskGetSystemState/53 (addr)
- Availability: available
- Varpool flags:
- uxDeletedTasksWaitingCleanUp/15 (uxDeletedTasksWaitingCleanUp) @05f2cee8
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: prvCheckTasksWaitingTermination/71 (write)prvCheckTasksWaitingTermination/71 (read)prvCheckTasksWaitingTermination/71 (read)vTaskDelete/32 (read)vTaskDelete/32 (write)
- Availability: available
- Varpool flags: initialized
- xTasksWaitingTermination/14 (xTasksWaitingTermination) @05f2ce58
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: eTaskGetState/35 (addr)prvInitialiseTaskLists/70 (addr)prvCheckTasksWaitingTermination/71 (read)xTaskGetHandle/52 (addr)vTaskDelete/32 (addr)uxTaskGetSystemState/53 (addr)
- Availability: available
- Varpool flags:
- xPendingReadyList/13 (xPendingReadyList) @05f2cdc8
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: xTaskGenericNotifyFromISR/90 (write)xTaskRemoveFromEventList/61 (write)prvTaskIsTaskSuspended.part.0/114 (addr)xTaskRemoveFromEventList/61 (read)prvInitialiseTaskLists/70 (addr)xTaskRemoveFromEventList/61 (read)xTaskRemoveFromEventList/61 (addr)xTaskGenericNotifyFromISR/90 (read)xTaskResumeFromISR/42 (addr)xTaskGenericNotifyFromISR/90 (read)xTaskGenericNotifyFromISR/90 (addr)xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (read)vTaskGenericNotifyGiveFromISR/91 (read)vTaskGenericNotifyGiveFromISR/91 (addr)vTaskGenericNotifyGiveFromISR/91 (read)vTaskGenericNotifyGiveFromISR/91 (write)
- Availability: available
- Varpool flags:
- pxOverflowDelayedTaskList/12 (pxOverflowDelayedTaskList) @05f2cd38
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: prvAddCurrentTaskToDelayedList/94 (read)xTaskGetHandle/52 (read)prvInitialiseTaskLists/70 (write)eTaskGetState/35 (read)xTaskIncrementTick.part.0/135 (write)xTaskIncrementTick.part.0/135 (read)uxTaskGetSystemState/53 (read)
- Availability: available
- Varpool flags:
- pxDelayedTaskList/11 (pxDelayedTaskList) @05f2ccf0
- Type: variable definition analyzed
- Visibility: force_output prevailing_def_ironly
- References:
- Referring: xTaskGetHandle/52 (read)prvResetNextTaskUnblockTime.part.0/115 (read)prvAddCurrentTaskToDelayedList/94 (read)prvResetNextTaskUnblockTime/77 (read)prvInitialiseTaskLists/70 (write)eTaskGetState/35 (read)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (write)xTaskIncrementTick.part.0/135 (read)uxTaskGetSystemState/53 (read)
- Availability: available
- Varpool flags:
- xDelayedTaskList2/10 (xDelayedTaskList2) @05f2cca8
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvInitialiseTaskLists/70 (addr)prvInitialiseTaskLists/70 (addr)
- Availability: available
- Varpool flags:
- xDelayedTaskList1/9 (xDelayedTaskList1) @05f2cc18
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvInitialiseTaskLists/70 (addr)prvInitialiseTaskLists/70 (addr)
- Availability: available
- Varpool flags:
- pxReadyTasksLists/8 (pxReadyTasksLists) @05f2cb88
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: xTaskGenericNotify/89 (read)xTaskGenericNotify/89 (addr)xTaskGenericNotify/89 (read)xTaskGenericNotifyFromISR/90 (write)xTaskGenericNotify/89 (write)vTaskPriorityDisinheritAfterTimeout/82 (write)xTaskGenericNotifyFromISR/90 (read)xTaskGenericNotifyFromISR/90 (addr)xTaskGenericNotifyFromISR/90 (read)prvAddNewTaskToReadyList/31 (write)prvAddNewTaskToReadyList/31 (read)prvAddNewTaskToReadyList/31 (addr)prvAddNewTaskToReadyList/31 (read)prvIdleTask/69 (read)vTaskPrioritySet/38 (read)vTaskPrioritySet/38 (addr)vTaskPrioritySet/38 (read)vTaskPrioritySet/38 (write)prvInitialiseTaskLists/70 (addr)xTaskResumeFromISR/42 (read)xTaskResumeFromISR/42 (addr)xTaskResumeFromISR/42 (read)xTaskResumeFromISR/42 (write)xTaskIncrementTick.part.0/135 (read)xTaskRemoveFromEventList/61 (write)xTaskIncrementTick.part.0/135 (addr)xTaskIncrementTick.part.0/135 (read)xTaskIncrementTick.part.0/135 (write)xTaskResumeAll.part.0/137 (write)xTaskPriorityInherit/80 (addr)vTaskResume/41 (read)vTaskResume/41 (addr)vTaskResume/41 (read)vTaskResume/41 (write)xTaskResumeAll.part.0/137 (read)xTaskGetHandle/52 (addr)xTaskResumeAll.part.0/137 (read)xTaskResumeAll.part.0/137 (addr)xTaskAbortDelay/55 (read)xTaskAbortDelay/55 (write)vTaskSwitchContext/57 (write)vTaskSwitchContext/57 (addr)vTaskSwitchContext/57 (write)vTaskSwitchContext/57 (read)vTaskPrioritySet/38 (addr)xTaskRemoveFromEventList/61 (read)xTaskRemoveFromEventList/61 (addr)xTaskRemoveFromEventList/61 (read)vTaskRemoveFromUnorderedEventList/62 (write)vTaskRemoveFromUnorderedEventList/62 (read)vTaskRemoveFromUnorderedEventList/62 (addr)vTaskRemoveFromUnorderedEventList/62 (read)uxTaskGetSystemState/53 (addr)vTaskSwitchContext/57 (read)xTaskPriorityInherit/80 (read)xTaskPriorityInherit/80 (addr)xTaskPriorityInherit/80 (read)xTaskPriorityInherit/80 (write)xTaskPriorityDisinherit/81 (read)xTaskPriorityDisinherit/81 (addr)xTaskPriorityDisinherit/81 (read)xTaskPriorityDisinherit/81 (write)vTaskPriorityDisinheritAfterTimeout/82 (read)vTaskPriorityDisinheritAfterTimeout/82 (addr)vTaskPriorityDisinheritAfterTimeout/82 (read)xTaskIncrementTick.part.0/135 (read)xTaskAbortDelay/55 (read)xTaskAbortDelay/55 (addr)vTaskSwitchContext/57 (read)vTaskPriorityDisinheritAfterTimeout/82 (addr)vTaskGenericNotifyGiveFromISR/91 (read)vTaskGenericNotifyGiveFromISR/91 (addr)vTaskGenericNotifyGiveFromISR/91 (read)vTaskGenericNotifyGiveFromISR/91 (write)
- Availability: available
- Varpool flags:
- pxCurrentTCB/7 (pxCurrentTCB) @05f2cb40
- Type: variable definition analyzed
- Visibility: force_output externally_visible public
- References:
- Referring: ulTaskGenericNotifyTake/87 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotify/89 (read)xTaskGenericNotifyFromISR/90 (read)vTaskGenericNotifyGiveFromISR/91 (read)prvAddNewTaskToReadyList/31 (read)prvAddNewTaskToReadyList/31 (write)prvAddNewTaskToReadyList/31 (read)xTaskPriorityInherit/80 (read)xTaskPriorityInherit/80 (read)pvTaskIncrementMutexHeldCount/86 (read)pvTaskIncrementMutexHeldCount/86 (read)pvTaskIncrementMutexHeldCount/86 (read)ulTaskGenericNotifyTake/87 (read)ulTaskGenericNotifyTake/87 (read)ulTaskGenericNotifyTake/87 (read)ulTaskGenericNotifyTake/87 (read)xTaskGenericNotifyStateClear/92 (read)prvAddCurrentTaskToDelayedList/94 (read)vTaskDelete/32 (read)eTaskGetState/35 (read)prvAddNewTaskToReadyList/31 (write)prvAddCurrentTaskToDelayedList/94 (read)prvAddCurrentTaskToDelayedList/94 (read)uxTaskPriorityGet/36 (read)vTaskDelete/32 (read)vTaskResume/41 (read)xTaskAbortDelay/55 (read)vTaskDelete/32 (read)uxTaskPriorityGetFromISR/37 (read)vTaskPrioritySet/38 (read)pcTaskGetName/50 (read)vTaskResume/41 (read)xTaskIncrementTick.part.0/135 (read)vTaskPrioritySet/38 (read)xTaskResumeFromISR/42 (read)xTaskResumeAll.part.0/137 (read)vTaskSwitchContext/57 (write)ulTaskGenericNotifyTake/87 (read)prvAddNewTaskToReadyList/31 (read)prvAddCurrentTaskToDelayedList/94 (read)vTaskPrioritySet/38 (read)xTaskIncrementTick.part.0/135 (read)vTaskSuspend/39 (write)prvAddCurrentTaskToDelayedList/94 (read)vTaskPrioritySet/38 (read)vTaskSuspend/39 (read)vTaskSuspend/39 (read)vTaskPlaceOnEventList/58 (read)vTaskPlaceOnUnorderedEventList/59 (read)vTaskPlaceOnEventListRestricted/60 (read)vTaskPlaceOnUnorderedEventList/59 (read)xTaskRemoveFromEventList/61 (read)vTaskPlaceOnEventListRestricted/60 (read)vTaskRemoveFromUnorderedEventList/62 (read)xTaskCheckForTimeOut/65 (read)vTaskGetInfo/72 (read)vTaskPlaceOnUnorderedEventList/59 (read)vTaskPlaceOnUnorderedEventList/59 (read)vTaskPlaceOnUnorderedEventList/59 (read)xTaskCheckForTimeOut/65 (read)uxTaskGetStackHighWaterMark/75 (read)xTaskGetCurrentTaskHandle/78 (read)xTaskPriorityInherit/80 (read)vTaskPlaceOnEventListRestricted/60 (read)vTaskGetInfo/72 (read)xTaskPriorityDisinherit/81 (read)xTaskPriorityInherit/80 (read)xTaskPriorityInherit/80 (read)vTaskPriorityDisinheritAfterTimeout/82 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)vTaskPlaceOnEventListRestricted/60 (read)vTaskPlaceOnEventListRestricted/60 (read)uxTaskResetEventItemValue/85 (read)uxTaskResetEventItemValue/85 (read)uxTaskResetEventItemValue/85 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)vTaskPlaceOnUnorderedEventList/59 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)prvAddCurrentTaskToDelayedList.part.0/119 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotifyWait/88 (read)xTaskGenericNotifyWait/88 (read)ulTaskGenericNotifyValueClear/93 (read)
- Availability: available
- Varpool flags: initialized
- ;; Function prvSearchForNameWithinSingleList (prvSearchForNameWithinSingleList, funcdef_no=29, decl_uid=6957, cgraph_uid=30, symbol_order=51)
- Modification phase of node prvSearchForNameWithinSingleList/51
- prvSearchForNameWithinSingleList (struct List_t * pxList, const char * pcNameToQuery)
- {
- char cNextChar;
- UBaseType_t x;
- struct TCB_t * pxReturn;
- struct TCB_t * pxFirstTCB;
- struct TCB_t * pxNextTCB;
- long unsigned int _1;
- struct ListItem_t * _2;
- struct xLIST_ITEM * _3;
- struct MiniListItem_t * _4;
- struct xLIST_ITEM * _5;
- struct ListItem_t * _6;
- struct ListItem_t * _7;
- struct xLIST_ITEM * _8;
- struct xLIST_ITEM * _9;
- struct ListItem_t * _10;
- const char * _11;
- char _12;
- <bb 2> [local count: 25274560]:
- # DEBUG BEGIN_STMT
- # DEBUG pxReturn => 0B
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 ={v} pxList_23(D)->uxNumberOfItems;
- if (_1 != 0)
- goto <bb 3>; [71.00%]
- else
- goto <bb 15>; [29.00%]
- <bb 3> [local count: 17944938]:
- # DEBUG BEGIN_STMT
- # DEBUG pxConstList => pxList_23(D)
- # DEBUG BEGIN_STMT
- _2 = pxList_23(D)->pxIndex;
- _3 = _2->pxNext;
- pxList_23(D)->pxIndex = _3;
- # DEBUG BEGIN_STMT
- _4 = &pxList_23(D)->xListEnd;
- if (_3 == _4)
- goto <bb 4>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 4> [local count: 5383481]:
- # DEBUG BEGIN_STMT
- _5 = MEM[(struct ListItem_t *)_3].pxNext;
- pxList_23(D)->pxIndex = _5;
- <bb 5> [local count: 17944938]:
- # DEBUG BEGIN_STMT
- _6 = pxList_23(D)->pxIndex;
- pxFirstTCB_26 = _6->pvOwner;
- # DEBUG pxFirstTCB => pxFirstTCB_26
- <bb 6> [local count: 167748888]:
- # pxReturn_13 = PHI <0B(5), 0B(16)>
- # DEBUG pxReturn => pxReturn_13
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxConstList => pxList_23(D)
- # DEBUG BEGIN_STMT
- _7 = pxList_23(D)->pxIndex;
- _8 = _7->pxNext;
- pxList_23(D)->pxIndex = _8;
- # DEBUG BEGIN_STMT
- if (_4 == _8)
- goto <bb 7>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 7> [local count: 50324666]:
- # DEBUG BEGIN_STMT
- _9 = MEM[(struct ListItem_t *)_8].pxNext;
- pxList_23(D)->pxIndex = _9;
- <bb 8> [local count: 167748888]:
- # DEBUG BEGIN_STMT
- _10 = pxList_23(D)->pxIndex;
- pxNextTCB_29 = _10->pvOwner;
- # DEBUG pxNextTCB => pxNextTCB_29
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xBreakLoop => 0
- # DEBUG BEGIN_STMT
- # DEBUG x => 0
- goto <bb 12>; [100.00%]
- <bb 9> [local count: 976138693]:
- # DEBUG BEGIN_STMT
- cNextChar_30 = pxNextTCB_29->pcTaskName[x_17];
- # DEBUG cNextChar => cNextChar_30
- # DEBUG BEGIN_STMT
- _11 = pcNameToQuery_31(D) + x_17;
- _12 = *_11;
- if (_12 != cNextChar_30)
- goto <bb 13>; [3.66%]
- else
- goto <bb 10>; [96.34%]
- <bb 10> [local count: 940412017]:
- # DEBUG BEGIN_STMT
- if (cNextChar_30 == 0)
- goto <bb 13>; [3.66%]
- else
- goto <bb 11>; [96.34%]
- <bb 11> [local count: 905992937]:
- # DEBUG xBreakLoop => 0
- # DEBUG pxReturn => pxReturn_14
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- x_32 = x_17 + 1;
- # DEBUG x => x_32
- <bb 12> [local count: 1073741824]:
- # pxReturn_14 = PHI <pxReturn_13(8), pxReturn_14(11)>
- # x_17 = PHI <0(8), x_32(11)>
- # DEBUG xBreakLoop => 0
- # DEBUG x => x_17
- # DEBUG pxReturn => pxReturn_14
- # DEBUG BEGIN_STMT
- if (x_17 != 10)
- goto <bb 9>; [90.91%]
- else
- goto <bb 13>; [9.09%]
- <bb 13> [local count: 167748888]:
- # pxReturn_15 = PHI <pxNextTCB_29(10), pxReturn_14(12), pxReturn_14(9)>
- # DEBUG xBreakLoop => NULL
- # DEBUG pxReturn => pxReturn_15
- # DEBUG BEGIN_STMT
- if (pxReturn_15 != 0B)
- goto <bb 15>; [5.50%]
- else
- goto <bb 14>; [94.50%]
- <bb 14> [local count: 158522699]:
- # DEBUG BEGIN_STMT
- if (pxFirstTCB_26 != pxNextTCB_29)
- goto <bb 16>; [94.50%]
- else
- goto <bb 15>; [5.50%]
- <bb 16> [local count: 149803950]:
- goto <bb 6>; [100.00%]
- <bb 15> [local count: 25274560]:
- # pxReturn_16 = PHI <0B(2), 0B(14), pxReturn_15(13)>
- # DEBUG pxReturn => pxReturn_16
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return pxReturn_16;
- }
- ;; Function prvTaskIsTaskSuspended (prvTaskIsTaskSuspended, funcdef_no=18, decl_uid=6939, cgraph_uid=19, symbol_order=40)
- Modification phase of node prvTaskIsTaskSuspended/40
- prvTaskIsTaskSuspended (struct tskTaskControlBlock * const xTask)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct xLIST * _1;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTask_5(D)
- # DEBUG BEGIN_STMT
- if (xTask_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.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_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct TCB_t *)xTask_5(D)].xStateListItem.pvContainer;
- if (_1 == &xSuspendedTaskList)
- goto <bb 6>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 6> [local count: 75162]:
- xReturn_2 = prvTaskIsTaskSuspended.part.0 (xTask_5(D));
- <bb 7> [local count: 250539]:
- # xReturn_3 = PHI <0(5), xReturn_2(6)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- ;; Function prvResetNextTaskUnblockTime (prvResetNextTaskUnblockTime, funcdef_no=55, decl_uid=6961, cgraph_uid=56, symbol_order=77)
- Modification phase of node prvResetNextTaskUnblockTime/77
- prvResetNextTaskUnblockTime ()
- {
- struct List_t * pxDelayedTaskList.20_1;
- long unsigned int _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- pxDelayedTaskList.20_1 ={v} pxDelayedTaskList;
- _2 ={v} pxDelayedTaskList.20_1->uxNumberOfItems;
- if (_2 == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- xNextTaskUnblockTime ={v} 4294967295;
- goto <bb 5>; [100.00%]
- <bb 4> [local count: 536870912]:
- prvResetNextTaskUnblockTime.part.0 ();
- <bb 5> [local count: 1073741824]:
- return;
- }
- ;; Function prvAddCurrentTaskToDelayedList (prvAddCurrentTaskToDelayedList, funcdef_no=72, decl_uid=6950, cgraph_uid=73, symbol_order=94)
- Modification phase of node prvAddCurrentTaskToDelayedList/94
- prvAddCurrentTaskToDelayedList (TickType_t xTicksToWait, const BaseType_t xCanBlockIndefinitely)
- {
- const TickType_t xConstTickCount;
- TickType_t xTimeToWake;
- struct TCB_t * pxCurrentTCB.23_1;
- struct TCB_t * pxCurrentTCB.24_2;
- struct ListItem_t * _3;
- struct TCB_t * pxCurrentTCB.30_5;
- struct List_t * pxOverflowDelayedTaskList.31_6;
- struct TCB_t * pxCurrentTCB.32_7;
- struct ListItem_t * _8;
- struct List_t * pxDelayedTaskList.33_9;
- struct TCB_t * pxCurrentTCB.34_10;
- struct ListItem_t * _11;
- long unsigned int xNextTaskUnblockTime.35_12;
- <bb 2> [local count: 1073741823]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xConstTickCount_14 ={v} xTickCount;
- # DEBUG xConstTickCount => xConstTickCount_14
- # DEBUG BEGIN_STMT
- pxCurrentTCB.23_1 ={v} pxCurrentTCB;
- pxCurrentTCB.23_1->ucDelayAborted = 0;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.24_2 ={v} pxCurrentTCB;
- _3 = &pxCurrentTCB.24_2->xStateListItem;
- uxListRemove (_3);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTicksToWait_17(D) == 4294967295)
- goto <bb 3>; [34.00%]
- else
- goto <bb 5>; [66.00%]
- <bb 3> [local count: 365072220]:
- if (xCanBlockIndefinitely_18(D) != 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 4> [local count: 182536110]:
- # DEBUG D#2 => xTicksToWait_17(D)
- # DEBUG D#3 => xCanBlockIndefinitely_18(D)
- prvAddCurrentTaskToDelayedList.part.0 ();
- goto <bb 9>; [100.00%]
- <bb 5> [local count: 891205713]:
- # DEBUG BEGIN_STMT
- xTimeToWake_19 = xConstTickCount_14 + xTicksToWait_17(D);
- # DEBUG xTimeToWake => xTimeToWake_19
- # DEBUG BEGIN_STMT
- pxCurrentTCB.30_5 ={v} pxCurrentTCB;
- pxCurrentTCB.30_5->xStateListItem.xItemValue = xTimeToWake_19;
- # DEBUG BEGIN_STMT
- if (xConstTickCount_14 > xTimeToWake_19)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 445602856]:
- # DEBUG BEGIN_STMT
- pxOverflowDelayedTaskList.31_6 ={v} pxOverflowDelayedTaskList;
- pxCurrentTCB.32_7 ={v} pxCurrentTCB;
- _8 = &pxCurrentTCB.32_7->xStateListItem;
- vListInsert (pxOverflowDelayedTaskList.31_6, _8);
- goto <bb 9>; [100.00%]
- <bb 7> [local count: 445602856]:
- # DEBUG BEGIN_STMT
- pxDelayedTaskList.33_9 ={v} pxDelayedTaskList;
- pxCurrentTCB.34_10 ={v} pxCurrentTCB;
- _11 = &pxCurrentTCB.34_10->xStateListItem;
- vListInsert (pxDelayedTaskList.33_9, _11);
- # DEBUG BEGIN_STMT
- xNextTaskUnblockTime.35_12 ={v} xNextTaskUnblockTime;
- if (xNextTaskUnblockTime.35_12 > xTimeToWake_19)
- goto <bb 8>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 8> [local count: 222801428]:
- # DEBUG BEGIN_STMT
- xNextTaskUnblockTime ={v} xTimeToWake_19;
- <bb 9> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function prvIdleTask (prvIdleTask, funcdef_no=47, decl_uid=6943, cgraph_uid=48, symbol_order=69) (executed once)
- Modification phase of node prvIdleTask/69
- prvIdleTask (void * pvParameters)
- {
- long unsigned int _1;
- <bb 2> [local count: 63351]:
- <bb 3> [local count: 633507677]:
- <bb 4> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvCheckTasksWaitingTermination ();
- # DEBUG BEGIN_STMT
- _1 ={v} pxReadyTasksLists[0].uxNumberOfItems;
- if (_1 > 1)
- goto <bb 5>; [59.00%]
- else
- goto <bb 6>; [41.00%]
- <bb 6> [local count: 440234148]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 633507677]:
- # 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
- goto <bb 3>; [100.00%]
- }
- ;; Function xTaskCreate (xTaskCreate, funcdef_no=7, decl_uid=6139, cgraph_uid=8, symbol_order=29)
- Modification phase of node xTaskCreate/29
- xTaskCreate (void (*TaskFunction_t) (void *) pxTaskCode, const char * const pcName, const uint16_t usStackDepth, void * const pvParameters, UBaseType_t uxPriority, struct tskTaskControlBlock * * const pxCreatedTask)
- {
- StackType_t * pxStack;
- BaseType_t xReturn;
- struct TCB_t * pxNewTCB;
- unsigned int _1;
- unsigned int _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = (unsigned int) usStackDepth_6(D);
- _2 = _1 * 4;
- pxStack_9 = pvPortMalloc (_2);
- # DEBUG pxStack => pxStack_9
- # DEBUG BEGIN_STMT
- if (pxStack_9 != 0B)
- goto <bb 4>; [53.47%]
- else
- goto <bb 9>; [46.53%]
- <bb 4> [local count: 574129754]:
- # DEBUG BEGIN_STMT
- pxNewTCB_11 = pvPortMalloc (88);
- # DEBUG pxNewTCB => pxNewTCB_11
- # DEBUG BEGIN_STMT
- if (pxNewTCB_11 != 0B)
- goto <bb 5>; [82.57%]
- else
- goto <bb 6>; [17.43%]
- <bb 5> [local count: 474058937]:
- # DEBUG BEGIN_STMT
- pxNewTCB_11->pxStack = pxStack_9;
- goto <bb 7>; [100.00%]
- <bb 6> [local count: 100070816]:
- # DEBUG BEGIN_STMT
- vPortFree (pxStack_9);
- <bb 7> [local count: 574129754]:
- # DEBUG pxNewTCB => pxNewTCB_11
- # DEBUG BEGIN_STMT
- if (pxNewTCB_11 != 0B)
- goto <bb 8>; [53.47%]
- else
- goto <bb 9>; [46.53%]
- <bb 8> [local count: 306987179]:
- # DEBUG BEGIN_STMT
- # DEBUG D#1 => 0B
- prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
- # DEBUG BEGIN_STMT
- prvAddNewTaskToReadyList (pxNewTCB_11);
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 9> [local count: 1073741824]:
- # xReturn_3 = PHI <1(8), -1(7), -1(2)>
- # DEBUG pxNewTCB => NULL
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- ;; Function vTaskDelete (vTaskDelete, funcdef_no=10, decl_uid=6144, cgraph_uid=11, symbol_order=32)
- Modification phase of node vTaskDelete/32
- vTaskDelete (struct tskTaskControlBlock * xTaskToDelete)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * _1;
- struct xLIST * _2;
- struct ListItem_t * _3;
- long unsigned int uxTaskNumber.13_4;
- long unsigned int _5;
- struct TCB_t * pxCurrentTCB.14_6;
- long unsigned int uxDeletedTasksWaitingCleanUp.15_7;
- long unsigned int _8;
- long unsigned int uxCurrentNumberOfTasks.16_9;
- long unsigned int _10;
- long int xSchedulerRunning.17_11;
- struct TCB_t * pxCurrentTCB.18_12;
- long unsigned int uxSchedulerSuspended.19_13;
- struct TCB_t * iftmp.12_14;
- struct TCB_t * iftmp.12_21;
- <bb 2> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- if (xTaskToDelete_20(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 429496]:
- iftmp.12_21 ={v} pxCurrentTCB;
- <bb 4> [local count: 1431653]:
- # iftmp.12_14 = PHI <iftmp.12_21(3), xTaskToDelete_20(D)(2)>
- # DEBUG pxTCB => iftmp.12_14
- # DEBUG BEGIN_STMT
- _1 = &iftmp.12_14->xStateListItem;
- uxListRemove (_1);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = iftmp.12_14->xEventListItem.pvContainer;
- if (_2 != 0B)
- goto <bb 5>; [53.47%]
- else
- goto <bb 6>; [46.53%]
- <bb 5> [local count: 765505]:
- # DEBUG BEGIN_STMT
- _3 = &iftmp.12_14->xEventListItem;
- uxListRemove (_3);
- <bb 6> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTaskNumber.13_4 = uxTaskNumber;
- _5 = uxTaskNumber.13_4 + 1;
- uxTaskNumber = _5;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.14_6 ={v} pxCurrentTCB;
- if (pxCurrentTCB.14_6 == iftmp.12_14)
- goto <bb 7>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 7> [local count: 429496]:
- # DEBUG BEGIN_STMT
- vListInsertEnd (&xTasksWaitingTermination, _1);
- # DEBUG BEGIN_STMT
- uxDeletedTasksWaitingCleanUp.15_7 ={v} uxDeletedTasksWaitingCleanUp;
- _8 = uxDeletedTasksWaitingCleanUp.15_7 + 1;
- uxDeletedTasksWaitingCleanUp ={v} _8;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 9>; [100.00%]
- <bb 8> [local count: 1002157]:
- # DEBUG BEGIN_STMT
- uxCurrentNumberOfTasks.16_9 ={v} uxCurrentNumberOfTasks;
- _10 = uxCurrentNumberOfTasks.16_9 + 4294967295;
- uxCurrentNumberOfTasks ={v} _10;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvDeleteTCB (iftmp.12_14);
- # DEBUG BEGIN_STMT
- prvResetNextTaskUnblockTime ();
- <bb 9> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- xSchedulerRunning.17_11 ={v} xSchedulerRunning;
- if (xSchedulerRunning.17_11 != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 10> [local count: 715827]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.18_12 ={v} pxCurrentTCB;
- if (pxCurrentTCB.18_12 == iftmp.12_14)
- goto <bb 11>; [30.00%]
- else
- goto <bb 15>; [70.00%]
- <bb 11> [local count: 214748]:
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.19_13 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.19_13 != 0)
- goto <bb 12>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 12> [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_34 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_34
- <bb 13> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 1073741824]:
- goto <bb 13>; [100.00%]
- <bb 14> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # 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 15> [local count: 1324279]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function eTaskGetState (eTaskGetState, funcdef_no=13, decl_uid=6157, cgraph_uid=14, symbol_order=35)
- Modification phase of node eTaskGetState/35
- eTaskGetState (struct tskTaskControlBlock * xTask)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t x;
- const struct List_t * pxOverflowedDelayedList;
- const struct List_t * pxDelayedList;
- const struct List_t * pxStateList;
- eTaskState eReturn;
- struct TCB_t * pxCurrentTCB.37_1;
- struct xLIST * _2;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTask_5(D)
- # DEBUG BEGIN_STMT
- if (xTask_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.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_15 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 15> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.37_1 ={v} pxCurrentTCB;
- if (pxCurrentTCB.37_1 == xTask_5(D))
- goto <bb 14>; [46.53%]
- else
- goto <bb 6>; [53.47%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- pxStateList_9 = MEM[(const struct TCB_t *)xTask_5(D)].xStateListItem.pvContainer;
- # DEBUG pxStateList => pxStateList_9
- # DEBUG BEGIN_STMT
- pxDelayedList_10 ={v} pxDelayedTaskList;
- # DEBUG pxDelayedList => pxDelayedList_10
- # DEBUG BEGIN_STMT
- pxOverflowedDelayedList_11 ={v} pxOverflowDelayedTaskList;
- # DEBUG pxOverflowedDelayedList => pxOverflowedDelayedList_11
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- if (pxStateList_9 == pxDelayedList_10)
- goto <bb 14>; [18.75%]
- else
- goto <bb 7>; [81.25%]
- <bb 7> [local count: 108845]:
- if (pxStateList_9 == pxOverflowedDelayedList_11)
- goto <bb 14>; [18.75%]
- else
- goto <bb 8>; [81.25%]
- <bb 8> [local count: 88437]:
- # DEBUG BEGIN_STMT
- if (pxStateList_9 == &xSuspendedTaskList)
- goto <bb 9>; [30.00%]
- else
- goto <bb 11>; [70.00%]
- <bb 9> [local count: 26531]:
- # DEBUG BEGIN_STMT
- _2 = MEM[(const struct TCB_t *)xTask_5(D)].xEventListItem.pvContainer;
- if (_2 == 0B)
- goto <bb 10>; [44.32%]
- else
- goto <bb 14>; [55.68%]
- <bb 10> [local count: 11759]:
- # x_4 = PHI <0(9)>
- eReturn_13 = eTaskGetState.part.0 (xTask_5(D));
- goto <bb 14>; [100.00%]
- <bb 11> [local count: 61906]:
- # DEBUG BEGIN_STMT
- if (pxStateList_9 == &xTasksWaitingTermination)
- goto <bb 14>; [18.75%]
- else
- goto <bb 12>; [81.25%]
- <bb 12> [local count: 50298]:
- if (pxStateList_9 == 0B)
- goto <bb 14>; [18.75%]
- else
- goto <bb 13>; [81.25%]
- <bb 13> [local count: 40867]:
- # DEBUG BEGIN_STMT
- # DEBUG eReturn => 1
- <bb 14> [local count: 250539]:
- # eReturn_3 = PHI <0(5), 2(7), 2(9), 4(12), 1(13), 4(11), eReturn_13(10), 2(6)>
- # DEBUG eReturn => eReturn_3
- # DEBUG BEGIN_STMT
- return eReturn_3;
- }
- ;; Function uxTaskPriorityGet (uxTaskPriorityGet, funcdef_no=14, decl_uid=6153, cgraph_uid=15, symbol_order=36)
- Modification phase of node uxTaskPriorityGet/36
- uxTaskPriorityGet (struct tskTaskControlBlock * const xTask)
- {
- UBaseType_t uxReturn;
- const struct TCB_t * iftmp.38_1;
- const struct TCB_t * iftmp.38_5;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- if (xTask_4(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 322122547]:
- iftmp.38_5 ={v} pxCurrentTCB;
- <bb 4> [local count: 1073741824]:
- # iftmp.38_1 = PHI <iftmp.38_5(3), xTask_4(D)(2)>
- # DEBUG pxTCB => iftmp.38_1
- # DEBUG BEGIN_STMT
- uxReturn_6 = iftmp.38_1->uxPriority;
- # DEBUG uxReturn => uxReturn_6
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return uxReturn_6;
- }
- ;; Function uxTaskPriorityGetFromISR (uxTaskPriorityGetFromISR, funcdef_no=15, decl_uid=6155, cgraph_uid=16, symbol_order=37)
- Modification phase of node uxTaskPriorityGetFromISR/37
- uxTaskPriorityGetFromISR (struct tskTaskControlBlock * const xTask)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- UBaseType_t uxReturn;
- const struct TCB_t * iftmp.39_1;
- const struct TCB_t * iftmp.39_5;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortValidateInterruptPriority ();
- # 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_7, "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_7
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptState => ulOriginalBASEPRI_7
- # DEBUG BEGIN_STMT
- if (xTask_4(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 322122547]:
- iftmp.39_5 ={v} pxCurrentTCB;
- <bb 4> [local count: 1073741824]:
- # iftmp.39_1 = PHI <iftmp.39_5(3), xTask_4(D)(2)>
- # DEBUG pxTCB => iftmp.39_1
- # DEBUG BEGIN_STMT
- uxReturn_6 = iftmp.39_1->uxPriority;
- # DEBUG uxReturn => uxReturn_6
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_7
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_7 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return uxReturn_6;
- }
- ;; Function vTaskPrioritySet (vTaskPrioritySet, funcdef_no=16, decl_uid=6165, cgraph_uid=17, symbol_order=38)
- Modification phase of node vTaskPrioritySet/38
- vTaskPrioritySet (struct tskTaskControlBlock * xTask, UBaseType_t uxNewPriority)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- BaseType_t xYieldRequired;
- UBaseType_t uxPriorityUsedOnEntry;
- UBaseType_t uxCurrentBasePriority;
- struct TCB_t * pxCurrentTCB.41_1;
- struct TCB_t * pxCurrentTCB.42_2;
- long unsigned int _3;
- struct TCB_t * pxCurrentTCB.43_4;
- long unsigned int _5;
- signed int _6;
- long unsigned int _7;
- struct xLIST * _8;
- struct List_t * _9;
- struct ListItem_t * _10;
- long unsigned int _11;
- long unsigned int uxTopReadyPriority.44_12;
- struct xLIST_ITEM * _13;
- struct xLIST_ITEM * _14;
- struct List_t * _15;
- long unsigned int _16;
- long unsigned int _17;
- struct TCB_t * iftmp.40_19;
- struct TCB_t * iftmp.40_29;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xYieldRequired => 0
- # DEBUG BEGIN_STMT
- if (uxNewPriority_25(D) > 4)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_48 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_48
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 25> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG uxNewPriority => uxNewPriority_25(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- if (xTask_28(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 6> [local count: 15866]:
- iftmp.40_29 ={v} pxCurrentTCB;
- <bb 7> [local count: 52886]:
- # iftmp.40_19 = PHI <iftmp.40_29(6), xTask_28(D)(5)>
- # DEBUG pxTCB => iftmp.40_19
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxCurrentBasePriority_30 = iftmp.40_19->uxBasePriority;
- # DEBUG uxCurrentBasePriority => uxCurrentBasePriority_30
- # DEBUG BEGIN_STMT
- if (uxNewPriority_25(D) != uxCurrentBasePriority_30)
- goto <bb 8>; [66.00%]
- else
- goto <bb 24>; [34.00%]
- <bb 8> [local count: 34905]:
- # DEBUG BEGIN_STMT
- if (uxNewPriority_25(D) > uxCurrentBasePriority_30)
- goto <bb 9>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 9> [local count: 17452]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.41_1 ={v} pxCurrentTCB;
- if (pxCurrentTCB.41_1 != iftmp.40_19)
- goto <bb 10>; [70.00%]
- else
- goto <bb 14>; [30.00%]
- <bb 10> [local count: 12217]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.42_2 ={v} pxCurrentTCB;
- _3 = pxCurrentTCB.42_2->uxPriority;
- if (_3 <= uxNewPriority_25(D))
- goto <bb 11>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 11> [local count: 6108]:
- # DEBUG BEGIN_STMT
- # DEBUG xYieldRequired => 1
- goto <bb 14>; [100.00%]
- <bb 12> [local count: 17452]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.43_4 ={v} pxCurrentTCB;
- if (pxCurrentTCB.43_4 == iftmp.40_19)
- goto <bb 13>; [30.00%]
- else
- goto <bb 14>; [70.00%]
- <bb 13> [local count: 5236]:
- # DEBUG BEGIN_STMT
- # DEBUG xYieldRequired => 1
- <bb 14> [local count: 34905]:
- # xYieldRequired_18 = PHI <1(11), 0(12), 1(13), 0(9), 0(10)>
- # DEBUG xYieldRequired => xYieldRequired_18
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxPriorityUsedOnEntry_31 = iftmp.40_19->uxPriority;
- # DEBUG uxPriorityUsedOnEntry => uxPriorityUsedOnEntry_31
- # DEBUG BEGIN_STMT
- if (uxCurrentBasePriority_30 == uxPriorityUsedOnEntry_31)
- goto <bb 15>; [34.00%]
- else
- goto <bb 16>; [66.00%]
- <bb 15> [local count: 11868]:
- # DEBUG BEGIN_STMT
- iftmp.40_19->uxPriority = uxNewPriority_25(D);
- <bb 16> [local count: 34905]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- iftmp.40_19->uxBasePriority = uxNewPriority_25(D);
- # DEBUG BEGIN_STMT
- _5 = iftmp.40_19->xEventListItem.xItemValue;
- _6 = (signed int) _5;
- if (_6 >= 0)
- goto <bb 17>; [59.00%]
- else
- goto <bb 18>; [41.00%]
- <bb 17> [local count: 20594]:
- # DEBUG BEGIN_STMT
- _7 = 5 - uxNewPriority_25(D);
- iftmp.40_19->xEventListItem.xItemValue = _7;
- <bb 18> [local count: 34905]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _8 = iftmp.40_19->xStateListItem.pvContainer;
- _9 = &pxReadyTasksLists[uxPriorityUsedOnEntry_31];
- if (_8 == _9)
- goto <bb 19>; [17.43%]
- else
- goto <bb 22>; [82.57%]
- <bb 19> [local count: 6084]:
- # DEBUG BEGIN_STMT
- _10 = &iftmp.40_19->xStateListItem;
- uxListRemove (_10);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _11 = iftmp.40_19->uxPriority;
- uxTopReadyPriority.44_12 ={v} uxTopReadyPriority;
- if (_11 > uxTopReadyPriority.44_12)
- goto <bb 20>; [50.00%]
- else
- goto <bb 21>; [50.00%]
- <bb 20> [local count: 3042]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _11;
- <bb 21> [local count: 6084]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_37 = pxReadyTasksLists[_11].pxIndex;
- # DEBUG pxIndex => pxIndex_37
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- iftmp.40_19->xStateListItem.pxNext = pxIndex_37;
- # DEBUG BEGIN_STMT
- _13 = pxIndex_37->pxPrevious;
- iftmp.40_19->xStateListItem.pxPrevious = _13;
- # DEBUG BEGIN_STMT
- _14 = pxIndex_37->pxPrevious;
- _14->pxNext = _10;
- # DEBUG BEGIN_STMT
- pxIndex_37->pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _15 = &pxReadyTasksLists[_11];
- iftmp.40_19->xStateListItem.pvContainer = _15;
- # DEBUG BEGIN_STMT
- _16 ={v} pxReadyTasksLists[_11].uxNumberOfItems;
- _17 = _16 + 1;
- pxReadyTasksLists[_11].uxNumberOfItems ={v} _17;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 22> [local count: 34905]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xYieldRequired_18 != 0)
- goto <bb 23>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 23> [local count: 17452]:
- # 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 24> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- return;
- }
- ;; Function vTaskResume (vTaskResume, funcdef_no=19, decl_uid=6169, cgraph_uid=20, symbol_order=41)
- Modification phase of node vTaskResume/41
- vTaskResume (struct tskTaskControlBlock * xTaskToResume)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct TCB_t * pxCurrentTCB.51_1;
- long int _2;
- struct ListItem_t * _3;
- long unsigned int _4;
- long unsigned int uxTopReadyPriority.52_5;
- struct xLIST_ITEM * _6;
- struct xLIST_ITEM * _7;
- struct List_t * _8;
- long unsigned int _9;
- long unsigned int _10;
- struct TCB_t * pxCurrentTCB.53_11;
- long unsigned int _12;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTaskToResume_16(D)
- # DEBUG BEGIN_STMT
- if (xTaskToResume_16(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.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_33 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_33
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.51_1 ={v} pxCurrentTCB;
- if (pxCurrentTCB.51_1 != xTaskToResume_16(D))
- goto <bb 6>; [53.47%]
- else
- goto <bb 12>; [46.53%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- _2 = prvTaskIsTaskSuspended (xTaskToResume_16(D));
- if (_2 != 0)
- goto <bb 7>; [33.00%]
- else
- goto <bb 11>; [67.00%]
- <bb 7> [local count: 44208]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _3 = &MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem;
- uxListRemove (_3);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _4 = MEM[(struct TCB_t *)xTaskToResume_16(D)].uxPriority;
- uxTopReadyPriority.52_5 ={v} uxTopReadyPriority;
- if (_4 > uxTopReadyPriority.52_5)
- goto <bb 8>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 8> [local count: 22104]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _4;
- <bb 9> [local count: 44208]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_22 = pxReadyTasksLists[_4].pxIndex;
- # DEBUG pxIndex => pxIndex_22
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pxNext = pxIndex_22;
- # DEBUG BEGIN_STMT
- _6 = pxIndex_22->pxPrevious;
- MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pxPrevious = _6;
- # DEBUG BEGIN_STMT
- _7 = pxIndex_22->pxPrevious;
- _7->pxNext = _3;
- # DEBUG BEGIN_STMT
- pxIndex_22->pxPrevious = _3;
- # DEBUG BEGIN_STMT
- _8 = &pxReadyTasksLists[_4];
- MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pvContainer = _8;
- # DEBUG BEGIN_STMT
- _9 ={v} pxReadyTasksLists[_4].uxNumberOfItems;
- _10 = _9 + 1;
- pxReadyTasksLists[_4].uxNumberOfItems ={v} _10;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.53_11 ={v} pxCurrentTCB;
- _12 = pxCurrentTCB.53_11->uxPriority;
- if (_4 >= _12)
- goto <bb 10>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 10> [local count: 22104]:
- # 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 11> [local count: 133963]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- <bb 12> [local count: 250539]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function xTaskResumeFromISR (xTaskResumeFromISR, funcdef_no=20, decl_uid=6171, cgraph_uid=21, symbol_order=42)
- Modification phase of node xTaskResumeFromISR/42
- xTaskResumeFromISR (struct tskTaskControlBlock * xTaskToResume)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- BaseType_t xYieldRequired;
- long int _1;
- long unsigned int uxSchedulerSuspended.54_2;
- long unsigned int _3;
- struct TCB_t * pxCurrentTCB.55_4;
- long unsigned int _5;
- struct ListItem_t * _6;
- long unsigned int _7;
- long unsigned int uxTopReadyPriority.56_8;
- struct xLIST_ITEM * _9;
- struct xLIST_ITEM * _10;
- struct List_t * _11;
- long unsigned int _12;
- long unsigned int _13;
- struct ListItem_t * _14;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG xYieldRequired => 0
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTaskToResume_20(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTaskToResume_20(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_35 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_35
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 14> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortValidateInterruptPriority ();
- # 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_36, "=r" ulNewBASEPRI_37 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_36
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_36
- # DEBUG BEGIN_STMT
- _1 = prvTaskIsTaskSuspended (xTaskToResume_20(D));
- if (_1 != 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 6> [local count: 61694]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.54_2 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.54_2 == 0)
- goto <bb 7>; [67.00%]
- else
- goto <bb 12>; [33.00%]
- <bb 7> [local count: 41335]:
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct TCB_t *)xTaskToResume_20(D)].uxPriority;
- pxCurrentTCB.55_4 ={v} pxCurrentTCB;
- _5 = pxCurrentTCB.55_4->uxPriority;
- if (_3 >= _5)
- goto <bb 8>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 8> [local count: 20668]:
- # DEBUG BEGIN_STMT
- # DEBUG xYieldRequired => 1
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 9> [local count: 41335]:
- # xYieldRequired_15 = PHI <0(7), 1(8)>
- # DEBUG xYieldRequired => xYieldRequired_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _6 = &MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem;
- uxListRemove (_6);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct TCB_t *)xTaskToResume_20(D)].uxPriority;
- uxTopReadyPriority.56_8 ={v} uxTopReadyPriority;
- if (_7 > uxTopReadyPriority.56_8)
- goto <bb 10>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 10> [local count: 20668]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _7;
- <bb 11> [local count: 41335]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_28 = pxReadyTasksLists[_7].pxIndex;
- # DEBUG pxIndex => pxIndex_28
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pxNext = pxIndex_28;
- # DEBUG BEGIN_STMT
- _9 = pxIndex_28->pxPrevious;
- MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pxPrevious = _9;
- # DEBUG BEGIN_STMT
- _10 = pxIndex_28->pxPrevious;
- _10->pxNext = _6;
- # DEBUG BEGIN_STMT
- pxIndex_28->pxPrevious = _6;
- # DEBUG BEGIN_STMT
- _11 = &pxReadyTasksLists[_7];
- MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pvContainer = _11;
- # DEBUG BEGIN_STMT
- _12 ={v} pxReadyTasksLists[_7].uxNumberOfItems;
- _13 = _12 + 1;
- pxReadyTasksLists[_7].uxNumberOfItems ={v} _13;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 13>; [100.00%]
- <bb 12> [local count: 20359]:
- # DEBUG BEGIN_STMT
- _14 = &MEM[(struct TCB_t *)xTaskToResume_20(D)].xEventListItem;
- vListInsertEnd (&xPendingReadyList, _14);
- <bb 13> [local count: 123389]:
- # xYieldRequired_16 = PHI <0(5), 0(12), xYieldRequired_15(11)>
- # DEBUG xYieldRequired => xYieldRequired_16
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_36
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_36 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xYieldRequired_16;
- }
- ;; Function vTaskStartScheduler (vTaskStartScheduler, funcdef_no=21, decl_uid=6173, cgraph_uid=22, symbol_order=43)
- Modification phase of node vTaskStartScheduler/43
- vTaskStartScheduler ()
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- long unsigned int vol.57_13;
- <bb 2> [local count: 395945]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
- # DEBUG xReturn => xReturn_6
- # DEBUG BEGIN_STMT
- if (xReturn_6 == 1)
- goto <bb 3>; [20.24%]
- else
- goto <bb 4>; [79.76%]
- <bb 3> [local count: 80139]:
- # DEBUG BEGIN_STMT
- xReturn_8 = xTimerCreateTimerTask ();
- # DEBUG xReturn => xReturn_8
- <bb 4> [local count: 395945]:
- # xReturn_1 = PHI <xReturn_6(2), xReturn_8(3)>
- # DEBUG xReturn => xReturn_1
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xReturn_1 == 1)
- goto <bb 5>; [20.24%]
- else
- goto <bb 6>; [79.76%]
- <bb 5> [local count: 80139]:
- # 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_14 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- xNextTaskUnblockTime ={v} 4294967295;
- # DEBUG BEGIN_STMT
- xSchedulerRunning ={v} 1;
- # DEBUG BEGIN_STMT
- xTickCount ={v} 0;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xPortStartScheduler ();
- goto <bb 9>; [100.00%]
- <bb 6> [local count: 315806]:
- # DEBUG BEGIN_STMT
- if (xReturn_1 == -1)
- goto <bb 7>; [34.00%]
- else
- goto <bb 9>; [66.00%]
- <bb 7> [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_15 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
- <bb 8> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 288571]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vol.57_13 ={v} uxTopUsedPriority;
- return;
- }
- ;; Function vTaskEndScheduler (vTaskEndScheduler, funcdef_no=22, decl_uid=6175, cgraph_uid=23, symbol_order=44)
- Modification phase of node vTaskEndScheduler/44
- vTaskEndScheduler ()
- {
- uint32_t ulNewBASEPRI;
- <bb 2> [local count: 1073741824]:
- # 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_4 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- xSchedulerRunning ={v} 0;
- # DEBUG BEGIN_STMT
- vPortEndScheduler ();
- return;
- }
- ;; Function vTaskSuspendAll (vTaskSuspendAll, funcdef_no=23, decl_uid=6177, cgraph_uid=24, symbol_order=45)
- Modification phase of node vTaskSuspendAll/45
- vTaskSuspendAll ()
- {
- long unsigned int uxSchedulerSuspended.61_1;
- long unsigned int _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.61_1 ={v} uxSchedulerSuspended;
- _2 = uxSchedulerSuspended.61_1 + 1;
- uxSchedulerSuspended ={v} _2;
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("" : : : "memory");
- return;
- }
- ;; Function xTaskGetTickCount (xTaskGetTickCount, funcdef_no=25, decl_uid=6181, cgraph_uid=26, symbol_order=47)
- Modification phase of node xTaskGetTickCount/47
- xTaskGetTickCount ()
- {
- TickType_t xTicks;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTicks_2 ={v} xTickCount;
- # DEBUG xTicks => xTicks_2
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xTicks_2;
- }
- ;; Function xTaskGetTickCountFromISR (xTaskGetTickCountFromISR, funcdef_no=26, decl_uid=6183, cgraph_uid=27, symbol_order=48)
- Modification phase of node xTaskGetTickCountFromISR/48
- xTaskGetTickCountFromISR ()
- {
- TickType_t xReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortValidateInterruptPriority ();
- # DEBUG BEGIN_STMT
- # DEBUG uxSavedInterruptStatus => 0
- # DEBUG BEGIN_STMT
- xReturn_3 ={v} xTickCount;
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- ;; Function uxTaskGetNumberOfTasks (uxTaskGetNumberOfTasks, funcdef_no=27, decl_uid=6185, cgraph_uid=28, symbol_order=49)
- Modification phase of node uxTaskGetNumberOfTasks/49
- uxTaskGetNumberOfTasks ()
- {
- UBaseType_t _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _2 ={v} uxCurrentNumberOfTasks;
- return _2;
- }
- ;; Function pcTaskGetName (pcTaskGetName, funcdef_no=28, decl_uid=6187, cgraph_uid=29, symbol_order=50)
- Modification phase of node pcTaskGetName/50
- pcTaskGetName (struct tskTaskControlBlock * xTaskToQuery)
- {
- uint32_t ulNewBASEPRI;
- struct TCB_t * iftmp.69_1;
- struct TCB_t * iftmp.69_4;
- char * _5;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTaskToQuery_2(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 107374]:
- iftmp.69_4 ={v} pxCurrentTCB;
- <bb 4> [local count: 357913]:
- # iftmp.69_1 = PHI <iftmp.69_4(3), xTaskToQuery_2(D)(2)>
- # DEBUG pxTCB => iftmp.69_1
- # DEBUG BEGIN_STMT
- if (iftmp.69_1 == 0B)
- goto <bb 5>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 5> [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_6 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
- <bb 6> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 6>; [100.00%]
- <bb 7> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _5 = &iftmp.69_1->pcTaskName[0];
- return _5;
- }
- ;; Function xTaskIncrementTick (xTaskIncrementTick, funcdef_no=34, decl_uid=6251, cgraph_uid=35, symbol_order=56)
- Modification phase of node xTaskIncrementTick/56
- xTaskIncrementTick ()
- {
- BaseType_t xSwitchRequired;
- long unsigned int uxSchedulerSuspended.79_1;
- long unsigned int xPendedTicks.91_5;
- long unsigned int _6;
- <bb 2> [local count: 641039]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xSwitchRequired => 0
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.79_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.79_1 == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 320520]:
- xSwitchRequired_2 = xTaskIncrementTick.part.0 ();
- goto <bb 5>; [100.00%]
- <bb 4> [local count: 320519]:
- # DEBUG BEGIN_STMT
- xPendedTicks.91_5 ={v} xPendedTicks;
- _6 = xPendedTicks.91_5 + 1;
- xPendedTicks ={v} _6;
- <bb 5> [local count: 533665]:
- # xSwitchRequired_7 = PHI <xSwitchRequired_2(3), 0(4)>
- # DEBUG xSwitchRequired => xSwitchRequired_7
- # DEBUG BEGIN_STMT
- return xSwitchRequired_7;
- }
- ;; Function xTaskResumeAll (xTaskResumeAll, funcdef_no=24, decl_uid=6179, cgraph_uid=25, symbol_order=46)
- Modification phase of node xTaskResumeAll/46
- xTaskResumeAll ()
- {
- BaseType_t D.8425;
- uint32_t ulNewBASEPRI;
- long unsigned int uxSchedulerSuspended.62_1;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => 0B
- # DEBUG BEGIN_STMT
- # DEBUG xAlreadyYielded => 0
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.62_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.62_1 == 0)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_5 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- _2 = xTaskResumeAll.part.0 ();
- return _2;
- }
- ;; Function xTaskDelayUntil (xTaskDelayUntil, funcdef_no=11, decl_uid=6149, cgraph_uid=12, symbol_order=33)
- Modification phase of node xTaskDelayUntil/33
- xTaskDelayUntil (TickType_t * const pxPreviousWakeTime, const TickType_t xTimeIncrement)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- const TickType_t xConstTickCount;
- BaseType_t xShouldDelay;
- BaseType_t xAlreadyYielded;
- TickType_t xTimeToWake;
- long unsigned int uxSchedulerSuspended.22_1;
- long unsigned int _2;
- long unsigned int _3;
- <bb 2> [local count: 306783]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xShouldDelay => 0
- # DEBUG BEGIN_STMT
- if (pxPreviousWakeTime_7(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_21 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
- <bb 4> [local count: 920350133]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 25> [local count: 920350133]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTimeIncrement_8(D) == 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_22 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_22
- <bb 7> [local count: 1073741823]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.22_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.22_1 != 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_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- <bb 10> [local count: 719407021]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 719407021]:
- goto <bb 10>; [100.00%]
- <bb 11> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- xConstTickCount_11 ={v} xTickCount;
- # DEBUG xConstTickCount => xConstTickCount_11
- # DEBUG BEGIN_STMT
- _2 = *pxPreviousWakeTime_7(D);
- xTimeToWake_12 = _2 + xTimeIncrement_8(D);
- # DEBUG xTimeToWake => xTimeToWake_12
- # DEBUG BEGIN_STMT
- if (_2 > xConstTickCount_11)
- goto <bb 12>; [50.00%]
- else
- goto <bb 17>; [50.00%]
- <bb 12> [local count: 17717]:
- # DEBUG BEGIN_STMT
- if (_2 > xTimeToWake_12)
- goto <bb 14>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 13> [local count: 8858]:
- # DEBUG xShouldDelay => 0
- # DEBUG BEGIN_STMT
- *pxPreviousWakeTime_7(D) = xTimeToWake_12;
- # DEBUG BEGIN_STMT
- goto <bb 22>; [100.00%]
- <bb 14> [local count: 8858]:
- if (xConstTickCount_11 < xTimeToWake_12)
- goto <bb 16>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 15> [local count: 4429]:
- # DEBUG xShouldDelay => 0
- # DEBUG BEGIN_STMT
- *pxPreviousWakeTime_7(D) = xTimeToWake_12;
- # DEBUG BEGIN_STMT
- goto <bb 22>; [100.00%]
- <bb 16> [local count: 4429]:
- # DEBUG BEGIN_STMT
- # DEBUG xShouldDelay => 1
- # DEBUG BEGIN_STMT
- *pxPreviousWakeTime_7(D) = xTimeToWake_12;
- # DEBUG BEGIN_STMT
- goto <bb 21>; [100.00%]
- <bb 17> [local count: 17717]:
- # DEBUG BEGIN_STMT
- if (_2 > xTimeToWake_12)
- goto <bb 19>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 18> [local count: 8858]:
- if (xConstTickCount_11 < xTimeToWake_12)
- goto <bb 19>; [50.00%]
- else
- goto <bb 20>; [50.00%]
- <bb 19> [local count: 13288]:
- # DEBUG BEGIN_STMT
- # DEBUG xShouldDelay => 1
- # DEBUG BEGIN_STMT
- *pxPreviousWakeTime_7(D) = xTimeToWake_12;
- # DEBUG BEGIN_STMT
- goto <bb 21>; [100.00%]
- <bb 20> [local count: 4429]:
- # DEBUG xShouldDelay => 0
- # DEBUG BEGIN_STMT
- *pxPreviousWakeTime_7(D) = xTimeToWake_12;
- # DEBUG BEGIN_STMT
- goto <bb 22>; [100.00%]
- <bb 21> [local count: 17717]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _3 = xTimeToWake_12 - xConstTickCount_11;
- prvAddCurrentTaskToDelayedList (_3, 0);
- <bb 22> [local count: 35433]:
- # xShouldDelay_29 = PHI <0(20), 1(21), 0(15), 0(13)>
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xAlreadyYielded_16 = xTaskResumeAll ();
- # DEBUG xAlreadyYielded => xAlreadyYielded_16
- # DEBUG BEGIN_STMT
- if (xAlreadyYielded_16 == 0)
- goto <bb 23>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 23> [local count: 17717]:
- # 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 24> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xShouldDelay_29;
- }
- ;; Function vTaskDelay (vTaskDelay, funcdef_no=12, decl_uid=6146, cgraph_uid=13, symbol_order=34)
- Modification phase of node vTaskDelay/34
- vTaskDelay (const TickType_t xTicksToDelay)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xAlreadyYielded;
- long unsigned int uxSchedulerSuspended.36_1;
- <bb 2> [local count: 320519]:
- # DEBUG BEGIN_STMT
- # DEBUG xAlreadyYielded => 0
- # DEBUG BEGIN_STMT
- if (xTicksToDelay_3(D) != 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 4> [local count: 160260]:
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.36_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.36_1 != 0)
- goto <bb 5>; [67.00%]
- else
- goto <bb 7>; [33.00%]
- <bb 5> [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_13 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
- <bb 6> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 6>; [100.00%]
- <bb 7> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToDelay_3(D), 0);
- # DEBUG BEGIN_STMT
- xAlreadyYielded_8 = xTaskResumeAll ();
- # DEBUG xAlreadyYielded => xAlreadyYielded_8
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xAlreadyYielded_8 == 0)
- goto <bb 8>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 8> [local count: 186703]:
- # DEBUG xAlreadyYielded => NULL
- # 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 9> [local count: 213145]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function xTaskGetHandle (xTaskGetHandle, funcdef_no=30, decl_uid=6189, cgraph_uid=31, symbol_order=52)
- Modification phase of node xTaskGetHandle/52
- xTaskGetHandle (const char * pcNameToQuery)
- {
- uint32_t ulNewBASEPRI;
- struct TCB_t * pxTCB;
- UBaseType_t uxQueue;
- unsigned int _1;
- struct List_t * _2;
- struct List_t * pxDelayedTaskList.70_3;
- struct List_t * pxOverflowDelayedTaskList.71_4;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG uxQueue => 5
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = strlen (pcNameToQuery_17(D));
- if (_1 > 9)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_31 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_31
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- <bb 6> [local count: 216745]:
- # uxQueue_5 = PHI <5(5), uxQueue_19(18)>
- # DEBUG uxQueue => uxQueue_5
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxQueue_19 = uxQueue_5 + 4294967295;
- # DEBUG uxQueue => uxQueue_19
- # DEBUG BEGIN_STMT
- _2 = &pxReadyTasksLists[uxQueue_19];
- pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
- # DEBUG pxTCB => pxTCB_21
- # DEBUG BEGIN_STMT
- if (pxTCB_21 != 0B)
- goto <bb 8>; [5.50%]
- else
- goto <bb 7>; [94.50%]
- <bb 7> [local count: 204824]:
- # DEBUG BEGIN_STMT
- if (uxQueue_19 != 0)
- goto <bb 18>; [80.00%]
- else
- goto <bb 8>; [20.00%]
- <bb 18> [local count: 163859]:
- goto <bb 6>; [100.00%]
- <bb 8> [local count: 52886]:
- # pxTCB_15 = PHI <pxTCB_21(6), 0B(7)>
- # DEBUG BEGIN_STMT
- if (pxTCB_15 == 0B)
- goto <bb 9>; [17.43%]
- else
- goto <bb 10>; [82.57%]
- <bb 9> [local count: 9218]:
- # DEBUG BEGIN_STMT
- pxDelayedTaskList.70_3 ={v} pxDelayedTaskList;
- pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
- # DEBUG pxTCB => pxTCB_23
- <bb 10> [local count: 52886]:
- # pxTCB_6 = PHI <pxTCB_15(8), pxTCB_23(9)>
- # DEBUG pxTCB => pxTCB_6
- # DEBUG BEGIN_STMT
- if (pxTCB_6 == 0B)
- goto <bb 11>; [17.43%]
- else
- goto <bb 12>; [82.57%]
- <bb 11> [local count: 9218]:
- # DEBUG BEGIN_STMT
- pxOverflowDelayedTaskList.71_4 ={v} pxOverflowDelayedTaskList;
- pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
- # DEBUG pxTCB => pxTCB_25
- <bb 12> [local count: 52886]:
- # pxTCB_7 = PHI <pxTCB_6(10), pxTCB_25(11)>
- # DEBUG pxTCB => pxTCB_7
- # DEBUG BEGIN_STMT
- if (pxTCB_7 == 0B)
- goto <bb 13>; [17.43%]
- else
- goto <bb 14>; [82.57%]
- <bb 13> [local count: 9218]:
- # DEBUG BEGIN_STMT
- pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
- # DEBUG pxTCB => pxTCB_27
- <bb 14> [local count: 52886]:
- # pxTCB_8 = PHI <pxTCB_7(12), pxTCB_27(13)>
- # DEBUG pxTCB => pxTCB_8
- # DEBUG BEGIN_STMT
- if (pxTCB_8 == 0B)
- goto <bb 15>; [17.43%]
- else
- goto <bb 16>; [82.57%]
- <bb 15> [local count: 9218]:
- # DEBUG BEGIN_STMT
- pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
- # DEBUG pxTCB => pxTCB_29
- <bb 16> [local count: 52886]:
- # pxTCB_9 = PHI <pxTCB_8(14), pxTCB_29(15)>
- # DEBUG pxTCB => pxTCB_9
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- return pxTCB_9;
- }
- ;; Function xTaskCatchUpTicks (xTaskCatchUpTicks, funcdef_no=32, decl_uid=6249, cgraph_uid=33, symbol_order=54)
- Modification phase of node xTaskCatchUpTicks/54
- xTaskCatchUpTicks (TickType_t xTicksToCatchUp)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xYieldOccurred;
- long unsigned int uxSchedulerSuspended.75_1;
- long unsigned int xPendedTicks.76_2;
- long unsigned int _3;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.75_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.75_1 != 0)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- xPendedTicks.76_2 ={v} xPendedTicks;
- _3 = xPendedTicks.76_2 + xTicksToCatchUp_6(D);
- xPendedTicks ={v} _3;
- # DEBUG BEGIN_STMT
- xYieldOccurred_9 = xTaskResumeAll ();
- # DEBUG xYieldOccurred => xYieldOccurred_9
- # DEBUG BEGIN_STMT
- return xYieldOccurred_9;
- }
- ;; Function xTaskAbortDelay (xTaskAbortDelay, funcdef_no=33, decl_uid=6151, cgraph_uid=34, symbol_order=55)
- Modification phase of node xTaskAbortDelay/55
- xTaskAbortDelay (struct tskTaskControlBlock * xTask)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- BaseType_t xReturn;
- <unnamed type> _1;
- struct ListItem_t * _2;
- struct xLIST * _3;
- struct ListItem_t * _4;
- long unsigned int _5;
- long unsigned int uxTopReadyPriority.77_6;
- struct xLIST_ITEM * _7;
- struct xLIST_ITEM * _8;
- struct List_t * _9;
- long unsigned int _10;
- long unsigned int _11;
- struct TCB_t * pxCurrentTCB.78_12;
- long unsigned int _13;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTask_18(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_18(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_37 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _1 = eTaskGetState (xTask_18(D));
- if (_1 == 2)
- goto <bb 6>; [20.24%]
- else
- goto <bb 12>; [79.76%]
- <bb 6> [local count: 24974]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- _2 = &MEM[(struct TCB_t *)xTask_18(D)].xStateListItem;
- uxListRemove (_2);
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct TCB_t *)xTask_18(D)].xEventListItem.pvContainer;
- if (_3 != 0B)
- goto <bb 7>; [53.47%]
- else
- goto <bb 8>; [46.53%]
- <bb 7> [local count: 13354]:
- # DEBUG BEGIN_STMT
- _4 = &MEM[(struct TCB_t *)xTask_18(D)].xEventListItem;
- uxListRemove (_4);
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTask_18(D)].ucDelayAborted = 1;
- <bb 8> [local count: 24974]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _5 = MEM[(struct TCB_t *)xTask_18(D)].uxPriority;
- uxTopReadyPriority.77_6 ={v} uxTopReadyPriority;
- if (_5 > uxTopReadyPriority.77_6)
- goto <bb 9>; [50.00%]
- else
- goto <bb 10>; [50.00%]
- <bb 9> [local count: 12487]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _5;
- <bb 10> [local count: 24974]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_28 = pxReadyTasksLists[_5].pxIndex;
- # DEBUG pxIndex => pxIndex_28
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pxNext = pxIndex_28;
- # DEBUG BEGIN_STMT
- _7 = pxIndex_28->pxPrevious;
- MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pxPrevious = _7;
- # DEBUG BEGIN_STMT
- _8 = pxIndex_28->pxPrevious;
- _8->pxNext = _2;
- # DEBUG BEGIN_STMT
- pxIndex_28->pxPrevious = _2;
- # DEBUG BEGIN_STMT
- _9 = &pxReadyTasksLists[_5];
- MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pvContainer = _9;
- # DEBUG BEGIN_STMT
- _10 ={v} pxReadyTasksLists[_5].uxNumberOfItems;
- _11 = _10 + 1;
- pxReadyTasksLists[_5].uxNumberOfItems ={v} _11;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.78_12 ={v} pxCurrentTCB;
- _13 = pxCurrentTCB.78_12->uxPriority;
- if (_5 > _13)
- goto <bb 11>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 11> [local count: 12487]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 12> [local count: 123389]:
- # xReturn_14 = PHI <1(11), 0(5), 1(10)>
- # DEBUG xReturn => xReturn_14
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- return xReturn_14;
- }
- ;; Function vTaskSwitchContext (vTaskSwitchContext, funcdef_no=35, decl_uid=6269, cgraph_uid=36, symbol_order=57)
- Modification phase of node vTaskSwitchContext/57
- __attribute__((used))
- vTaskSwitchContext ()
- {
- UBaseType_t uxTopPriority;
- long unsigned int uxSchedulerSuspended.92_1;
- long unsigned int _2;
- struct ListItem_t * _3;
- struct xLIST_ITEM * _4;
- struct MiniListItem_t * _6;
- struct xLIST_ITEM * _8;
- struct ListItem_t * _9;
- void * _10;
- <bb 2> [local count: 441995]:
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.92_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.92_1 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 220997]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- goto <bb 12>; [100.00%]
- <bb 4> [local count: 220997]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 0;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTopPriority_15 ={v} uxTopReadyPriority;
- # DEBUG uxTopPriority => uxTopPriority_15
- # DEBUG BEGIN_STMT
- goto <bb 8>; [100.00%]
- <bb 5> [local count: 1952255]:
- # DEBUG BEGIN_STMT
- if (uxTopPriority_11 == 0)
- goto <bb 6>; [5.50%]
- else
- goto <bb 7>; [94.50%]
- <bb 6> [local count: 107374]:
- vTaskSwitchContext.part.0 ();
- <bb 7> [local count: 1844881]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTopPriority_21 = uxTopPriority_11 + 4294967295;
- # DEBUG uxTopPriority => uxTopPriority_21
- <bb 8> [local count: 2065878]:
- # uxTopPriority_11 = PHI <uxTopPriority_15(4), uxTopPriority_21(7)>
- # DEBUG uxTopPriority => uxTopPriority_11
- # DEBUG BEGIN_STMT
- _2 ={v} pxReadyTasksLists[uxTopPriority_11].uxNumberOfItems;
- if (_2 == 0)
- goto <bb 5>; [94.50%]
- else
- goto <bb 9>; [5.50%]
- <bb 9> [local count: 113623]:
- # uxTopPriority_5 = PHI <uxTopPriority_11(8)>
- # DEBUG BEGIN_STMT
- # DEBUG D#6 => &pxReadyTasksLists[uxTopPriority_5]
- # DEBUG pxConstList => D#6
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex;
- _4 = _3->pxNext;
- MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex = _4;
- # DEBUG BEGIN_STMT
- _6 = &MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].xListEnd;
- if (_4 == _6)
- goto <bb 10>; [30.00%]
- else
- goto <bb 11>; [70.00%]
- <bb 10> [local count: 34087]:
- # DEBUG BEGIN_STMT
- _8 = MEM[(struct ListItem_t *)_4].pxNext;
- MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex = _8;
- <bb 11> [local count: 113623]:
- # DEBUG BEGIN_STMT
- _9 = MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex;
- _10 = _9->pvOwner;
- pxCurrentTCB ={v} _10;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} uxTopPriority_5;
- <bb 12> [local count: 334621]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function vTaskSuspend (vTaskSuspend, funcdef_no=17, decl_uid=6167, cgraph_uid=18, symbol_order=39)
- Modification phase of node vTaskSuspend/39
- vTaskSuspend (struct tskTaskControlBlock * xTaskToSuspend)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t x;
- struct ListItem_t * _1;
- struct xLIST * _2;
- struct ListItem_t * _3;
- unsigned char _4;
- long int xSchedulerRunning.46_5;
- struct TCB_t * pxCurrentTCB.47_6;
- long int xSchedulerRunning.48_7;
- long unsigned int uxSchedulerSuspended.49_8;
- long unsigned int _9;
- long unsigned int uxCurrentNumberOfTasks.50_10;
- struct TCB_t * iftmp.45_12;
- struct TCB_t * iftmp.45_21;
- <bb 2> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- if (xTaskToSuspend_20(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 429496]:
- iftmp.45_21 ={v} pxCurrentTCB;
- <bb 4> [local count: 1431653]:
- # iftmp.45_12 = PHI <iftmp.45_21(3), xTaskToSuspend_20(D)(2)>
- # DEBUG pxTCB => iftmp.45_12
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = &iftmp.45_12->xStateListItem;
- uxListRemove (_1);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = iftmp.45_12->xEventListItem.pvContainer;
- if (_2 != 0B)
- goto <bb 5>; [53.47%]
- else
- goto <bb 6>; [46.53%]
- <bb 5> [local count: 765505]:
- # DEBUG BEGIN_STMT
- _3 = &iftmp.45_12->xEventListItem;
- uxListRemove (_3);
- <bb 6> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vListInsertEnd (&xSuspendedTaskList, _1);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG x => 0
- goto <bb 9>; [100.00%]
- <bb 7> [local count: 24598407]:
- # DEBUG BEGIN_STMT
- _4 ={v} iftmp.45_12->ucNotifyState[0];
- if (_4 == 1)
- goto <bb 8>; [67.00%]
- else
- goto <bb 24>; [33.00%]
- <bb 24> [local count: 8117474]:
- goto <bb 10>; [100.00%]
- <bb 8> [local count: 16480933]:
- # DEBUG BEGIN_STMT
- iftmp.45_12->ucNotifyState[0] ={v} 0;
- <bb 9> [local count: 17912586]:
- # x_14 = PHI <0(6), 1(8)>
- <bb 10> [local count: 26030061]:
- # x_11 = PHI <x_14(9), 1(24)>
- # DEBUG x => x_11
- # DEBUG BEGIN_STMT
- if (x_11 == 0)
- goto <bb 7>; [94.50%]
- else
- goto <bb 11>; [5.50%]
- <bb 11> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- xSchedulerRunning.46_5 ={v} xSchedulerRunning;
- if (xSchedulerRunning.46_5 != 0)
- goto <bb 12>; [33.00%]
- else
- goto <bb 13>; [67.00%]
- <bb 12> [local count: 472446]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- prvResetNextTaskUnblockTime ();
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- <bb 13> [local count: 1431653]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.47_6 ={v} pxCurrentTCB;
- if (pxCurrentTCB.47_6 == iftmp.45_12)
- goto <bb 14>; [30.00%]
- else
- goto <bb 22>; [70.00%]
- <bb 14> [local count: 429496]:
- # DEBUG BEGIN_STMT
- xSchedulerRunning.48_7 ={v} xSchedulerRunning;
- if (xSchedulerRunning.48_7 != 0)
- goto <bb 15>; [50.00%]
- else
- goto <bb 19>; [50.00%]
- <bb 15> [local count: 214748]:
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.49_8 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.49_8 != 0)
- goto <bb 16>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 16> [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_36 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_36
- <bb 17> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 23> [local count: 1073741824]:
- goto <bb 17>; [100.00%]
- <bb 18> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # 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
- goto <bb 22>; [100.00%]
- <bb 19> [local count: 214748]:
- # DEBUG BEGIN_STMT
- _9 ={v} xSuspendedTaskList.uxNumberOfItems;
- uxCurrentNumberOfTasks.50_10 ={v} uxCurrentNumberOfTasks;
- if (_9 == uxCurrentNumberOfTasks.50_10)
- goto <bb 20>; [51.12%]
- else
- goto <bb 21>; [48.88%]
- <bb 20> [local count: 109779]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB ={v} 0B;
- goto <bb 22>; [100.00%]
- <bb 21> [local count: 104969]:
- # DEBUG BEGIN_STMT
- vTaskSwitchContext ();
- <bb 22> [local count: 1324279]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function vTaskPlaceOnEventList (vTaskPlaceOnEventList, funcdef_no=36, decl_uid=6254, cgraph_uid=37, symbol_order=58)
- Modification phase of node vTaskPlaceOnEventList/58
- vTaskPlaceOnEventList (struct List_t * const pxEventList, const TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- struct TCB_t * pxCurrentTCB.93_1;
- struct ListItem_t * _2;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- if (pxEventList_3(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_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.93_1 ={v} pxCurrentTCB;
- _2 = &pxCurrentTCB.93_1->xEventListItem;
- vListInsert (pxEventList_3(D), _2);
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToWait_6(D), 1);
- return;
- }
- ;; Function vTaskPlaceOnUnorderedEventList (vTaskPlaceOnUnorderedEventList, funcdef_no=37, decl_uid=6258, cgraph_uid=38, symbol_order=59)
- Modification phase of node vTaskPlaceOnUnorderedEventList/59
- vTaskPlaceOnUnorderedEventList (struct List_t * pxEventList, const TickType_t xItemValue, const TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- long unsigned int uxSchedulerSuspended.94_1;
- struct TCB_t * pxCurrentTCB.95_2;
- long unsigned int _3;
- struct TCB_t * pxCurrentTCB.96_4;
- struct TCB_t * pxCurrentTCB.97_5;
- struct xLIST_ITEM * _6;
- struct TCB_t * pxCurrentTCB.98_7;
- struct xLIST_ITEM * _8;
- struct ListItem_t * _9;
- struct TCB_t * pxCurrentTCB.99_10;
- struct ListItem_t * _11;
- struct TCB_t * pxCurrentTCB.100_12;
- long unsigned int _13;
- long unsigned int _14;
- <bb 2> [local count: 228942]:
- # DEBUG BEGIN_STMT
- if (pxEventList_15(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_28 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_28
- <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
- uxSchedulerSuspended.94_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.94_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_29 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_29
- <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]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.95_2 ={v} pxCurrentTCB;
- _3 = xItemValue_17(D) | 2147483648;
- pxCurrentTCB.95_2->xEventListItem.xItemValue = _3;
- # DEBUG BEGIN_STMT
- pxIndex_19 = pxEventList_15(D)->pxIndex;
- # DEBUG pxIndex => pxIndex_19
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.96_4 ={v} pxCurrentTCB;
- pxCurrentTCB.96_4->xEventListItem.pxNext = pxIndex_19;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.97_5 ={v} pxCurrentTCB;
- _6 = pxIndex_19->pxPrevious;
- pxCurrentTCB.97_5->xEventListItem.pxPrevious = _6;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.98_7 ={v} pxCurrentTCB;
- _8 = pxIndex_19->pxPrevious;
- _9 = &pxCurrentTCB.98_7->xEventListItem;
- _8->pxNext = _9;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.99_10 ={v} pxCurrentTCB;
- _11 = &pxCurrentTCB.99_10->xEventListItem;
- pxIndex_19->pxPrevious = _11;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.100_12 ={v} pxCurrentTCB;
- pxCurrentTCB.100_12->xEventListItem.pvContainer = pxEventList_15(D);
- # DEBUG BEGIN_STMT
- _13 ={v} pxEventList_15(D)->uxNumberOfItems;
- _14 = _13 + 1;
- pxEventList_15(D)->uxNumberOfItems ={v} _14;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToWait_26(D), 1);
- return;
- }
- ;; Function vTaskPlaceOnEventListRestricted (vTaskPlaceOnEventListRestricted, funcdef_no=38, decl_uid=6262, cgraph_uid=39, symbol_order=60)
- Modification phase of node vTaskPlaceOnEventListRestricted/60
- vTaskPlaceOnEventListRestricted (struct List_t * const pxEventList, TickType_t xTicksToWait, const BaseType_t xWaitIndefinitely)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct TCB_t * pxCurrentTCB.101_1;
- struct TCB_t * pxCurrentTCB.102_2;
- struct xLIST_ITEM * _3;
- struct TCB_t * pxCurrentTCB.103_4;
- struct xLIST_ITEM * _5;
- struct ListItem_t * _6;
- struct TCB_t * pxCurrentTCB.104_7;
- struct ListItem_t * _8;
- struct TCB_t * pxCurrentTCB.105_9;
- long unsigned int _10;
- long unsigned int _11;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- if (pxEventList_13(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.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_25 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_25
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_15 = pxEventList_13(D)->pxIndex;
- # DEBUG pxIndex => pxIndex_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.101_1 ={v} pxCurrentTCB;
- pxCurrentTCB.101_1->xEventListItem.pxNext = pxIndex_15;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.102_2 ={v} pxCurrentTCB;
- _3 = pxIndex_15->pxPrevious;
- pxCurrentTCB.102_2->xEventListItem.pxPrevious = _3;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.103_4 ={v} pxCurrentTCB;
- _5 = pxIndex_15->pxPrevious;
- _6 = &pxCurrentTCB.103_4->xEventListItem;
- _5->pxNext = _6;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.104_7 ={v} pxCurrentTCB;
- _8 = &pxCurrentTCB.104_7->xEventListItem;
- pxIndex_15->pxPrevious = _8;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.105_9 ={v} pxCurrentTCB;
- pxCurrentTCB.105_9->xEventListItem.pvContainer = pxEventList_13(D);
- # DEBUG BEGIN_STMT
- _10 ={v} pxEventList_13(D)->uxNumberOfItems;
- _11 = _10 + 1;
- pxEventList_13(D)->uxNumberOfItems ={v} _11;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xWaitIndefinitely_22(D) != 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xTicksToWait => 4294967295
- <bb 7> [local count: 250539]:
- # xTicksToWait_12 = PHI <xTicksToWait_23(D)(5), 4294967295(6)>
- # DEBUG xTicksToWait => xTicksToWait_12
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToWait_12, xWaitIndefinitely_22(D));
- return;
- }
- ;; Function xTaskRemoveFromEventList (xTaskRemoveFromEventList, funcdef_no=39, decl_uid=6264, cgraph_uid=40, symbol_order=61)
- Modification phase of node xTaskRemoveFromEventList/61
- xTaskRemoveFromEventList (const struct List_t * const pxEventList)
- {
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct ListItem_t * const pxIndex;
- struct List_t * const pxList;
- struct List_t * const pxList;
- BaseType_t xReturn;
- struct TCB_t * pxUnblockedTCB;
- struct xLIST_ITEM * _1;
- struct xLIST_ITEM * _2;
- struct xLIST_ITEM * _3;
- struct ListItem_t * _4;
- struct ListItem_t * _5;
- long unsigned int _6;
- long unsigned int _7;
- long unsigned int uxSchedulerSuspended.106_8;
- struct xLIST_ITEM * _9;
- struct xLIST_ITEM * _10;
- struct xLIST_ITEM * _11;
- struct ListItem_t * _12;
- struct ListItem_t * _13;
- long unsigned int _14;
- long unsigned int _15;
- long unsigned int _16;
- long unsigned int uxTopReadyPriority.107_17;
- struct xLIST_ITEM * _18;
- struct xLIST_ITEM * _19;
- struct List_t * _20;
- long unsigned int _21;
- long unsigned int _22;
- struct xLIST_ITEM * _23;
- struct xLIST_ITEM * _24;
- long unsigned int _25;
- long unsigned int _26;
- long unsigned int _27;
- struct TCB_t * pxCurrentTCB.108_28;
- long unsigned int _29;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = pxEventList_37(D)->xListEnd.pxNext;
- pxUnblockedTCB_38 = _1->pvOwner;
- # DEBUG pxUnblockedTCB => pxUnblockedTCB_38
- # DEBUG BEGIN_STMT
- if (pxUnblockedTCB_38 == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.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_66 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_66
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxList_39 = pxUnblockedTCB_38->xEventListItem.pvContainer;
- # DEBUG pxList => pxList_39
- # DEBUG BEGIN_STMT
- _2 = pxUnblockedTCB_38->xEventListItem.pxNext;
- _3 = pxUnblockedTCB_38->xEventListItem.pxPrevious;
- _2->pxPrevious = _3;
- # DEBUG BEGIN_STMT
- _3->pxNext = _2;
- # DEBUG BEGIN_STMT
- _4 = pxList_39->pxIndex;
- _5 = &pxUnblockedTCB_38->xEventListItem;
- if (_4 == _5)
- goto <bb 6>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- pxList_39->pxIndex = _3;
- <bb 7> [local count: 250539]:
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_38->xEventListItem.pvContainer = 0B;
- # DEBUG BEGIN_STMT
- _6 ={v} pxList_39->uxNumberOfItems;
- _7 = _6 + 4294967295;
- pxList_39->uxNumberOfItems ={v} _7;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.106_8 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.106_8 == 0)
- goto <bb 8>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 8> [local count: 125270]:
- # DEBUG BEGIN_STMT
- pxList_52 = pxUnblockedTCB_38->xStateListItem.pvContainer;
- # DEBUG pxList => pxList_52
- # DEBUG BEGIN_STMT
- _9 = pxUnblockedTCB_38->xStateListItem.pxNext;
- _10 = pxUnblockedTCB_38->xStateListItem.pxPrevious;
- _9->pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _11 = pxUnblockedTCB_38->xStateListItem.pxPrevious;
- _11->pxNext = _9;
- # DEBUG BEGIN_STMT
- _12 = pxList_52->pxIndex;
- _13 = &pxUnblockedTCB_38->xStateListItem;
- if (_12 == _13)
- goto <bb 9>; [30.00%]
- else
- goto <bb 10>; [70.00%]
- <bb 9> [local count: 37581]:
- # DEBUG BEGIN_STMT
- pxList_52->pxIndex = _11;
- <bb 10> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _14 ={v} pxList_52->uxNumberOfItems;
- _15 = _14 + 4294967295;
- pxList_52->uxNumberOfItems ={v} _15;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _16 = pxUnblockedTCB_38->uxPriority;
- uxTopReadyPriority.107_17 ={v} uxTopReadyPriority;
- if (_16 > uxTopReadyPriority.107_17)
- goto <bb 11>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 11> [local count: 62635]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _16;
- <bb 12> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_58 = pxReadyTasksLists[_16].pxIndex;
- # DEBUG pxIndex => pxIndex_58
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_38->xStateListItem.pxNext = pxIndex_58;
- # DEBUG BEGIN_STMT
- _18 = pxIndex_58->pxPrevious;
- pxUnblockedTCB_38->xStateListItem.pxPrevious = _18;
- # DEBUG BEGIN_STMT
- _19 = pxIndex_58->pxPrevious;
- _19->pxNext = _13;
- # DEBUG BEGIN_STMT
- pxIndex_58->pxPrevious = _13;
- # DEBUG BEGIN_STMT
- _20 = &pxReadyTasksLists[_16];
- pxUnblockedTCB_38->xStateListItem.pvContainer = _20;
- # DEBUG BEGIN_STMT
- _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
- _22 = _21 + 1;
- pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 14>; [100.00%]
- <bb 13> [local count: 125270]:
- # DEBUG BEGIN_STMT
- pxIndex_45 = xPendingReadyList.pxIndex;
- # DEBUG pxIndex => pxIndex_45
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_38->xEventListItem.pxNext = pxIndex_45;
- # DEBUG BEGIN_STMT
- _23 = pxIndex_45->pxPrevious;
- pxUnblockedTCB_38->xEventListItem.pxPrevious = _23;
- # DEBUG BEGIN_STMT
- _24 = pxIndex_45->pxPrevious;
- _24->pxNext = _5;
- # DEBUG BEGIN_STMT
- pxIndex_45->pxPrevious = _5;
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_38->xEventListItem.pvContainer = &xPendingReadyList;
- # DEBUG BEGIN_STMT
- _25 ={v} xPendingReadyList.uxNumberOfItems;
- _26 = _25 + 1;
- xPendingReadyList.uxNumberOfItems ={v} _26;
- <bb 14> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _27 = pxUnblockedTCB_38->uxPriority;
- pxCurrentTCB.108_28 ={v} pxCurrentTCB;
- _29 = pxCurrentTCB.108_28->uxPriority;
- if (_27 > _29)
- goto <bb 15>; [50.00%]
- else
- goto <bb 16>; [50.00%]
- <bb 15> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 16> [local count: 250539]:
- # xReturn_30 = PHI <1(15), 0(14)>
- # DEBUG xReturn => xReturn_30
- # DEBUG BEGIN_STMT
- return xReturn_30;
- }
- ;; Function vTaskRemoveFromUnorderedEventList (vTaskRemoveFromUnorderedEventList, funcdef_no=40, decl_uid=6267, cgraph_uid=41, symbol_order=62)
- Modification phase of node vTaskRemoveFromUnorderedEventList/62
- vTaskRemoveFromUnorderedEventList (struct ListItem_t * pxEventListItem, const TickType_t xItemValue)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct List_t * const pxList;
- struct List_t * const pxList;
- struct TCB_t * pxUnblockedTCB;
- long unsigned int uxSchedulerSuspended.109_1;
- long unsigned int _2;
- struct xLIST_ITEM * _3;
- struct xLIST_ITEM * _4;
- struct xLIST_ITEM * _5;
- struct ListItem_t * _6;
- long unsigned int _7;
- long unsigned int _8;
- struct xLIST_ITEM * _9;
- struct xLIST_ITEM * _10;
- struct xLIST_ITEM * _11;
- struct ListItem_t * _12;
- struct ListItem_t * _13;
- long unsigned int _14;
- long unsigned int _15;
- long unsigned int _16;
- long unsigned int uxTopReadyPriority.110_17;
- struct xLIST_ITEM * _18;
- struct xLIST_ITEM * _19;
- struct List_t * _20;
- long unsigned int _21;
- long unsigned int _22;
- struct TCB_t * pxCurrentTCB.111_23;
- long unsigned int _24;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.109_1 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.109_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_54 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = xItemValue_30(D) | 2147483648;
- pxEventListItem_31(D)->xItemValue = _2;
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_33 = pxEventListItem_31(D)->pvOwner;
- # DEBUG pxUnblockedTCB => pxUnblockedTCB_33
- # DEBUG BEGIN_STMT
- if (pxUnblockedTCB_33 == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 32212]:
- # 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_55 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
- <bb 7> [local count: 322122547]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 18> [local count: 322122547]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxList_34 = pxEventListItem_31(D)->pvContainer;
- # DEBUG pxList => pxList_34
- # DEBUG BEGIN_STMT
- _3 = pxEventListItem_31(D)->pxNext;
- _4 = pxEventListItem_31(D)->pxPrevious;
- _3->pxPrevious = _4;
- # DEBUG BEGIN_STMT
- _5 = pxEventListItem_31(D)->pxPrevious;
- _5->pxNext = _3;
- # DEBUG BEGIN_STMT
- _6 = pxList_34->pxIndex;
- if (_6 == pxEventListItem_31(D))
- goto <bb 9>; [30.00%]
- else
- goto <bb 10>; [70.00%]
- <bb 9> [local count: 22549]:
- # DEBUG BEGIN_STMT
- pxList_34->pxIndex = _5;
- <bb 10> [local count: 75162]:
- # DEBUG BEGIN_STMT
- pxEventListItem_31(D)->pvContainer = 0B;
- # DEBUG BEGIN_STMT
- _7 ={v} pxList_34->uxNumberOfItems;
- _8 = _7 + 4294967295;
- pxList_34->uxNumberOfItems ={v} _8;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxList_40 = pxUnblockedTCB_33->xStateListItem.pvContainer;
- # DEBUG pxList => pxList_40
- # DEBUG BEGIN_STMT
- _9 = pxUnblockedTCB_33->xStateListItem.pxNext;
- _10 = pxUnblockedTCB_33->xStateListItem.pxPrevious;
- _9->pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _11 = pxUnblockedTCB_33->xStateListItem.pxPrevious;
- _11->pxNext = _9;
- # DEBUG BEGIN_STMT
- _12 = pxList_40->pxIndex;
- _13 = &pxUnblockedTCB_33->xStateListItem;
- if (_12 == _13)
- goto <bb 11>; [30.00%]
- else
- goto <bb 12>; [70.00%]
- <bb 11> [local count: 22549]:
- # DEBUG BEGIN_STMT
- pxList_40->pxIndex = _11;
- <bb 12> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _14 ={v} pxList_40->uxNumberOfItems;
- _15 = _14 + 4294967295;
- pxList_40->uxNumberOfItems ={v} _15;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _16 = pxUnblockedTCB_33->uxPriority;
- uxTopReadyPriority.110_17 ={v} uxTopReadyPriority;
- if (_16 > uxTopReadyPriority.110_17)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 37581]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _16;
- <bb 14> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_46 = pxReadyTasksLists[_16].pxIndex;
- # DEBUG pxIndex => pxIndex_46
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxUnblockedTCB_33->xStateListItem.pxNext = pxIndex_46;
- # DEBUG BEGIN_STMT
- _18 = pxIndex_46->pxPrevious;
- pxUnblockedTCB_33->xStateListItem.pxPrevious = _18;
- # DEBUG BEGIN_STMT
- _19 = pxIndex_46->pxPrevious;
- _19->pxNext = _13;
- # DEBUG BEGIN_STMT
- pxIndex_46->pxPrevious = _13;
- # DEBUG BEGIN_STMT
- _20 = &pxReadyTasksLists[_16];
- pxUnblockedTCB_33->xStateListItem.pvContainer = _20;
- # DEBUG BEGIN_STMT
- _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
- _22 = _21 + 1;
- pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.111_23 ={v} pxCurrentTCB;
- _24 = pxCurrentTCB.111_23->uxPriority;
- if (_16 > _24)
- goto <bb 15>; [50.00%]
- else
- goto <bb 16>; [50.00%]
- <bb 15> [local count: 37581]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 16> [local count: 75162]:
- return;
- }
- ;; Function vTaskSetTimeOutState (vTaskSetTimeOutState, funcdef_no=41, decl_uid=6244, cgraph_uid=42, symbol_order=63)
- Modification phase of node vTaskSetTimeOutState/63
- vTaskSetTimeOutState (struct TimeOut_t * const pxTimeOut)
- {
- uint32_t ulNewBASEPRI;
- long int xNumOfOverflows.112_1;
- long unsigned int xTickCount.113_2;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- if (pxTimeOut_3(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_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xNumOfOverflows.112_1 ={v} xNumOfOverflows;
- pxTimeOut_3(D)->xOverflowCount = xNumOfOverflows.112_1;
- # DEBUG BEGIN_STMT
- xTickCount.113_2 ={v} xTickCount;
- pxTimeOut_3(D)->xTimeOnEntering = xTickCount.113_2;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- return;
- }
- ;; Function vTaskInternalSetTimeOutState (vTaskInternalSetTimeOutState, funcdef_no=42, decl_uid=6297, cgraph_uid=43, symbol_order=64)
- Modification phase of node vTaskInternalSetTimeOutState/64
- vTaskInternalSetTimeOutState (struct TimeOut_t * const pxTimeOut)
- {
- long int xNumOfOverflows.114_1;
- long unsigned int xTickCount.115_2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xNumOfOverflows.114_1 ={v} xNumOfOverflows;
- pxTimeOut_4(D)->xOverflowCount = xNumOfOverflows.114_1;
- # DEBUG BEGIN_STMT
- xTickCount.115_2 ={v} xTickCount;
- pxTimeOut_4(D)->xTimeOnEntering = xTickCount.115_2;
- return;
- }
- ;; Function xTaskCheckForTimeOut (xTaskCheckForTimeOut, funcdef_no=43, decl_uid=6247, cgraph_uid=44, symbol_order=65)
- Modification phase of node xTaskCheckForTimeOut/65
- xTaskCheckForTimeOut (struct TimeOut_t * const pxTimeOut, TickType_t * const pxTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- const TickType_t xElapsedTime;
- const TickType_t xConstTickCount;
- BaseType_t xReturn;
- long unsigned int _1;
- struct TCB_t * pxCurrentTCB.116_2;
- unsigned char _3;
- struct TCB_t * pxCurrentTCB.117_4;
- long unsigned int _5;
- long int _6;
- long int xNumOfOverflows.118_7;
- long unsigned int _8;
- long unsigned int _17;
- <bb 2> [local count: 329661]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (pxTimeOut_11(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 98898]:
- # 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_24 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
- <bb 4> [local count: 988985746]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 18> [local count: 988985746]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (pxTicksToWait_12(D) == 0B)
- goto <bb 6>; [46.53%]
- else
- goto <bb 8>; [53.47%]
- <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_25 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_25
- <bb 7> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 19> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xConstTickCount_15 ={v} xTickCount;
- # DEBUG xConstTickCount => xConstTickCount_15
- # DEBUG BEGIN_STMT
- _1 = pxTimeOut_11(D)->xTimeOnEntering;
- xElapsedTime_16 = xConstTickCount_15 - _1;
- # DEBUG xElapsedTime => xElapsedTime_16
- # DEBUG BEGIN_STMT
- pxCurrentTCB.116_2 ={v} pxCurrentTCB;
- _3 = pxCurrentTCB.116_2->ucDelayAborted;
- if (_3 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 10>; [50.00%]
- <bb 9> [local count: 61694]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.117_4 ={v} pxCurrentTCB;
- pxCurrentTCB.117_4->ucDelayAborted = 0;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- goto <bb 17>; [100.00%]
- <bb 10> [local count: 61694]:
- # DEBUG BEGIN_STMT
- _5 = *pxTicksToWait_12(D);
- if (_5 == 4294967295)
- goto <bb 17>; [34.00%]
- else
- goto <bb 11>; [66.00%]
- <bb 11> [local count: 40718]:
- # DEBUG BEGIN_STMT
- _6 = pxTimeOut_11(D)->xOverflowCount;
- xNumOfOverflows.118_7 ={v} xNumOfOverflows;
- if (_6 != xNumOfOverflows.118_7)
- goto <bb 12>; [66.00%]
- else
- goto <bb 14>; [34.00%]
- <bb 12> [local count: 26874]:
- if (_1 <= xConstTickCount_15)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 13437]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- *pxTicksToWait_12(D) = 0;
- goto <bb 17>; [100.00%]
- <bb 14> [local count: 27281]:
- # DEBUG BEGIN_STMT
- if (_5 > xElapsedTime_16)
- goto <bb 15>; [33.00%]
- else
- goto <bb 16>; [67.00%]
- <bb 15> [local count: 9003]:
- # DEBUG BEGIN_STMT
- _17 = _1 - xConstTickCount_15;
- _8 = _5 + _17;
- *pxTicksToWait_12(D) = _8;
- # DEBUG BEGIN_STMT
- vTaskInternalSetTimeOutState (pxTimeOut_11(D));
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- goto <bb 17>; [100.00%]
- <bb 16> [local count: 18278]:
- # DEBUG BEGIN_STMT
- *pxTicksToWait_12(D) = 0;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 17> [local count: 123389]:
- # xReturn_9 = PHI <1(9), 0(10), 1(13), 0(15), 1(16)>
- # DEBUG xReturn => xReturn_9
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_9;
- }
- ;; Function vTaskMissedYield (vTaskMissedYield, funcdef_no=44, decl_uid=6275, cgraph_uid=45, symbol_order=66)
- Modification phase of node vTaskMissedYield/66
- vTaskMissedYield ()
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- return;
- }
- ;; Function uxTaskGetTaskNumber (uxTaskGetTaskNumber, funcdef_no=45, decl_uid=6286, cgraph_uid=46, symbol_order=67)
- Modification phase of node uxTaskGetTaskNumber/67
- uxTaskGetTaskNumber (struct tskTaskControlBlock * xTask)
- {
- UBaseType_t uxReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_2(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 4>; [30.00%]
- <bb 3> [local count: 751619278]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTask_2(D)
- # DEBUG BEGIN_STMT
- uxReturn_4 = MEM[(const struct TCB_t *)xTask_2(D)].uxTaskNumber;
- # DEBUG uxReturn => uxReturn_4
- <bb 4> [local count: 1073741824]:
- # uxReturn_1 = PHI <uxReturn_4(3), 0(2)>
- # DEBUG uxReturn => uxReturn_1
- # DEBUG BEGIN_STMT
- return uxReturn_1;
- }
- ;; Function vTaskSetTaskNumber (vTaskSetTaskNumber, funcdef_no=46, decl_uid=6289, cgraph_uid=47, symbol_order=68)
- Modification phase of node vTaskSetTaskNumber/68
- vTaskSetTaskNumber (struct tskTaskControlBlock * xTask, const UBaseType_t uxHandle)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_2(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 4>; [30.00%]
- <bb 3> [local count: 751619278]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTask_2(D)
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTask_2(D)].uxTaskNumber = uxHandle_4(D);
- <bb 4> [local count: 1073741824]:
- return;
- }
- ;; Function vTaskGetInfo (vTaskGetInfo, funcdef_no=50, decl_uid=6162, cgraph_uid=51, symbol_order=72)
- Modification phase of node vTaskGetInfo/72
- vTaskGetInfo (struct tskTaskControlBlock * xTask, struct TaskStatus_t * pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
- {
- char * _1;
- long unsigned int _2;
- StackType_t * _3;
- long unsigned int _4;
- long unsigned int _5;
- struct TCB_t * pxCurrentTCB.120_6;
- struct xLIST * _7;
- <unnamed type> _8;
- StackType_t * _9;
- short unsigned int _10;
- struct TCB_t * iftmp.119_11;
- struct TCB_t * iftmp.119_17;
- <bb 2> [local count: 1073741823]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_15(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 322122547]:
- iftmp.119_17 ={v} pxCurrentTCB;
- <bb 4> [local count: 1073741823]:
- # iftmp.119_11 = PHI <iftmp.119_17(3), xTask_15(D)(2)>
- # DEBUG pxTCB => iftmp.119_11
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->xHandle = iftmp.119_11;
- # DEBUG BEGIN_STMT
- _1 = &iftmp.119_11->pcTaskName[0];
- pxTaskStatus_18(D)->pcTaskName = _1;
- # DEBUG BEGIN_STMT
- _2 = iftmp.119_11->uxPriority;
- pxTaskStatus_18(D)->uxCurrentPriority = _2;
- # DEBUG BEGIN_STMT
- _3 = iftmp.119_11->pxStack;
- pxTaskStatus_18(D)->pxStackBase = _3;
- # DEBUG BEGIN_STMT
- _4 = iftmp.119_11->uxTCBNumber;
- pxTaskStatus_18(D)->xTaskNumber = _4;
- # DEBUG BEGIN_STMT
- _5 = iftmp.119_11->uxBasePriority;
- pxTaskStatus_18(D)->uxBasePriority = _5;
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->ulRunTimeCounter = 0;
- # DEBUG BEGIN_STMT
- if (eState_26(D) != 5)
- goto <bb 5>; [79.76%]
- else
- goto <bb 11>; [20.24%]
- <bb 5> [local count: 856416478]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.120_6 ={v} pxCurrentTCB;
- if (pxCurrentTCB.120_6 == iftmp.119_11)
- goto <bb 6>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 6> [local count: 256924943]:
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->eCurrentState = 0;
- goto <bb 12>; [100.00%]
- <bb 7> [local count: 599491536]:
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->eCurrentState = eState_26(D);
- # DEBUG BEGIN_STMT
- if (eState_26(D) == 3)
- goto <bb 8>; [20.24%]
- else
- goto <bb 12>; [79.76%]
- <bb 8> [local count: 121337087]:
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _7 = iftmp.119_11->xEventListItem.pvContainer;
- if (_7 != 0B)
- goto <bb 9>; [70.00%]
- else
- goto <bb 10>; [30.00%]
- <bb 9> [local count: 84935961]:
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->eCurrentState = 2;
- <bb 10> [local count: 121337087]:
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- goto <bb 12>; [100.00%]
- <bb 11> [local count: 217325345]:
- # DEBUG BEGIN_STMT
- _8 = eTaskGetState (iftmp.119_11);
- pxTaskStatus_18(D)->eCurrentState = _8;
- <bb 12> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- if (xGetFreeStackSpace_34(D) != 0)
- goto <bb 13>; [33.00%]
- else
- goto <bb 14>; [67.00%]
- <bb 13> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- _9 = iftmp.119_11->pxStack;
- _10 = prvTaskCheckFreeStackSpace (_9);
- pxTaskStatus_18(D)->usStackHighWaterMark = _10;
- goto <bb 15>; [100.00%]
- <bb 14> [local count: 719407024]:
- # DEBUG BEGIN_STMT
- pxTaskStatus_18(D)->usStackHighWaterMark = 0;
- <bb 15> [local count: 1073741824]:
- return;
- }
- ;; Function prvListTasksWithinSingleList (prvListTasksWithinSingleList, funcdef_no=51, decl_uid=6954, cgraph_uid=52, symbol_order=73)
- Modification phase of node prvListTasksWithinSingleList/73
- Adjusting mask for param 2 to 0x7
- Setting value range of param 2 [1, 4]
- prvListTasksWithinSingleList (struct TaskStatus_t * pxTaskStatusArray, struct List_t * pxList, eTaskState eState)
- {
- UBaseType_t uxTask;
- long unsigned int _1;
- <bb 2> [local count: 236223200]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG uxTask => 0
- # DEBUG BEGIN_STMT
- _1 ={v} pxList_7(D)->uxNumberOfItems;
- if (_1 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 118111600]:
- uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
- <bb 4> [local count: 236223201]:
- # uxTask_5 = PHI <0(2), uxTask_2(3)>
- # DEBUG uxTask => uxTask_5
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return uxTask_5;
- }
- ;; Function uxTaskGetSystemState (uxTaskGetSystemState, funcdef_no=31, decl_uid=6202, cgraph_uid=32, symbol_order=53)
- Modification phase of node uxTaskGetSystemState/53
- uxTaskGetSystemState (struct TaskStatus_t * const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t * const pulTotalRunTime)
- {
- UBaseType_t uxQueue;
- UBaseType_t uxTask;
- long unsigned int uxCurrentNumberOfTasks.72_1;
- long unsigned int _2;
- struct TaskStatus_t * _3;
- struct List_t * _4;
- long unsigned int _5;
- struct TaskStatus_t * _6;
- struct List_t * pxDelayedTaskList.73_7;
- long unsigned int _8;
- struct TaskStatus_t * _9;
- struct List_t * pxOverflowDelayedTaskList.74_10;
- long unsigned int _11;
- struct TaskStatus_t * _12;
- long unsigned int _13;
- struct TaskStatus_t * _14;
- long unsigned int _27;
- long unsigned int _30;
- long unsigned int _33;
- long unsigned int _36;
- long unsigned int _39;
- <bb 2> [local count: 429496728]:
- # DEBUG BEGIN_STMT
- # DEBUG uxTask => 0
- # DEBUG uxQueue => 5
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- uxCurrentNumberOfTasks.72_1 ={v} uxCurrentNumberOfTasks;
- if (uxCurrentNumberOfTasks.72_1 <= uxArraySize_23(D))
- goto <bb 7>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 7> [local count: 214748364]:
- <bb 3> [local count: 1073741824]:
- # uxTask_15 = PHI <0(7), uxTask_28(8)>
- # uxQueue_17 = PHI <5(7), uxQueue_24(8)>
- # DEBUG uxQueue => uxQueue_17
- # DEBUG uxTask => uxTask_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxQueue_24 = uxQueue_17 + 4294967295;
- # DEBUG uxQueue => uxQueue_24
- # DEBUG BEGIN_STMT
- _2 = uxTask_15 * 36;
- _3 = pxTaskStatusArray_25(D) + _2;
- _4 = &pxReadyTasksLists[uxQueue_24];
- _27 = prvListTasksWithinSingleList (_3, _4, 1);
- uxTask_28 = uxTask_15 + _27;
- # DEBUG uxTask => uxTask_28
- # DEBUG BEGIN_STMT
- if (uxQueue_24 != 0)
- goto <bb 8>; [80.00%]
- else
- goto <bb 4>; [20.00%]
- <bb 8> [local count: 858993459]:
- goto <bb 3>; [100.00%]
- <bb 4> [local count: 214748365]:
- # uxTask_20 = PHI <uxTask_28(3)>
- # DEBUG BEGIN_STMT
- _5 = uxTask_20 * 36;
- _6 = pxTaskStatusArray_25(D) + _5;
- pxDelayedTaskList.73_7 ={v} pxDelayedTaskList;
- _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
- uxTask_31 = uxTask_20 + _30;
- # DEBUG uxTask => uxTask_31
- # DEBUG BEGIN_STMT
- _8 = uxTask_31 * 36;
- _9 = pxTaskStatusArray_25(D) + _8;
- pxOverflowDelayedTaskList.74_10 ={v} pxOverflowDelayedTaskList;
- _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
- uxTask_34 = uxTask_31 + _33;
- # DEBUG uxTask => uxTask_34
- # DEBUG BEGIN_STMT
- _11 = uxTask_34 * 36;
- _12 = pxTaskStatusArray_25(D) + _11;
- _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
- uxTask_37 = uxTask_34 + _36;
- # DEBUG uxTask => uxTask_37
- # DEBUG BEGIN_STMT
- _13 = uxTask_37 * 36;
- _14 = pxTaskStatusArray_25(D) + _13;
- _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
- uxTask_40 = uxTask_37 + _39;
- # DEBUG uxTask => uxTask_40
- # DEBUG BEGIN_STMT
- if (pulTotalRunTime_41(D) != 0B)
- goto <bb 5>; [70.00%]
- else
- goto <bb 6>; [30.00%]
- <bb 5> [local count: 150323855]:
- # DEBUG BEGIN_STMT
- *pulTotalRunTime_41(D) = 0;
- <bb 6> [local count: 429496729]:
- # uxTask_16 = PHI <0(2), uxTask_40(5), uxTask_40(4)>
- # DEBUG uxTask => uxTask_16
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- return uxTask_16;
- }
- ;; Function uxTaskGetStackHighWaterMark (uxTaskGetStackHighWaterMark, funcdef_no=53, decl_uid=6191, cgraph_uid=54, symbol_order=75)
- Modification phase of node uxTaskGetStackHighWaterMark/75
- uxTaskGetStackHighWaterMark (struct tskTaskControlBlock * xTask)
- {
- UBaseType_t uxReturn;
- uint8_t * pucEndOfStack;
- short unsigned int _1;
- struct TCB_t * iftmp.121_2;
- struct TCB_t * iftmp.121_5;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 322122547]:
- iftmp.121_5 ={v} pxCurrentTCB;
- <bb 4> [local count: 1073741824]:
- # iftmp.121_2 = PHI <iftmp.121_5(3), xTask_3(D)(2)>
- # DEBUG pxTCB => iftmp.121_2
- # DEBUG BEGIN_STMT
- pucEndOfStack_6 = iftmp.121_2->pxStack;
- # DEBUG pucEndOfStack => pucEndOfStack_6
- # DEBUG BEGIN_STMT
- _1 = prvTaskCheckFreeStackSpace (pucEndOfStack_6);
- uxReturn_7 = (UBaseType_t) _1;
- # DEBUG uxReturn => uxReturn_7
- # DEBUG BEGIN_STMT
- return uxReturn_7;
- }
- ;; Function xTaskGetCurrentTaskHandle (xTaskGetCurrentTaskHandle, funcdef_no=56, decl_uid=6273, cgraph_uid=57, symbol_order=78)
- Modification phase of node xTaskGetCurrentTaskHandle/78
- xTaskGetCurrentTaskHandle ()
- {
- struct tskTaskControlBlock * xReturn;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_2 ={v} pxCurrentTCB;
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- ;; Function xTaskGetSchedulerState (xTaskGetSchedulerState, funcdef_no=57, decl_uid=6277, cgraph_uid=58, symbol_order=79)
- Modification phase of node xTaskGetSchedulerState/79
- xTaskGetSchedulerState ()
- {
- BaseType_t xReturn;
- long int xSchedulerRunning.122_1;
- long unsigned int uxSchedulerSuspended.123_2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xSchedulerRunning.122_1 ={v} xSchedulerRunning;
- if (xSchedulerRunning.122_1 == 0)
- goto <bb 5>; [50.00%]
- else
- goto <bb 3>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.123_2 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.123_2 == 0)
- goto <bb 5>; [35.00%]
- else
- goto <bb 4>; [65.00%]
- <bb 4> [local count: 348966093]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- <bb 5> [local count: 1073741824]:
- # xReturn_3 = PHI <1(2), 2(3), 0(4)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- ;; Function xTaskPriorityInherit (xTaskPriorityInherit, funcdef_no=58, decl_uid=6279, cgraph_uid=59, symbol_order=80)
- Modification phase of node xTaskPriorityInherit/80
- xTaskPriorityInherit (struct tskTaskControlBlock * const pxMutexHolder)
- {
- struct ListItem_t * const pxIndex;
- BaseType_t xReturn;
- long unsigned int _1;
- struct TCB_t * pxCurrentTCB.124_2;
- long unsigned int _3;
- long unsigned int _4;
- signed int _5;
- struct TCB_t * pxCurrentTCB.125_6;
- long unsigned int _7;
- long unsigned int _8;
- struct xLIST * _9;
- struct List_t * _10;
- struct ListItem_t * _11;
- struct TCB_t * pxCurrentTCB.126_12;
- long unsigned int _13;
- long unsigned int uxTopReadyPriority.127_14;
- struct xLIST_ITEM * _15;
- struct xLIST_ITEM * _16;
- struct List_t * _17;
- long unsigned int _18;
- long unsigned int _19;
- struct TCB_t * pxCurrentTCB.128_20;
- long unsigned int _21;
- long unsigned int _22;
- struct TCB_t * pxCurrentTCB.129_23;
- long unsigned int _24;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG pxMutexHolderTCB => pxMutexHolder_29(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- # DEBUG BEGIN_STMT
- if (pxMutexHolder_29(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 13>; [30.00%]
- <bb 3> [local count: 751619278]:
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority;
- pxCurrentTCB.124_2 ={v} pxCurrentTCB;
- _3 = pxCurrentTCB.124_2->uxPriority;
- if (_1 < _3)
- goto <bb 4>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 4> [local count: 375809639]:
- # DEBUG BEGIN_STMT
- _4 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].xEventListItem.xItemValue;
- _5 = (signed int) _4;
- if (_5 >= 0)
- goto <bb 5>; [59.00%]
- else
- goto <bb 6>; [41.00%]
- <bb 5> [local count: 221727687]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.125_6 ={v} pxCurrentTCB;
- _7 = pxCurrentTCB.125_6->uxPriority;
- _8 = 5 - _7;
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].xEventListItem.xItemValue = _8;
- <bb 6> [local count: 375809639]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _9 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pvContainer;
- _10 = &pxReadyTasksLists[_1];
- if (_9 == _10)
- goto <bb 7>; [17.43%]
- else
- goto <bb 10>; [82.57%]
- <bb 7> [local count: 65503620]:
- # DEBUG BEGIN_STMT
- _11 = &MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem;
- uxListRemove (_11);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.126_12 ={v} pxCurrentTCB;
- _13 = pxCurrentTCB.126_12->uxPriority;
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority = _13;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTopReadyPriority.127_14 ={v} uxTopReadyPriority;
- if (_13 > uxTopReadyPriority.127_14)
- goto <bb 8>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 8> [local count: 32751810]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _13;
- <bb 9> [local count: 65503620]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_36 = pxReadyTasksLists[_13].pxIndex;
- # DEBUG pxIndex => pxIndex_36
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pxNext = pxIndex_36;
- # DEBUG BEGIN_STMT
- _15 = pxIndex_36->pxPrevious;
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pxPrevious = _15;
- # DEBUG BEGIN_STMT
- _16 = pxIndex_36->pxPrevious;
- _16->pxNext = _11;
- # DEBUG BEGIN_STMT
- pxIndex_36->pxPrevious = _11;
- # DEBUG BEGIN_STMT
- _17 = &pxReadyTasksLists[_13];
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pvContainer = _17;
- # DEBUG BEGIN_STMT
- _18 ={v} pxReadyTasksLists[_13].uxNumberOfItems;
- _19 = _18 + 1;
- pxReadyTasksLists[_13].uxNumberOfItems ={v} _19;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 13>; [100.00%]
- <bb 10> [local count: 310306019]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.128_20 ={v} pxCurrentTCB;
- _21 = pxCurrentTCB.128_20->uxPriority;
- MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority = _21;
- goto <bb 13>; [100.00%]
- <bb 11> [local count: 375809639]:
- # DEBUG BEGIN_STMT
- _22 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxBasePriority;
- pxCurrentTCB.129_23 ={v} pxCurrentTCB;
- _24 = pxCurrentTCB.129_23->uxPriority;
- if (_22 < _24)
- goto <bb 12>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 12> [local count: 187904819]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 13> [local count: 1073741824]:
- # xReturn_25 = PHI <0(2), 0(11), 1(10), 1(12), 1(9)>
- # DEBUG xReturn => xReturn_25
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_25;
- }
- ;; Function xTaskPriorityDisinherit (xTaskPriorityDisinherit, funcdef_no=59, decl_uid=6281, cgraph_uid=60, symbol_order=81)
- Modification phase of node xTaskPriorityDisinherit/81
- xTaskPriorityDisinherit (struct tskTaskControlBlock * const pxMutexHolder)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- BaseType_t xReturn;
- struct TCB_t * pxCurrentTCB.130_1;
- long unsigned int _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- struct ListItem_t * _6;
- long unsigned int _7;
- long unsigned int _8;
- long unsigned int uxTopReadyPriority.131_9;
- struct xLIST_ITEM * _10;
- struct xLIST_ITEM * _11;
- struct List_t * _12;
- long unsigned int _13;
- long unsigned int _14;
- <bb 2> [local count: 219131]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => pxMutexHolder_18(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- # DEBUG BEGIN_STMT
- if (pxMutexHolder_18(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 14>; [30.00%]
- <bb 3> [local count: 153391]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.130_1 ={v} pxCurrentTCB;
- if (pxCurrentTCB.130_1 != pxMutexHolder_18(D))
- goto <bb 4>; [70.00%]
- else
- goto <bb 6>; [30.00%]
- <bb 4> [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_32 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_32
- <bb 5> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 15> [local count: 1073741824]:
- goto <bb 5>; [100.00%]
- <bb 6> [local count: 46017]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxMutexesHeld;
- if (_2 == 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 7> [local count: 23009]:
- # 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_33 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_33
- <bb 8> [local count: 230087534]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 230087534]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 23009]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _3 = _2 + 4294967295;
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxMutexesHeld = _3;
- # DEBUG BEGIN_STMT
- _4 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxPriority;
- _5 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxBasePriority;
- if (_4 != _5)
- goto <bb 10>; [66.00%]
- else
- goto <bb 14>; [34.00%]
- <bb 10> [local count: 15186]:
- # DEBUG BEGIN_STMT
- if (_3 == 0)
- goto <bb 11>; [33.00%]
- else
- goto <bb 14>; [67.00%]
- <bb 11> [local count: 5011]:
- # DEBUG BEGIN_STMT
- _6 = &MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem;
- uxListRemove (_6);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxBasePriority;
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxPriority = _7;
- # DEBUG BEGIN_STMT
- _8 = 5 - _7;
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].xEventListItem.xItemValue = _8;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxTopReadyPriority.131_9 ={v} uxTopReadyPriority;
- if (_7 > uxTopReadyPriority.131_9)
- goto <bb 12>; [50.00%]
- else
- goto <bb 13>; [50.00%]
- <bb 12> [local count: 2506]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _7;
- <bb 13> [local count: 5011]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_25 = pxReadyTasksLists[_7].pxIndex;
- # DEBUG pxIndex => pxIndex_25
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pxNext = pxIndex_25;
- # DEBUG BEGIN_STMT
- _10 = pxIndex_25->pxPrevious;
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _11 = pxIndex_25->pxPrevious;
- _11->pxNext = _6;
- # DEBUG BEGIN_STMT
- pxIndex_25->pxPrevious = _6;
- # DEBUG BEGIN_STMT
- _12 = &pxReadyTasksLists[_7];
- MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pvContainer = _12;
- # DEBUG BEGIN_STMT
- _13 ={v} pxReadyTasksLists[_7].uxNumberOfItems;
- _14 = _13 + 1;
- pxReadyTasksLists[_7].uxNumberOfItems ={v} _14;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 14> [local count: 88748]:
- # xReturn_15 = PHI <0(2), 1(13), 0(9), 0(10)>
- # DEBUG xReturn => xReturn_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_15;
- }
- ;; Function vTaskPriorityDisinheritAfterTimeout (vTaskPriorityDisinheritAfterTimeout, funcdef_no=60, decl_uid=6284, cgraph_uid=61, symbol_order=82)
- Modification phase of node vTaskPriorityDisinheritAfterTimeout/82
- vTaskPriorityDisinheritAfterTimeout (struct tskTaskControlBlock * const pxMutexHolder, UBaseType_t uxHighestPriorityWaitingTask)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- UBaseType_t uxPriorityToUse;
- long unsigned int _1;
- long unsigned int _2;
- long unsigned int _3;
- struct TCB_t * pxCurrentTCB.132_4;
- long unsigned int _5;
- signed int _6;
- long unsigned int _7;
- struct xLIST * _8;
- struct List_t * _9;
- struct ListItem_t * _10;
- long unsigned int _12;
- long unsigned int uxTopReadyPriority.133_13;
- struct xLIST_ITEM * _14;
- struct xLIST_ITEM * _15;
- struct List_t * _16;
- long unsigned int _17;
- long unsigned int _18;
- <bb 2> [local count: 306783]:
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => pxMutexHolder_22(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG uxOnlyOneMutexHeld => 1
- # DEBUG BEGIN_STMT
- if (pxMutexHolder_22(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 17>; [30.00%]
- <bb 3> [local count: 214748]:
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxMutexesHeld;
- if (_1 == 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 4> [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_36 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_36
- <bb 5> [local count: 1073741823]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 18> [local count: 1073741824]:
- goto <bb 5>; [100.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxBasePriority;
- uxPriorityToUse_11 = MAX_EXPR <_2, uxHighestPriorityWaitingTask_24(D)>;
- # DEBUG uxPriorityToUse => uxPriorityToUse_11
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority;
- if (_3 != uxPriorityToUse_11)
- goto <bb 7>; [66.00%]
- else
- goto <bb 17>; [34.00%]
- <bb 7> [local count: 70867]:
- # DEBUG BEGIN_STMT
- if (_1 == 1)
- goto <bb 8>; [34.00%]
- else
- goto <bb 17>; [66.00%]
- <bb 8> [local count: 24095]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.132_4 ={v} pxCurrentTCB;
- if (pxCurrentTCB.132_4 == pxMutexHolder_22(D))
- goto <bb 9>; [30.00%]
- else
- goto <bb 11>; [70.00%]
- <bb 9> [local count: 7228]:
- # 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_37 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
- <bb 10> [local count: 72284299]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 19> [local count: 72284299]:
- goto <bb 10>; [100.00%]
- <bb 11> [local count: 16866]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG uxPriorityUsedOnEntry => _3
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority = uxPriorityToUse_11;
- # DEBUG BEGIN_STMT
- _5 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].xEventListItem.xItemValue;
- _6 = (signed int) _5;
- if (_6 >= 0)
- goto <bb 12>; [59.00%]
- else
- goto <bb 13>; [41.00%]
- <bb 12> [local count: 9951]:
- # DEBUG BEGIN_STMT
- _7 = 5 - uxPriorityToUse_11;
- MEM[(struct TCB_t *)pxMutexHolder_22(D)].xEventListItem.xItemValue = _7;
- <bb 13> [local count: 16866]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _8 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pvContainer;
- _9 = &pxReadyTasksLists[_3];
- if (_8 == _9)
- goto <bb 14>; [17.43%]
- else
- goto <bb 17>; [82.57%]
- <bb 14> [local count: 2940]:
- # DEBUG BEGIN_STMT
- _10 = &MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem;
- uxListRemove (_10);
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _12 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority;
- uxTopReadyPriority.133_13 ={v} uxTopReadyPriority;
- if (_12 > uxTopReadyPriority.133_13)
- goto <bb 15>; [50.00%]
- else
- goto <bb 16>; [50.00%]
- <bb 15> [local count: 1470]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _12;
- <bb 16> [local count: 2940]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_29 = pxReadyTasksLists[_12].pxIndex;
- # DEBUG pxIndex => pxIndex_29
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pxNext = pxIndex_29;
- # DEBUG BEGIN_STMT
- _14 = pxIndex_29->pxPrevious;
- MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pxPrevious = _14;
- # DEBUG BEGIN_STMT
- _15 = pxIndex_29->pxPrevious;
- _15->pxNext = _10;
- # DEBUG BEGIN_STMT
- pxIndex_29->pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _16 = &pxReadyTasksLists[_12];
- MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pvContainer = _16;
- # DEBUG BEGIN_STMT
- _17 ={v} pxReadyTasksLists[_12].uxNumberOfItems;
- _18 = _17 + 1;
- pxReadyTasksLists[_12].uxNumberOfItems ={v} _18;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 192180]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function vTaskList (vTaskList, funcdef_no=62, decl_uid=6204, cgraph_uid=63, symbol_order=84)
- Modification phase of node vTaskList/84
- vTaskList (char * pcWriteBuffer)
- {
- char cStatus;
- UBaseType_t x;
- UBaseType_t uxArraySize;
- struct TaskStatus_t * pxTaskStatusArray;
- long unsigned int uxCurrentNumberOfTasks.134_1;
- long unsigned int _2;
- long unsigned int _3;
- struct TaskStatus_t * _4;
- <unnamed type> _5;
- unsigned int _6;
- const char * _8;
- int _9;
- long unsigned int _11;
- short unsigned int _12;
- unsigned int _13;
- long unsigned int _14;
- unsigned int _15;
- <bb 2> [local count: 220893212]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- *pcWriteBuffer_22(D) = 0;
- # DEBUG BEGIN_STMT
- uxArraySize_24 ={v} uxCurrentNumberOfTasks;
- # DEBUG uxArraySize => uxArraySize_24
- # DEBUG BEGIN_STMT
- uxCurrentNumberOfTasks.134_1 ={v} uxCurrentNumberOfTasks;
- _2 = uxCurrentNumberOfTasks.134_1 * 36;
- pxTaskStatusArray_26 = pvPortMalloc (_2);
- # DEBUG pxTaskStatusArray => pxTaskStatusArray_26
- # DEBUG BEGIN_STMT
- if (pxTaskStatusArray_26 != 0B)
- goto <bb 3>; [53.47%]
- else
- goto <bb 10>; [46.53%]
- <bb 3> [local count: 118111600]:
- # DEBUG BEGIN_STMT
- uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
- # DEBUG uxArraySize => uxArraySize_28
- # DEBUG BEGIN_STMT
- # DEBUG x => 0
- goto <bb 8>; [100.00%]
- <bb 4> [local count: 955630226]:
- # DEBUG BEGIN_STMT
- _3 = x_17 * 36;
- _4 = pxTaskStatusArray_26 + _3;
- _5 = _4->eCurrentState;
- _6 = _5;
- if (_6 <= 4)
- goto <bb 6>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 5> [local count: 477815113]:
- <L15>:
- cStatus_10 = 0;
- goto <bb 7>; [100.00%]
- <bb 6> [local count: 477815113]:
- <L16>:
- cStatus_7 = CSWTCH.225[_6];
- <bb 7> [local count: 955630226]:
- # cStatus_18 = PHI <cStatus_7(6), cStatus_10(5)>
- <L17>:
- <L14>:
- # DEBUG cStatus => cStatus_18
- # DEBUG BEGIN_STMT
- _8 = _4->pcTaskName;
- pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
- # DEBUG pcWriteBuffer => pcWriteBuffer_31
- # DEBUG BEGIN_STMT
- _9 = (int) cStatus_18;
- _11 = _4->uxCurrentPriority;
- _12 = _4->usStackHighWaterMark;
- _13 = (unsigned int) _12;
- _14 = _4->xTaskNumber;
- sprintf (pcWriteBuffer_31, "\t%c\t%u\t%u\t%u\r\n", _9, _11, _13, _14);
- # DEBUG BEGIN_STMT
- _15 = strlen (pcWriteBuffer_31);
- pcWriteBuffer_33 = pcWriteBuffer_31 + _15;
- # DEBUG pcWriteBuffer => pcWriteBuffer_33
- # DEBUG BEGIN_STMT
- x_34 = x_17 + 1;
- # DEBUG x => x_34
- <bb 8> [local count: 1073741824]:
- # pcWriteBuffer_16 = PHI <pcWriteBuffer_22(D)(3), pcWriteBuffer_33(7)>
- # x_17 = PHI <0(3), x_34(7)>
- # DEBUG x => x_17
- # DEBUG pcWriteBuffer => pcWriteBuffer_16
- # DEBUG BEGIN_STMT
- if (x_17 < uxArraySize_28)
- goto <bb 4>; [89.00%]
- else
- goto <bb 9>; [11.00%]
- <bb 9> [local count: 118111601]:
- # DEBUG BEGIN_STMT
- vPortFree (pxTaskStatusArray_26);
- <bb 10> [local count: 220893212]:
- # DEBUG BEGIN_STMT
- return;
- }
- ;; Function uxTaskResetEventItemValue (uxTaskResetEventItemValue, funcdef_no=63, decl_uid=6271, cgraph_uid=64, symbol_order=85)
- Modification phase of node uxTaskResetEventItemValue/85
- uxTaskResetEventItemValue ()
- {
- TickType_t uxReturn;
- struct TCB_t * pxCurrentTCB.135_1;
- struct TCB_t * pxCurrentTCB.136_2;
- long unsigned int _3;
- struct TCB_t * pxCurrentTCB.137_4;
- long unsigned int _5;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.135_1 ={v} pxCurrentTCB;
- uxReturn_7 = pxCurrentTCB.135_1->xEventListItem.xItemValue;
- # DEBUG uxReturn => uxReturn_7
- # DEBUG BEGIN_STMT
- pxCurrentTCB.136_2 ={v} pxCurrentTCB;
- _3 = pxCurrentTCB.136_2->uxPriority;
- pxCurrentTCB.137_4 ={v} pxCurrentTCB;
- _5 = 5 - _3;
- pxCurrentTCB.137_4->xEventListItem.xItemValue = _5;
- # DEBUG BEGIN_STMT
- return uxReturn_7;
- }
- ;; Function pvTaskIncrementMutexHeldCount (pvTaskIncrementMutexHeldCount, funcdef_no=64, decl_uid=6295, cgraph_uid=65, symbol_order=86)
- Modification phase of node pvTaskIncrementMutexHeldCount/86
- pvTaskIncrementMutexHeldCount ()
- {
- struct TCB_t * pxCurrentTCB.138_1;
- struct TCB_t * pxCurrentTCB.139_2;
- long unsigned int _3;
- long unsigned int _4;
- struct tskTaskControlBlock * _8;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.138_1 ={v} pxCurrentTCB;
- if (pxCurrentTCB.138_1 != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 4>; [30.00%]
- <bb 3> [local count: 751619278]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.139_2 ={v} pxCurrentTCB;
- _3 = pxCurrentTCB.139_2->uxMutexesHeld;
- _4 = _3 + 1;
- pxCurrentTCB.139_2->uxMutexesHeld = _4;
- <bb 4> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _8 ={v} pxCurrentTCB;
- return _8;
- }
- ;; Function ulTaskGenericNotifyTake (ulTaskGenericNotifyTake, funcdef_no=65, decl_uid=6235, cgraph_uid=66, symbol_order=87)
- Modification phase of node ulTaskGenericNotifyTake/87
- ulTaskGenericNotifyTake (UBaseType_t uxIndexToWait, BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulReturn;
- struct TCB_t * pxCurrentTCB.140_1;
- long unsigned int _2;
- struct TCB_t * pxCurrentTCB.141_3;
- struct TCB_t * pxCurrentTCB.142_4;
- struct TCB_t * pxCurrentTCB.143_5;
- struct TCB_t * pxCurrentTCB.144_6;
- long unsigned int _7;
- struct TCB_t * pxCurrentTCB.145_8;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToWait_11(D) != 0)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_28 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_28
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- pxCurrentTCB.140_1 ={v} pxCurrentTCB;
- _2 ={v} pxCurrentTCB.140_1->ulNotifiedValue[0];
- if (_2 == 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 6> [local count: 26443]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.141_3 ={v} pxCurrentTCB;
- pxCurrentTCB.141_3->ucNotifyState[0] ={v} 1;
- # DEBUG BEGIN_STMT
- if (xTicksToWait_15(D) != 0)
- goto <bb 7>; [33.00%]
- else
- goto <bb 8>; [67.00%]
- <bb 7> [local count: 8726]:
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToWait_15(D), 1);
- # DEBUG BEGIN_STMT
- # 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 8> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.142_4 ={v} pxCurrentTCB;
- ulReturn_22 ={v} pxCurrentTCB.142_4->ulNotifiedValue[0];
- # DEBUG ulReturn => ulReturn_22
- # DEBUG BEGIN_STMT
- if (ulReturn_22 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 9> [local count: 26443]:
- # DEBUG BEGIN_STMT
- if (xClearCountOnExit_23(D) != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 10> [local count: 13221]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.143_5 ={v} pxCurrentTCB;
- pxCurrentTCB.143_5->ulNotifiedValue[0] ={v} 0;
- goto <bb 12>; [100.00%]
- <bb 11> [local count: 13221]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.144_6 ={v} pxCurrentTCB;
- _7 = ulReturn_22 + 4294967295;
- pxCurrentTCB.144_6->ulNotifiedValue[0] ={v} _7;
- <bb 12> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.145_8 ={v} pxCurrentTCB;
- pxCurrentTCB.145_8->ucNotifyState[0] ={v} 0;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return ulReturn_22;
- }
- ;; Function xTaskGenericNotifyWait (xTaskGenericNotifyWait, funcdef_no=66, decl_uid=6227, cgraph_uid=67, symbol_order=88)
- Modification phase of node xTaskGenericNotifyWait/88
- xTaskGenericNotifyWait (UBaseType_t uxIndexToWait, uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t * pulNotificationValue, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct TCB_t * pxCurrentTCB.146_1;
- unsigned char _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- struct TCB_t * pxCurrentTCB.148_6;
- struct TCB_t * pxCurrentTCB.149_7;
- long unsigned int _8;
- struct TCB_t * pxCurrentTCB.150_9;
- unsigned char _10;
- long unsigned int _11;
- long unsigned int _12;
- long unsigned int _13;
- struct TCB_t * pxCurrentTCB.152_14;
- struct TCB_t * pxCurrentTCB.147_22;
- struct TCB_t * pxCurrentTCB.151_35;
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToWait_19(D) != 0)
- goto <bb 3>; [67.00%]
- else
- goto <bb 5>; [33.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_40 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- pxCurrentTCB.146_1 ={v} pxCurrentTCB;
- _2 ={v} pxCurrentTCB.146_1->ucNotifyState[0];
- if (_2 != 2)
- goto <bb 6>; [66.00%]
- else
- goto <bb 8>; [34.00%]
- <bb 6> [local count: 34905]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.147_22 ={v} pxCurrentTCB;
- _3 ={v} pxCurrentTCB.147_22->ulNotifiedValue[0];
- _4 = ~ulBitsToClearOnEntry_23(D);
- _5 = _3 & _4;
- pxCurrentTCB.147_22->ulNotifiedValue[0] ={v} _5;
- # DEBUG BEGIN_STMT
- pxCurrentTCB.148_6 ={v} pxCurrentTCB;
- pxCurrentTCB.148_6->ucNotifyState[0] ={v} 1;
- # DEBUG BEGIN_STMT
- if (xTicksToWait_26(D) != 0)
- goto <bb 7>; [33.00%]
- else
- goto <bb 8>; [67.00%]
- <bb 7> [local count: 11519]:
- # DEBUG BEGIN_STMT
- prvAddCurrentTaskToDelayedList (xTicksToWait_26(D), 1);
- # DEBUG BEGIN_STMT
- # 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 8> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (pulNotificationValue_33(D) != 0B)
- goto <bb 9>; [70.00%]
- else
- goto <bb 10>; [30.00%]
- <bb 9> [local count: 37020]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.149_7 ={v} pxCurrentTCB;
- _8 ={v} pxCurrentTCB.149_7->ulNotifiedValue[0];
- *pulNotificationValue_33(D) = _8;
- <bb 10> [local count: 52886]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.150_9 ={v} pxCurrentTCB;
- _10 ={v} pxCurrentTCB.150_9->ucNotifyState[0];
- if (_10 != 2)
- goto <bb 12>; [66.00%]
- else
- goto <bb 11>; [34.00%]
- <bb 11> [local count: 17981]:
- # DEBUG BEGIN_STMT
- pxCurrentTCB.151_35 ={v} pxCurrentTCB;
- _11 ={v} pxCurrentTCB.151_35->ulNotifiedValue[0];
- _12 = ~ulBitsToClearOnExit_36(D);
- _13 = _11 & _12;
- pxCurrentTCB.151_35->ulNotifiedValue[0] ={v} _13;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 12> [local count: 52886]:
- # xReturn_15 = PHI <0(10), 1(11)>
- # DEBUG xReturn => xReturn_15
- # DEBUG BEGIN_STMT
- pxCurrentTCB.152_14 ={v} pxCurrentTCB;
- pxCurrentTCB.152_14->ucNotifyState[0] ={v} 0;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_15;
- }
- ;; Function xTaskGenericNotify (xTaskGenericNotify, funcdef_no=67, decl_uid=6214, cgraph_uid=68, symbol_order=89)
- Modification phase of node xTaskGenericNotify/89
- xTaskGenericNotify (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct List_t * const pxList;
- uint8_t ucOriginalNotifyState;
- BaseType_t xReturn;
- long unsigned int _1;
- long unsigned int _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- long unsigned int xTickCount.153_6;
- struct xLIST_ITEM * _7;
- struct xLIST_ITEM * _8;
- struct xLIST_ITEM * _9;
- struct ListItem_t * _10;
- struct ListItem_t * _11;
- long unsigned int _12;
- long unsigned int _13;
- long unsigned int _14;
- long unsigned int uxTopReadyPriority.154_15;
- struct xLIST_ITEM * _16;
- struct xLIST_ITEM * _17;
- struct List_t * _18;
- long unsigned int _19;
- long unsigned int _20;
- struct xLIST * _21;
- struct TCB_t * pxCurrentTCB.155_22;
- long unsigned int _23;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToNotify_30(D) != 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_61 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_61
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 30> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTaskToNotify_31(D) == 0B)
- goto <bb 6>; [46.53%]
- else
- goto <bb 8>; [53.47%]
- <bb 6> [local count: 49961]:
- # 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_62 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_62
- <bb 7> [local count: 499612071]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 31> [local count: 499612071]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 57413]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTaskToNotify_31(D)
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- if (pulPreviousNotificationValue_34(D) != 0B)
- goto <bb 9>; [70.00%]
- else
- goto <bb 10>; [30.00%]
- <bb 9> [local count: 40189]:
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
- *pulPreviousNotificationValue_34(D) = _1;
- <bb 10> [local count: 57413]:
- # DEBUG BEGIN_STMT
- ucOriginalNotifyState_36 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ucNotifyState[0];
- # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_36
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].ucNotifyState[0] ={v} 2;
- # DEBUG BEGIN_STMT
- switch (eAction_38(D)) <default: <L16> [16.67%], case 0: <L35> [16.67%], case 1: <L8> [16.67%], case 2: <L9> [16.67%], case 3: <L10> [16.67%], case 4: <L11> [16.67%]>
- <bb 11> [local count: 9571]:
- <L8>:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
- _3 = _2 | ulValue_39(D);
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} _3;
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 12> [local count: 9571]:
- <L9>:
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
- _5 = _4 + 1;
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} _5;
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 13> [local count: 9571]:
- <L10>:
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} ulValue_39(D);
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 14> [local count: 9571]:
- <L11>:
- # DEBUG BEGIN_STMT
- if (ucOriginalNotifyState_36 != 2)
- goto <bb 15>; [66.00%]
- else
- goto <bb 19>; [34.00%]
- <bb 15> [local count: 6317]:
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} ulValue_39(D);
- goto <bb 19>; [100.00%]
- <bb 16> [local count: 9571]:
- <L16>:
- # DEBUG BEGIN_STMT
- xTickCount.153_6 ={v} xTickCount;
- if (xTickCount.153_6 != 0)
- goto <bb 17>; [50.00%]
- else
- goto <bb 19>; [50.00%]
- <bb 17> [local count: 4785]:
- # 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_63 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_63
- <bb 18> [local count: 47853715]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 32> [local count: 47853715]:
- goto <bb 18>; [100.00%]
- <bb 19> [local count: 52639]:
- # xReturn_24 = PHI <1(11), 1(12), 1(13), 0(14), 1(10), 1(16), 1(15)>
- <L35>:
- # DEBUG xReturn => xReturn_24
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (ucOriginalNotifyState_36 == 1)
- goto <bb 20>; [51.12%]
- else
- goto <bb 29>; [48.88%]
- <bb 20> [local count: 26909]:
- # DEBUG BEGIN_STMT
- pxList_44 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pvContainer;
- # DEBUG pxList => pxList_44
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxNext;
- _8 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious;
- _7->pxPrevious = _8;
- # DEBUG BEGIN_STMT
- _9 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious;
- _9->pxNext = _7;
- # DEBUG BEGIN_STMT
- _10 = pxList_44->pxIndex;
- _11 = &MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem;
- if (_10 == _11)
- goto <bb 21>; [30.00%]
- else
- goto <bb 22>; [70.00%]
- <bb 21> [local count: 8073]:
- # DEBUG BEGIN_STMT
- pxList_44->pxIndex = _9;
- <bb 22> [local count: 26909]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _12 ={v} pxList_44->uxNumberOfItems;
- _13 = _12 + 4294967295;
- pxList_44->uxNumberOfItems ={v} _13;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _14 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].uxPriority;
- uxTopReadyPriority.154_15 ={v} uxTopReadyPriority;
- if (_14 > uxTopReadyPriority.154_15)
- goto <bb 23>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 23> [local count: 13455]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _14;
- <bb 24> [local count: 26909]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_50 = pxReadyTasksLists[_14].pxIndex;
- # DEBUG pxIndex => pxIndex_50
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxNext = pxIndex_50;
- # DEBUG BEGIN_STMT
- _16 = pxIndex_50->pxPrevious;
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious = _16;
- # DEBUG BEGIN_STMT
- _17 = pxIndex_50->pxPrevious;
- _17->pxNext = _11;
- # DEBUG BEGIN_STMT
- pxIndex_50->pxPrevious = _11;
- # DEBUG BEGIN_STMT
- _18 = &pxReadyTasksLists[_14];
- MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pvContainer = _18;
- # DEBUG BEGIN_STMT
- _19 ={v} pxReadyTasksLists[_14].uxNumberOfItems;
- _20 = _19 + 1;
- pxReadyTasksLists[_14].uxNumberOfItems ={v} _20;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _21 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xEventListItem.pvContainer;
- if (_21 != 0B)
- goto <bb 25>; [70.00%]
- else
- goto <bb 27>; [30.00%]
- <bb 25> [local count: 18836]:
- # 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_64 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_64
- <bb 26> [local count: 188363707]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 33> [local count: 188363706]:
- goto <bb 26>; [100.00%]
- <bb 27> [local count: 8073]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxCurrentTCB.155_22 ={v} pxCurrentTCB;
- _23 = pxCurrentTCB.155_22->uxPriority;
- if (_14 > _23)
- goto <bb 28>; [50.00%]
- else
- goto <bb 29>; [50.00%]
- <bb 28> [local count: 4036]:
- # 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 29> [local count: 33803]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_24;
- }
- ;; Function xTaskGenericNotifyFromISR (xTaskGenericNotifyFromISR, funcdef_no=68, decl_uid=6221, cgraph_uid=69, symbol_order=90)
- Modification phase of node xTaskGenericNotifyFromISR/90
- xTaskGenericNotifyFromISR (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct ListItem_t * const pxIndex;
- struct List_t * const pxList;
- BaseType_t xReturn;
- uint8_t ucOriginalNotifyState;
- long unsigned int _1;
- long unsigned int _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- long unsigned int xTickCount.156_6;
- struct xLIST * _7;
- long unsigned int uxSchedulerSuspended.157_8;
- struct xLIST_ITEM * _9;
- struct xLIST_ITEM * _10;
- struct xLIST_ITEM * _11;
- struct ListItem_t * _12;
- struct ListItem_t * _13;
- long unsigned int _14;
- long unsigned int _15;
- long unsigned int _16;
- long unsigned int uxTopReadyPriority.158_17;
- struct xLIST_ITEM * _18;
- struct xLIST_ITEM * _19;
- struct List_t * _20;
- long unsigned int _21;
- long unsigned int _22;
- struct xLIST_ITEM * _23;
- struct xLIST_ITEM * _24;
- struct ListItem_t * _25;
- long unsigned int _26;
- long unsigned int _27;
- long unsigned int _28;
- struct TCB_t * pxCurrentTCB.159_29;
- long unsigned int _30;
- <bb 2> [local count: 228942]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTaskToNotify_39(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_76 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_76
- <bb 4> [local count: 686828460]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 35> [local count: 686828460]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToNotify_40(D) != 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_77 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_77
- <bb 7> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 36> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortValidateInterruptPriority ();
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTaskToNotify_39(D)
- # 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_78, "=r" ulNewBASEPRI_79 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_79
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_78
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_78
- # DEBUG BEGIN_STMT
- if (pulPreviousNotificationValue_43(D) != 0B)
- goto <bb 9>; [70.00%]
- else
- goto <bb 10>; [30.00%]
- <bb 9> [local count: 37020]:
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
- *pulPreviousNotificationValue_43(D) = _1;
- <bb 10> [local count: 52886]:
- # DEBUG BEGIN_STMT
- ucOriginalNotifyState_45 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ucNotifyState[0];
- # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_45
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].ucNotifyState[0] ={v} 2;
- # DEBUG BEGIN_STMT
- switch (eAction_47(D)) <default: <L16> [16.67%], case 0: <L39> [16.67%], case 1: <L8> [16.67%], case 2: <L9> [16.67%], case 3: <L10> [16.67%], case 4: <L11> [16.67%]>
- <bb 11> [local count: 8816]:
- <L8>:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
- _3 = _2 | ulValue_48(D);
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} _3;
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 12> [local count: 8816]:
- <L9>:
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
- _5 = _4 + 1;
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} _5;
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 13> [local count: 8816]:
- <L10>:
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} ulValue_48(D);
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 14> [local count: 8816]:
- <L11>:
- # DEBUG BEGIN_STMT
- if (ucOriginalNotifyState_45 != 2)
- goto <bb 15>; [66.00%]
- else
- goto <bb 19>; [34.00%]
- <bb 15> [local count: 5819]:
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} ulValue_48(D);
- goto <bb 19>; [100.00%]
- <bb 16> [local count: 8816]:
- <L16>:
- # DEBUG BEGIN_STMT
- xTickCount.156_6 ={v} xTickCount;
- if (xTickCount.156_6 != 0)
- goto <bb 17>; [50.00%]
- else
- goto <bb 19>; [50.00%]
- <bb 17> [local count: 4408]:
- # 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_80 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_80
- <bb 18> [local count: 44080307]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 37> [local count: 44080307]:
- goto <bb 18>; [100.00%]
- <bb 19> [local count: 48488]:
- # xReturn_31 = PHI <1(11), 1(12), 1(13), 0(14), 1(10), 1(16), 1(15)>
- <L39>:
- # DEBUG xReturn => xReturn_31
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (ucOriginalNotifyState_45 == 1)
- goto <bb 20>; [34.00%]
- else
- goto <bb 34>; [66.00%]
- <bb 20> [local count: 16486]:
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pvContainer;
- if (_7 != 0B)
- goto <bb 21>; [70.00%]
- else
- goto <bb 23>; [30.00%]
- <bb 21> [local count: 11540]:
- # 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_81 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_81
- <bb 22> [local count: 115402244]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 38> [local count: 115402244]:
- goto <bb 22>; [100.00%]
- <bb 23> [local count: 4946]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.157_8 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.157_8 == 0)
- goto <bb 24>; [50.00%]
- else
- goto <bb 29>; [50.00%]
- <bb 24> [local count: 2473]:
- # DEBUG BEGIN_STMT
- pxList_60 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pvContainer;
- # DEBUG pxList => pxList_60
- # DEBUG BEGIN_STMT
- _9 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxNext;
- _10 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious;
- _9->pxPrevious = _10;
- # DEBUG BEGIN_STMT
- _11 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious;
- _11->pxNext = _9;
- # DEBUG BEGIN_STMT
- _12 = pxList_60->pxIndex;
- _13 = &MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem;
- if (_12 == _13)
- goto <bb 25>; [30.00%]
- else
- goto <bb 26>; [70.00%]
- <bb 25> [local count: 742]:
- # DEBUG BEGIN_STMT
- pxList_60->pxIndex = _11;
- <bb 26> [local count: 2473]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _14 ={v} pxList_60->uxNumberOfItems;
- _15 = _14 + 4294967295;
- pxList_60->uxNumberOfItems ={v} _15;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _16 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].uxPriority;
- uxTopReadyPriority.158_17 ={v} uxTopReadyPriority;
- if (_16 > uxTopReadyPriority.158_17)
- goto <bb 27>; [50.00%]
- else
- goto <bb 28>; [50.00%]
- <bb 27> [local count: 1236]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _16;
- <bb 28> [local count: 2473]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_66 = pxReadyTasksLists[_16].pxIndex;
- # DEBUG pxIndex => pxIndex_66
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxNext = pxIndex_66;
- # DEBUG BEGIN_STMT
- _18 = pxIndex_66->pxPrevious;
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious = _18;
- # DEBUG BEGIN_STMT
- _19 = pxIndex_66->pxPrevious;
- _19->pxNext = _13;
- # DEBUG BEGIN_STMT
- pxIndex_66->pxPrevious = _13;
- # DEBUG BEGIN_STMT
- _20 = &pxReadyTasksLists[_16];
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pvContainer = _20;
- # DEBUG BEGIN_STMT
- _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
- _22 = _21 + 1;
- pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 30>; [100.00%]
- <bb 29> [local count: 2473]:
- # DEBUG BEGIN_STMT
- pxIndex_53 = xPendingReadyList.pxIndex;
- # DEBUG pxIndex => pxIndex_53
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pxNext = pxIndex_53;
- # DEBUG BEGIN_STMT
- _23 = pxIndex_53->pxPrevious;
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pxPrevious = _23;
- # DEBUG BEGIN_STMT
- _24 = pxIndex_53->pxPrevious;
- _25 = &MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem;
- _24->pxNext = _25;
- # DEBUG BEGIN_STMT
- pxIndex_53->pxPrevious = _25;
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pvContainer = &xPendingReadyList;
- # DEBUG BEGIN_STMT
- _26 ={v} xPendingReadyList.uxNumberOfItems;
- _27 = _26 + 1;
- xPendingReadyList.uxNumberOfItems ={v} _27;
- <bb 30> [local count: 4946]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _28 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].uxPriority;
- pxCurrentTCB.159_29 ={v} pxCurrentTCB;
- _30 = pxCurrentTCB.159_29->uxPriority;
- if (_28 > _30)
- goto <bb 31>; [50.00%]
- else
- goto <bb 34>; [50.00%]
- <bb 31> [local count: 2473]:
- # DEBUG BEGIN_STMT
- if (pxHigherPriorityTaskWoken_73(D) != 0B)
- goto <bb 32>; [70.00%]
- else
- goto <bb 33>; [30.00%]
- <bb 32> [local count: 1731]:
- # DEBUG BEGIN_STMT
- *pxHigherPriorityTaskWoken_73(D) = 1;
- <bb 33> [local count: 2473]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 34> [local count: 36948]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_78
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_78 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xReturn_31;
- }
- ;; Function vTaskGenericNotifyGiveFromISR (vTaskGenericNotifyGiveFromISR, funcdef_no=69, decl_uid=6231, cgraph_uid=70, symbol_order=91)
- Modification phase of node vTaskGenericNotifyGiveFromISR/91
- vTaskGenericNotifyGiveFromISR (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- struct ListItem_t * const pxIndex;
- struct ListItem_t * const pxIndex;
- struct List_t * const pxList;
- uint8_t ucOriginalNotifyState;
- long unsigned int _1;
- long unsigned int _2;
- struct xLIST * _3;
- long unsigned int uxSchedulerSuspended.160_4;
- struct xLIST_ITEM * _5;
- struct xLIST_ITEM * _6;
- struct xLIST_ITEM * _7;
- struct ListItem_t * _8;
- struct ListItem_t * _9;
- long unsigned int _10;
- long unsigned int _11;
- long unsigned int _12;
- long unsigned int uxTopReadyPriority.161_13;
- struct xLIST_ITEM * _14;
- struct xLIST_ITEM * _15;
- struct List_t * _16;
- long unsigned int _17;
- long unsigned int _18;
- struct xLIST_ITEM * _19;
- struct xLIST_ITEM * _20;
- struct ListItem_t * _21;
- long unsigned int _22;
- long unsigned int _23;
- long unsigned int _24;
- struct TCB_t * pxCurrentTCB.162_25;
- long unsigned int _26;
- <bb 2> [local count: 228942]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTaskToNotify_32(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_62 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_62
- <bb 4> [local count: 686828460]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 24> [local count: 686828460]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToNotify_33(D) != 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_63 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_63
- <bb 7> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 25> [local count: 1073741824]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortValidateInterruptPriority ();
- # DEBUG BEGIN_STMT
- # DEBUG pxTCB => xTaskToNotify_32(D)
- # 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_64, "=r" ulNewBASEPRI_65 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_65
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_64
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_64
- # DEBUG BEGIN_STMT
- ucOriginalNotifyState_36 ={v} MEM[(struct TCB_t *)xTaskToNotify_32(D)].ucNotifyState[0];
- # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_36
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].ucNotifyState[0] ={v} 2;
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_32(D)].ulNotifiedValue[0];
- _2 = _1 + 1;
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].ulNotifiedValue[0] ={v} _2;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (ucOriginalNotifyState_36 == 1)
- goto <bb 9>; [34.00%]
- else
- goto <bb 23>; [66.00%]
- <bb 9> [local count: 17981]:
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pvContainer;
- if (_3 != 0B)
- goto <bb 10>; [70.00%]
- else
- goto <bb 12>; [30.00%]
- <bb 10> [local count: 12587]:
- # 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_66 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_66
- <bb 11> [local count: 125868183]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 125868183]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 5394]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxSchedulerSuspended.160_4 ={v} uxSchedulerSuspended;
- if (uxSchedulerSuspended.160_4 == 0)
- goto <bb 13>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 13> [local count: 2697]:
- # DEBUG BEGIN_STMT
- pxList_46 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pvContainer;
- # DEBUG pxList => pxList_46
- # DEBUG BEGIN_STMT
- _5 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxNext;
- _6 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious;
- _5->pxPrevious = _6;
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious;
- _7->pxNext = _5;
- # DEBUG BEGIN_STMT
- _8 = pxList_46->pxIndex;
- _9 = &MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem;
- if (_8 == _9)
- goto <bb 14>; [30.00%]
- else
- goto <bb 15>; [70.00%]
- <bb 14> [local count: 809]:
- # DEBUG BEGIN_STMT
- pxList_46->pxIndex = _7;
- <bb 15> [local count: 2697]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _10 ={v} pxList_46->uxNumberOfItems;
- _11 = _10 + 4294967295;
- pxList_46->uxNumberOfItems ={v} _11;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _12 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].uxPriority;
- uxTopReadyPriority.161_13 ={v} uxTopReadyPriority;
- if (_12 > uxTopReadyPriority.161_13)
- goto <bb 16>; [50.00%]
- else
- goto <bb 17>; [50.00%]
- <bb 16> [local count: 1349]:
- # DEBUG BEGIN_STMT
- uxTopReadyPriority ={v} _12;
- <bb 17> [local count: 2697]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxIndex_52 = pxReadyTasksLists[_12].pxIndex;
- # DEBUG pxIndex => pxIndex_52
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxNext = pxIndex_52;
- # DEBUG BEGIN_STMT
- _14 = pxIndex_52->pxPrevious;
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious = _14;
- # DEBUG BEGIN_STMT
- _15 = pxIndex_52->pxPrevious;
- _15->pxNext = _9;
- # DEBUG BEGIN_STMT
- pxIndex_52->pxPrevious = _9;
- # DEBUG BEGIN_STMT
- _16 = &pxReadyTasksLists[_12];
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pvContainer = _16;
- # DEBUG BEGIN_STMT
- _17 ={v} pxReadyTasksLists[_12].uxNumberOfItems;
- _18 = _17 + 1;
- pxReadyTasksLists[_12].uxNumberOfItems ={v} _18;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- goto <bb 19>; [100.00%]
- <bb 18> [local count: 2697]:
- # DEBUG BEGIN_STMT
- pxIndex_39 = xPendingReadyList.pxIndex;
- # DEBUG pxIndex => pxIndex_39
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pxNext = pxIndex_39;
- # DEBUG BEGIN_STMT
- _19 = pxIndex_39->pxPrevious;
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pxPrevious = _19;
- # DEBUG BEGIN_STMT
- _20 = pxIndex_39->pxPrevious;
- _21 = &MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem;
- _20->pxNext = _21;
- # DEBUG BEGIN_STMT
- pxIndex_39->pxPrevious = _21;
- # DEBUG BEGIN_STMT
- MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pvContainer = &xPendingReadyList;
- # DEBUG BEGIN_STMT
- _22 ={v} xPendingReadyList.uxNumberOfItems;
- _23 = _22 + 1;
- xPendingReadyList.uxNumberOfItems ={v} _23;
- <bb 19> [local count: 5394]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _24 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].uxPriority;
- pxCurrentTCB.162_25 ={v} pxCurrentTCB;
- _26 = pxCurrentTCB.162_25->uxPriority;
- if (_24 > _26)
- goto <bb 20>; [50.00%]
- else
- goto <bb 23>; [50.00%]
- <bb 20> [local count: 2697]:
- # DEBUG BEGIN_STMT
- if (pxHigherPriorityTaskWoken_59(D) != 0B)
- goto <bb 21>; [70.00%]
- else
- goto <bb 22>; [30.00%]
- <bb 21> [local count: 1888]:
- # DEBUG BEGIN_STMT
- *pxHigherPriorityTaskWoken_59(D) = 1;
- <bb 22> [local count: 2697]:
- # DEBUG BEGIN_STMT
- xYieldPending ={v} 1;
- <bb 23> [local count: 40299]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_64
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_64 : "memory");
- # DEBUG ulNewMaskValue => NULL
- return;
- }
- ;; Function xTaskGenericNotifyStateClear (xTaskGenericNotifyStateClear, funcdef_no=70, decl_uid=6238, cgraph_uid=71, symbol_order=92)
- Modification phase of node xTaskGenericNotifyStateClear/92
- xTaskGenericNotifyStateClear (struct tskTaskControlBlock * xTask, UBaseType_t uxIndexToClear)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- unsigned char _1;
- struct TCB_t * iftmp.163_3;
- struct TCB_t * iftmp.163_8;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (uxIndexToClear_5(D) != 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_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_6(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 7>; [70.00%]
- <bb 6> [local count: 32212]:
- iftmp.163_8 ={v} pxCurrentTCB;
- <bb 7> [local count: 107374]:
- # iftmp.163_3 = PHI <iftmp.163_8(6), xTask_6(D)(5)>
- # DEBUG pxTCB => iftmp.163_3
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- _1 ={v} iftmp.163_3->ucNotifyState[0];
- if (_1 == 2)
- goto <bb 8>; [34.00%]
- else
- goto <bb 9>; [66.00%]
- <bb 8> [local count: 36507]:
- # DEBUG BEGIN_STMT
- iftmp.163_3->ucNotifyState[0] ={v} 0;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 9> [local count: 107374]:
- # xReturn_2 = PHI <1(8), 0(7)>
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- ;; Function ulTaskGenericNotifyValueClear (ulTaskGenericNotifyValueClear, funcdef_no=71, decl_uid=6242, cgraph_uid=72, symbol_order=93)
- Modification phase of node ulTaskGenericNotifyValueClear/93
- ulTaskGenericNotifyValueClear (struct tskTaskControlBlock * xTask, UBaseType_t uxIndexToClear, uint32_t ulBitsToClear)
- {
- uint32_t ulReturn;
- long unsigned int _1;
- long unsigned int _2;
- long unsigned int _3;
- struct TCB_t * iftmp.164_4;
- struct TCB_t * iftmp.164_7;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xTask_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 4>; [70.00%]
- <bb 3> [local count: 322122547]:
- iftmp.164_7 ={v} pxCurrentTCB;
- <bb 4> [local count: 1073741824]:
- # iftmp.164_4 = PHI <iftmp.164_7(3), xTask_5(D)(2)>
- # DEBUG pxTCB => iftmp.164_4
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- ulReturn_10 ={v} iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)];
- # DEBUG ulReturn => ulReturn_10
- # DEBUG BEGIN_STMT
- _1 ={v} iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)];
- _2 = ~ulBitsToClear_11(D);
- _3 = _1 & _2;
- iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)] ={v} _3;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return ulReturn_10;
- }
|