tasks.c.079i.static-var 310 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911
  1. callgraph:
  2. prvTaskCheckFreeStackSpace/180 (prvTaskCheckFreeStackSpace) @05e54540
  3. Type: function definition analyzed
  4. Visibility:
  5. next sharing asm name: 74
  6. References:
  7. Referring:
  8. Function prvTaskCheckFreeStackSpace/180 is inline copy in uxTaskGetStackHighWaterMark/75
  9. Clone of prvTaskCheckFreeStackSpace/74
  10. Availability: local
  11. Function flags: count:1073741824 (estimated locally) body local nonfreeing_fn optimize_size
  12. Called by: uxTaskGetStackHighWaterMark/75 (inlined) (1073741824 (estimated locally),1.00 per call)
  13. Calls:
  14. prvDeleteTCB/179 (prvDeleteTCB) @05f36c40
  15. Type: function definition analyzed
  16. Visibility:
  17. next sharing asm name: 76
  18. References:
  19. Referring:
  20. Function prvDeleteTCB/179 is inline copy in prvIdleTask/69
  21. Clone of prvDeleteTCB/76
  22. Availability: local
  23. Function flags: count:8687547529 (estimated locally) body local optimize_size
  24. Called by: prvCheckTasksWaitingTermination/71 (inlined) (8687547529 (estimated locally),137133.55 per call)
  25. Calls: vPortFree/96 (8687547529 (estimated locally),137133.55 per call) vPortFree/96 (8687547529 (estimated locally),137133.55 per call)
  26. prvListTasksWithinSingleList.part.0/158 (prvListTasksWithinSingleList.part.0) @061d3b60
  27. Type: function definition analyzed
  28. Visibility: prevailing_def_ironly artificial
  29. References:
  30. Referring:
  31. Function prvListTasksWithinSingleList.part.0/158 is inline copy in prvListTasksWithinSingleList/73
  32. Availability: local
  33. Function flags: count:118111600 (estimated locally) first_run:1 body local split_part optimize_size
  34. Called by: prvListTasksWithinSingleList/73 (inlined) (118111600 (estimated locally),0.50 per call)
  35. Calls: vTaskGetInfo/72 (1073741824 (estimated locally),4.55 per call)
  36. vTaskSwitchContext.part.0/146 (vTaskSwitchContext.part.0) @063282a0
  37. Type: function definition analyzed
  38. Visibility: prevailing_def_ironly artificial
  39. References:
  40. Referring:
  41. Function vTaskSwitchContext.part.0/146 is inline copy in vTaskSwitchContext/57
  42. Availability: local
  43. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  44. Called by: vTaskSwitchContext/57 (inlined) (107374 (estimated locally),0.24 per call)
  45. Calls:
  46. xTaskResumeAll.part.0/137 (xTaskResumeAll.part.0) @06328620
  47. Type: function definition analyzed
  48. Visibility: prevailing_def_ironly artificial
  49. 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)
  50. Referring:
  51. Function xTaskResumeAll.part.0/137 is inline copy in xTaskResumeAll/46
  52. Availability: local
  53. Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
  54. Called by: xTaskResumeAll/46 (inlined) (52886 (estimated locally),0.33 per call)
  55. Calls: vPortEnterCritical/100 (52886 (estimated locally),0.33 per call) prvResetNextTaskUnblockTime/77 (7070 (estimated locally),0.04 per call) xTaskIncrementTick/56 (60098 (estimated locally),0.38 per call) vPortExitCritical/101 (52886 (estimated locally),0.33 per call)
  56. xTaskIncrementTick.part.0/135 (xTaskIncrementTick.part.0) @06328540
  57. Type: function definition analyzed
  58. Visibility: prevailing_def_ironly artificial
  59. 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)
  60. Referring:
  61. Function xTaskIncrementTick.part.0/135 is inline copy in xTaskIncrementTick/56
  62. Availability: local
  63. Function flags: count:320520 (estimated locally) first_run:1 body local split_part optimize_size
  64. Called by: xTaskIncrementTick/56 (inlined) (320520 (estimated locally),0.50 per call)
  65. Calls: prvResetNextTaskUnblockTime/77 (52886 (estimated locally),0.08 per call)
  66. eTaskGetState.part.0/122 (eTaskGetState.part.0) @061d39a0
  67. Type: function definition analyzed
  68. Visibility: prevailing_def_ironly artificial
  69. References:
  70. Referring:
  71. Function eTaskGetState.part.0/122 is inline copy in eTaskGetState/35
  72. Availability: local
  73. Function flags: count:11759 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  74. Called by: eTaskGetState/35 (inlined) (11759 (estimated locally),0.03 per call)
  75. Calls:
  76. prvAddCurrentTaskToDelayedList.part.0/119 (prvAddCurrentTaskToDelayedList.part.0) @05f2a540
  77. Type: function definition analyzed
  78. Visibility: prevailing_def_ironly artificial
  79. 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)
  80. Referring:
  81. Function prvAddCurrentTaskToDelayedList.part.0/119 is inline copy in prvAddCurrentTaskToDelayedList/94
  82. Availability: local
  83. Function flags: count:182536110 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  84. Called by: prvAddCurrentTaskToDelayedList/94 (inlined) (182536110 (estimated locally),0.17 per call)
  85. Calls:
  86. prvInitialiseNewTask.isra.0/118 (prvInitialiseNewTask.isra.0) @05f2a2a0
  87. Type: function definition analyzed
  88. Visibility: prevailing_def_ironly artificial
  89. References:
  90. Referring:
  91. Function prvInitialiseNewTask.isra.0/118 is inline copy in xTaskCreate/29
  92. Availability: local
  93. Function flags: count:306987179 (estimated locally) body local optimize_size
  94. Called by: xTaskCreate/29 (inlined) (306987179 (estimated locally),0.29 per call)
  95. Calls: pxPortInitialiseStack/99 (101306152 (estimated locally),0.09 per call) memset/97 (101306152 (estimated locally),0.09 per call) memset/97 (101306152 (estimated locally),0.09 per call) vListInitialiseItem/98 (101306152 (estimated locally),0.09 per call) vListInitialiseItem/98 (101306152 (estimated locally),0.09 per call) memset/97 (306987179 (estimated locally),0.29 per call)
  96. prvResetNextTaskUnblockTime.part.0/115 (prvResetNextTaskUnblockTime.part.0) @05f22e00
  97. Type: function definition analyzed
  98. Visibility: prevailing_def_ironly artificial
  99. References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
  100. Referring:
  101. Function prvResetNextTaskUnblockTime.part.0/115 is inline copy in prvResetNextTaskUnblockTime/77
  102. Availability: local
  103. Function flags: count:536870912 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  104. Called by: prvResetNextTaskUnblockTime/77 (inlined) (536870912 (estimated locally),0.50 per call)
  105. Calls:
  106. prvTaskIsTaskSuspended.part.0/114 (prvTaskIsTaskSuspended.part.0) @05e542a0
  107. Type: function definition analyzed
  108. Visibility: prevailing_def_ironly artificial
  109. References: xPendingReadyList/13 (addr)
  110. Referring:
  111. Function prvTaskIsTaskSuspended.part.0/114 is inline copy in prvTaskIsTaskSuspended/40
  112. Availability: local
  113. Function flags: count:75162 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  114. Called by: prvTaskIsTaskSuspended/40 (inlined) (75162 (estimated locally),0.21 per call)
  115. Calls:
  116. strcpy/112 (strcpy) @06161000
  117. Type: function
  118. Visibility: external public
  119. References:
  120. Referring:
  121. Availability: not_available
  122. Function flags: optimize_size
  123. Called by: prvWriteNameToBuffer/83 (955630226 (estimated locally),4.33 per call)
  124. Calls:
  125. sprintf/111 (sprintf) @06141ee0
  126. Type: function
  127. Visibility: external public
  128. References:
  129. Referring:
  130. Availability: not_available
  131. Function flags: optimize_size
  132. Called by: vTaskList/84 (955630226 (estimated locally),4.33 per call)
  133. Calls:
  134. strlen/110 (strlen) @060d49a0
  135. Type: function
  136. Visibility: external public
  137. References:
  138. Referring:
  139. Availability: not_available
  140. Function flags: optimize_size
  141. Called by: vTaskList/84 (955630226 (estimated locally),4.33 per call) xTaskGetHandle/52 (160260 (estimated locally),1.00 per call) prvWriteNameToBuffer/83 (955630226 (estimated locally),4.33 per call)
  142. Calls:
  143. vPortEndScheduler/109 (vPortEndScheduler) @060d4000
  144. Type: function
  145. Visibility: external public
  146. References:
  147. Referring:
  148. Availability: not_available
  149. Function flags: optimize_size
  150. Called by: vTaskEndScheduler/44 (1073741824 (estimated locally),1.00 per call)
  151. Calls:
  152. xPortStartScheduler/108 (xPortStartScheduler) @05a9ac40
  153. Type: function
  154. Visibility: external public
  155. References:
  156. Referring:
  157. Availability: not_available
  158. Function flags: optimize_size
  159. Called by: vTaskStartScheduler/43 (80139 (estimated locally),0.20 per call)
  160. Calls:
  161. xTimerCreateTimerTask/107 (xTimerCreateTimerTask) @05a9ab60
  162. Type: function
  163. Visibility: external public
  164. References:
  165. Referring:
  166. Availability: not_available
  167. Function flags: optimize_size
  168. Called by: vTaskStartScheduler/43 (80139 (estimated locally),0.20 per call)
  169. Calls:
  170. vPortValidateInterruptPriority/106 (vPortValidateInterruptPriority) @05a83e00
  171. Type: function
  172. Visibility: external public
  173. References:
  174. Referring:
  175. Availability: not_available
  176. Function flags: optimize_size
  177. 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)
  178. Calls:
  179. vListInsert/105 (vListInsert) @05a837e0
  180. Type: function
  181. Visibility: external public
  182. References:
  183. Referring:
  184. Availability: not_available
  185. Function flags: optimize_size
  186. 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)
  187. Calls:
  188. vListInsertEnd/104 (vListInsertEnd) @05a830e0
  189. Type: function
  190. Visibility: external public
  191. References:
  192. Referring:
  193. Availability: not_available
  194. Function flags: optimize_size
  195. 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)
  196. Calls:
  197. uxListRemove/103 (uxListRemove) @05a83000
  198. Type: function
  199. Visibility: external public
  200. References:
  201. Referring:
  202. Availability: not_available
  203. Function flags: optimize_size
  204. 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 (8687547529 (estimated locally),137133.55 per call)
  205. Calls:
  206. vListInitialise/102 (vListInitialise) @060b4ee0
  207. Type: function
  208. Visibility: external public
  209. References:
  210. Referring:
  211. Availability: not_available
  212. Function flags: optimize_size
  213. Called by: prvInitialiseTaskLists/70 (18640261 (estimated locally),0.02 per call) prvInitialiseTaskLists/70 (18640261 (estimated locally),0.02 per call) prvInitialiseTaskLists/70 (18640261 (estimated locally),0.02 per call) prvInitialiseTaskLists/70 (18640261 (estimated locally),0.02 per call) prvInitialiseTaskLists/70 (18640261 (estimated locally),0.02 per call) prvInitialiseTaskLists/70 (93178941 (estimated locally),0.09 per call)
  214. Calls:
  215. vPortExitCritical/101 (vPortExitCritical) @060b4d20
  216. Type: function
  217. Visibility: external public
  218. References:
  219. Referring:
  220. Availability: not_available
  221. Function flags: optimize_size
  222. 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 (52886 (estimated locally),0.33 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 (8687547529 (estimated locally),137133.55 per call) prvAddNewTaskToReadyList/31 (306987180 (estimated locally),0.29 per call)
  223. Calls:
  224. vPortEnterCritical/100 (vPortEnterCritical) @060b4b60
  225. Type: function
  226. Visibility: external public
  227. References:
  228. Referring:
  229. Availability: not_available
  230. Function flags: optimize_size
  231. 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 (52886 (estimated locally),0.33 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 (8687547529 (estimated locally),137133.55 per call) prvAddNewTaskToReadyList/31 (306987179 (estimated locally),0.29 per call)
  232. Calls:
  233. pxPortInitialiseStack/99 (pxPortInitialiseStack) @060b48c0
  234. Type: function
  235. Visibility: external public
  236. References:
  237. Referring:
  238. Availability: not_available
  239. Function flags: optimize_size
  240. Called by: prvInitialiseNewTask.isra.0/118 (101306152 (estimated locally),0.09 per call)
  241. Calls:
  242. vListInitialiseItem/98 (vListInitialiseItem) @060b47e0
  243. Type: function
  244. Visibility: external public
  245. References:
  246. Referring:
  247. Availability: not_available
  248. Function flags: optimize_size
  249. Called by: prvInitialiseNewTask.isra.0/118 (101306152 (estimated locally),0.09 per call) prvInitialiseNewTask.isra.0/118 (101306152 (estimated locally),0.09 per call)
  250. Calls:
  251. memset/97 (memset) @060b4700
  252. Type: function
  253. Visibility: external public
  254. References:
  255. Referring:
  256. Availability: not_available
  257. Function flags: optimize_size
  258. Called by: prvInitialiseNewTask.isra.0/118 (101306152 (estimated locally),0.09 per call) prvInitialiseNewTask.isra.0/118 (101306152 (estimated locally),0.09 per call) prvInitialiseNewTask.isra.0/118 (306987179 (estimated locally),0.29 per call)
  259. Calls:
  260. vPortFree/96 (vPortFree) @060b4540
  261. Type: function
  262. Visibility: external public
  263. References:
  264. Referring:
  265. Availability: not_available
  266. Function flags: optimize_size
  267. Called by: prvDeleteTCB/179 (8687547529 (estimated locally),137133.55 per call) prvDeleteTCB/179 (8687547529 (estimated locally),137133.55 per call) vTaskList/84 (118111601 (estimated locally),0.53 per call) xTaskCreate/29 (100070816 (estimated locally),0.09 per call) prvDeleteTCB/76 (1002157 (estimated locally),0.70 per call) prvDeleteTCB/76 (1002157 (estimated locally),0.70 per call)
  268. Calls:
  269. pvPortMalloc/95 (pvPortMalloc) @060b4460
  270. Type: function
  271. Visibility: external public
  272. References:
  273. Referring:
  274. Availability: not_available
  275. Function flags: optimize_size
  276. 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)
  277. Calls:
  278. prvAddCurrentTaskToDelayedList/94 (prvAddCurrentTaskToDelayedList) @060b4000
  279. Type: function definition analyzed
  280. Visibility: prevailing_def_ironly
  281. 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)
  282. Referring:
  283. Availability: local
  284. Function flags: count:1073741823 (estimated locally) body local optimize_size
  285. 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)
  286. Calls: vListInsert/105 (445602856 (estimated locally),0.41 per call) vListInsert/105 (445602856 (estimated locally),0.41 per call) prvAddCurrentTaskToDelayedList.part.0/119 (inlined) (182536110 (estimated locally),0.17 per call) uxListRemove/103 (1073741823 (estimated locally),1.00 per call)
  287. ulTaskGenericNotifyValueClear/93 (ulTaskGenericNotifyValueClear) @0607a540
  288. Type: function definition analyzed
  289. Visibility: externally_visible public
  290. References: pxCurrentTCB/7 (read)
  291. Referring:
  292. Availability: available
  293. Function flags: count:1073741824 (estimated locally) body optimize_size
  294. Called by:
  295. Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
  296. xTaskGenericNotifyStateClear/92 (xTaskGenericNotifyStateClear) @0607ad20
  297. Type: function definition analyzed
  298. Visibility: externally_visible public
  299. References: pxCurrentTCB/7 (read)
  300. Referring:
  301. Availability: available
  302. Function flags: count:214748 (estimated locally) body optimize_size
  303. Called by:
  304. Calls: vPortExitCritical/101 (107374 (estimated locally),0.50 per call) vPortEnterCritical/100 (107374 (estimated locally),0.50 per call)
  305. vTaskGenericNotifyGiveFromISR/91 (vTaskGenericNotifyGiveFromISR) @0607a8c0
  306. Type: function definition analyzed
  307. Visibility: externally_visible public
  308. 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)
  309. Referring:
  310. Availability: available
  311. Function flags: count:228942 (estimated locally) body optimize_size
  312. Called by:
  313. Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
  314. xTaskGenericNotifyFromISR/90 (xTaskGenericNotifyFromISR) @0607a460
  315. Type: function definition analyzed
  316. Visibility: externally_visible public
  317. 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)
  318. Referring:
  319. Availability: available
  320. Function flags: count:228942 (estimated locally) body optimize_size
  321. Called by:
  322. Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
  323. xTaskGenericNotify/89 (xTaskGenericNotify) @0606ce00
  324. Type: function definition analyzed
  325. Visibility: externally_visible public
  326. 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)
  327. Referring:
  328. Availability: available
  329. Function flags: count:214748 (estimated locally) body optimize_size
  330. Called by:
  331. Calls: vPortExitCritical/101 (33803 (estimated locally),0.16 per call) vPortEnterCritical/100 (57413 (estimated locally),0.27 per call)
  332. xTaskGenericNotifyWait/88 (xTaskGenericNotifyWait) @0606cd20
  333. Type: function definition analyzed
  334. Visibility: externally_visible public
  335. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  336. Referring:
  337. Availability: available
  338. Function flags: count:160260 (estimated locally) body optimize_size
  339. Called by:
  340. 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)
  341. ulTaskGenericNotifyTake/87 (ulTaskGenericNotifyTake) @0606c8c0
  342. Type: function definition analyzed
  343. Visibility: externally_visible public
  344. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  345. Referring:
  346. Availability: available
  347. Function flags: count:160260 (estimated locally) body optimize_size
  348. Called by:
  349. 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)
  350. pvTaskIncrementMutexHeldCount/86 (pvTaskIncrementMutexHeldCount) @0606c460
  351. Type: function definition analyzed
  352. Visibility: externally_visible public
  353. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  354. Referring:
  355. Availability: available
  356. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  357. Called by:
  358. Calls:
  359. uxTaskResetEventItemValue/85 (uxTaskResetEventItemValue) @0606c1c0
  360. Type: function definition analyzed
  361. Visibility: externally_visible public
  362. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  363. Referring:
  364. Availability: available
  365. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  366. Called by:
  367. Calls:
  368. vTaskList/84 (vTaskList) @0604fc40
  369. Type: function definition analyzed
  370. Visibility: externally_visible public
  371. References: uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (read)CSWTCH.225/163 (read)
  372. Referring:
  373. Availability: available
  374. Function flags: count:220893212 (estimated locally) body optimize_size
  375. Called by:
  376. 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 (inlined) (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)
  377. prvWriteNameToBuffer/83 (prvWriteNameToBuffer) @0604f540
  378. Type: function definition analyzed
  379. Visibility: prevailing_def_ironly
  380. References:
  381. Referring:
  382. Function prvWriteNameToBuffer/83 is inline copy in vTaskList/84
  383. Availability: local
  384. Function flags: count:955630226 (estimated locally) body local optimize_size
  385. Called by: vTaskList/84 (inlined) (955630226 (estimated locally),4.33 per call)
  386. Calls: strlen/110 (955630226 (estimated locally),4.33 per call) strcpy/112 (955630226 (estimated locally),4.33 per call)
  387. vTaskPriorityDisinheritAfterTimeout/82 (vTaskPriorityDisinheritAfterTimeout) @0604f000
  388. Type: function definition analyzed
  389. Visibility: externally_visible public
  390. 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)
  391. Referring:
  392. Availability: available
  393. Function flags: count:306783 (estimated locally) body optimize_size
  394. Called by:
  395. Calls: uxListRemove/103 (2940 (estimated locally),0.01 per call)
  396. xTaskPriorityDisinherit/81 (xTaskPriorityDisinherit) @0604fb60
  397. Type: function definition analyzed
  398. Visibility: externally_visible public
  399. References: pxCurrentTCB/7 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)
  400. Referring:
  401. Availability: available
  402. Function flags: count:219131 (estimated locally) body optimize_size
  403. Called by:
  404. Calls: uxListRemove/103 (5011 (estimated locally),0.02 per call)
  405. xTaskPriorityInherit/80 (xTaskPriorityInherit) @0604f700
  406. Type: function definition analyzed
  407. Visibility: externally_visible public
  408. 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)
  409. Referring:
  410. Availability: available
  411. Function flags: count:1073741824 (estimated locally) body optimize_size
  412. Called by:
  413. Calls: uxListRemove/103 (65503620 (estimated locally),0.06 per call)
  414. xTaskGetSchedulerState/79 (xTaskGetSchedulerState) @0604f460
  415. Type: function definition analyzed
  416. Visibility: externally_visible public
  417. References: xSchedulerRunning/20 (read)uxSchedulerSuspended/28 (read)
  418. Referring:
  419. Availability: available
  420. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  421. Called by:
  422. Calls:
  423. xTaskGetCurrentTaskHandle/78 (xTaskGetCurrentTaskHandle) @0604f1c0
  424. Type: function definition analyzed
  425. Visibility: externally_visible public
  426. References: pxCurrentTCB/7 (read)
  427. Referring:
  428. Availability: available
  429. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  430. Called by:
  431. Calls:
  432. prvResetNextTaskUnblockTime/77 (prvResetNextTaskUnblockTime) @06043c40
  433. Type: function definition analyzed
  434. Visibility: prevailing_def_ironly
  435. References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
  436. Referring:
  437. Availability: local
  438. Function flags: count:1073741824 (estimated locally) body local nonfreeing_fn optimize_size
  439. Called by: vTaskSuspend/39 (472446 (estimated locally),0.33 per call) xTaskResumeAll.part.0/137 (7070 (estimated locally),0.04 per call) xTaskIncrementTick.part.0/135 (52886 (estimated locally),0.08 per call) vTaskDelete/32 (1002157 (estimated locally),0.70 per call)
  440. Calls: prvResetNextTaskUnblockTime.part.0/115 (inlined) (536870912 (estimated locally),0.50 per call)
  441. prvDeleteTCB/76 (prvDeleteTCB) @06043380
  442. Type: function definition analyzed
  443. Visibility: prevailing_def_ironly
  444. previous sharing asm name: 179
  445. References:
  446. Referring:
  447. Function prvDeleteTCB/76 is inline copy in vTaskDelete/32
  448. Availability: local
  449. Function flags: count:1002157 (estimated locally) body local optimize_size
  450. Called by: vTaskDelete/32 (inlined) (1002157 (estimated locally),0.70 per call)
  451. Calls: vPortFree/96 (1002157 (estimated locally),0.70 per call) vPortFree/96 (1002157 (estimated locally),0.70 per call)
  452. uxTaskGetStackHighWaterMark/75 (uxTaskGetStackHighWaterMark) @06043ee0
  453. Type: function definition analyzed
  454. Visibility: externally_visible public
  455. References: pxCurrentTCB/7 (read)
  456. Referring:
  457. Availability: available
  458. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  459. Called by:
  460. Calls: prvTaskCheckFreeStackSpace/180 (inlined) (1073741824 (estimated locally),1.00 per call)
  461. prvTaskCheckFreeStackSpace/74 (prvTaskCheckFreeStackSpace) @06043b60
  462. Type: function definition analyzed
  463. Visibility: prevailing_def_ironly
  464. previous sharing asm name: 180
  465. References:
  466. Referring:
  467. Function prvTaskCheckFreeStackSpace/74 is inline copy in vTaskGetInfo/72
  468. Availability: local
  469. Function flags: count:354334802 (estimated locally) body local nonfreeing_fn optimize_size
  470. Called by: vTaskGetInfo/72 (inlined) (354334802 (estimated locally),0.33 per call)
  471. Calls:
  472. prvListTasksWithinSingleList/73 (prvListTasksWithinSingleList) @060438c0
  473. Type: function definition analyzed
  474. Visibility: prevailing_def_ironly
  475. References:
  476. Referring:
  477. Availability: local
  478. Function flags: count:236223200 (estimated locally) body local optimize_size
  479. 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)
  480. Calls: prvListTasksWithinSingleList.part.0/158 (inlined) (118111600 (estimated locally),0.50 per call)
  481. vTaskGetInfo/72 (vTaskGetInfo) @06043620
  482. Type: function definition analyzed
  483. Visibility: externally_visible public
  484. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  485. Referring:
  486. Availability: available
  487. Function flags: count:1073741823 (estimated locally) body optimize_size
  488. Called by: prvListTasksWithinSingleList.part.0/158 (1073741824 (estimated locally),4.55 per call)
  489. Calls: prvTaskCheckFreeStackSpace/74 (inlined) (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)
  490. prvCheckTasksWaitingTermination/71 (prvCheckTasksWaitingTermination) @060432a0
  491. Type: function definition analyzed
  492. Visibility: prevailing_def_ironly
  493. References: xTasksWaitingTermination/14 (read)uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (write)uxDeletedTasksWaitingCleanUp/15 (read)uxDeletedTasksWaitingCleanUp/15 (write)uxDeletedTasksWaitingCleanUp/15 (read)
  494. Referring:
  495. Function prvCheckTasksWaitingTermination/71 is inline copy in prvIdleTask/69
  496. Availability: local
  497. Function flags: count:1073741824 (estimated locally) body local optimize_size
  498. Called by: prvIdleTask/69 (inlined) (1073741824 (estimated locally),16949.09 per call)
  499. Calls: prvDeleteTCB/179 (inlined) (8687547529 (estimated locally),137133.55 per call) vPortExitCritical/101 (8687547529 (estimated locally),137133.55 per call) uxListRemove/103 (8687547529 (estimated locally),137133.55 per call) vPortEnterCritical/100 (8687547529 (estimated locally),137133.55 per call)
  500. prvInitialiseTaskLists/70 (prvInitialiseTaskLists) @0603fee0
  501. Type: function definition analyzed
  502. Visibility: prevailing_def_ironly
  503. 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)
  504. Referring:
  505. Function prvInitialiseTaskLists/70 is inline copy in xTaskCreate/29
  506. Availability: local
  507. Function flags: count:18640261 (estimated locally) body local optimize_size
  508. Called by: prvAddNewTaskToReadyList/31 (inlined) (18640261 (estimated locally),0.02 per call)
  509. Calls: vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (93178941 (estimated locally),0.09 per call)
  510. prvIdleTask/69 (prvIdleTask) @0603f9a0
  511. Type: function definition analyzed
  512. Visibility: prevailing_def_ironly
  513. Address is taken.
  514. References: pxReadyTasksLists/8 (read)
  515. Referring: vTaskStartScheduler/43 (addr)
  516. Availability: available
  517. Function flags: count:63351 (estimated locally) body executed_once optimize_size
  518. Called by:
  519. Calls: prvCheckTasksWaitingTermination/71 (inlined) (1073741824 (estimated locally),16949.09 per call)
  520. vTaskSetTaskNumber/68 (vTaskSetTaskNumber) @0603fe00
  521. Type: function definition analyzed
  522. Visibility: externally_visible public
  523. References:
  524. Referring:
  525. Availability: available
  526. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  527. Called by:
  528. Calls:
  529. uxTaskGetTaskNumber/67 (uxTaskGetTaskNumber) @0603fb60
  530. Type: function definition analyzed
  531. Visibility: externally_visible public
  532. References:
  533. Referring:
  534. Availability: available
  535. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  536. Called by:
  537. Calls:
  538. vTaskMissedYield/66 (vTaskMissedYield) @0603f8c0
  539. Type: function definition analyzed
  540. Visibility: externally_visible public
  541. References: xYieldPending/22 (write)
  542. Referring:
  543. Availability: available
  544. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  545. Called by:
  546. Calls:
  547. xTaskCheckForTimeOut/65 (xTaskCheckForTimeOut) @0603f620
  548. Type: function definition analyzed
  549. Visibility: externally_visible public
  550. References: xTickCount/18 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)xNumOfOverflows/23 (read)
  551. Referring:
  552. Availability: available
  553. Function flags: count:329661 (estimated locally) body optimize_size
  554. Called by:
  555. 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)
  556. vTaskInternalSetTimeOutState/64 (vTaskInternalSetTimeOutState) @0603f1c0
  557. Type: function definition analyzed
  558. Visibility: externally_visible public
  559. References: xNumOfOverflows/23 (read)xTickCount/18 (read)
  560. Referring:
  561. Availability: available
  562. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  563. Called by: xTaskCheckForTimeOut/65 (9003 (estimated locally),0.03 per call)
  564. Calls:
  565. vTaskSetTimeOutState/63 (vTaskSetTimeOutState) @05f9ab60
  566. Type: function definition analyzed
  567. Visibility: externally_visible public
  568. References: xNumOfOverflows/23 (read)xTickCount/18 (read)
  569. Referring:
  570. Availability: available
  571. Function flags: count:230763 (estimated locally) body optimize_size
  572. Called by:
  573. Calls: vPortExitCritical/101 (123389 (estimated locally),0.53 per call) vPortEnterCritical/100 (123389 (estimated locally),0.53 per call)
  574. vTaskRemoveFromUnorderedEventList/62 (vTaskRemoveFromUnorderedEventList) @05f9aee0
  575. Type: function definition analyzed
  576. Visibility: externally_visible public
  577. 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)
  578. Referring:
  579. Availability: available
  580. Function flags: count:214748 (estimated locally) body optimize_size
  581. Called by:
  582. Calls:
  583. xTaskRemoveFromEventList/61 (xTaskRemoveFromEventList) @05f9aa80
  584. Type: function definition analyzed
  585. Visibility: externally_visible public
  586. 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)
  587. Referring:
  588. Availability: available
  589. Function flags: count:357913 (estimated locally) body optimize_size
  590. Called by:
  591. Calls:
  592. vTaskPlaceOnEventListRestricted/60 (vTaskPlaceOnEventListRestricted) @05f9a620
  593. Type: function definition analyzed
  594. Visibility: externally_visible public
  595. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  596. Referring:
  597. Availability: available
  598. Function flags: count:357913 (estimated locally) body optimize_size
  599. Called by:
  600. Calls: prvAddCurrentTaskToDelayedList/94 (250539 (estimated locally),0.70 per call)
  601. vTaskPlaceOnUnorderedEventList/59 (vTaskPlaceOnUnorderedEventList) @05f9a2a0
  602. Type: function definition analyzed
  603. Visibility: externally_visible public
  604. References: uxSchedulerSuspended/28 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  605. Referring:
  606. Availability: available
  607. Function flags: count:228942 (estimated locally) body optimize_size
  608. Called by:
  609. Calls: prvAddCurrentTaskToDelayedList/94 (52886 (estimated locally),0.23 per call)
  610. vTaskPlaceOnEventList/58 (vTaskPlaceOnEventList) @05f8aa80
  611. Type: function definition analyzed
  612. Visibility: externally_visible public
  613. References: pxCurrentTCB/7 (read)
  614. Referring:
  615. Availability: available
  616. Function flags: count:230763 (estimated locally) body optimize_size
  617. Called by:
  618. Calls: prvAddCurrentTaskToDelayedList/94 (123389 (estimated locally),0.53 per call) vListInsert/105 (123389 (estimated locally),0.53 per call)
  619. vTaskSwitchContext/57 (vTaskSwitchContext) @05f8ae00
  620. Type: function definition analyzed
  621. Visibility: force_output externally_visible public
  622. 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)
  623. Referring:
  624. Availability: available
  625. Function flags: count:441995 (estimated locally) body optimize_size
  626. Called by: vTaskSuspend/39 (104969 (estimated locally),0.07 per call)
  627. Calls: vTaskSwitchContext.part.0/146 (inlined) (107374 (estimated locally),0.24 per call)
  628. xTaskIncrementTick/56 (xTaskIncrementTick) @05f8a9a0
  629. Type: function definition analyzed
  630. Visibility: externally_visible public
  631. References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
  632. Referring:
  633. Availability: available
  634. Function flags: count:641039 (estimated locally) body optimize_size
  635. Called by: xTaskResumeAll.part.0/137 (60098 (estimated locally),0.38 per call)
  636. Calls: xTaskIncrementTick.part.0/135 (inlined) (320520 (estimated locally),0.50 per call)
  637. xTaskAbortDelay/55 (xTaskAbortDelay) @05f8a380
  638. Type: function definition analyzed
  639. Visibility: externally_visible public
  640. 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)
  641. Referring:
  642. Availability: available
  643. Function flags: count:230763 (estimated locally) body optimize_size
  644. Called by:
  645. 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)
  646. xTaskCatchUpTicks/54 (xTaskCatchUpTicks) @05f8a000
  647. Type: function definition analyzed
  648. Visibility: externally_visible public
  649. References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
  650. Referring:
  651. Availability: available
  652. Function flags: count:160260 (estimated locally) body optimize_size
  653. Called by:
  654. Calls: xTaskResumeAll/46 (52886 (estimated locally),0.33 per call) vTaskSuspendAll/45 (52886 (estimated locally),0.33 per call)
  655. uxTaskGetSystemState/53 (uxTaskGetSystemState) @05f7f7e0
  656. Type: function definition analyzed
  657. Visibility: externally_visible public
  658. References: uxCurrentNumberOfTasks/17 (read)pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xTasksWaitingTermination/14 (addr)xSuspendedTaskList/16 (addr)
  659. Referring:
  660. Availability: available
  661. Function flags: count:429496728 (estimated locally) body optimize_size
  662. Called by: vTaskList/84 (118111600 (estimated locally),0.53 per call)
  663. 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)
  664. xTaskGetHandle/52 (xTaskGetHandle) @05f7f2a0
  665. Type: function definition analyzed
  666. Visibility: externally_visible public
  667. References: pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
  668. Referring:
  669. Availability: available
  670. Function flags: count:160260 (estimated locally) body optimize_size
  671. Called by:
  672. 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)
  673. prvSearchForNameWithinSingleList/51 (prvSearchForNameWithinSingleList) @05f7fe00
  674. Type: function definition analyzed
  675. Visibility: prevailing_def_ironly
  676. References:
  677. Referring:
  678. Availability: local
  679. Function flags: count:25274560 (estimated locally) body local nonfreeing_fn optimize_size
  680. 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)
  681. Calls:
  682. pcTaskGetName/50 (pcTaskGetName) @05f7fb60
  683. Type: function definition analyzed
  684. Visibility: externally_visible public
  685. References: pxCurrentTCB/7 (read)
  686. Referring:
  687. Availability: available
  688. Function flags: count:357913 (estimated locally) body optimize_size
  689. Called by:
  690. Calls:
  691. uxTaskGetNumberOfTasks/49 (uxTaskGetNumberOfTasks) @05f7f700
  692. Type: function definition analyzed
  693. Visibility: externally_visible public
  694. References: uxCurrentNumberOfTasks/17 (read)
  695. Referring:
  696. Availability: available
  697. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  698. Called by:
  699. Calls:
  700. xTaskGetTickCountFromISR/48 (xTaskGetTickCountFromISR) @05f7f460
  701. Type: function definition analyzed
  702. Visibility: externally_visible public
  703. References: xTickCount/18 (read)
  704. Referring:
  705. Availability: available
  706. Function flags: count:1073741824 (estimated locally) body optimize_size
  707. Called by:
  708. Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
  709. xTaskGetTickCount/47 (xTaskGetTickCount) @05f7f1c0
  710. Type: function definition analyzed
  711. Visibility: externally_visible public
  712. References: xTickCount/18 (read)
  713. Referring:
  714. Availability: available
  715. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  716. Called by:
  717. Calls:
  718. xTaskResumeAll/46 (xTaskResumeAll) @05f6ce00
  719. Type: function definition analyzed
  720. Visibility: externally_visible public
  721. References: uxSchedulerSuspended/28 (read)
  722. Referring:
  723. Availability: available
  724. Function flags: count:160260 (estimated locally) body optimize_size
  725. 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)
  726. Calls: xTaskResumeAll.part.0/137 (inlined) (52886 (estimated locally),0.33 per call)
  727. vTaskSuspendAll/45 (vTaskSuspendAll) @05f6cd20
  728. Type: function definition analyzed
  729. Visibility: externally_visible public
  730. References: uxSchedulerSuspended/28 (read)uxSchedulerSuspended/28 (write)
  731. Referring:
  732. Availability: available
  733. Function flags: count:1073741824 (estimated locally) body optimize_size
  734. 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)
  735. Calls:
  736. vTaskEndScheduler/44 (vTaskEndScheduler) @05f6ca80
  737. Type: function definition analyzed
  738. Visibility: externally_visible public
  739. References: xSchedulerRunning/20 (write)
  740. Referring:
  741. Availability: available
  742. Function flags: count:1073741824 (estimated locally) body optimize_size
  743. Called by:
  744. Calls: vPortEndScheduler/109 (1073741824 (estimated locally),1.00 per call)
  745. vTaskStartScheduler/43 (vTaskStartScheduler) @05f6c7e0
  746. Type: function definition analyzed
  747. Visibility: externally_visible public
  748. References: prvIdleTask/69 (addr)xIdleTaskHandle/26 (addr)xNextTaskUnblockTime/25 (write)xSchedulerRunning/20 (write)xTickCount/18 (write)uxTopUsedPriority/27 (read)
  749. Referring:
  750. Availability: available
  751. Function flags: count:395945 (estimated locally) body optimize_size
  752. Called by:
  753. 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)
  754. xTaskResumeFromISR/42 (xTaskResumeFromISR) @05f6c540
  755. Type: function definition analyzed
  756. Visibility: externally_visible public
  757. 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)
  758. Referring:
  759. Availability: available
  760. Function flags: count:230763 (estimated locally) body optimize_size
  761. Called by:
  762. 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)
  763. vTaskResume/41 (vTaskResume) @05f6c1c0
  764. Type: function definition analyzed
  765. Visibility: externally_visible public
  766. 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)
  767. Referring:
  768. Availability: available
  769. Function flags: count:357913 (estimated locally) body optimize_size
  770. Called by:
  771. 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)
  772. prvTaskIsTaskSuspended/40 (prvTaskIsTaskSuspended) @05f5d9a0
  773. Type: function definition analyzed
  774. Visibility: prevailing_def_ironly
  775. References: xSuspendedTaskList/16 (addr)
  776. Referring:
  777. Availability: local
  778. Function flags: count:357913 (estimated locally) body local optimize_size
  779. Called by: xTaskResumeFromISR/42 (123389 (estimated locally),0.53 per call) vTaskResume/41 (133963 (estimated locally),0.37 per call)
  780. Calls: prvTaskIsTaskSuspended.part.0/114 (inlined) (75162 (estimated locally),0.21 per call)
  781. vTaskSuspend/39 (vTaskSuspend) @05f5de00
  782. Type: function definition analyzed
  783. Visibility: externally_visible public
  784. 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)
  785. Referring:
  786. Availability: available
  787. Function flags: count:1431653 (estimated locally) body optimize_size
  788. Called by:
  789. 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)
  790. vTaskPrioritySet/38 (vTaskPrioritySet) @05f5d8c0
  791. Type: function definition analyzed
  792. Visibility: externally_visible public
  793. 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)
  794. Referring:
  795. Availability: available
  796. Function flags: count:160260 (estimated locally) body optimize_size
  797. Called by:
  798. 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)
  799. uxTaskPriorityGetFromISR/37 (uxTaskPriorityGetFromISR) @05f5d380
  800. Type: function definition analyzed
  801. Visibility: externally_visible public
  802. References: pxCurrentTCB/7 (read)
  803. Referring:
  804. Availability: available
  805. Function flags: count:1073741824 (estimated locally) body optimize_size
  806. Called by:
  807. Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
  808. uxTaskPriorityGet/36 (uxTaskPriorityGet) @05f5d000
  809. Type: function definition analyzed
  810. Visibility: externally_visible public
  811. References: pxCurrentTCB/7 (read)
  812. Referring:
  813. Availability: available
  814. Function flags: count:1073741824 (estimated locally) body optimize_size
  815. Called by:
  816. Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
  817. eTaskGetState/35 (eTaskGetState) @05f482a0
  818. Type: function definition analyzed
  819. Visibility: externally_visible public
  820. References: pxCurrentTCB/7 (read)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
  821. Referring:
  822. Availability: available
  823. Function flags: count:357913 (estimated locally) body optimize_size
  824. Called by: vTaskGetInfo/72 (217325345 (estimated locally),0.20 per call) xTaskAbortDelay/55 (123389 (estimated locally),0.53 per call)
  825. Calls: eTaskGetState.part.0/122 (inlined) (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)
  826. vTaskDelay/34 (vTaskDelay) @05f48c40
  827. Type: function definition analyzed
  828. Visibility: externally_visible public
  829. References: uxSchedulerSuspended/28 (read)
  830. Referring:
  831. Availability: available
  832. Function flags: count:320519 (estimated locally) body optimize_size
  833. Called by:
  834. 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)
  835. xTaskDelayUntil/33 (xTaskDelayUntil) @05f487e0
  836. Type: function definition analyzed
  837. Visibility: externally_visible public
  838. References: uxSchedulerSuspended/28 (read)xTickCount/18 (read)
  839. Referring:
  840. Availability: available
  841. Function flags: count:306783 (estimated locally) body optimize_size
  842. Called by:
  843. 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)
  844. vTaskDelete/32 (vTaskDelete) @05f481c0
  845. Type: function definition analyzed
  846. Visibility: externally_visible public
  847. 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)
  848. Referring:
  849. Availability: available
  850. Function flags: count:1431653 (estimated locally) body optimize_size
  851. Called by:
  852. Calls: vPortExitCritical/101 (1431653 (estimated locally),1.00 per call) prvResetNextTaskUnblockTime/77 (1002157 (estimated locally),0.70 per call) prvDeleteTCB/76 (inlined) (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)
  853. prvAddNewTaskToReadyList/31 (prvAddNewTaskToReadyList) @05f36540
  854. Type: function definition analyzed
  855. Visibility: prevailing_def_ironly
  856. 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)
  857. Referring:
  858. Function prvAddNewTaskToReadyList/31 is inline copy in xTaskCreate/29
  859. Availability: local
  860. Function flags: count:306987179 (estimated locally) body local optimize_size
  861. Called by: xTaskCreate/29 (inlined) (306987179 (estimated locally),0.29 per call)
  862. Calls: vPortExitCritical/101 (306987180 (estimated locally),0.29 per call) prvInitialiseTaskLists/70 (inlined) (18640261 (estimated locally),0.02 per call) vPortEnterCritical/100 (306987179 (estimated locally),0.29 per call)
  863. xTaskCreate/29 (xTaskCreate) @05f36700
  864. Type: function definition analyzed
  865. Visibility: externally_visible public
  866. References:
  867. Referring:
  868. Availability: available
  869. Function flags: count:1073741824 (estimated locally) body optimize_size
  870. Called by: vTaskStartScheduler/43 (395945 (estimated locally),1.00 per call)
  871. Calls: prvAddNewTaskToReadyList/31 (inlined) (306987179 (estimated locally),0.29 per call) prvInitialiseNewTask.isra.0/118 (inlined) (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)
  872. Clearing variable flags:
  873. Promotable global:uxTaskNumber (uid=6933)
  874. Function name:prvTaskCheckFreeStackSpace/180:
  875. locals read:
  876. locals written:
  877. Function name:prvDeleteTCB/179:
  878. locals read:
  879. locals written:
  880. Function name:prvListTasksWithinSingleList.part.0/158:
  881. locals read:
  882. locals written:
  883. Function name:vTaskSwitchContext.part.0/146:
  884. locals read:
  885. locals written:
  886. Function name:xTaskResumeAll.part.0/137:
  887. locals read:
  888. locals written:
  889. Function name:xTaskIncrementTick.part.0/135:
  890. locals read:
  891. locals written:
  892. Function name:eTaskGetState.part.0/122:
  893. locals read:
  894. locals written:
  895. Function name:prvAddCurrentTaskToDelayedList.part.0/119:
  896. locals read:
  897. locals written:
  898. Function name:prvInitialiseNewTask.isra.0/118:
  899. locals read:
  900. locals written:
  901. Function name:prvResetNextTaskUnblockTime.part.0/115:
  902. locals read:
  903. locals written:
  904. Function name:prvTaskIsTaskSuspended.part.0/114:
  905. locals read:
  906. locals written:
  907. Function name:prvAddCurrentTaskToDelayedList/94:
  908. locals read:
  909. locals written:
  910. Function name:ulTaskGenericNotifyValueClear/93:
  911. locals read:
  912. locals written:
  913. Function name:xTaskGenericNotifyStateClear/92:
  914. locals read:
  915. locals written:
  916. Function name:vTaskGenericNotifyGiveFromISR/91:
  917. locals read:
  918. locals written:
  919. Function name:xTaskGenericNotifyFromISR/90:
  920. locals read:
  921. locals written:
  922. Function name:xTaskGenericNotify/89:
  923. locals read:
  924. locals written:
  925. Function name:xTaskGenericNotifyWait/88:
  926. locals read:
  927. locals written:
  928. Function name:ulTaskGenericNotifyTake/87:
  929. locals read:
  930. locals written:
  931. Function name:pvTaskIncrementMutexHeldCount/86:
  932. locals read:
  933. locals written:
  934. Function name:uxTaskResetEventItemValue/85:
  935. locals read:
  936. locals written:
  937. Function name:vTaskList/84:
  938. locals read:
  939. locals written:
  940. Function name:prvWriteNameToBuffer/83:
  941. locals read:
  942. locals written:
  943. Function name:vTaskPriorityDisinheritAfterTimeout/82:
  944. locals read:
  945. locals written:
  946. Function name:xTaskPriorityDisinherit/81:
  947. locals read:
  948. locals written:
  949. Function name:xTaskPriorityInherit/80:
  950. locals read:
  951. locals written:
  952. Function name:xTaskGetSchedulerState/79:
  953. locals read:
  954. locals written:
  955. Function name:xTaskGetCurrentTaskHandle/78:
  956. locals read:
  957. locals written:
  958. Function name:prvResetNextTaskUnblockTime/77:
  959. locals read:
  960. locals written:
  961. Function name:prvDeleteTCB/76:
  962. locals read:
  963. locals written:
  964. Function name:uxTaskGetStackHighWaterMark/75:
  965. locals read:
  966. locals written:
  967. Function name:prvTaskCheckFreeStackSpace/74:
  968. locals read:
  969. locals written:
  970. Function name:prvListTasksWithinSingleList/73:
  971. locals read:
  972. locals written:
  973. Function name:vTaskGetInfo/72:
  974. locals read:
  975. locals written:
  976. Function name:prvCheckTasksWaitingTermination/71:
  977. locals read:
  978. locals written:
  979. Function name:prvInitialiseTaskLists/70:
  980. locals read:
  981. locals written:
  982. Function name:prvIdleTask/69:
  983. locals read:
  984. locals written:
  985. Function name:vTaskSetTaskNumber/68:
  986. locals read:
  987. locals written:
  988. Function name:uxTaskGetTaskNumber/67:
  989. locals read:
  990. locals written:
  991. Function name:vTaskMissedYield/66:
  992. locals read:
  993. locals written:
  994. Function name:xTaskCheckForTimeOut/65:
  995. locals read:
  996. locals written:
  997. Function name:vTaskInternalSetTimeOutState/64:
  998. locals read:
  999. locals written:
  1000. Function name:vTaskSetTimeOutState/63:
  1001. locals read:
  1002. locals written:
  1003. Function name:vTaskRemoveFromUnorderedEventList/62:
  1004. locals read:
  1005. locals written:
  1006. Function name:xTaskRemoveFromEventList/61:
  1007. locals read:
  1008. locals written:
  1009. Function name:vTaskPlaceOnEventListRestricted/60:
  1010. locals read:
  1011. locals written:
  1012. Function name:vTaskPlaceOnUnorderedEventList/59:
  1013. locals read:
  1014. locals written:
  1015. Function name:vTaskPlaceOnEventList/58:
  1016. locals read:
  1017. locals written:
  1018. Function name:vTaskSwitchContext/57:
  1019. locals read:
  1020. locals written:
  1021. Function name:xTaskIncrementTick/56:
  1022. locals read:
  1023. locals written:
  1024. Function name:xTaskAbortDelay/55:
  1025. locals read:
  1026. locals written:
  1027. Function name:xTaskCatchUpTicks/54:
  1028. locals read:
  1029. locals written:
  1030. Function name:uxTaskGetSystemState/53:
  1031. locals read:
  1032. locals written:
  1033. Function name:xTaskGetHandle/52:
  1034. locals read:
  1035. locals written:
  1036. Function name:prvSearchForNameWithinSingleList/51:
  1037. locals read:
  1038. locals written:
  1039. Function name:pcTaskGetName/50:
  1040. locals read:
  1041. locals written:
  1042. Function name:uxTaskGetNumberOfTasks/49:
  1043. locals read:
  1044. locals written:
  1045. Function name:xTaskGetTickCountFromISR/48:
  1046. locals read:
  1047. locals written:
  1048. Function name:xTaskGetTickCount/47:
  1049. locals read:
  1050. locals written:
  1051. Function name:xTaskResumeAll/46:
  1052. locals read:
  1053. locals written:
  1054. Function name:vTaskSuspendAll/45:
  1055. locals read:
  1056. locals written:
  1057. Function name:vTaskEndScheduler/44:
  1058. locals read:
  1059. locals written:
  1060. Function name:vTaskStartScheduler/43:
  1061. locals read:
  1062. locals written:
  1063. Function name:xTaskResumeFromISR/42:
  1064. locals read:
  1065. locals written:
  1066. Function name:vTaskResume/41:
  1067. locals read:
  1068. locals written:
  1069. Function name:prvTaskIsTaskSuspended/40:
  1070. locals read:
  1071. locals written:
  1072. Function name:vTaskSuspend/39:
  1073. locals read:
  1074. locals written:
  1075. Function name:vTaskPrioritySet/38:
  1076. locals read:
  1077. locals written:
  1078. Function name:uxTaskPriorityGetFromISR/37:
  1079. locals read:
  1080. locals written:
  1081. Function name:uxTaskPriorityGet/36:
  1082. locals read:
  1083. locals written:
  1084. Function name:eTaskGetState/35:
  1085. locals read:
  1086. locals written:
  1087. Function name:vTaskDelay/34:
  1088. locals read:
  1089. locals written:
  1090. Function name:xTaskDelayUntil/33:
  1091. locals read:
  1092. locals written:
  1093. Function name:vTaskDelete/32:
  1094. locals read: uxTaskNumber
  1095. locals written: uxTaskNumber
  1096. Function name:prvAddNewTaskToReadyList/31:
  1097. locals read: uxTaskNumber
  1098. locals written: uxTaskNumber
  1099. Function name:xTaskCreate/29:
  1100. locals read:
  1101. locals written:
  1102. ordered call graph: reduced
  1103. ulTaskGenericNotifyValueClear/93 (ulTaskGenericNotifyValueClear) @0607a540
  1104. Type: function definition analyzed
  1105. Visibility: externally_visible public
  1106. Aux: @064096b0
  1107. References: pxCurrentTCB/7 (read)
  1108. Referring:
  1109. Availability: available
  1110. Function flags: count:1073741824 (estimated locally) body optimize_size
  1111. Called by:
  1112. Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
  1113. xTaskGenericNotifyStateClear/92 (xTaskGenericNotifyStateClear) @0607ad20
  1114. Type: function definition analyzed
  1115. Visibility: externally_visible public
  1116. Aux: @06409650
  1117. References: pxCurrentTCB/7 (read)
  1118. Referring:
  1119. Availability: available
  1120. Function flags: count:214748 (estimated locally) body optimize_size
  1121. Called by:
  1122. Calls: vPortExitCritical/101 (107374 (estimated locally),0.50 per call) vPortEnterCritical/100 (107374 (estimated locally),0.50 per call)
  1123. vTaskGenericNotifyGiveFromISR/91 (vTaskGenericNotifyGiveFromISR) @0607a8c0
  1124. Type: function definition analyzed
  1125. Visibility: externally_visible public
  1126. Aux: @064096d0
  1127. 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)
  1128. Referring:
  1129. Availability: available
  1130. Function flags: count:228942 (estimated locally) body optimize_size
  1131. Called by:
  1132. Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
  1133. xTaskGenericNotifyFromISR/90 (xTaskGenericNotifyFromISR) @0607a460
  1134. Type: function definition analyzed
  1135. Visibility: externally_visible public
  1136. Aux: @064096f0
  1137. 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)
  1138. Referring:
  1139. Availability: available
  1140. Function flags: count:228942 (estimated locally) body optimize_size
  1141. Called by:
  1142. Calls: vPortValidateInterruptPriority/106 (52886 (estimated locally),0.23 per call)
  1143. xTaskGenericNotify/89 (xTaskGenericNotify) @0606ce00
  1144. Type: function definition analyzed
  1145. Visibility: externally_visible public
  1146. Aux: @064094b0
  1147. 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)
  1148. Referring:
  1149. Availability: available
  1150. Function flags: count:214748 (estimated locally) body optimize_size
  1151. Called by:
  1152. Calls: vPortExitCritical/101 (33803 (estimated locally),0.16 per call) vPortEnterCritical/100 (57413 (estimated locally),0.27 per call)
  1153. xTaskGenericNotifyWait/88 (xTaskGenericNotifyWait) @0606cd20
  1154. Type: function definition analyzed
  1155. Visibility: externally_visible public
  1156. Aux: @064095b0
  1157. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1158. Referring:
  1159. Availability: available
  1160. Function flags: count:160260 (estimated locally) body optimize_size
  1161. Called by:
  1162. 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)
  1163. ulTaskGenericNotifyTake/87 (ulTaskGenericNotifyTake) @0606c8c0
  1164. Type: function definition analyzed
  1165. Visibility: externally_visible public
  1166. Aux: @06409770
  1167. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1168. Referring:
  1169. Availability: available
  1170. Function flags: count:160260 (estimated locally) body optimize_size
  1171. Called by:
  1172. 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)
  1173. pvTaskIncrementMutexHeldCount/86 (pvTaskIncrementMutexHeldCount) @0606c460
  1174. Type: function definition analyzed
  1175. Visibility: externally_visible public
  1176. Aux: @06409730
  1177. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1178. Referring:
  1179. Availability: available
  1180. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1181. Called by:
  1182. Calls:
  1183. uxTaskResetEventItemValue/85 (uxTaskResetEventItemValue) @0606c1c0
  1184. Type: function definition analyzed
  1185. Visibility: externally_visible public
  1186. Aux: @06409710
  1187. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1188. Referring:
  1189. Availability: available
  1190. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1191. Called by:
  1192. Calls:
  1193. vTaskList/84 (vTaskList) @0604fc40
  1194. Type: function definition analyzed
  1195. Visibility: externally_visible public
  1196. Aux: @06409790
  1197. References: uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (read)CSWTCH.225/163 (read)
  1198. Referring:
  1199. Availability: available
  1200. Function flags: count:220893212 (estimated locally) body optimize_size
  1201. Called by:
  1202. 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 (inlined) (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)
  1203. prvWriteNameToBuffer/83 (prvWriteNameToBuffer) @0604f540
  1204. Type: function definition analyzed
  1205. Visibility: prevailing_def_ironly
  1206. Aux: @064094d0
  1207. References:
  1208. Referring:
  1209. Function prvWriteNameToBuffer/83 is inline copy in vTaskList/84
  1210. Availability: local
  1211. Function flags: count:955630226 (estimated locally) body local optimize_size
  1212. Called by: vTaskList/84 (inlined) (955630226 (estimated locally),4.33 per call)
  1213. Calls: strlen/110 (955630226 (estimated locally),4.33 per call) strcpy/112 (955630226 (estimated locally),4.33 per call)
  1214. vTaskPriorityDisinheritAfterTimeout/82 (vTaskPriorityDisinheritAfterTimeout) @0604f000
  1215. Type: function definition analyzed
  1216. Visibility: externally_visible public
  1217. Aux: @064097b0
  1218. 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)
  1219. Referring:
  1220. Availability: available
  1221. Function flags: count:306783 (estimated locally) body optimize_size
  1222. Called by:
  1223. Calls: uxListRemove/103 (2940 (estimated locally),0.01 per call)
  1224. xTaskPriorityDisinherit/81 (xTaskPriorityDisinherit) @0604fb60
  1225. Type: function definition analyzed
  1226. Visibility: externally_visible public
  1227. Aux: @06409430
  1228. References: pxCurrentTCB/7 (read)uxTopReadyPriority/19 (read)uxTopReadyPriority/19 (write)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (addr)pxReadyTasksLists/8 (read)pxReadyTasksLists/8 (write)
  1229. Referring:
  1230. Availability: available
  1231. Function flags: count:219131 (estimated locally) body optimize_size
  1232. Called by:
  1233. Calls: uxListRemove/103 (5011 (estimated locally),0.02 per call)
  1234. xTaskPriorityInherit/80 (xTaskPriorityInherit) @0604f700
  1235. Type: function definition analyzed
  1236. Visibility: externally_visible public
  1237. Aux: @06409450
  1238. 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)
  1239. Referring:
  1240. Availability: available
  1241. Function flags: count:1073741824 (estimated locally) body optimize_size
  1242. Called by:
  1243. Calls: uxListRemove/103 (65503620 (estimated locally),0.06 per call)
  1244. xTaskGetSchedulerState/79 (xTaskGetSchedulerState) @0604f460
  1245. Type: function definition analyzed
  1246. Visibility: externally_visible public
  1247. Aux: @06409470
  1248. References: xSchedulerRunning/20 (read)uxSchedulerSuspended/28 (read)
  1249. Referring:
  1250. Availability: available
  1251. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1252. Called by:
  1253. Calls:
  1254. xTaskGetCurrentTaskHandle/78 (xTaskGetCurrentTaskHandle) @0604f1c0
  1255. Type: function definition analyzed
  1256. Visibility: externally_visible public
  1257. Aux: @06409490
  1258. References: pxCurrentTCB/7 (read)
  1259. Referring:
  1260. Availability: available
  1261. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1262. Called by:
  1263. Calls:
  1264. uxTaskGetStackHighWaterMark/75 (uxTaskGetStackHighWaterMark) @06043ee0
  1265. Type: function definition analyzed
  1266. Visibility: externally_visible public
  1267. Aux: @064092d0
  1268. References: pxCurrentTCB/7 (read)
  1269. Referring:
  1270. Availability: available
  1271. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1272. Called by:
  1273. Calls: prvTaskCheckFreeStackSpace/180 (inlined) (1073741824 (estimated locally),1.00 per call)
  1274. prvTaskCheckFreeStackSpace/180 (prvTaskCheckFreeStackSpace) @05e54540
  1275. Type: function definition analyzed
  1276. Visibility:
  1277. next sharing asm name: 74
  1278. Aux: @06409670
  1279. References:
  1280. Referring:
  1281. Function prvTaskCheckFreeStackSpace/180 is inline copy in uxTaskGetStackHighWaterMark/75
  1282. Clone of prvTaskCheckFreeStackSpace/74
  1283. Availability: local
  1284. Function flags: count:1073741824 (estimated locally) body local nonfreeing_fn optimize_size
  1285. Called by: uxTaskGetStackHighWaterMark/75 (inlined) (1073741824 (estimated locally),1.00 per call)
  1286. Calls:
  1287. prvIdleTask/69 (prvIdleTask) @0603f9a0
  1288. Type: function definition analyzed
  1289. Visibility: prevailing_def_ironly
  1290. Address is taken.
  1291. Aux: @06409170
  1292. References: pxReadyTasksLists/8 (read)
  1293. Referring: vTaskStartScheduler/43 (addr)
  1294. Availability: available
  1295. Function flags: count:63351 (estimated locally) body executed_once optimize_size
  1296. Called by:
  1297. Calls: prvCheckTasksWaitingTermination/71 (inlined) (1073741824 (estimated locally),16949.09 per call)
  1298. prvCheckTasksWaitingTermination/71 (prvCheckTasksWaitingTermination) @060432a0
  1299. Type: function definition analyzed
  1300. Visibility: prevailing_def_ironly
  1301. Aux: @06409150
  1302. References: xTasksWaitingTermination/14 (read)uxCurrentNumberOfTasks/17 (read)uxCurrentNumberOfTasks/17 (write)uxDeletedTasksWaitingCleanUp/15 (read)uxDeletedTasksWaitingCleanUp/15 (write)uxDeletedTasksWaitingCleanUp/15 (read)
  1303. Referring:
  1304. Function prvCheckTasksWaitingTermination/71 is inline copy in prvIdleTask/69
  1305. Availability: local
  1306. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1307. Called by: prvIdleTask/69 (inlined) (1073741824 (estimated locally),16949.09 per call)
  1308. Calls: prvDeleteTCB/179 (inlined) (8687547529 (estimated locally),137133.55 per call) vPortExitCritical/101 (8687547529 (estimated locally),137133.55 per call) uxListRemove/103 (8687547529 (estimated locally),137133.55 per call) vPortEnterCritical/100 (8687547529 (estimated locally),137133.55 per call)
  1309. prvDeleteTCB/179 (prvDeleteTCB) @05f36c40
  1310. Type: function definition analyzed
  1311. Visibility:
  1312. next sharing asm name: 76
  1313. Aux: @06409610
  1314. References:
  1315. Referring:
  1316. Function prvDeleteTCB/179 is inline copy in prvIdleTask/69
  1317. Clone of prvDeleteTCB/76
  1318. Availability: local
  1319. Function flags: count:8687547529 (estimated locally) body local optimize_size
  1320. Called by: prvCheckTasksWaitingTermination/71 (inlined) (8687547529 (estimated locally),137133.55 per call)
  1321. Calls: vPortFree/96 (8687547529 (estimated locally),137133.55 per call) vPortFree/96 (8687547529 (estimated locally),137133.55 per call)
  1322. vTaskSetTaskNumber/68 (vTaskSetTaskNumber) @0603fe00
  1323. Type: function definition analyzed
  1324. Visibility: externally_visible public
  1325. Aux: @06409370
  1326. References:
  1327. Referring:
  1328. Availability: available
  1329. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1330. Called by:
  1331. Calls:
  1332. uxTaskGetTaskNumber/67 (uxTaskGetTaskNumber) @0603fb60
  1333. Type: function definition analyzed
  1334. Visibility: externally_visible public
  1335. Aux: @064091f0
  1336. References:
  1337. Referring:
  1338. Availability: available
  1339. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1340. Called by:
  1341. Calls:
  1342. vTaskMissedYield/66 (vTaskMissedYield) @0603f8c0
  1343. Type: function definition analyzed
  1344. Visibility: externally_visible public
  1345. Aux: @06409030
  1346. References: xYieldPending/22 (write)
  1347. Referring:
  1348. Availability: available
  1349. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1350. Called by:
  1351. Calls:
  1352. xTaskCheckForTimeOut/65 (xTaskCheckForTimeOut) @0603f620
  1353. Type: function definition analyzed
  1354. Visibility: externally_visible public
  1355. Aux: @064091d0
  1356. References: xTickCount/18 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)xNumOfOverflows/23 (read)
  1357. Referring:
  1358. Availability: available
  1359. Function flags: count:329661 (estimated locally) body optimize_size
  1360. Called by:
  1361. 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)
  1362. vTaskInternalSetTimeOutState/64 (vTaskInternalSetTimeOutState) @0603f1c0
  1363. Type: function definition analyzed
  1364. Visibility: externally_visible public
  1365. Aux: @064092b0
  1366. References: xNumOfOverflows/23 (read)xTickCount/18 (read)
  1367. Referring:
  1368. Availability: available
  1369. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1370. Called by: xTaskCheckForTimeOut/65 (9003 (estimated locally),0.03 per call)
  1371. Calls:
  1372. vTaskSetTimeOutState/63 (vTaskSetTimeOutState) @05f9ab60
  1373. Type: function definition analyzed
  1374. Visibility: externally_visible public
  1375. Aux: @064093d0
  1376. References: xNumOfOverflows/23 (read)xTickCount/18 (read)
  1377. Referring:
  1378. Availability: available
  1379. Function flags: count:230763 (estimated locally) body optimize_size
  1380. Called by:
  1381. Calls: vPortExitCritical/101 (123389 (estimated locally),0.53 per call) vPortEnterCritical/100 (123389 (estimated locally),0.53 per call)
  1382. vTaskRemoveFromUnorderedEventList/62 (vTaskRemoveFromUnorderedEventList) @05f9aee0
  1383. Type: function definition analyzed
  1384. Visibility: externally_visible public
  1385. Aux: @064091b0
  1386. 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)
  1387. Referring:
  1388. Availability: available
  1389. Function flags: count:214748 (estimated locally) body optimize_size
  1390. Called by:
  1391. Calls:
  1392. xTaskRemoveFromEventList/61 (xTaskRemoveFromEventList) @05f9aa80
  1393. Type: function definition analyzed
  1394. Visibility: externally_visible public
  1395. Aux: @06409090
  1396. 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)
  1397. Referring:
  1398. Availability: available
  1399. Function flags: count:357913 (estimated locally) body optimize_size
  1400. Called by:
  1401. Calls:
  1402. vTaskPlaceOnEventListRestricted/60 (vTaskPlaceOnEventListRestricted) @05f9a620
  1403. Type: function definition analyzed
  1404. Visibility: externally_visible public
  1405. Aux: @064090b0
  1406. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1407. Referring:
  1408. Availability: available
  1409. Function flags: count:357913 (estimated locally) body optimize_size
  1410. Called by:
  1411. Calls: prvAddCurrentTaskToDelayedList/94 (250539 (estimated locally),0.70 per call)
  1412. vTaskPlaceOnUnorderedEventList/59 (vTaskPlaceOnUnorderedEventList) @05f9a2a0
  1413. Type: function definition analyzed
  1414. Visibility: externally_visible public
  1415. Aux: @064093f0
  1416. References: uxSchedulerSuspended/28 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1417. Referring:
  1418. Availability: available
  1419. Function flags: count:228942 (estimated locally) body optimize_size
  1420. Called by:
  1421. Calls: prvAddCurrentTaskToDelayedList/94 (52886 (estimated locally),0.23 per call)
  1422. vTaskPlaceOnEventList/58 (vTaskPlaceOnEventList) @05f8aa80
  1423. Type: function definition analyzed
  1424. Visibility: externally_visible public
  1425. Aux: @06409270
  1426. References: pxCurrentTCB/7 (read)
  1427. Referring:
  1428. Availability: available
  1429. Function flags: count:230763 (estimated locally) body optimize_size
  1430. Called by:
  1431. Calls: prvAddCurrentTaskToDelayedList/94 (123389 (estimated locally),0.53 per call) vListInsert/105 (123389 (estimated locally),0.53 per call)
  1432. xTaskAbortDelay/55 (xTaskAbortDelay) @05f8a380
  1433. Type: function definition analyzed
  1434. Visibility: externally_visible public
  1435. Aux: @064092f0
  1436. 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)
  1437. Referring:
  1438. Availability: available
  1439. Function flags: count:230763 (estimated locally) body optimize_size
  1440. Called by:
  1441. 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)
  1442. xTaskCatchUpTicks/54 (xTaskCatchUpTicks) @05f8a000
  1443. Type: function definition analyzed
  1444. Visibility: externally_visible public
  1445. Aux: @06409250
  1446. References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
  1447. Referring:
  1448. Availability: available
  1449. Function flags: count:160260 (estimated locally) body optimize_size
  1450. Called by:
  1451. Calls: xTaskResumeAll/46 (52886 (estimated locally),0.33 per call) vTaskSuspendAll/45 (52886 (estimated locally),0.33 per call)
  1452. uxTaskGetSystemState/53 (uxTaskGetSystemState) @05f7f7e0
  1453. Type: function definition analyzed
  1454. Visibility: externally_visible public
  1455. Aux: @06409010
  1456. References: uxCurrentNumberOfTasks/17 (read)pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xTasksWaitingTermination/14 (addr)xSuspendedTaskList/16 (addr)
  1457. Referring:
  1458. Availability: available
  1459. Function flags: count:429496728 (estimated locally) body optimize_size
  1460. Called by: vTaskList/84 (118111600 (estimated locally),0.53 per call)
  1461. 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)
  1462. prvListTasksWithinSingleList/73 (prvListTasksWithinSingleList) @060438c0
  1463. Type: function definition analyzed
  1464. Visibility: prevailing_def_ironly
  1465. Aux: @06409130
  1466. References:
  1467. Referring:
  1468. Availability: local
  1469. Function flags: count:236223200 (estimated locally) body local optimize_size
  1470. 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)
  1471. Calls: prvListTasksWithinSingleList.part.0/158 (inlined) (118111600 (estimated locally),0.50 per call)
  1472. prvListTasksWithinSingleList.part.0/158 (prvListTasksWithinSingleList.part.0) @061d3b60
  1473. Type: function definition analyzed
  1474. Visibility: prevailing_def_ironly artificial
  1475. Aux: @06409750
  1476. References:
  1477. Referring:
  1478. Function prvListTasksWithinSingleList.part.0/158 is inline copy in prvListTasksWithinSingleList/73
  1479. Availability: local
  1480. Function flags: count:118111600 (estimated locally) first_run:1 body local split_part optimize_size
  1481. Called by: prvListTasksWithinSingleList/73 (inlined) (118111600 (estimated locally),0.50 per call)
  1482. Calls: vTaskGetInfo/72 (1073741824 (estimated locally),4.55 per call)
  1483. vTaskGetInfo/72 (vTaskGetInfo) @06043620
  1484. Type: function definition analyzed
  1485. Visibility: externally_visible public
  1486. Aux: @064093b0
  1487. References: pxCurrentTCB/7 (read)pxCurrentTCB/7 (read)
  1488. Referring:
  1489. Availability: available
  1490. Function flags: count:1073741823 (estimated locally) body optimize_size
  1491. Called by: prvListTasksWithinSingleList.part.0/158 (1073741824 (estimated locally),4.55 per call)
  1492. Calls: prvTaskCheckFreeStackSpace/74 (inlined) (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)
  1493. prvTaskCheckFreeStackSpace/74 (prvTaskCheckFreeStackSpace) @06043b60
  1494. Type: function definition analyzed
  1495. Visibility: prevailing_def_ironly
  1496. previous sharing asm name: 180
  1497. Aux: @06409110
  1498. References:
  1499. Referring:
  1500. Function prvTaskCheckFreeStackSpace/74 is inline copy in vTaskGetInfo/72
  1501. Availability: local
  1502. Function flags: count:354334802 (estimated locally) body local nonfreeing_fn optimize_size
  1503. Called by: vTaskGetInfo/72 (inlined) (354334802 (estimated locally),0.33 per call)
  1504. Calls:
  1505. xTaskGetHandle/52 (xTaskGetHandle) @05f7f2a0
  1506. Type: function definition analyzed
  1507. Visibility: externally_visible public
  1508. Aux: @064090d0
  1509. References: pxReadyTasksLists/8 (addr)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
  1510. Referring:
  1511. Availability: available
  1512. Function flags: count:160260 (estimated locally) body optimize_size
  1513. Called by:
  1514. 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)
  1515. prvSearchForNameWithinSingleList/51 (prvSearchForNameWithinSingleList) @05f7fe00
  1516. Type: function definition analyzed
  1517. Visibility: prevailing_def_ironly
  1518. Aux: @064090f0
  1519. References:
  1520. Referring:
  1521. Availability: local
  1522. Function flags: count:25274560 (estimated locally) body local nonfreeing_fn optimize_size
  1523. 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)
  1524. Calls:
  1525. pcTaskGetName/50 (pcTaskGetName) @05f7fb60
  1526. Type: function definition analyzed
  1527. Visibility: externally_visible public
  1528. Aux: @06409050
  1529. References: pxCurrentTCB/7 (read)
  1530. Referring:
  1531. Availability: available
  1532. Function flags: count:357913 (estimated locally) body optimize_size
  1533. Called by:
  1534. Calls:
  1535. uxTaskGetNumberOfTasks/49 (uxTaskGetNumberOfTasks) @05f7f700
  1536. Type: function definition analyzed
  1537. Visibility: externally_visible public
  1538. Aux: @06409190
  1539. References: uxCurrentNumberOfTasks/17 (read)
  1540. Referring:
  1541. Availability: available
  1542. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1543. Called by:
  1544. Calls:
  1545. xTaskGetTickCountFromISR/48 (xTaskGetTickCountFromISR) @05f7f460
  1546. Type: function definition analyzed
  1547. Visibility: externally_visible public
  1548. Aux: @06409290
  1549. References: xTickCount/18 (read)
  1550. Referring:
  1551. Availability: available
  1552. Function flags: count:1073741824 (estimated locally) body optimize_size
  1553. Called by:
  1554. Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
  1555. xTaskGetTickCount/47 (xTaskGetTickCount) @05f7f1c0
  1556. Type: function definition analyzed
  1557. Visibility: externally_visible public
  1558. Aux: @06409310
  1559. References: xTickCount/18 (read)
  1560. Referring:
  1561. Availability: available
  1562. Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
  1563. Called by:
  1564. Calls:
  1565. vTaskEndScheduler/44 (vTaskEndScheduler) @05f6ca80
  1566. Type: function definition analyzed
  1567. Visibility: externally_visible public
  1568. Aux: @063c6b78
  1569. References: xSchedulerRunning/20 (write)
  1570. Referring:
  1571. Availability: available
  1572. Function flags: count:1073741824 (estimated locally) body optimize_size
  1573. Called by:
  1574. Calls: vPortEndScheduler/109 (1073741824 (estimated locally),1.00 per call)
  1575. vTaskStartScheduler/43 (vTaskStartScheduler) @05f6c7e0
  1576. Type: function definition analyzed
  1577. Visibility: externally_visible public
  1578. Aux: @063c6838
  1579. References: prvIdleTask/69 (addr)xIdleTaskHandle/26 (addr)xNextTaskUnblockTime/25 (write)xSchedulerRunning/20 (write)xTickCount/18 (write)uxTopUsedPriority/27 (read)
  1580. Referring:
  1581. Availability: available
  1582. Function flags: count:395945 (estimated locally) body optimize_size
  1583. Called by:
  1584. 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)
  1585. xTaskResumeFromISR/42 (xTaskResumeFromISR) @05f6c540
  1586. Type: function definition analyzed
  1587. Visibility: externally_visible public
  1588. Aux: @063c68f8
  1589. 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)
  1590. Referring:
  1591. Availability: available
  1592. Function flags: count:230763 (estimated locally) body optimize_size
  1593. Called by:
  1594. 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)
  1595. vTaskResume/41 (vTaskResume) @05f6c1c0
  1596. Type: function definition analyzed
  1597. Visibility: externally_visible public
  1598. Aux: @063c6b98
  1599. 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)
  1600. Referring:
  1601. Availability: available
  1602. Function flags: count:357913 (estimated locally) body optimize_size
  1603. Called by:
  1604. 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)
  1605. prvTaskIsTaskSuspended/40 (prvTaskIsTaskSuspended) @05f5d9a0
  1606. Type: function definition analyzed
  1607. Visibility: prevailing_def_ironly
  1608. Aux: @063c6ab8
  1609. References: xSuspendedTaskList/16 (addr)
  1610. Referring:
  1611. Availability: local
  1612. Function flags: count:357913 (estimated locally) body local optimize_size
  1613. Called by: xTaskResumeFromISR/42 (123389 (estimated locally),0.53 per call) vTaskResume/41 (133963 (estimated locally),0.37 per call)
  1614. Calls: prvTaskIsTaskSuspended.part.0/114 (inlined) (75162 (estimated locally),0.21 per call)
  1615. prvTaskIsTaskSuspended.part.0/114 (prvTaskIsTaskSuspended.part.0) @05e542a0
  1616. Type: function definition analyzed
  1617. Visibility: prevailing_def_ironly artificial
  1618. Aux: @06409570
  1619. References: xPendingReadyList/13 (addr)
  1620. Referring:
  1621. Function prvTaskIsTaskSuspended.part.0/114 is inline copy in prvTaskIsTaskSuspended/40
  1622. Availability: local
  1623. Function flags: count:75162 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  1624. Called by: prvTaskIsTaskSuspended/40 (inlined) (75162 (estimated locally),0.21 per call)
  1625. Calls:
  1626. vTaskSuspend/39 (vTaskSuspend) @05f5de00
  1627. Type: function definition analyzed
  1628. Visibility: externally_visible public
  1629. Aux: @063c67d8
  1630. 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)
  1631. Referring:
  1632. Availability: available
  1633. Function flags: count:1431653 (estimated locally) body optimize_size
  1634. Called by:
  1635. 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)
  1636. vTaskSwitchContext/57 (vTaskSwitchContext) @05f8ae00
  1637. Type: function definition analyzed
  1638. Visibility: force_output externally_visible public
  1639. Aux: @06409230
  1640. 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)
  1641. Referring:
  1642. Availability: available
  1643. Function flags: count:441995 (estimated locally) body optimize_size
  1644. Called by: vTaskSuspend/39 (104969 (estimated locally),0.07 per call)
  1645. Calls: vTaskSwitchContext.part.0/146 (inlined) (107374 (estimated locally),0.24 per call)
  1646. vTaskSwitchContext.part.0/146 (vTaskSwitchContext.part.0) @063282a0
  1647. Type: function definition analyzed
  1648. Visibility: prevailing_def_ironly artificial
  1649. Aux: @06409690
  1650. References:
  1651. Referring:
  1652. Function vTaskSwitchContext.part.0/146 is inline copy in vTaskSwitchContext/57
  1653. Availability: local
  1654. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  1655. Called by: vTaskSwitchContext/57 (inlined) (107374 (estimated locally),0.24 per call)
  1656. Calls:
  1657. vTaskPrioritySet/38 (vTaskPrioritySet) @05f5d8c0
  1658. Type: function definition analyzed
  1659. Visibility: externally_visible public
  1660. Aux: @063c67f8
  1661. 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)
  1662. Referring:
  1663. Availability: available
  1664. Function flags: count:160260 (estimated locally) body optimize_size
  1665. Called by:
  1666. 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)
  1667. uxTaskPriorityGetFromISR/37 (uxTaskPriorityGetFromISR) @05f5d380
  1668. Type: function definition analyzed
  1669. Visibility: externally_visible public
  1670. Aux: @063c6818
  1671. References: pxCurrentTCB/7 (read)
  1672. Referring:
  1673. Availability: available
  1674. Function flags: count:1073741824 (estimated locally) body optimize_size
  1675. Called by:
  1676. Calls: vPortValidateInterruptPriority/106 (1073741824 (estimated locally),1.00 per call)
  1677. uxTaskPriorityGet/36 (uxTaskPriorityGet) @05f5d000
  1678. Type: function definition analyzed
  1679. Visibility: externally_visible public
  1680. Aux: @063c6918
  1681. References: pxCurrentTCB/7 (read)
  1682. Referring:
  1683. Availability: available
  1684. Function flags: count:1073741824 (estimated locally) body optimize_size
  1685. Called by:
  1686. Calls: vPortExitCritical/101 (1073741824 (estimated locally),1.00 per call) vPortEnterCritical/100 (1073741824 (estimated locally),1.00 per call)
  1687. eTaskGetState/35 (eTaskGetState) @05f482a0
  1688. Type: function definition analyzed
  1689. Visibility: externally_visible public
  1690. Aux: @063c6a78
  1691. References: pxCurrentTCB/7 (read)pxDelayedTaskList/11 (read)pxOverflowDelayedTaskList/12 (read)xSuspendedTaskList/16 (addr)xTasksWaitingTermination/14 (addr)
  1692. Referring:
  1693. Availability: available
  1694. Function flags: count:357913 (estimated locally) body optimize_size
  1695. Called by: vTaskGetInfo/72 (217325345 (estimated locally),0.20 per call) xTaskAbortDelay/55 (123389 (estimated locally),0.53 per call)
  1696. Calls: eTaskGetState.part.0/122 (inlined) (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)
  1697. eTaskGetState.part.0/122 (eTaskGetState.part.0) @061d39a0
  1698. Type: function definition analyzed
  1699. Visibility: prevailing_def_ironly artificial
  1700. Aux: @06409410
  1701. References:
  1702. Referring:
  1703. Function eTaskGetState.part.0/122 is inline copy in eTaskGetState/35
  1704. Availability: local
  1705. Function flags: count:11759 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  1706. Called by: eTaskGetState/35 (inlined) (11759 (estimated locally),0.03 per call)
  1707. Calls:
  1708. vTaskDelay/34 (vTaskDelay) @05f48c40
  1709. Type: function definition analyzed
  1710. Visibility: externally_visible public
  1711. Aux: @063c68b8
  1712. References: uxSchedulerSuspended/28 (read)
  1713. Referring:
  1714. Availability: available
  1715. Function flags: count:320519 (estimated locally) body optimize_size
  1716. Called by:
  1717. 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)
  1718. xTaskDelayUntil/33 (xTaskDelayUntil) @05f487e0
  1719. Type: function definition analyzed
  1720. Visibility: externally_visible public
  1721. Aux: @063c6938
  1722. References: uxSchedulerSuspended/28 (read)xTickCount/18 (read)
  1723. Referring:
  1724. Availability: available
  1725. Function flags: count:306783 (estimated locally) body optimize_size
  1726. Called by:
  1727. 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)
  1728. vTaskSuspendAll/45 (vTaskSuspendAll) @05f6cd20
  1729. Type: function definition analyzed
  1730. Visibility: externally_visible public
  1731. Aux: @063c6b38
  1732. References: uxSchedulerSuspended/28 (read)uxSchedulerSuspended/28 (write)
  1733. Referring:
  1734. Availability: available
  1735. Function flags: count:1073741824 (estimated locally) body optimize_size
  1736. 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)
  1737. Calls:
  1738. prvAddCurrentTaskToDelayedList/94 (prvAddCurrentTaskToDelayedList) @060b4000
  1739. Type: function definition analyzed
  1740. Visibility: prevailing_def_ironly
  1741. Aux: @064095f0
  1742. 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)
  1743. Referring:
  1744. Availability: local
  1745. Function flags: count:1073741823 (estimated locally) body local optimize_size
  1746. 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)
  1747. Calls: vListInsert/105 (445602856 (estimated locally),0.41 per call) vListInsert/105 (445602856 (estimated locally),0.41 per call) prvAddCurrentTaskToDelayedList.part.0/119 (inlined) (182536110 (estimated locally),0.17 per call) uxListRemove/103 (1073741823 (estimated locally),1.00 per call)
  1748. prvAddCurrentTaskToDelayedList.part.0/119 (prvAddCurrentTaskToDelayedList.part.0) @05f2a540
  1749. Type: function definition analyzed
  1750. Visibility: prevailing_def_ironly artificial
  1751. Aux: @064094f0
  1752. 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)
  1753. Referring:
  1754. Function prvAddCurrentTaskToDelayedList.part.0/119 is inline copy in prvAddCurrentTaskToDelayedList/94
  1755. Availability: local
  1756. Function flags: count:182536110 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  1757. Called by: prvAddCurrentTaskToDelayedList/94 (inlined) (182536110 (estimated locally),0.17 per call)
  1758. Calls:
  1759. xTaskResumeAll/46 (xTaskResumeAll) @05f6ce00
  1760. Type: function definition analyzed
  1761. Visibility: externally_visible public
  1762. Aux: @06409330
  1763. References: uxSchedulerSuspended/28 (read)
  1764. Referring:
  1765. Availability: available
  1766. Function flags: count:160260 (estimated locally) body optimize_size
  1767. 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)
  1768. Calls: xTaskResumeAll.part.0/137 (inlined) (52886 (estimated locally),0.33 per call)
  1769. xTaskResumeAll.part.0/137 (xTaskResumeAll.part.0) @06328620
  1770. Type: function definition analyzed
  1771. Visibility: prevailing_def_ironly artificial
  1772. Aux: @06409630
  1773. 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)
  1774. Referring:
  1775. Function xTaskResumeAll.part.0/137 is inline copy in xTaskResumeAll/46
  1776. Availability: local
  1777. Function flags: count:52886 (estimated locally) first_run:1 body local split_part optimize_size
  1778. Called by: xTaskResumeAll/46 (inlined) (52886 (estimated locally),0.33 per call)
  1779. Calls: vPortEnterCritical/100 (52886 (estimated locally),0.33 per call) prvResetNextTaskUnblockTime/77 (7070 (estimated locally),0.04 per call) xTaskIncrementTick/56 (60098 (estimated locally),0.38 per call) vPortExitCritical/101 (52886 (estimated locally),0.33 per call)
  1780. xTaskIncrementTick/56 (xTaskIncrementTick) @05f8a9a0
  1781. Type: function definition analyzed
  1782. Visibility: externally_visible public
  1783. Aux: @06409350
  1784. References: uxSchedulerSuspended/28 (read)xPendedTicks/21 (read)xPendedTicks/21 (write)
  1785. Referring:
  1786. Availability: available
  1787. Function flags: count:641039 (estimated locally) body optimize_size
  1788. Called by: xTaskResumeAll.part.0/137 (60098 (estimated locally),0.38 per call)
  1789. Calls: xTaskIncrementTick.part.0/135 (inlined) (320520 (estimated locally),0.50 per call)
  1790. xTaskIncrementTick.part.0/135 (xTaskIncrementTick.part.0) @06328540
  1791. Type: function definition analyzed
  1792. Visibility: prevailing_def_ironly artificial
  1793. Aux: @06409510
  1794. 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)
  1795. Referring:
  1796. Function xTaskIncrementTick.part.0/135 is inline copy in xTaskIncrementTick/56
  1797. Availability: local
  1798. Function flags: count:320520 (estimated locally) first_run:1 body local split_part optimize_size
  1799. Called by: xTaskIncrementTick/56 (inlined) (320520 (estimated locally),0.50 per call)
  1800. Calls: prvResetNextTaskUnblockTime/77 (52886 (estimated locally),0.08 per call)
  1801. vTaskDelete/32 (vTaskDelete) @05f481c0
  1802. Type: function definition analyzed
  1803. Visibility: externally_visible public
  1804. Aux: @063c6a98
  1805. 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)
  1806. Referring:
  1807. Availability: available
  1808. Function flags: count:1431653 (estimated locally) body optimize_size
  1809. Called by:
  1810. Calls: vPortExitCritical/101 (1431653 (estimated locally),1.00 per call) prvResetNextTaskUnblockTime/77 (1002157 (estimated locally),0.70 per call) prvDeleteTCB/76 (inlined) (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)
  1811. prvDeleteTCB/76 (prvDeleteTCB) @06043380
  1812. Type: function definition analyzed
  1813. Visibility: prevailing_def_ironly
  1814. previous sharing asm name: 179
  1815. Aux: @06409210
  1816. References:
  1817. Referring:
  1818. Function prvDeleteTCB/76 is inline copy in vTaskDelete/32
  1819. Availability: local
  1820. Function flags: count:1002157 (estimated locally) body local optimize_size
  1821. Called by: vTaskDelete/32 (inlined) (1002157 (estimated locally),0.70 per call)
  1822. Calls: vPortFree/96 (1002157 (estimated locally),0.70 per call) vPortFree/96 (1002157 (estimated locally),0.70 per call)
  1823. prvResetNextTaskUnblockTime/77 (prvResetNextTaskUnblockTime) @06043c40
  1824. Type: function definition analyzed
  1825. Visibility: prevailing_def_ironly
  1826. Aux: @06409390
  1827. References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
  1828. Referring:
  1829. Availability: local
  1830. Function flags: count:1073741824 (estimated locally) body local nonfreeing_fn optimize_size
  1831. Called by: vTaskSuspend/39 (472446 (estimated locally),0.33 per call) xTaskResumeAll.part.0/137 (7070 (estimated locally),0.04 per call) xTaskIncrementTick.part.0/135 (52886 (estimated locally),0.08 per call) vTaskDelete/32 (1002157 (estimated locally),0.70 per call)
  1832. Calls: prvResetNextTaskUnblockTime.part.0/115 (inlined) (536870912 (estimated locally),0.50 per call)
  1833. prvResetNextTaskUnblockTime.part.0/115 (prvResetNextTaskUnblockTime.part.0) @05f22e00
  1834. Type: function definition analyzed
  1835. Visibility: prevailing_def_ironly artificial
  1836. Aux: @06409530
  1837. References: pxDelayedTaskList/11 (read)xNextTaskUnblockTime/25 (write)
  1838. Referring:
  1839. Function prvResetNextTaskUnblockTime.part.0/115 is inline copy in prvResetNextTaskUnblockTime/77
  1840. Availability: local
  1841. Function flags: count:536870912 (estimated locally) first_run:1 body local split_part nonfreeing_fn optimize_size
  1842. Called by: prvResetNextTaskUnblockTime/77 (inlined) (536870912 (estimated locally),0.50 per call)
  1843. Calls:
  1844. xTaskCreate/29 (xTaskCreate) @05f36700
  1845. Type: function definition analyzed
  1846. Visibility: externally_visible public
  1847. Aux: @063c6a38
  1848. References:
  1849. Referring:
  1850. Availability: available
  1851. Function flags: count:1073741824 (estimated locally) body optimize_size
  1852. Called by: vTaskStartScheduler/43 (395945 (estimated locally),1.00 per call)
  1853. Calls: prvAddNewTaskToReadyList/31 (inlined) (306987179 (estimated locally),0.29 per call) prvInitialiseNewTask.isra.0/118 (inlined) (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)
  1854. prvInitialiseNewTask.isra.0/118 (prvInitialiseNewTask.isra.0) @05f2a2a0
  1855. Type: function definition analyzed
  1856. Visibility: prevailing_def_ironly artificial
  1857. Aux: @06409590
  1858. References:
  1859. Referring:
  1860. Function prvInitialiseNewTask.isra.0/118 is inline copy in xTaskCreate/29
  1861. Availability: local
  1862. Function flags: count:306987179 (estimated locally) body local optimize_size
  1863. Called by: xTaskCreate/29 (inlined) (306987179 (estimated locally),0.29 per call)
  1864. Calls: pxPortInitialiseStack/99 (101306152 (estimated locally),0.09 per call) memset/97 (101306152 (estimated locally),0.09 per call) memset/97 (101306152 (estimated locally),0.09 per call) vListInitialiseItem/98 (101306152 (estimated locally),0.09 per call) vListInitialiseItem/98 (101306152 (estimated locally),0.09 per call) memset/97 (306987179 (estimated locally),0.29 per call)
  1865. prvAddNewTaskToReadyList/31 (prvAddNewTaskToReadyList) @05f36540
  1866. Type: function definition analyzed
  1867. Visibility: prevailing_def_ironly
  1868. Aux: @063c6858
  1869. 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)
  1870. Referring:
  1871. Function prvAddNewTaskToReadyList/31 is inline copy in xTaskCreate/29
  1872. Availability: local
  1873. Function flags: count:306987179 (estimated locally) body local optimize_size
  1874. Called by: xTaskCreate/29 (inlined) (306987179 (estimated locally),0.29 per call)
  1875. Calls: vPortExitCritical/101 (306987180 (estimated locally),0.29 per call) prvInitialiseTaskLists/70 (inlined) (18640261 (estimated locally),0.02 per call) vPortEnterCritical/100 (306987179 (estimated locally),0.29 per call)
  1876. prvInitialiseTaskLists/70 (prvInitialiseTaskLists) @0603fee0
  1877. Type: function definition analyzed
  1878. Visibility: prevailing_def_ironly
  1879. Aux: @06409070
  1880. 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)
  1881. Referring:
  1882. Function prvInitialiseTaskLists/70 is inline copy in xTaskCreate/29
  1883. Availability: local
  1884. Function flags: count:18640261 (estimated locally) body local optimize_size
  1885. Called by: prvAddNewTaskToReadyList/31 (inlined) (18640261 (estimated locally),0.02 per call)
  1886. Calls: vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (18640261 (estimated locally),0.02 per call) vListInitialise/102 (93178941 (estimated locally),0.09 per call)
  1887. Function name:prvInitialiseTaskLists/70:
  1888. locals read:
  1889. locals written:
  1890. globals read: ALL
  1891. globals written: ALL
  1892. Function name:prvAddNewTaskToReadyList/31:
  1893. locals read: uxTaskNumber
  1894. locals written: uxTaskNumber
  1895. globals read: ALL
  1896. globals written: ALL
  1897. Function name:prvInitialiseNewTask.isra.0/118:
  1898. locals read:
  1899. locals written:
  1900. globals read: ALL
  1901. globals written: ALL
  1902. Function name:xTaskCreate/29:
  1903. locals read:
  1904. locals written:
  1905. globals read: ALL
  1906. globals written: ALL
  1907. Function name:prvResetNextTaskUnblockTime.part.0/115:
  1908. locals read:
  1909. locals written:
  1910. globals read:
  1911. globals written:
  1912. Function name:prvResetNextTaskUnblockTime/77:
  1913. locals read:
  1914. locals written:
  1915. globals read:
  1916. globals written:
  1917. Function name:prvDeleteTCB/76:
  1918. locals read:
  1919. locals written:
  1920. globals read: ALL
  1921. globals written: ALL
  1922. Function name:vTaskDelete/32:
  1923. locals read: uxTaskNumber
  1924. locals written: uxTaskNumber
  1925. globals read: ALL
  1926. globals written: ALL
  1927. Function name:xTaskIncrementTick.part.0/135:
  1928. locals read:
  1929. locals written:
  1930. globals read:
  1931. globals written:
  1932. Function name:xTaskIncrementTick/56:
  1933. locals read:
  1934. locals written:
  1935. globals read:
  1936. globals written:
  1937. Function name:xTaskResumeAll.part.0/137:
  1938. locals read:
  1939. locals written:
  1940. globals read: ALL
  1941. globals written: ALL
  1942. Function name:xTaskResumeAll/46:
  1943. locals read:
  1944. locals written:
  1945. globals read: ALL
  1946. globals written: ALL
  1947. Function name:prvAddCurrentTaskToDelayedList.part.0/119:
  1948. locals read:
  1949. locals written:
  1950. globals read:
  1951. globals written:
  1952. Function name:prvAddCurrentTaskToDelayedList/94:
  1953. locals read:
  1954. locals written:
  1955. globals read: ALL
  1956. globals written: ALL
  1957. Function name:vTaskSuspendAll/45:
  1958. locals read:
  1959. locals written:
  1960. globals read:
  1961. globals written:
  1962. Function name:xTaskDelayUntil/33:
  1963. locals read:
  1964. locals written:
  1965. globals read: ALL
  1966. globals written: ALL
  1967. Function name:vTaskDelay/34:
  1968. locals read:
  1969. locals written:
  1970. globals read: ALL
  1971. globals written: ALL
  1972. Function name:eTaskGetState.part.0/122:
  1973. locals read:
  1974. locals written:
  1975. globals read:
  1976. globals written:
  1977. Function name:eTaskGetState/35:
  1978. locals read:
  1979. locals written:
  1980. globals read: ALL
  1981. globals written: ALL
  1982. Function name:uxTaskPriorityGet/36:
  1983. locals read:
  1984. locals written:
  1985. globals read: ALL
  1986. globals written: ALL
  1987. Function name:uxTaskPriorityGetFromISR/37:
  1988. locals read:
  1989. locals written:
  1990. globals read: ALL
  1991. globals written: ALL
  1992. Function name:vTaskPrioritySet/38:
  1993. locals read:
  1994. locals written:
  1995. globals read: ALL
  1996. globals written: ALL
  1997. Function name:vTaskSwitchContext.part.0/146:
  1998. locals read:
  1999. locals written:
  2000. globals read:
  2001. globals written:
  2002. Function name:vTaskSwitchContext/57:
  2003. locals read:
  2004. locals written:
  2005. globals read:
  2006. globals written:
  2007. Function name:vTaskSuspend/39:
  2008. locals read:
  2009. locals written:
  2010. globals read: ALL
  2011. globals written: ALL
  2012. Function name:prvTaskIsTaskSuspended.part.0/114:
  2013. locals read:
  2014. locals written:
  2015. globals read:
  2016. globals written:
  2017. Function name:prvTaskIsTaskSuspended/40:
  2018. locals read:
  2019. locals written:
  2020. globals read:
  2021. globals written:
  2022. Function name:vTaskResume/41:
  2023. locals read:
  2024. locals written:
  2025. globals read: ALL
  2026. globals written: ALL
  2027. Function name:xTaskResumeFromISR/42:
  2028. locals read:
  2029. locals written:
  2030. globals read: ALL
  2031. globals written: ALL
  2032. Function name:vTaskStartScheduler/43:
  2033. locals read:
  2034. locals written:
  2035. globals read: ALL
  2036. globals written: ALL
  2037. Function name:vTaskEndScheduler/44:
  2038. locals read:
  2039. locals written:
  2040. globals read: ALL
  2041. globals written: ALL
  2042. Function name:xTaskGetTickCount/47:
  2043. locals read:
  2044. locals written:
  2045. globals read:
  2046. globals written:
  2047. Function name:xTaskGetTickCountFromISR/48:
  2048. locals read:
  2049. locals written:
  2050. globals read: ALL
  2051. globals written: ALL
  2052. Function name:uxTaskGetNumberOfTasks/49:
  2053. locals read:
  2054. locals written:
  2055. globals read:
  2056. globals written:
  2057. Function name:pcTaskGetName/50:
  2058. locals read:
  2059. locals written:
  2060. globals read:
  2061. globals written:
  2062. Function name:prvSearchForNameWithinSingleList/51:
  2063. locals read:
  2064. locals written:
  2065. globals read:
  2066. globals written:
  2067. Function name:xTaskGetHandle/52:
  2068. locals read:
  2069. locals written:
  2070. globals read: ALL
  2071. globals written: ALL
  2072. Function name:prvTaskCheckFreeStackSpace/74:
  2073. locals read:
  2074. locals written:
  2075. globals read:
  2076. globals written:
  2077. Function name:vTaskGetInfo/72:
  2078. locals read:
  2079. locals written:
  2080. globals read: ALL
  2081. globals written: ALL
  2082. Function name:prvListTasksWithinSingleList.part.0/158:
  2083. locals read:
  2084. locals written:
  2085. globals read: ALL
  2086. globals written: ALL
  2087. Function name:prvListTasksWithinSingleList/73:
  2088. locals read:
  2089. locals written:
  2090. globals read: ALL
  2091. globals written: ALL
  2092. Function name:uxTaskGetSystemState/53:
  2093. locals read:
  2094. locals written:
  2095. globals read: ALL
  2096. globals written: ALL
  2097. Function name:xTaskCatchUpTicks/54:
  2098. locals read:
  2099. locals written:
  2100. globals read: ALL
  2101. globals written: ALL
  2102. Function name:xTaskAbortDelay/55:
  2103. locals read:
  2104. locals written:
  2105. globals read: ALL
  2106. globals written: ALL
  2107. Function name:vTaskPlaceOnEventList/58:
  2108. locals read:
  2109. locals written:
  2110. globals read: ALL
  2111. globals written: ALL
  2112. Function name:vTaskPlaceOnUnorderedEventList/59:
  2113. locals read:
  2114. locals written:
  2115. globals read: ALL
  2116. globals written: ALL
  2117. Function name:vTaskPlaceOnEventListRestricted/60:
  2118. locals read:
  2119. locals written:
  2120. globals read: ALL
  2121. globals written: ALL
  2122. Function name:xTaskRemoveFromEventList/61:
  2123. locals read:
  2124. locals written:
  2125. globals read:
  2126. globals written:
  2127. Function name:vTaskRemoveFromUnorderedEventList/62:
  2128. locals read:
  2129. locals written:
  2130. globals read:
  2131. globals written:
  2132. Function name:vTaskSetTimeOutState/63:
  2133. locals read:
  2134. locals written:
  2135. globals read: ALL
  2136. globals written: ALL
  2137. Function name:vTaskInternalSetTimeOutState/64:
  2138. locals read:
  2139. locals written:
  2140. globals read:
  2141. globals written:
  2142. Function name:xTaskCheckForTimeOut/65:
  2143. locals read:
  2144. locals written:
  2145. globals read: ALL
  2146. globals written: ALL
  2147. Function name:vTaskMissedYield/66:
  2148. locals read:
  2149. locals written:
  2150. globals read:
  2151. globals written:
  2152. Function name:uxTaskGetTaskNumber/67:
  2153. locals read:
  2154. locals written:
  2155. globals read:
  2156. globals written:
  2157. Function name:vTaskSetTaskNumber/68:
  2158. locals read:
  2159. locals written:
  2160. globals read:
  2161. globals written:
  2162. Function name:prvDeleteTCB/179:
  2163. locals read:
  2164. locals written:
  2165. globals read: ALL
  2166. globals written: ALL
  2167. Function name:prvCheckTasksWaitingTermination/71:
  2168. locals read:
  2169. locals written:
  2170. globals read: ALL
  2171. globals written: ALL
  2172. Function name:prvIdleTask/69:
  2173. locals read:
  2174. locals written:
  2175. globals read: ALL
  2176. globals written:
  2177. Function name:prvTaskCheckFreeStackSpace/180:
  2178. locals read:
  2179. locals written:
  2180. globals read:
  2181. globals written:
  2182. Function name:uxTaskGetStackHighWaterMark/75:
  2183. locals read:
  2184. locals written:
  2185. globals read:
  2186. globals written:
  2187. Function name:xTaskGetCurrentTaskHandle/78:
  2188. locals read:
  2189. locals written:
  2190. globals read:
  2191. globals written:
  2192. Function name:xTaskGetSchedulerState/79:
  2193. locals read:
  2194. locals written:
  2195. globals read:
  2196. globals written:
  2197. Function name:xTaskPriorityInherit/80:
  2198. locals read:
  2199. locals written:
  2200. globals read: ALL
  2201. globals written: ALL
  2202. Function name:xTaskPriorityDisinherit/81:
  2203. locals read:
  2204. locals written:
  2205. globals read: ALL
  2206. globals written: ALL
  2207. Function name:vTaskPriorityDisinheritAfterTimeout/82:
  2208. locals read:
  2209. locals written:
  2210. globals read: ALL
  2211. globals written: ALL
  2212. Function name:prvWriteNameToBuffer/83:
  2213. locals read:
  2214. locals written:
  2215. globals read:
  2216. globals written:
  2217. Function name:vTaskList/84:
  2218. locals read:
  2219. locals written:
  2220. globals read: ALL
  2221. globals written: ALL
  2222. Function name:uxTaskResetEventItemValue/85:
  2223. locals read:
  2224. locals written:
  2225. globals read:
  2226. globals written:
  2227. Function name:pvTaskIncrementMutexHeldCount/86:
  2228. locals read:
  2229. locals written:
  2230. globals read:
  2231. globals written:
  2232. Function name:ulTaskGenericNotifyTake/87:
  2233. locals read:
  2234. locals written:
  2235. globals read: ALL
  2236. globals written: ALL
  2237. Function name:xTaskGenericNotifyWait/88:
  2238. locals read:
  2239. locals written:
  2240. globals read: ALL
  2241. globals written: ALL
  2242. Function name:xTaskGenericNotify/89:
  2243. locals read:
  2244. locals written:
  2245. globals read: ALL
  2246. globals written: ALL
  2247. Function name:xTaskGenericNotifyFromISR/90:
  2248. locals read:
  2249. locals written:
  2250. globals read: ALL
  2251. globals written: ALL
  2252. Function name:vTaskGenericNotifyGiveFromISR/91:
  2253. locals read:
  2254. locals written:
  2255. globals read: ALL
  2256. globals written: ALL
  2257. Function name:xTaskGenericNotifyStateClear/92:
  2258. locals read:
  2259. locals written:
  2260. globals read: ALL
  2261. globals written: ALL
  2262. Function name:ulTaskGenericNotifyValueClear/93:
  2263. locals read:
  2264. locals written:
  2265. globals read: ALL
  2266. globals written: ALL
  2267. prvListTasksWithinSingleList.part.0 (struct TaskStatus_t * pxTaskStatusArray, struct List_t * pxList, eTaskState eState)
  2268. {
  2269. struct TCB_t * pxNextTCB;
  2270. struct TCB_t * pxFirstTCB;
  2271. UBaseType_t uxTask;
  2272. struct List_t * const pxConstList;
  2273. struct List_t * const pxConstList;
  2274. struct ListItem_t * _2;
  2275. struct xLIST_ITEM * _3;
  2276. struct MiniListItem_t * _4;
  2277. struct xLIST_ITEM * _5;
  2278. struct ListItem_t * _6;
  2279. struct ListItem_t * _8;
  2280. struct xLIST_ITEM * _9;
  2281. struct xLIST_ITEM * _10;
  2282. struct ListItem_t * _11;
  2283. long unsigned int _14;
  2284. struct TaskStatus_t * _16;
  2285. <bb 10> [local count: 118111600]:
  2286. <bb 2> [local count: 118111600]:
  2287. # DEBUG BEGIN_STMT
  2288. # DEBUG pxConstList => pxList_1(D)
  2289. # DEBUG BEGIN_STMT
  2290. _2 = pxList_1(D)->pxIndex;
  2291. _3 = _2->pxNext;
  2292. pxList_1(D)->pxIndex = _3;
  2293. # DEBUG BEGIN_STMT
  2294. _4 = &pxList_1(D)->xListEnd;
  2295. if (_3 == _4)
  2296. goto <bb 3>; [30.00%]
  2297. else
  2298. goto <bb 4>; [70.00%]
  2299. <bb 3> [local count: 35433480]:
  2300. # DEBUG BEGIN_STMT
  2301. _5 = MEM[(struct ListItem_t *)_3].pxNext;
  2302. pxList_1(D)->pxIndex = _5;
  2303. <bb 4> [local count: 118111600]:
  2304. # DEBUG BEGIN_STMT
  2305. _6 = pxList_1(D)->pxIndex;
  2306. pxFirstTCB_7 = _6->pvOwner;
  2307. # DEBUG pxFirstTCB => pxFirstTCB_7
  2308. <bb 5> [local count: 1073741824]:
  2309. # uxTask_13 = PHI <0(4), uxTask_18(8)>
  2310. # DEBUG uxTask => uxTask_13
  2311. # DEBUG BEGIN_STMT
  2312. # DEBUG BEGIN_STMT
  2313. # DEBUG BEGIN_STMT
  2314. # DEBUG pxConstList => pxList_1(D)
  2315. # DEBUG BEGIN_STMT
  2316. _8 = pxList_1(D)->pxIndex;
  2317. _9 = _8->pxNext;
  2318. pxList_1(D)->pxIndex = _9;
  2319. # DEBUG BEGIN_STMT
  2320. if (_4 == _9)
  2321. goto <bb 6>; [30.00%]
  2322. else
  2323. goto <bb 7>; [70.00%]
  2324. <bb 6> [local count: 322122547]:
  2325. # DEBUG BEGIN_STMT
  2326. _10 = MEM[(struct ListItem_t *)_9].pxNext;
  2327. pxList_1(D)->pxIndex = _10;
  2328. <bb 7> [local count: 1073741824]:
  2329. # DEBUG BEGIN_STMT
  2330. _11 = pxList_1(D)->pxIndex;
  2331. pxNextTCB_12 = _11->pvOwner;
  2332. # DEBUG pxNextTCB => pxNextTCB_12
  2333. # DEBUG BEGIN_STMT
  2334. # DEBUG BEGIN_STMT
  2335. _14 = uxTask_13 * 36;
  2336. _16 = pxTaskStatusArray_15(D) + _14;
  2337. vTaskGetInfo (pxNextTCB_12, _16, 1, eState_17(D));
  2338. # DEBUG BEGIN_STMT
  2339. uxTask_18 = uxTask_13 + 1;
  2340. # DEBUG uxTask => uxTask_18
  2341. # DEBUG BEGIN_STMT
  2342. if (pxFirstTCB_7 != pxNextTCB_12)
  2343. goto <bb 8>; [89.00%]
  2344. else
  2345. goto <bb 9>; [11.00%]
  2346. <bb 8> [local count: 955630223]:
  2347. goto <bb 5>; [100.00%]
  2348. <bb 9> [local count: 118111601]:
  2349. # uxTask_19 = PHI <uxTask_18(7)>
  2350. # DEBUG uxTask => uxTask_19
  2351. # DEBUG BEGIN_STMT
  2352. # DEBUG BEGIN_STMT
  2353. return uxTask_19;
  2354. }
  2355. __attribute__((used))
  2356. vTaskSwitchContext.part.0 ()
  2357. {
  2358. UBaseType_t uxTopPriority;
  2359. struct List_t * const pxConstList;
  2360. uint32_t ulNewBASEPRI;
  2361. <bb 5> [local count: 107374]:
  2362. <bb 2> [local count: 107374]:
  2363. # DEBUG BEGIN_STMT
  2364. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2365. # DEBUG BEGIN_STMT
  2366. # DEBUG BEGIN_STMT
  2367. __asm__ __volatile__(" mov %0, %1
  2368. msr basepri, %0
  2369. isb
  2370. dsb
  2371. " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
  2372. # DEBUG ulNewBASEPRI => ulNewBASEPRI_1
  2373. <bb 3> [local count: 1073741824]:
  2374. # DEBUG ulNewBASEPRI => NULL
  2375. # DEBUG BEGIN_STMT
  2376. # DEBUG BEGIN_STMT
  2377. # DEBUG BEGIN_STMT
  2378. <bb 4> [local count: 1073741824]:
  2379. goto <bb 3>; [100.00%]
  2380. }
  2381. xTaskResumeAll.part.0 ()
  2382. {
  2383. struct TCB_t * pxTCB;
  2384. BaseType_t xAlreadyYielded;
  2385. struct List_t * const pxList;
  2386. struct List_t * const pxList;
  2387. struct ListItem_t * const pxIndex;
  2388. TickType_t xPendedCounts;
  2389. uint32_t ulNewBASEPRI;
  2390. long unsigned int uxSchedulerSuspended.63_1;
  2391. long unsigned int _2;
  2392. long unsigned int uxSchedulerSuspended.64_3;
  2393. long unsigned int uxCurrentNumberOfTasks.65_4;
  2394. struct xLIST_ITEM * _5;
  2395. struct xLIST_ITEM * _8;
  2396. struct xLIST_ITEM * _9;
  2397. struct xLIST_ITEM * _10;
  2398. struct ListItem_t * _11;
  2399. struct ListItem_t * _12;
  2400. long unsigned int _13;
  2401. long unsigned int _14;
  2402. struct xLIST_ITEM * _16;
  2403. struct xLIST_ITEM * _17;
  2404. struct ListItem_t * _18;
  2405. struct ListItem_t * _19;
  2406. long unsigned int _20;
  2407. long unsigned int _21;
  2408. long unsigned int _22;
  2409. long unsigned int uxTopReadyPriority.66_23;
  2410. struct xLIST_ITEM * _25;
  2411. struct xLIST_ITEM * _26;
  2412. struct List_t * _27;
  2413. long unsigned int _28;
  2414. long unsigned int _29;
  2415. struct TCB_t * pxCurrentTCB.67_30;
  2416. long unsigned int _31;
  2417. long unsigned int _32;
  2418. long int _35;
  2419. long int xYieldPending.68_38;
  2420. <bb 27> [local count: 472446400]:
  2421. <bb 2> [local count: 472446400]:
  2422. # DEBUG BEGIN_STMT
  2423. # DEBUG BEGIN_STMT
  2424. vPortEnterCritical ();
  2425. # DEBUG BEGIN_STMT
  2426. uxSchedulerSuspended.63_1 ={v} uxSchedulerSuspended;
  2427. _2 = uxSchedulerSuspended.63_1 + 4294967295;
  2428. uxSchedulerSuspended ={v} _2;
  2429. # DEBUG BEGIN_STMT
  2430. uxSchedulerSuspended.64_3 ={v} uxSchedulerSuspended;
  2431. if (uxSchedulerSuspended.64_3 == 0)
  2432. goto <bb 3>; [50.00%]
  2433. else
  2434. goto <bb 26>; [50.00%]
  2435. <bb 3> [local count: 236223200]:
  2436. # DEBUG BEGIN_STMT
  2437. uxCurrentNumberOfTasks.65_4 ={v} uxCurrentNumberOfTasks;
  2438. if (uxCurrentNumberOfTasks.65_4 != 0)
  2439. goto <bb 4>; [50.00%]
  2440. else
  2441. goto <bb 26>; [50.00%]
  2442. <bb 4> [local count: 118111600]:
  2443. goto <bb 14>; [100.00%]
  2444. <bb 5> [local count: 955630223]:
  2445. # DEBUG BEGIN_STMT
  2446. _5 = xPendingReadyList.xListEnd.pxNext;
  2447. pxTCB_6 = _5->pvOwner;
  2448. # DEBUG pxTCB => pxTCB_6
  2449. # DEBUG BEGIN_STMT
  2450. pxList_7 = pxTCB_6->xEventListItem.pvContainer;
  2451. # DEBUG pxList => pxList_7
  2452. # DEBUG BEGIN_STMT
  2453. _8 = pxTCB_6->xEventListItem.pxNext;
  2454. _9 = pxTCB_6->xEventListItem.pxPrevious;
  2455. _8->pxPrevious = _9;
  2456. # DEBUG BEGIN_STMT
  2457. _10 = pxTCB_6->xEventListItem.pxPrevious;
  2458. _10->pxNext = _8;
  2459. # DEBUG BEGIN_STMT
  2460. _11 = pxList_7->pxIndex;
  2461. _12 = &pxTCB_6->xEventListItem;
  2462. if (_11 == _12)
  2463. goto <bb 6>; [30.00%]
  2464. else
  2465. goto <bb 7>; [70.00%]
  2466. <bb 6> [local count: 286689066]:
  2467. # DEBUG BEGIN_STMT
  2468. pxList_7->pxIndex = _9;
  2469. <bb 7> [local count: 955630223]:
  2470. # DEBUG BEGIN_STMT
  2471. pxTCB_6->xEventListItem.pvContainer = 0B;
  2472. # DEBUG BEGIN_STMT
  2473. _13 ={v} pxList_7->uxNumberOfItems;
  2474. _14 = _13 + 4294967295;
  2475. pxList_7->uxNumberOfItems ={v} _14;
  2476. # DEBUG BEGIN_STMT
  2477. # DEBUG BEGIN_STMT
  2478. __asm__ __volatile__("" : : : "memory");
  2479. # DEBUG BEGIN_STMT
  2480. pxList_15 = pxTCB_6->xStateListItem.pvContainer;
  2481. # DEBUG pxList => pxList_15
  2482. # DEBUG BEGIN_STMT
  2483. _16 = pxTCB_6->xStateListItem.pxNext;
  2484. _17 = pxTCB_6->xStateListItem.pxPrevious;
  2485. _16->pxPrevious = _17;
  2486. # DEBUG BEGIN_STMT
  2487. _17->pxNext = _16;
  2488. # DEBUG BEGIN_STMT
  2489. _18 = pxList_15->pxIndex;
  2490. _19 = &pxTCB_6->xStateListItem;
  2491. if (_18 == _19)
  2492. goto <bb 8>; [30.00%]
  2493. else
  2494. goto <bb 9>; [70.00%]
  2495. <bb 8> [local count: 286689066]:
  2496. # DEBUG BEGIN_STMT
  2497. pxList_15->pxIndex = _17;
  2498. <bb 9> [local count: 955630223]:
  2499. # DEBUG BEGIN_STMT
  2500. # DEBUG BEGIN_STMT
  2501. _20 ={v} pxList_15->uxNumberOfItems;
  2502. _21 = _20 + 4294967295;
  2503. pxList_15->uxNumberOfItems ={v} _21;
  2504. # DEBUG BEGIN_STMT
  2505. # DEBUG BEGIN_STMT
  2506. # DEBUG BEGIN_STMT
  2507. _22 = pxTCB_6->uxPriority;
  2508. uxTopReadyPriority.66_23 ={v} uxTopReadyPriority;
  2509. if (_22 > uxTopReadyPriority.66_23)
  2510. goto <bb 10>; [50.00%]
  2511. else
  2512. goto <bb 11>; [50.00%]
  2513. <bb 10> [local count: 477815111]:
  2514. # DEBUG BEGIN_STMT
  2515. uxTopReadyPriority ={v} _22;
  2516. <bb 11> [local count: 955630223]:
  2517. # DEBUG BEGIN_STMT
  2518. # DEBUG BEGIN_STMT
  2519. pxIndex_24 = pxReadyTasksLists[_22].pxIndex;
  2520. # DEBUG pxIndex => pxIndex_24
  2521. # DEBUG BEGIN_STMT
  2522. # DEBUG BEGIN_STMT
  2523. # DEBUG BEGIN_STMT
  2524. pxTCB_6->xStateListItem.pxNext = pxIndex_24;
  2525. # DEBUG BEGIN_STMT
  2526. _25 = pxIndex_24->pxPrevious;
  2527. pxTCB_6->xStateListItem.pxPrevious = _25;
  2528. # DEBUG BEGIN_STMT
  2529. _26 = pxIndex_24->pxPrevious;
  2530. _26->pxNext = _19;
  2531. # DEBUG BEGIN_STMT
  2532. pxIndex_24->pxPrevious = _19;
  2533. # DEBUG BEGIN_STMT
  2534. _27 = &pxReadyTasksLists[_22];
  2535. pxTCB_6->xStateListItem.pvContainer = _27;
  2536. # DEBUG BEGIN_STMT
  2537. _28 ={v} pxReadyTasksLists[_22].uxNumberOfItems;
  2538. _29 = _28 + 1;
  2539. pxReadyTasksLists[_22].uxNumberOfItems ={v} _29;
  2540. # DEBUG BEGIN_STMT
  2541. # DEBUG BEGIN_STMT
  2542. # DEBUG BEGIN_STMT
  2543. pxCurrentTCB.67_30 ={v} pxCurrentTCB;
  2544. _31 = pxCurrentTCB.67_30->uxPriority;
  2545. if (_22 >= _31)
  2546. goto <bb 12>; [50.00%]
  2547. else
  2548. goto <bb 13>; [50.00%]
  2549. <bb 12> [local count: 477815111]:
  2550. # DEBUG BEGIN_STMT
  2551. xYieldPending ={v} 1;
  2552. <bb 13> [local count: 955630223]:
  2553. # pxTCB_40 = PHI <pxTCB_6(11), pxTCB_6(12)>
  2554. <bb 14> [local count: 1073741824]:
  2555. # pxTCB_41 = PHI <0B(4), pxTCB_40(13)>
  2556. # DEBUG pxTCB => pxTCB_41
  2557. # DEBUG BEGIN_STMT
  2558. # DEBUG BEGIN_STMT
  2559. _32 ={v} xPendingReadyList.uxNumberOfItems;
  2560. if (_32 != 0)
  2561. goto <bb 5>; [89.00%]
  2562. else
  2563. goto <bb 15>; [11.00%]
  2564. <bb 15> [local count: 118111601]:
  2565. # pxTCB_33 = PHI <pxTCB_41(14)>
  2566. # DEBUG BEGIN_STMT
  2567. if (pxTCB_33 != 0B)
  2568. goto <bb 16>; [53.47%]
  2569. else
  2570. goto <bb 17>; [46.53%]
  2571. <bb 16> [local count: 63154273]:
  2572. # DEBUG BEGIN_STMT
  2573. prvResetNextTaskUnblockTime ();
  2574. <bb 17> [local count: 118111601]:
  2575. # DEBUG BEGIN_STMT
  2576. xPendedCounts_34 ={v} xPendedTicks;
  2577. # DEBUG xPendedCounts => xPendedCounts_34
  2578. # DEBUG BEGIN_STMT
  2579. if (xPendedCounts_34 != 0)
  2580. goto <bb 18>; [50.00%]
  2581. else
  2582. goto <bb 24>; [50.00%]
  2583. <bb 18> [local count: 59055800]:
  2584. <bb 19> [local count: 536870915]:
  2585. # xPendedCounts_36 = PHI <xPendedCounts_34(18), xPendedCounts_37(22)>
  2586. # DEBUG xPendedCounts => xPendedCounts_36
  2587. # DEBUG BEGIN_STMT
  2588. # DEBUG BEGIN_STMT
  2589. _35 = xTaskIncrementTick ();
  2590. if (_35 != 0)
  2591. goto <bb 20>; [50.00%]
  2592. else
  2593. goto <bb 21>; [50.00%]
  2594. <bb 20> [local count: 268435457]:
  2595. # DEBUG BEGIN_STMT
  2596. xYieldPending ={v} 1;
  2597. <bb 21> [local count: 536870915]:
  2598. # DEBUG BEGIN_STMT
  2599. # DEBUG BEGIN_STMT
  2600. xPendedCounts_37 = xPendedCounts_36 + 4294967295;
  2601. # DEBUG xPendedCounts => xPendedCounts_37
  2602. # DEBUG BEGIN_STMT
  2603. if (xPendedCounts_37 != 0)
  2604. goto <bb 22>; [89.00%]
  2605. else
  2606. goto <bb 23>; [11.00%]
  2607. <bb 22> [local count: 477815113]:
  2608. goto <bb 19>; [100.00%]
  2609. <bb 23> [local count: 59055801]:
  2610. # DEBUG BEGIN_STMT
  2611. xPendedTicks ={v} 0;
  2612. <bb 24> [local count: 118111601]:
  2613. # DEBUG BEGIN_STMT
  2614. # DEBUG BEGIN_STMT
  2615. xYieldPending.68_38 ={v} xYieldPending;
  2616. if (xYieldPending.68_38 != 0)
  2617. goto <bb 25>; [50.00%]
  2618. else
  2619. goto <bb 26>; [50.00%]
  2620. <bb 25> [local count: 59055800]:
  2621. # DEBUG BEGIN_STMT
  2622. # DEBUG xAlreadyYielded => 1
  2623. # DEBUG BEGIN_STMT
  2624. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  2625. # DEBUG BEGIN_STMT
  2626. __asm__ __volatile__("dsb" : : : "memory");
  2627. # DEBUG BEGIN_STMT
  2628. __asm__ __volatile__("isb");
  2629. # DEBUG BEGIN_STMT
  2630. <bb 26> [local count: 472446401]:
  2631. # xAlreadyYielded_39 = PHI <0(2), 0(3), 0(24), 1(25)>
  2632. # DEBUG xAlreadyYielded => xAlreadyYielded_39
  2633. # DEBUG BEGIN_STMT
  2634. # DEBUG BEGIN_STMT
  2635. vPortExitCritical ();
  2636. # DEBUG BEGIN_STMT
  2637. return xAlreadyYielded_39;
  2638. }
  2639. xTaskIncrementTick.part.0 ()
  2640. {
  2641. struct TCB_t * pxTCB;
  2642. TickType_t xItemValue;
  2643. BaseType_t xSwitchRequired;
  2644. const TickType_t xConstTickCount;
  2645. struct List_t * pxTemp;
  2646. struct List_t * const pxList;
  2647. struct List_t * const pxList;
  2648. struct ListItem_t * const pxIndex;
  2649. uint32_t ulNewBASEPRI;
  2650. long unsigned int xTickCount.80_1;
  2651. struct List_t * pxDelayedTaskList.81_3;
  2652. long unsigned int _4;
  2653. struct List_t * pxOverflowDelayedTaskList.82_7;
  2654. long int xNumOfOverflows.83_8;
  2655. long int _9;
  2656. long unsigned int xNextTaskUnblockTime.84_10;
  2657. struct List_t * pxDelayedTaskList.85_11;
  2658. long unsigned int _12;
  2659. struct List_t * pxDelayedTaskList.86_13;
  2660. struct xLIST_ITEM * _14;
  2661. struct xLIST_ITEM * _19;
  2662. struct xLIST_ITEM * _20;
  2663. struct ListItem_t * _21;
  2664. struct ListItem_t * _22;
  2665. long unsigned int _23;
  2666. long unsigned int _24;
  2667. struct xLIST * _25;
  2668. struct xLIST_ITEM * _26;
  2669. struct xLIST_ITEM * _27;
  2670. struct xLIST_ITEM * _28;
  2671. struct ListItem_t * _29;
  2672. struct ListItem_t * _30;
  2673. long unsigned int _31;
  2674. long unsigned int _32;
  2675. long unsigned int _33;
  2676. long unsigned int uxTopReadyPriority.87_34;
  2677. struct xLIST_ITEM * _36;
  2678. struct xLIST_ITEM * _37;
  2679. struct List_t * _38;
  2680. long unsigned int _39;
  2681. long unsigned int _40;
  2682. struct TCB_t * pxCurrentTCB.88_41;
  2683. long unsigned int _42;
  2684. struct TCB_t * pxCurrentTCB.89_43;
  2685. long unsigned int _44;
  2686. long unsigned int _45;
  2687. long int xYieldPending.90_46;
  2688. <bb 30> [local count: 320519]:
  2689. <bb 2> [local count: 320519]:
  2690. # DEBUG BEGIN_STMT
  2691. xTickCount.80_1 ={v} xTickCount;
  2692. xConstTickCount_2 = xTickCount.80_1 + 1;
  2693. # DEBUG xConstTickCount => xConstTickCount_2
  2694. # DEBUG BEGIN_STMT
  2695. xTickCount ={v} xConstTickCount_2;
  2696. # DEBUG BEGIN_STMT
  2697. if (xConstTickCount_2 == 0)
  2698. goto <bb 3>; [50.00%]
  2699. else
  2700. goto <bb 8>; [50.00%]
  2701. <bb 3> [local count: 160260]:
  2702. # DEBUG BEGIN_STMT
  2703. # DEBUG BEGIN_STMT
  2704. pxDelayedTaskList.81_3 ={v} pxDelayedTaskList;
  2705. _4 ={v} pxDelayedTaskList.81_3->uxNumberOfItems;
  2706. if (_4 != 0)
  2707. goto <bb 4>; [67.00%]
  2708. else
  2709. goto <bb 7>; [33.00%]
  2710. <bb 4> [local count: 107374]:
  2711. # DEBUG BEGIN_STMT
  2712. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2713. # DEBUG BEGIN_STMT
  2714. # DEBUG BEGIN_STMT
  2715. __asm__ __volatile__(" mov %0, %1
  2716. msr basepri, %0
  2717. isb
  2718. dsb
  2719. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  2720. # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
  2721. <bb 5> [local count: 1073741824]:
  2722. # DEBUG ulNewBASEPRI => NULL
  2723. # DEBUG BEGIN_STMT
  2724. # DEBUG BEGIN_STMT
  2725. # DEBUG BEGIN_STMT
  2726. <bb 6> [local count: 1073741824]:
  2727. goto <bb 5>; [100.00%]
  2728. <bb 7> [local count: 52886]:
  2729. # DEBUG BEGIN_STMT
  2730. # DEBUG BEGIN_STMT
  2731. pxTemp_6 ={v} pxDelayedTaskList;
  2732. # DEBUG pxTemp => pxTemp_6
  2733. # DEBUG BEGIN_STMT
  2734. pxOverflowDelayedTaskList.82_7 ={v} pxOverflowDelayedTaskList;
  2735. pxDelayedTaskList ={v} pxOverflowDelayedTaskList.82_7;
  2736. # DEBUG BEGIN_STMT
  2737. pxOverflowDelayedTaskList ={v} pxTemp_6;
  2738. # DEBUG BEGIN_STMT
  2739. xNumOfOverflows.83_8 ={v} xNumOfOverflows;
  2740. _9 = xNumOfOverflows.83_8 + 1;
  2741. xNumOfOverflows ={v} _9;
  2742. # DEBUG BEGIN_STMT
  2743. prvResetNextTaskUnblockTime ();
  2744. # DEBUG BEGIN_STMT
  2745. <bb 8> [local count: 213145]:
  2746. # DEBUG BEGIN_STMT
  2747. # DEBUG BEGIN_STMT
  2748. xNextTaskUnblockTime.84_10 ={v} xNextTaskUnblockTime;
  2749. if (xConstTickCount_2 >= xNextTaskUnblockTime.84_10)
  2750. goto <bb 9>; [50.00%]
  2751. else
  2752. goto <bb 25>; [50.00%]
  2753. <bb 9> [local count: 106573]:
  2754. goto <bb 11>; [100.00%]
  2755. <bb 10> [local count: 889667]:
  2756. # xSwitchRequired_48 = PHI <xSwitchRequired_49(23), 1(24)>
  2757. <bb 11> [local count: 996239]:
  2758. # xSwitchRequired_49 = PHI <0(9), xSwitchRequired_48(10)>
  2759. # DEBUG xSwitchRequired => xSwitchRequired_49
  2760. # DEBUG BEGIN_STMT
  2761. # DEBUG BEGIN_STMT
  2762. pxDelayedTaskList.85_11 ={v} pxDelayedTaskList;
  2763. _12 ={v} pxDelayedTaskList.85_11->uxNumberOfItems;
  2764. if (_12 == 0)
  2765. goto <bb 12>; [5.50%]
  2766. else
  2767. goto <bb 13>; [94.50%]
  2768. <bb 12> [local count: 54793]:
  2769. # xSwitchRequired_50 = PHI <xSwitchRequired_49(11)>
  2770. # DEBUG BEGIN_STMT
  2771. xNextTaskUnblockTime ={v} 4294967295;
  2772. # DEBUG BEGIN_STMT
  2773. goto <bb 25>; [100.00%]
  2774. <bb 13> [local count: 941446]:
  2775. # DEBUG BEGIN_STMT
  2776. pxDelayedTaskList.86_13 ={v} pxDelayedTaskList;
  2777. _14 = pxDelayedTaskList.86_13->xListEnd.pxNext;
  2778. pxTCB_15 = _14->pvOwner;
  2779. # DEBUG pxTCB => pxTCB_15
  2780. # DEBUG BEGIN_STMT
  2781. xItemValue_16 = pxTCB_15->xStateListItem.xItemValue;
  2782. # DEBUG xItemValue => xItemValue_16
  2783. # DEBUG BEGIN_STMT
  2784. if (xConstTickCount_2 < xItemValue_16)
  2785. goto <bb 14>; [5.50%]
  2786. else
  2787. goto <bb 15>; [94.50%]
  2788. <bb 14> [local count: 51780]:
  2789. # xSwitchRequired_51 = PHI <xSwitchRequired_49(13)>
  2790. # xItemValue_17 = PHI <xItemValue_16(13)>
  2791. # DEBUG BEGIN_STMT
  2792. xNextTaskUnblockTime ={v} xItemValue_17;
  2793. # DEBUG BEGIN_STMT
  2794. goto <bb 25>; [100.00%]
  2795. <bb 15> [local count: 889667]:
  2796. # DEBUG BEGIN_STMT
  2797. # DEBUG BEGIN_STMT
  2798. pxList_18 = pxTCB_15->xStateListItem.pvContainer;
  2799. # DEBUG pxList => pxList_18
  2800. # DEBUG BEGIN_STMT
  2801. _19 = pxTCB_15->xStateListItem.pxNext;
  2802. _20 = pxTCB_15->xStateListItem.pxPrevious;
  2803. _19->pxPrevious = _20;
  2804. # DEBUG BEGIN_STMT
  2805. _20->pxNext = _19;
  2806. # DEBUG BEGIN_STMT
  2807. _21 = pxList_18->pxIndex;
  2808. _22 = &pxTCB_15->xStateListItem;
  2809. if (_21 == _22)
  2810. goto <bb 16>; [30.00%]
  2811. else
  2812. goto <bb 17>; [70.00%]
  2813. <bb 16> [local count: 266900]:
  2814. # DEBUG BEGIN_STMT
  2815. pxList_18->pxIndex = _20;
  2816. <bb 17> [local count: 889667]:
  2817. # DEBUG BEGIN_STMT
  2818. pxTCB_15->xStateListItem.pvContainer = 0B;
  2819. # DEBUG BEGIN_STMT
  2820. _23 ={v} pxList_18->uxNumberOfItems;
  2821. _24 = _23 + 4294967295;
  2822. pxList_18->uxNumberOfItems ={v} _24;
  2823. # DEBUG BEGIN_STMT
  2824. # DEBUG BEGIN_STMT
  2825. _25 = pxTCB_15->xEventListItem.pvContainer;
  2826. if (_25 != 0B)
  2827. goto <bb 18>; [70.00%]
  2828. else
  2829. goto <bb 21>; [30.00%]
  2830. <bb 18> [local count: 622767]:
  2831. # DEBUG BEGIN_STMT
  2832. # DEBUG pxList => _25
  2833. # DEBUG BEGIN_STMT
  2834. _26 = pxTCB_15->xEventListItem.pxNext;
  2835. _27 = pxTCB_15->xEventListItem.pxPrevious;
  2836. _26->pxPrevious = _27;
  2837. # DEBUG BEGIN_STMT
  2838. _28 = pxTCB_15->xEventListItem.pxPrevious;
  2839. _28->pxNext = _26;
  2840. # DEBUG BEGIN_STMT
  2841. _29 = MEM[(struct List_t *)_25].pxIndex;
  2842. _30 = &pxTCB_15->xEventListItem;
  2843. if (_29 == _30)
  2844. goto <bb 19>; [30.00%]
  2845. else
  2846. goto <bb 20>; [70.00%]
  2847. <bb 19> [local count: 186830]:
  2848. # DEBUG BEGIN_STMT
  2849. MEM[(struct List_t *)_25].pxIndex = _28;
  2850. <bb 20> [local count: 622767]:
  2851. # DEBUG BEGIN_STMT
  2852. pxTCB_15->xEventListItem.pvContainer = 0B;
  2853. # DEBUG BEGIN_STMT
  2854. _31 ={v} MEM[(struct List_t *)_25].uxNumberOfItems;
  2855. _32 = _31 + 4294967295;
  2856. MEM[(struct List_t *)_25].uxNumberOfItems ={v} _32;
  2857. # DEBUG BEGIN_STMT
  2858. <bb 21> [local count: 889667]:
  2859. # DEBUG BEGIN_STMT
  2860. # DEBUG BEGIN_STMT
  2861. # DEBUG BEGIN_STMT
  2862. _33 = pxTCB_15->uxPriority;
  2863. uxTopReadyPriority.87_34 ={v} uxTopReadyPriority;
  2864. if (_33 > uxTopReadyPriority.87_34)
  2865. goto <bb 22>; [50.00%]
  2866. else
  2867. goto <bb 23>; [50.00%]
  2868. <bb 22> [local count: 444833]:
  2869. # DEBUG BEGIN_STMT
  2870. uxTopReadyPriority ={v} _33;
  2871. <bb 23> [local count: 889667]:
  2872. # DEBUG BEGIN_STMT
  2873. # DEBUG BEGIN_STMT
  2874. pxIndex_35 = pxReadyTasksLists[_33].pxIndex;
  2875. # DEBUG pxIndex => pxIndex_35
  2876. # DEBUG BEGIN_STMT
  2877. # DEBUG BEGIN_STMT
  2878. # DEBUG BEGIN_STMT
  2879. pxTCB_15->xStateListItem.pxNext = pxIndex_35;
  2880. # DEBUG BEGIN_STMT
  2881. _36 = pxIndex_35->pxPrevious;
  2882. pxTCB_15->xStateListItem.pxPrevious = _36;
  2883. # DEBUG BEGIN_STMT
  2884. _37 = pxIndex_35->pxPrevious;
  2885. _37->pxNext = _22;
  2886. # DEBUG BEGIN_STMT
  2887. pxIndex_35->pxPrevious = _22;
  2888. # DEBUG BEGIN_STMT
  2889. _38 = &pxReadyTasksLists[_33];
  2890. pxTCB_15->xStateListItem.pvContainer = _38;
  2891. # DEBUG BEGIN_STMT
  2892. _39 ={v} pxReadyTasksLists[_33].uxNumberOfItems;
  2893. _40 = _39 + 1;
  2894. pxReadyTasksLists[_33].uxNumberOfItems ={v} _40;
  2895. # DEBUG BEGIN_STMT
  2896. # DEBUG BEGIN_STMT
  2897. # DEBUG BEGIN_STMT
  2898. pxCurrentTCB.88_41 ={v} pxCurrentTCB;
  2899. _42 = pxCurrentTCB.88_41->uxPriority;
  2900. if (_33 >= _42)
  2901. goto <bb 24>; [50.00%]
  2902. else
  2903. goto <bb 10>; [50.00%]
  2904. <bb 24> [local count: 444833]:
  2905. # DEBUG BEGIN_STMT
  2906. # DEBUG xSwitchRequired => 1
  2907. goto <bb 10>; [100.00%]
  2908. <bb 25> [local count: 213145]:
  2909. # xSwitchRequired_52 = PHI <0(8), xSwitchRequired_50(12), xSwitchRequired_51(14)>
  2910. # DEBUG xSwitchRequired => xSwitchRequired_52
  2911. # DEBUG BEGIN_STMT
  2912. pxCurrentTCB.89_43 ={v} pxCurrentTCB;
  2913. _44 = pxCurrentTCB.89_43->uxPriority;
  2914. _45 ={v} pxReadyTasksLists[_44].uxNumberOfItems;
  2915. if (_45 > 1)
  2916. goto <bb 26>; [59.00%]
  2917. else
  2918. goto <bb 27>; [41.00%]
  2919. <bb 26> [local count: 125756]:
  2920. # DEBUG BEGIN_STMT
  2921. # DEBUG xSwitchRequired => 1
  2922. <bb 27> [local count: 213145]:
  2923. # xSwitchRequired_53 = PHI <xSwitchRequired_52(25), 1(26)>
  2924. # DEBUG xSwitchRequired => xSwitchRequired_53
  2925. # DEBUG BEGIN_STMT
  2926. # DEBUG BEGIN_STMT
  2927. xYieldPending.90_46 ={v} xYieldPending;
  2928. if (xYieldPending.90_46 != 0)
  2929. goto <bb 28>; [50.00%]
  2930. else
  2931. goto <bb 29>; [50.00%]
  2932. <bb 28> [local count: 106573]:
  2933. # DEBUG BEGIN_STMT
  2934. # DEBUG xSwitchRequired => 1
  2935. <bb 29> [local count: 213145]:
  2936. # xSwitchRequired_47 = PHI <xSwitchRequired_53(27), 1(28)>
  2937. # DEBUG xSwitchRequired => xSwitchRequired_47
  2938. # DEBUG BEGIN_STMT
  2939. return xSwitchRequired_47;
  2940. }
  2941. eTaskGetState.part.0 (struct tskTaskControlBlock * xTask)
  2942. {
  2943. eTaskState eReturn;
  2944. const struct List_t * pxStateList;
  2945. const struct List_t * pxDelayedList;
  2946. const struct List_t * pxOverflowedDelayedList;
  2947. const struct TCB_t * const pxTCB;
  2948. BaseType_t x;
  2949. uint32_t ulNewBASEPRI;
  2950. unsigned char _2;
  2951. <bb 6> [local count: 566398813]:
  2952. goto <bb 4>; [100.00%]
  2953. <bb 2> [local count: 536870913]:
  2954. # DEBUG BEGIN_STMT
  2955. _2 ={v} MEM[(const struct TCB_t *)xTask_1(D)].ucNotifyState[0];
  2956. if (_2 == 1)
  2957. goto <bb 5>; [5.50%]
  2958. else
  2959. goto <bb 3>; [94.50%]
  2960. <bb 3> [local count: 507343012]:
  2961. <bb 4> [local count: 1073741824]:
  2962. # x_3 = PHI <1(3), 0(6)>
  2963. # DEBUG eReturn => NULL
  2964. # DEBUG x => x_3
  2965. # DEBUG BEGIN_STMT
  2966. if (x_3 == 0)
  2967. goto <bb 2>; [50.00%]
  2968. else
  2969. goto <bb 5>; [50.00%]
  2970. <bb 5> [local count: 566398813]:
  2971. # eReturn_4 = PHI <2(2), 3(4)>
  2972. # DEBUG eReturn => eReturn_4
  2973. # DEBUG BEGIN_STMT
  2974. return eReturn_4;
  2975. }
  2976. prvAddCurrentTaskToDelayedList.part.0 ()
  2977. {
  2978. TickType_t xTimeToWake;
  2979. const TickType_t xConstTickCount;
  2980. struct ListItem_t * const pxIndex;
  2981. TickType_t xTicksToWait;
  2982. const BaseType_t xCanBlockIndefinitely;
  2983. struct TCB_t * pxCurrentTCB.25_2;
  2984. struct TCB_t * pxCurrentTCB.26_3;
  2985. struct xLIST_ITEM * _4;
  2986. struct TCB_t * pxCurrentTCB.27_5;
  2987. struct xLIST_ITEM * _6;
  2988. struct ListItem_t * _7;
  2989. struct TCB_t * pxCurrentTCB.28_8;
  2990. struct ListItem_t * _9;
  2991. struct TCB_t * pxCurrentTCB.29_10;
  2992. long unsigned int _11;
  2993. long unsigned int _12;
  2994. <bb 4> [local count: 1073741824]:
  2995. # DEBUG D#5 s=> xTicksToWait
  2996. # DEBUG xTicksToWait => D#5
  2997. # DEBUG D#4 s=> xCanBlockIndefinitely
  2998. # DEBUG xCanBlockIndefinitely => D#4
  2999. <bb 2> [local count: 1073741824]:
  3000. # DEBUG BEGIN_STMT
  3001. pxIndex_1 = xSuspendedTaskList.pxIndex;
  3002. # DEBUG pxIndex => pxIndex_1
  3003. # DEBUG BEGIN_STMT
  3004. # DEBUG BEGIN_STMT
  3005. # DEBUG BEGIN_STMT
  3006. pxCurrentTCB.25_2 ={v} pxCurrentTCB;
  3007. pxCurrentTCB.25_2->xStateListItem.pxNext = pxIndex_1;
  3008. # DEBUG BEGIN_STMT
  3009. pxCurrentTCB.26_3 ={v} pxCurrentTCB;
  3010. _4 = pxIndex_1->pxPrevious;
  3011. pxCurrentTCB.26_3->xStateListItem.pxPrevious = _4;
  3012. # DEBUG BEGIN_STMT
  3013. pxCurrentTCB.27_5 ={v} pxCurrentTCB;
  3014. _6 = pxIndex_1->pxPrevious;
  3015. _7 = &pxCurrentTCB.27_5->xStateListItem;
  3016. _6->pxNext = _7;
  3017. # DEBUG BEGIN_STMT
  3018. pxCurrentTCB.28_8 ={v} pxCurrentTCB;
  3019. _9 = &pxCurrentTCB.28_8->xStateListItem;
  3020. pxIndex_1->pxPrevious = _9;
  3021. # DEBUG BEGIN_STMT
  3022. pxCurrentTCB.29_10 ={v} pxCurrentTCB;
  3023. pxCurrentTCB.29_10->xStateListItem.pvContainer = &xSuspendedTaskList;
  3024. # DEBUG BEGIN_STMT
  3025. _11 ={v} xSuspendedTaskList.uxNumberOfItems;
  3026. _12 = _11 + 1;
  3027. xSuspendedTaskList.uxNumberOfItems ={v} _12;
  3028. # DEBUG BEGIN_STMT
  3029. <bb 3> [local count: 1073741824]:
  3030. # DEBUG BEGIN_STMT
  3031. return;
  3032. }
  3033. prvInitialiseNewTask.isra.0 (void (*TaskFunction_t) (void *) pxTaskCode, const char * const pcName, const uint32_t ulStackDepth, void * const pvParameters, UBaseType_t uxPriority, struct tskTaskControlBlock * * const pxCreatedTask, struct TCB_t * pxNewTCB)
  3034. {
  3035. StackType_t * pxTopOfStack;
  3036. UBaseType_t x;
  3037. uint32_t ulNewBASEPRI;
  3038. StackType_t * _2;
  3039. unsigned int _4;
  3040. StackType_t * _5;
  3041. sizetype _6;
  3042. sizetype _7;
  3043. long unsigned int pxTopOfStack.0_9;
  3044. long unsigned int _10;
  3045. const char * _14;
  3046. char _15;
  3047. char _16;
  3048. struct ListItem_t * _20;
  3049. struct ListItem_t * _21;
  3050. long unsigned int _22;
  3051. volatile uint32_t * _23;
  3052. volatile uint8_t * _24;
  3053. StackType_t * _27;
  3054. <bb 16> [local count: 160260]:
  3055. # DEBUG xRegions s=> xRegions
  3056. <bb 2> [local count: 160260]:
  3057. # DEBUG BEGIN_STMT
  3058. # DEBUG BEGIN_STMT
  3059. # DEBUG BEGIN_STMT
  3060. _2 = pxNewTCB_1(D)->pxStack;
  3061. _4 = ulStackDepth_3(D) * 4;
  3062. memset (_2, 165, _4);
  3063. # DEBUG BEGIN_STMT
  3064. _5 = pxNewTCB_1(D)->pxStack;
  3065. _6 = ulStackDepth_3(D) + 1073741823;
  3066. _7 = _6 * 4;
  3067. pxTopOfStack_8 = _5 + _7;
  3068. # DEBUG pxTopOfStack => pxTopOfStack_8
  3069. # DEBUG BEGIN_STMT
  3070. pxTopOfStack.0_9 = (long unsigned int) pxTopOfStack_8;
  3071. _10 = pxTopOfStack.0_9 & 4294967288;
  3072. pxTopOfStack_11 = (StackType_t *) _10;
  3073. # DEBUG pxTopOfStack => pxTopOfStack_11
  3074. # DEBUG BEGIN_STMT
  3075. # DEBUG BEGIN_STMT
  3076. # DEBUG BEGIN_STMT
  3077. if (pcName_12(D) != 0B)
  3078. goto <bb 3>; [70.00%]
  3079. else
  3080. goto <bb 8>; [30.00%]
  3081. <bb 3> [local count: 112182]:
  3082. goto <bb 6>; [100.00%]
  3083. <bb 4> [local count: 723805]:
  3084. # DEBUG BEGIN_STMT
  3085. _14 = pcName_12(D) + x_13;
  3086. _15 = *_14;
  3087. pxNewTCB_1(D)->pcTaskName[x_13] = _15;
  3088. # DEBUG BEGIN_STMT
  3089. _16 = *_14;
  3090. if (_16 == 0)
  3091. goto <bb 7>; [5.50%]
  3092. else
  3093. goto <bb 5>; [94.50%]
  3094. <bb 5> [local count: 683996]:
  3095. # DEBUG BEGIN_STMT
  3096. # DEBUG BEGIN_STMT
  3097. x_17 = x_13 + 1;
  3098. # DEBUG x => x_17
  3099. <bb 6> [local count: 796177]:
  3100. # x_13 = PHI <0(3), x_17(5)>
  3101. # DEBUG x => x_13
  3102. # DEBUG BEGIN_STMT
  3103. if (x_13 != 10)
  3104. goto <bb 4>; [90.91%]
  3105. else
  3106. goto <bb 7>; [9.09%]
  3107. <bb 7> [local count: 112182]:
  3108. # DEBUG BEGIN_STMT
  3109. pxNewTCB_1(D)->pcTaskName[9] = 0;
  3110. goto <bb 9>; [100.00%]
  3111. <bb 8> [local count: 48078]:
  3112. # DEBUG BEGIN_STMT
  3113. pxNewTCB_1(D)->pcTaskName[0] = 0;
  3114. <bb 9> [local count: 160260]:
  3115. # DEBUG BEGIN_STMT
  3116. if (uxPriority_18(D) > 4)
  3117. goto <bb 10>; [67.00%]
  3118. else
  3119. goto <bb 13>; [33.00%]
  3120. <bb 10> [local count: 107374]:
  3121. # DEBUG BEGIN_STMT
  3122. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3123. # DEBUG BEGIN_STMT
  3124. # DEBUG BEGIN_STMT
  3125. __asm__ __volatile__(" mov %0, %1
  3126. msr basepri, %0
  3127. isb
  3128. dsb
  3129. " : "=r" ulNewBASEPRI_19 : "i" 16 : "memory");
  3130. # DEBUG ulNewBASEPRI => ulNewBASEPRI_19
  3131. <bb 11> [local count: 1073741824]:
  3132. # DEBUG ulNewBASEPRI => NULL
  3133. # DEBUG BEGIN_STMT
  3134. # DEBUG BEGIN_STMT
  3135. # DEBUG BEGIN_STMT
  3136. <bb 12> [local count: 1073741824]:
  3137. goto <bb 11>; [100.00%]
  3138. <bb 13> [local count: 52886]:
  3139. # DEBUG BEGIN_STMT
  3140. # DEBUG BEGIN_STMT
  3141. # DEBUG uxPriority => uxPriority_18(D)
  3142. # DEBUG BEGIN_STMT
  3143. # DEBUG BEGIN_STMT
  3144. pxNewTCB_1(D)->uxPriority = uxPriority_18(D);
  3145. # DEBUG BEGIN_STMT
  3146. pxNewTCB_1(D)->uxBasePriority = uxPriority_18(D);
  3147. # DEBUG BEGIN_STMT
  3148. pxNewTCB_1(D)->uxMutexesHeld = 0;
  3149. # DEBUG BEGIN_STMT
  3150. _20 = &pxNewTCB_1(D)->xStateListItem;
  3151. vListInitialiseItem (_20);
  3152. # DEBUG BEGIN_STMT
  3153. _21 = &pxNewTCB_1(D)->xEventListItem;
  3154. vListInitialiseItem (_21);
  3155. # DEBUG BEGIN_STMT
  3156. pxNewTCB_1(D)->xStateListItem.pvOwner = pxNewTCB_1(D);
  3157. # DEBUG BEGIN_STMT
  3158. _22 = 5 - uxPriority_18(D);
  3159. pxNewTCB_1(D)->xEventListItem.xItemValue = _22;
  3160. # DEBUG BEGIN_STMT
  3161. pxNewTCB_1(D)->xEventListItem.pvOwner = pxNewTCB_1(D);
  3162. # DEBUG BEGIN_STMT
  3163. # DEBUG BEGIN_STMT
  3164. _23 = &pxNewTCB_1(D)->ulNotifiedValue[0];
  3165. memset (_23, 0, 4);
  3166. # DEBUG BEGIN_STMT
  3167. _24 = &pxNewTCB_1(D)->ucNotifyState[0];
  3168. memset (_24, 0, 1);
  3169. # DEBUG BEGIN_STMT
  3170. pxNewTCB_1(D)->ucDelayAborted = 0;
  3171. # DEBUG BEGIN_STMT
  3172. _27 = pxPortInitialiseStack (pxTopOfStack_11, pxTaskCode_25(D), pvParameters_26(D));
  3173. pxNewTCB_1(D)->pxTopOfStack = _27;
  3174. # DEBUG BEGIN_STMT
  3175. if (pxCreatedTask_28(D) != 0B)
  3176. goto <bb 14>; [70.00%]
  3177. else
  3178. goto <bb 15>; [30.00%]
  3179. <bb 14> [local count: 37020]:
  3180. # DEBUG BEGIN_STMT
  3181. *pxCreatedTask_28(D) = pxNewTCB_1(D);
  3182. <bb 15> [local count: 52886]:
  3183. # DEBUG BEGIN_STMT
  3184. return;
  3185. }
  3186. prvResetNextTaskUnblockTime.part.0 ()
  3187. {
  3188. struct List_t * pxDelayedTaskList.21_1;
  3189. struct xLIST_ITEM * _2;
  3190. long unsigned int _3;
  3191. <bb 4> [local count: 1073741824]:
  3192. <bb 2> [local count: 1073741824]:
  3193. # DEBUG BEGIN_STMT
  3194. pxDelayedTaskList.21_1 ={v} pxDelayedTaskList;
  3195. _2 = pxDelayedTaskList.21_1->xListEnd.pxNext;
  3196. _3 = _2->xItemValue;
  3197. xNextTaskUnblockTime ={v} _3;
  3198. <bb 3> [local count: 1073741824]:
  3199. return;
  3200. }
  3201. prvTaskIsTaskSuspended.part.0 (struct tskTaskControlBlock * const xTask)
  3202. {
  3203. BaseType_t xReturn;
  3204. const struct TCB_t * const pxTCB;
  3205. uint32_t ulNewBASEPRI;
  3206. struct xLIST * _2;
  3207. <bb 6> [local count: 1073741824]:
  3208. <bb 2> [local count: 1073741824]:
  3209. # DEBUG BEGIN_STMT
  3210. _2 = MEM[(const struct TCB_t *)xTask_1(D)].xEventListItem.pvContainer;
  3211. if (_2 != &xPendingReadyList)
  3212. goto <bb 3>; [70.00%]
  3213. else
  3214. goto <bb 5>; [30.00%]
  3215. <bb 3> [local count: 751619278]:
  3216. # DEBUG BEGIN_STMT
  3217. if (_2 == 0B)
  3218. goto <bb 4>; [30.00%]
  3219. else
  3220. goto <bb 5>; [70.00%]
  3221. <bb 4> [local count: 225485783]:
  3222. # DEBUG BEGIN_STMT
  3223. # DEBUG xReturn => 1
  3224. <bb 5> [local count: 1073741824]:
  3225. # xReturn_3 = PHI <0(2), 0(3), 1(4)>
  3226. # DEBUG xReturn => xReturn_3
  3227. # DEBUG BEGIN_STMT
  3228. # DEBUG BEGIN_STMT
  3229. return xReturn_3;
  3230. }
  3231. prvAddCurrentTaskToDelayedList (TickType_t xTicksToWait, const BaseType_t xCanBlockIndefinitely)
  3232. {
  3233. const TickType_t xConstTickCount;
  3234. TickType_t xTimeToWake;
  3235. struct TCB_t * pxCurrentTCB.23_1;
  3236. struct TCB_t * pxCurrentTCB.24_2;
  3237. struct ListItem_t * _3;
  3238. struct TCB_t * pxCurrentTCB.30_5;
  3239. struct List_t * pxOverflowDelayedTaskList.31_6;
  3240. struct TCB_t * pxCurrentTCB.32_7;
  3241. struct ListItem_t * _8;
  3242. struct List_t * pxDelayedTaskList.33_9;
  3243. struct TCB_t * pxCurrentTCB.34_10;
  3244. struct ListItem_t * _11;
  3245. long unsigned int xNextTaskUnblockTime.35_12;
  3246. <bb 2> [local count: 1073741823]:
  3247. # DEBUG BEGIN_STMT
  3248. # DEBUG BEGIN_STMT
  3249. xConstTickCount_14 ={v} xTickCount;
  3250. # DEBUG xConstTickCount => xConstTickCount_14
  3251. # DEBUG BEGIN_STMT
  3252. pxCurrentTCB.23_1 ={v} pxCurrentTCB;
  3253. pxCurrentTCB.23_1->ucDelayAborted = 0;
  3254. # DEBUG BEGIN_STMT
  3255. pxCurrentTCB.24_2 ={v} pxCurrentTCB;
  3256. _3 = &pxCurrentTCB.24_2->xStateListItem;
  3257. uxListRemove (_3);
  3258. # DEBUG BEGIN_STMT
  3259. # DEBUG BEGIN_STMT
  3260. if (xTicksToWait_17(D) == 4294967295)
  3261. goto <bb 3>; [34.00%]
  3262. else
  3263. goto <bb 5>; [66.00%]
  3264. <bb 3> [local count: 365072220]:
  3265. if (xCanBlockIndefinitely_18(D) != 0)
  3266. goto <bb 4>; [50.00%]
  3267. else
  3268. goto <bb 5>; [50.00%]
  3269. <bb 4> [local count: 182536110]:
  3270. # DEBUG D#2 => xTicksToWait_17(D)
  3271. # DEBUG D#3 => xCanBlockIndefinitely_18(D)
  3272. prvAddCurrentTaskToDelayedList.part.0 ();
  3273. goto <bb 9>; [100.00%]
  3274. <bb 5> [local count: 891205713]:
  3275. # DEBUG BEGIN_STMT
  3276. xTimeToWake_19 = xConstTickCount_14 + xTicksToWait_17(D);
  3277. # DEBUG xTimeToWake => xTimeToWake_19
  3278. # DEBUG BEGIN_STMT
  3279. pxCurrentTCB.30_5 ={v} pxCurrentTCB;
  3280. pxCurrentTCB.30_5->xStateListItem.xItemValue = xTimeToWake_19;
  3281. # DEBUG BEGIN_STMT
  3282. if (xConstTickCount_14 > xTimeToWake_19)
  3283. goto <bb 6>; [50.00%]
  3284. else
  3285. goto <bb 7>; [50.00%]
  3286. <bb 6> [local count: 445602856]:
  3287. # DEBUG BEGIN_STMT
  3288. pxOverflowDelayedTaskList.31_6 ={v} pxOverflowDelayedTaskList;
  3289. pxCurrentTCB.32_7 ={v} pxCurrentTCB;
  3290. _8 = &pxCurrentTCB.32_7->xStateListItem;
  3291. vListInsert (pxOverflowDelayedTaskList.31_6, _8);
  3292. goto <bb 9>; [100.00%]
  3293. <bb 7> [local count: 445602856]:
  3294. # DEBUG BEGIN_STMT
  3295. pxDelayedTaskList.33_9 ={v} pxDelayedTaskList;
  3296. pxCurrentTCB.34_10 ={v} pxCurrentTCB;
  3297. _11 = &pxCurrentTCB.34_10->xStateListItem;
  3298. vListInsert (pxDelayedTaskList.33_9, _11);
  3299. # DEBUG BEGIN_STMT
  3300. xNextTaskUnblockTime.35_12 ={v} xNextTaskUnblockTime;
  3301. if (xNextTaskUnblockTime.35_12 > xTimeToWake_19)
  3302. goto <bb 8>; [50.00%]
  3303. else
  3304. goto <bb 9>; [50.00%]
  3305. <bb 8> [local count: 222801428]:
  3306. # DEBUG BEGIN_STMT
  3307. xNextTaskUnblockTime ={v} xTimeToWake_19;
  3308. <bb 9> [local count: 1073741824]:
  3309. # DEBUG BEGIN_STMT
  3310. return;
  3311. }
  3312. ulTaskGenericNotifyValueClear (struct tskTaskControlBlock * xTask, UBaseType_t uxIndexToClear, uint32_t ulBitsToClear)
  3313. {
  3314. uint32_t ulReturn;
  3315. long unsigned int _1;
  3316. long unsigned int _2;
  3317. long unsigned int _3;
  3318. struct TCB_t * iftmp.164_4;
  3319. struct TCB_t * iftmp.164_7;
  3320. <bb 2> [local count: 1073741824]:
  3321. # DEBUG BEGIN_STMT
  3322. # DEBUG BEGIN_STMT
  3323. # DEBUG BEGIN_STMT
  3324. if (xTask_5(D) == 0B)
  3325. goto <bb 3>; [30.00%]
  3326. else
  3327. goto <bb 4>; [70.00%]
  3328. <bb 3> [local count: 322122547]:
  3329. iftmp.164_7 ={v} pxCurrentTCB;
  3330. <bb 4> [local count: 1073741824]:
  3331. # iftmp.164_4 = PHI <iftmp.164_7(3), xTask_5(D)(2)>
  3332. # DEBUG pxTCB => iftmp.164_4
  3333. # DEBUG BEGIN_STMT
  3334. vPortEnterCritical ();
  3335. # DEBUG BEGIN_STMT
  3336. ulReturn_10 ={v} iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)];
  3337. # DEBUG ulReturn => ulReturn_10
  3338. # DEBUG BEGIN_STMT
  3339. _1 ={v} iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)];
  3340. _2 = ~ulBitsToClear_11(D);
  3341. _3 = _1 & _2;
  3342. iftmp.164_4->ulNotifiedValue[uxIndexToClear_9(D)] ={v} _3;
  3343. # DEBUG BEGIN_STMT
  3344. vPortExitCritical ();
  3345. # DEBUG BEGIN_STMT
  3346. return ulReturn_10;
  3347. }
  3348. xTaskGenericNotifyStateClear (struct tskTaskControlBlock * xTask, UBaseType_t uxIndexToClear)
  3349. {
  3350. uint32_t ulNewBASEPRI;
  3351. BaseType_t xReturn;
  3352. unsigned char _1;
  3353. struct TCB_t * iftmp.163_3;
  3354. struct TCB_t * iftmp.163_8;
  3355. <bb 2> [local count: 214748]:
  3356. # DEBUG BEGIN_STMT
  3357. # DEBUG BEGIN_STMT
  3358. # DEBUG BEGIN_STMT
  3359. if (uxIndexToClear_5(D) != 0)
  3360. goto <bb 3>; [50.00%]
  3361. else
  3362. goto <bb 5>; [50.00%]
  3363. <bb 3> [local count: 107374]:
  3364. # DEBUG BEGIN_STMT
  3365. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3366. # DEBUG BEGIN_STMT
  3367. # DEBUG BEGIN_STMT
  3368. __asm__ __volatile__(" mov %0, %1
  3369. msr basepri, %0
  3370. isb
  3371. dsb
  3372. " : "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  3373. # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
  3374. <bb 4> [local count: 1073741824]:
  3375. # DEBUG ulNewBASEPRI => NULL
  3376. # DEBUG BEGIN_STMT
  3377. # DEBUG BEGIN_STMT
  3378. # DEBUG BEGIN_STMT
  3379. <bb 10> [local count: 1073741824]:
  3380. goto <bb 4>; [100.00%]
  3381. <bb 5> [local count: 107374]:
  3382. # DEBUG BEGIN_STMT
  3383. # DEBUG BEGIN_STMT
  3384. if (xTask_6(D) == 0B)
  3385. goto <bb 6>; [30.00%]
  3386. else
  3387. goto <bb 7>; [70.00%]
  3388. <bb 6> [local count: 32212]:
  3389. iftmp.163_8 ={v} pxCurrentTCB;
  3390. <bb 7> [local count: 107374]:
  3391. # iftmp.163_3 = PHI <iftmp.163_8(6), xTask_6(D)(5)>
  3392. # DEBUG pxTCB => iftmp.163_3
  3393. # DEBUG BEGIN_STMT
  3394. vPortEnterCritical ();
  3395. # DEBUG BEGIN_STMT
  3396. _1 ={v} iftmp.163_3->ucNotifyState[0];
  3397. if (_1 == 2)
  3398. goto <bb 8>; [34.00%]
  3399. else
  3400. goto <bb 9>; [66.00%]
  3401. <bb 8> [local count: 36507]:
  3402. # DEBUG BEGIN_STMT
  3403. iftmp.163_3->ucNotifyState[0] ={v} 0;
  3404. # DEBUG BEGIN_STMT
  3405. # DEBUG xReturn => 1
  3406. <bb 9> [local count: 107374]:
  3407. # xReturn_2 = PHI <1(8), 0(7)>
  3408. # DEBUG xReturn => xReturn_2
  3409. # DEBUG BEGIN_STMT
  3410. vPortExitCritical ();
  3411. # DEBUG BEGIN_STMT
  3412. return xReturn_2;
  3413. }
  3414. vTaskGenericNotifyGiveFromISR (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, BaseType_t * pxHigherPriorityTaskWoken)
  3415. {
  3416. uint32_t ulNewBASEPRI;
  3417. uint32_t ulOriginalBASEPRI;
  3418. uint32_t ulNewBASEPRI;
  3419. uint32_t ulNewBASEPRI;
  3420. uint32_t ulNewBASEPRI;
  3421. struct ListItem_t * const pxIndex;
  3422. struct ListItem_t * const pxIndex;
  3423. struct List_t * const pxList;
  3424. uint8_t ucOriginalNotifyState;
  3425. long unsigned int _1;
  3426. long unsigned int _2;
  3427. struct xLIST * _3;
  3428. long unsigned int uxSchedulerSuspended.160_4;
  3429. struct xLIST_ITEM * _5;
  3430. struct xLIST_ITEM * _6;
  3431. struct xLIST_ITEM * _7;
  3432. struct ListItem_t * _8;
  3433. struct ListItem_t * _9;
  3434. long unsigned int _10;
  3435. long unsigned int _11;
  3436. long unsigned int _12;
  3437. long unsigned int uxTopReadyPriority.161_13;
  3438. struct xLIST_ITEM * _14;
  3439. struct xLIST_ITEM * _15;
  3440. struct List_t * _16;
  3441. long unsigned int _17;
  3442. long unsigned int _18;
  3443. struct xLIST_ITEM * _19;
  3444. struct xLIST_ITEM * _20;
  3445. struct ListItem_t * _21;
  3446. long unsigned int _22;
  3447. long unsigned int _23;
  3448. long unsigned int _24;
  3449. struct TCB_t * pxCurrentTCB.162_25;
  3450. long unsigned int _26;
  3451. <bb 2> [local count: 228942]:
  3452. # DEBUG BEGIN_STMT
  3453. # DEBUG BEGIN_STMT
  3454. # DEBUG BEGIN_STMT
  3455. # DEBUG BEGIN_STMT
  3456. if (xTaskToNotify_32(D) == 0B)
  3457. goto <bb 3>; [30.00%]
  3458. else
  3459. goto <bb 5>; [70.00%]
  3460. <bb 3> [local count: 68683]:
  3461. # DEBUG BEGIN_STMT
  3462. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3463. # DEBUG BEGIN_STMT
  3464. # DEBUG BEGIN_STMT
  3465. __asm__ __volatile__(" mov %0, %1
  3466. msr basepri, %0
  3467. isb
  3468. dsb
  3469. " : "=r" ulNewBASEPRI_62 : "i" 16 : "memory");
  3470. # DEBUG ulNewBASEPRI => ulNewBASEPRI_62
  3471. <bb 4> [local count: 686828460]:
  3472. # DEBUG ulNewBASEPRI => NULL
  3473. # DEBUG BEGIN_STMT
  3474. # DEBUG BEGIN_STMT
  3475. # DEBUG BEGIN_STMT
  3476. <bb 24> [local count: 686828460]:
  3477. goto <bb 4>; [100.00%]
  3478. <bb 5> [local count: 160260]:
  3479. # DEBUG BEGIN_STMT
  3480. # DEBUG BEGIN_STMT
  3481. if (uxIndexToNotify_33(D) != 0)
  3482. goto <bb 6>; [67.00%]
  3483. else
  3484. goto <bb 8>; [33.00%]
  3485. <bb 6> [local count: 107374]:
  3486. # DEBUG BEGIN_STMT
  3487. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3488. # DEBUG BEGIN_STMT
  3489. # DEBUG BEGIN_STMT
  3490. __asm__ __volatile__(" mov %0, %1
  3491. msr basepri, %0
  3492. isb
  3493. dsb
  3494. " : "=r" ulNewBASEPRI_63 : "i" 16 : "memory");
  3495. # DEBUG ulNewBASEPRI => ulNewBASEPRI_63
  3496. <bb 7> [local count: 1073741824]:
  3497. # DEBUG ulNewBASEPRI => NULL
  3498. # DEBUG BEGIN_STMT
  3499. # DEBUG BEGIN_STMT
  3500. # DEBUG BEGIN_STMT
  3501. <bb 25> [local count: 1073741824]:
  3502. goto <bb 7>; [100.00%]
  3503. <bb 8> [local count: 52886]:
  3504. # DEBUG BEGIN_STMT
  3505. # DEBUG BEGIN_STMT
  3506. vPortValidateInterruptPriority ();
  3507. # DEBUG BEGIN_STMT
  3508. # DEBUG pxTCB => xTaskToNotify_32(D)
  3509. # DEBUG BEGIN_STMT
  3510. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  3511. # DEBUG BEGIN_STMT
  3512. # DEBUG BEGIN_STMT
  3513. __asm__ __volatile__(" mrs %0, basepri
  3514. mov %1, %2
  3515. msr basepri, %1
  3516. isb
  3517. dsb
  3518. " : "=r" ulOriginalBASEPRI_64, "=r" ulNewBASEPRI_65 : "i" 16 : "memory");
  3519. # DEBUG ulNewBASEPRI => ulNewBASEPRI_65
  3520. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_64
  3521. # DEBUG BEGIN_STMT
  3522. # DEBUG ulNewBASEPRI => NULL
  3523. # DEBUG ulOriginalBASEPRI => NULL
  3524. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_64
  3525. # DEBUG BEGIN_STMT
  3526. ucOriginalNotifyState_36 ={v} MEM[(struct TCB_t *)xTaskToNotify_32(D)].ucNotifyState[0];
  3527. # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_36
  3528. # DEBUG BEGIN_STMT
  3529. MEM[(struct TCB_t *)xTaskToNotify_32(D)].ucNotifyState[0] ={v} 2;
  3530. # DEBUG BEGIN_STMT
  3531. _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_32(D)].ulNotifiedValue[0];
  3532. _2 = _1 + 1;
  3533. MEM[(struct TCB_t *)xTaskToNotify_32(D)].ulNotifiedValue[0] ={v} _2;
  3534. # DEBUG BEGIN_STMT
  3535. # DEBUG BEGIN_STMT
  3536. if (ucOriginalNotifyState_36 == 1)
  3537. goto <bb 9>; [34.00%]
  3538. else
  3539. goto <bb 23>; [66.00%]
  3540. <bb 9> [local count: 17981]:
  3541. # DEBUG BEGIN_STMT
  3542. _3 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pvContainer;
  3543. if (_3 != 0B)
  3544. goto <bb 10>; [70.00%]
  3545. else
  3546. goto <bb 12>; [30.00%]
  3547. <bb 10> [local count: 12587]:
  3548. # DEBUG BEGIN_STMT
  3549. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3550. # DEBUG BEGIN_STMT
  3551. # DEBUG BEGIN_STMT
  3552. __asm__ __volatile__(" mov %0, %1
  3553. msr basepri, %0
  3554. isb
  3555. dsb
  3556. " : "=r" ulNewBASEPRI_66 : "i" 16 : "memory");
  3557. # DEBUG ulNewBASEPRI => ulNewBASEPRI_66
  3558. <bb 11> [local count: 125868183]:
  3559. # DEBUG ulNewBASEPRI => NULL
  3560. # DEBUG BEGIN_STMT
  3561. # DEBUG BEGIN_STMT
  3562. # DEBUG BEGIN_STMT
  3563. <bb 26> [local count: 125868183]:
  3564. goto <bb 11>; [100.00%]
  3565. <bb 12> [local count: 5394]:
  3566. # DEBUG BEGIN_STMT
  3567. # DEBUG BEGIN_STMT
  3568. uxSchedulerSuspended.160_4 ={v} uxSchedulerSuspended;
  3569. if (uxSchedulerSuspended.160_4 == 0)
  3570. goto <bb 13>; [50.00%]
  3571. else
  3572. goto <bb 18>; [50.00%]
  3573. <bb 13> [local count: 2697]:
  3574. # DEBUG BEGIN_STMT
  3575. pxList_46 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pvContainer;
  3576. # DEBUG pxList => pxList_46
  3577. # DEBUG BEGIN_STMT
  3578. _5 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxNext;
  3579. _6 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious;
  3580. _5->pxPrevious = _6;
  3581. # DEBUG BEGIN_STMT
  3582. _7 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious;
  3583. _7->pxNext = _5;
  3584. # DEBUG BEGIN_STMT
  3585. _8 = pxList_46->pxIndex;
  3586. _9 = &MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem;
  3587. if (_8 == _9)
  3588. goto <bb 14>; [30.00%]
  3589. else
  3590. goto <bb 15>; [70.00%]
  3591. <bb 14> [local count: 809]:
  3592. # DEBUG BEGIN_STMT
  3593. pxList_46->pxIndex = _7;
  3594. <bb 15> [local count: 2697]:
  3595. # DEBUG BEGIN_STMT
  3596. # DEBUG BEGIN_STMT
  3597. _10 ={v} pxList_46->uxNumberOfItems;
  3598. _11 = _10 + 4294967295;
  3599. pxList_46->uxNumberOfItems ={v} _11;
  3600. # DEBUG BEGIN_STMT
  3601. # DEBUG BEGIN_STMT
  3602. # DEBUG BEGIN_STMT
  3603. _12 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].uxPriority;
  3604. uxTopReadyPriority.161_13 ={v} uxTopReadyPriority;
  3605. if (_12 > uxTopReadyPriority.161_13)
  3606. goto <bb 16>; [50.00%]
  3607. else
  3608. goto <bb 17>; [50.00%]
  3609. <bb 16> [local count: 1349]:
  3610. # DEBUG BEGIN_STMT
  3611. uxTopReadyPriority ={v} _12;
  3612. <bb 17> [local count: 2697]:
  3613. # DEBUG BEGIN_STMT
  3614. # DEBUG BEGIN_STMT
  3615. pxIndex_52 = pxReadyTasksLists[_12].pxIndex;
  3616. # DEBUG pxIndex => pxIndex_52
  3617. # DEBUG BEGIN_STMT
  3618. # DEBUG BEGIN_STMT
  3619. # DEBUG BEGIN_STMT
  3620. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxNext = pxIndex_52;
  3621. # DEBUG BEGIN_STMT
  3622. _14 = pxIndex_52->pxPrevious;
  3623. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pxPrevious = _14;
  3624. # DEBUG BEGIN_STMT
  3625. _15 = pxIndex_52->pxPrevious;
  3626. _15->pxNext = _9;
  3627. # DEBUG BEGIN_STMT
  3628. pxIndex_52->pxPrevious = _9;
  3629. # DEBUG BEGIN_STMT
  3630. _16 = &pxReadyTasksLists[_12];
  3631. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xStateListItem.pvContainer = _16;
  3632. # DEBUG BEGIN_STMT
  3633. _17 ={v} pxReadyTasksLists[_12].uxNumberOfItems;
  3634. _18 = _17 + 1;
  3635. pxReadyTasksLists[_12].uxNumberOfItems ={v} _18;
  3636. # DEBUG BEGIN_STMT
  3637. # DEBUG BEGIN_STMT
  3638. goto <bb 19>; [100.00%]
  3639. <bb 18> [local count: 2697]:
  3640. # DEBUG BEGIN_STMT
  3641. pxIndex_39 = xPendingReadyList.pxIndex;
  3642. # DEBUG pxIndex => pxIndex_39
  3643. # DEBUG BEGIN_STMT
  3644. # DEBUG BEGIN_STMT
  3645. # DEBUG BEGIN_STMT
  3646. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pxNext = pxIndex_39;
  3647. # DEBUG BEGIN_STMT
  3648. _19 = pxIndex_39->pxPrevious;
  3649. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pxPrevious = _19;
  3650. # DEBUG BEGIN_STMT
  3651. _20 = pxIndex_39->pxPrevious;
  3652. _21 = &MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem;
  3653. _20->pxNext = _21;
  3654. # DEBUG BEGIN_STMT
  3655. pxIndex_39->pxPrevious = _21;
  3656. # DEBUG BEGIN_STMT
  3657. MEM[(struct TCB_t *)xTaskToNotify_32(D)].xEventListItem.pvContainer = &xPendingReadyList;
  3658. # DEBUG BEGIN_STMT
  3659. _22 ={v} xPendingReadyList.uxNumberOfItems;
  3660. _23 = _22 + 1;
  3661. xPendingReadyList.uxNumberOfItems ={v} _23;
  3662. <bb 19> [local count: 5394]:
  3663. # DEBUG BEGIN_STMT
  3664. # DEBUG BEGIN_STMT
  3665. _24 = MEM[(struct TCB_t *)xTaskToNotify_32(D)].uxPriority;
  3666. pxCurrentTCB.162_25 ={v} pxCurrentTCB;
  3667. _26 = pxCurrentTCB.162_25->uxPriority;
  3668. if (_24 > _26)
  3669. goto <bb 20>; [50.00%]
  3670. else
  3671. goto <bb 23>; [50.00%]
  3672. <bb 20> [local count: 2697]:
  3673. # DEBUG BEGIN_STMT
  3674. if (pxHigherPriorityTaskWoken_59(D) != 0B)
  3675. goto <bb 21>; [70.00%]
  3676. else
  3677. goto <bb 22>; [30.00%]
  3678. <bb 21> [local count: 1888]:
  3679. # DEBUG BEGIN_STMT
  3680. *pxHigherPriorityTaskWoken_59(D) = 1;
  3681. <bb 22> [local count: 2697]:
  3682. # DEBUG BEGIN_STMT
  3683. xYieldPending ={v} 1;
  3684. <bb 23> [local count: 40299]:
  3685. # DEBUG BEGIN_STMT
  3686. # DEBUG BEGIN_STMT
  3687. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_64
  3688. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  3689. # DEBUG BEGIN_STMT
  3690. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_64 : "memory");
  3691. # DEBUG ulNewMaskValue => NULL
  3692. return;
  3693. }
  3694. xTaskGenericNotifyFromISR (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue, BaseType_t * pxHigherPriorityTaskWoken)
  3695. {
  3696. uint32_t ulNewBASEPRI;
  3697. uint32_t ulNewBASEPRI;
  3698. uint32_t ulOriginalBASEPRI;
  3699. uint32_t ulNewBASEPRI;
  3700. uint32_t ulNewBASEPRI;
  3701. uint32_t ulNewBASEPRI;
  3702. struct ListItem_t * const pxIndex;
  3703. struct ListItem_t * const pxIndex;
  3704. struct List_t * const pxList;
  3705. BaseType_t xReturn;
  3706. uint8_t ucOriginalNotifyState;
  3707. long unsigned int _1;
  3708. long unsigned int _2;
  3709. long unsigned int _3;
  3710. long unsigned int _4;
  3711. long unsigned int _5;
  3712. long unsigned int xTickCount.156_6;
  3713. struct xLIST * _7;
  3714. long unsigned int uxSchedulerSuspended.157_8;
  3715. struct xLIST_ITEM * _9;
  3716. struct xLIST_ITEM * _10;
  3717. struct xLIST_ITEM * _11;
  3718. struct ListItem_t * _12;
  3719. struct ListItem_t * _13;
  3720. long unsigned int _14;
  3721. long unsigned int _15;
  3722. long unsigned int _16;
  3723. long unsigned int uxTopReadyPriority.158_17;
  3724. struct xLIST_ITEM * _18;
  3725. struct xLIST_ITEM * _19;
  3726. struct List_t * _20;
  3727. long unsigned int _21;
  3728. long unsigned int _22;
  3729. struct xLIST_ITEM * _23;
  3730. struct xLIST_ITEM * _24;
  3731. struct ListItem_t * _25;
  3732. long unsigned int _26;
  3733. long unsigned int _27;
  3734. long unsigned int _28;
  3735. struct TCB_t * pxCurrentTCB.159_29;
  3736. long unsigned int _30;
  3737. <bb 2> [local count: 228942]:
  3738. # DEBUG BEGIN_STMT
  3739. # DEBUG BEGIN_STMT
  3740. # DEBUG BEGIN_STMT
  3741. # DEBUG xReturn => 1
  3742. # DEBUG BEGIN_STMT
  3743. # DEBUG BEGIN_STMT
  3744. if (xTaskToNotify_39(D) == 0B)
  3745. goto <bb 3>; [30.00%]
  3746. else
  3747. goto <bb 5>; [70.00%]
  3748. <bb 3> [local count: 68683]:
  3749. # DEBUG BEGIN_STMT
  3750. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3751. # DEBUG BEGIN_STMT
  3752. # DEBUG BEGIN_STMT
  3753. __asm__ __volatile__(" mov %0, %1
  3754. msr basepri, %0
  3755. isb
  3756. dsb
  3757. " : "=r" ulNewBASEPRI_76 : "i" 16 : "memory");
  3758. # DEBUG ulNewBASEPRI => ulNewBASEPRI_76
  3759. <bb 4> [local count: 686828460]:
  3760. # DEBUG ulNewBASEPRI => NULL
  3761. # DEBUG BEGIN_STMT
  3762. # DEBUG BEGIN_STMT
  3763. # DEBUG BEGIN_STMT
  3764. <bb 35> [local count: 686828460]:
  3765. goto <bb 4>; [100.00%]
  3766. <bb 5> [local count: 160260]:
  3767. # DEBUG BEGIN_STMT
  3768. # DEBUG BEGIN_STMT
  3769. if (uxIndexToNotify_40(D) != 0)
  3770. goto <bb 6>; [67.00%]
  3771. else
  3772. goto <bb 8>; [33.00%]
  3773. <bb 6> [local count: 107374]:
  3774. # DEBUG BEGIN_STMT
  3775. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3776. # DEBUG BEGIN_STMT
  3777. # DEBUG BEGIN_STMT
  3778. __asm__ __volatile__(" mov %0, %1
  3779. msr basepri, %0
  3780. isb
  3781. dsb
  3782. " : "=r" ulNewBASEPRI_77 : "i" 16 : "memory");
  3783. # DEBUG ulNewBASEPRI => ulNewBASEPRI_77
  3784. <bb 7> [local count: 1073741824]:
  3785. # DEBUG ulNewBASEPRI => NULL
  3786. # DEBUG BEGIN_STMT
  3787. # DEBUG BEGIN_STMT
  3788. # DEBUG BEGIN_STMT
  3789. <bb 36> [local count: 1073741824]:
  3790. goto <bb 7>; [100.00%]
  3791. <bb 8> [local count: 52886]:
  3792. # DEBUG BEGIN_STMT
  3793. # DEBUG BEGIN_STMT
  3794. vPortValidateInterruptPriority ();
  3795. # DEBUG BEGIN_STMT
  3796. # DEBUG pxTCB => xTaskToNotify_39(D)
  3797. # DEBUG BEGIN_STMT
  3798. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  3799. # DEBUG BEGIN_STMT
  3800. # DEBUG BEGIN_STMT
  3801. __asm__ __volatile__(" mrs %0, basepri
  3802. mov %1, %2
  3803. msr basepri, %1
  3804. isb
  3805. dsb
  3806. " : "=r" ulOriginalBASEPRI_78, "=r" ulNewBASEPRI_79 : "i" 16 : "memory");
  3807. # DEBUG ulNewBASEPRI => ulNewBASEPRI_79
  3808. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_78
  3809. # DEBUG BEGIN_STMT
  3810. # DEBUG ulNewBASEPRI => NULL
  3811. # DEBUG ulOriginalBASEPRI => NULL
  3812. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_78
  3813. # DEBUG BEGIN_STMT
  3814. if (pulPreviousNotificationValue_43(D) != 0B)
  3815. goto <bb 9>; [70.00%]
  3816. else
  3817. goto <bb 10>; [30.00%]
  3818. <bb 9> [local count: 37020]:
  3819. # DEBUG BEGIN_STMT
  3820. _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
  3821. *pulPreviousNotificationValue_43(D) = _1;
  3822. <bb 10> [local count: 52886]:
  3823. # DEBUG BEGIN_STMT
  3824. ucOriginalNotifyState_45 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ucNotifyState[0];
  3825. # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_45
  3826. # DEBUG BEGIN_STMT
  3827. MEM[(struct TCB_t *)xTaskToNotify_39(D)].ucNotifyState[0] ={v} 2;
  3828. # DEBUG BEGIN_STMT
  3829. 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%]>
  3830. <bb 11> [local count: 8816]:
  3831. <L8>:
  3832. # DEBUG BEGIN_STMT
  3833. _2 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
  3834. _3 = _2 | ulValue_48(D);
  3835. MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} _3;
  3836. # DEBUG BEGIN_STMT
  3837. goto <bb 19>; [100.00%]
  3838. <bb 12> [local count: 8816]:
  3839. <L9>:
  3840. # DEBUG BEGIN_STMT
  3841. _4 ={v} MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0];
  3842. _5 = _4 + 1;
  3843. MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} _5;
  3844. # DEBUG BEGIN_STMT
  3845. goto <bb 19>; [100.00%]
  3846. <bb 13> [local count: 8816]:
  3847. <L10>:
  3848. # DEBUG BEGIN_STMT
  3849. MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} ulValue_48(D);
  3850. # DEBUG BEGIN_STMT
  3851. goto <bb 19>; [100.00%]
  3852. <bb 14> [local count: 8816]:
  3853. <L11>:
  3854. # DEBUG BEGIN_STMT
  3855. if (ucOriginalNotifyState_45 != 2)
  3856. goto <bb 15>; [66.00%]
  3857. else
  3858. goto <bb 19>; [34.00%]
  3859. <bb 15> [local count: 5819]:
  3860. # DEBUG BEGIN_STMT
  3861. MEM[(struct TCB_t *)xTaskToNotify_39(D)].ulNotifiedValue[0] ={v} ulValue_48(D);
  3862. goto <bb 19>; [100.00%]
  3863. <bb 16> [local count: 8816]:
  3864. <L16>:
  3865. # DEBUG BEGIN_STMT
  3866. xTickCount.156_6 ={v} xTickCount;
  3867. if (xTickCount.156_6 != 0)
  3868. goto <bb 17>; [50.00%]
  3869. else
  3870. goto <bb 19>; [50.00%]
  3871. <bb 17> [local count: 4408]:
  3872. # DEBUG BEGIN_STMT
  3873. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3874. # DEBUG BEGIN_STMT
  3875. # DEBUG BEGIN_STMT
  3876. __asm__ __volatile__(" mov %0, %1
  3877. msr basepri, %0
  3878. isb
  3879. dsb
  3880. " : "=r" ulNewBASEPRI_80 : "i" 16 : "memory");
  3881. # DEBUG ulNewBASEPRI => ulNewBASEPRI_80
  3882. <bb 18> [local count: 44080307]:
  3883. # DEBUG ulNewBASEPRI => NULL
  3884. # DEBUG BEGIN_STMT
  3885. # DEBUG BEGIN_STMT
  3886. # DEBUG BEGIN_STMT
  3887. <bb 37> [local count: 44080307]:
  3888. goto <bb 18>; [100.00%]
  3889. <bb 19> [local count: 48488]:
  3890. # xReturn_31 = PHI <1(11), 1(12), 1(13), 0(14), 1(10), 1(16), 1(15)>
  3891. <L39>:
  3892. # DEBUG xReturn => xReturn_31
  3893. # DEBUG BEGIN_STMT
  3894. # DEBUG BEGIN_STMT
  3895. if (ucOriginalNotifyState_45 == 1)
  3896. goto <bb 20>; [34.00%]
  3897. else
  3898. goto <bb 34>; [66.00%]
  3899. <bb 20> [local count: 16486]:
  3900. # DEBUG BEGIN_STMT
  3901. _7 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pvContainer;
  3902. if (_7 != 0B)
  3903. goto <bb 21>; [70.00%]
  3904. else
  3905. goto <bb 23>; [30.00%]
  3906. <bb 21> [local count: 11540]:
  3907. # DEBUG BEGIN_STMT
  3908. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3909. # DEBUG BEGIN_STMT
  3910. # DEBUG BEGIN_STMT
  3911. __asm__ __volatile__(" mov %0, %1
  3912. msr basepri, %0
  3913. isb
  3914. dsb
  3915. " : "=r" ulNewBASEPRI_81 : "i" 16 : "memory");
  3916. # DEBUG ulNewBASEPRI => ulNewBASEPRI_81
  3917. <bb 22> [local count: 115402244]:
  3918. # DEBUG ulNewBASEPRI => NULL
  3919. # DEBUG BEGIN_STMT
  3920. # DEBUG BEGIN_STMT
  3921. # DEBUG BEGIN_STMT
  3922. <bb 38> [local count: 115402244]:
  3923. goto <bb 22>; [100.00%]
  3924. <bb 23> [local count: 4946]:
  3925. # DEBUG BEGIN_STMT
  3926. # DEBUG BEGIN_STMT
  3927. uxSchedulerSuspended.157_8 ={v} uxSchedulerSuspended;
  3928. if (uxSchedulerSuspended.157_8 == 0)
  3929. goto <bb 24>; [50.00%]
  3930. else
  3931. goto <bb 29>; [50.00%]
  3932. <bb 24> [local count: 2473]:
  3933. # DEBUG BEGIN_STMT
  3934. pxList_60 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pvContainer;
  3935. # DEBUG pxList => pxList_60
  3936. # DEBUG BEGIN_STMT
  3937. _9 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxNext;
  3938. _10 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious;
  3939. _9->pxPrevious = _10;
  3940. # DEBUG BEGIN_STMT
  3941. _11 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious;
  3942. _11->pxNext = _9;
  3943. # DEBUG BEGIN_STMT
  3944. _12 = pxList_60->pxIndex;
  3945. _13 = &MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem;
  3946. if (_12 == _13)
  3947. goto <bb 25>; [30.00%]
  3948. else
  3949. goto <bb 26>; [70.00%]
  3950. <bb 25> [local count: 742]:
  3951. # DEBUG BEGIN_STMT
  3952. pxList_60->pxIndex = _11;
  3953. <bb 26> [local count: 2473]:
  3954. # DEBUG BEGIN_STMT
  3955. # DEBUG BEGIN_STMT
  3956. _14 ={v} pxList_60->uxNumberOfItems;
  3957. _15 = _14 + 4294967295;
  3958. pxList_60->uxNumberOfItems ={v} _15;
  3959. # DEBUG BEGIN_STMT
  3960. # DEBUG BEGIN_STMT
  3961. # DEBUG BEGIN_STMT
  3962. _16 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].uxPriority;
  3963. uxTopReadyPriority.158_17 ={v} uxTopReadyPriority;
  3964. if (_16 > uxTopReadyPriority.158_17)
  3965. goto <bb 27>; [50.00%]
  3966. else
  3967. goto <bb 28>; [50.00%]
  3968. <bb 27> [local count: 1236]:
  3969. # DEBUG BEGIN_STMT
  3970. uxTopReadyPriority ={v} _16;
  3971. <bb 28> [local count: 2473]:
  3972. # DEBUG BEGIN_STMT
  3973. # DEBUG BEGIN_STMT
  3974. pxIndex_66 = pxReadyTasksLists[_16].pxIndex;
  3975. # DEBUG pxIndex => pxIndex_66
  3976. # DEBUG BEGIN_STMT
  3977. # DEBUG BEGIN_STMT
  3978. # DEBUG BEGIN_STMT
  3979. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxNext = pxIndex_66;
  3980. # DEBUG BEGIN_STMT
  3981. _18 = pxIndex_66->pxPrevious;
  3982. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pxPrevious = _18;
  3983. # DEBUG BEGIN_STMT
  3984. _19 = pxIndex_66->pxPrevious;
  3985. _19->pxNext = _13;
  3986. # DEBUG BEGIN_STMT
  3987. pxIndex_66->pxPrevious = _13;
  3988. # DEBUG BEGIN_STMT
  3989. _20 = &pxReadyTasksLists[_16];
  3990. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xStateListItem.pvContainer = _20;
  3991. # DEBUG BEGIN_STMT
  3992. _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
  3993. _22 = _21 + 1;
  3994. pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
  3995. # DEBUG BEGIN_STMT
  3996. # DEBUG BEGIN_STMT
  3997. goto <bb 30>; [100.00%]
  3998. <bb 29> [local count: 2473]:
  3999. # DEBUG BEGIN_STMT
  4000. pxIndex_53 = xPendingReadyList.pxIndex;
  4001. # DEBUG pxIndex => pxIndex_53
  4002. # DEBUG BEGIN_STMT
  4003. # DEBUG BEGIN_STMT
  4004. # DEBUG BEGIN_STMT
  4005. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pxNext = pxIndex_53;
  4006. # DEBUG BEGIN_STMT
  4007. _23 = pxIndex_53->pxPrevious;
  4008. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pxPrevious = _23;
  4009. # DEBUG BEGIN_STMT
  4010. _24 = pxIndex_53->pxPrevious;
  4011. _25 = &MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem;
  4012. _24->pxNext = _25;
  4013. # DEBUG BEGIN_STMT
  4014. pxIndex_53->pxPrevious = _25;
  4015. # DEBUG BEGIN_STMT
  4016. MEM[(struct TCB_t *)xTaskToNotify_39(D)].xEventListItem.pvContainer = &xPendingReadyList;
  4017. # DEBUG BEGIN_STMT
  4018. _26 ={v} xPendingReadyList.uxNumberOfItems;
  4019. _27 = _26 + 1;
  4020. xPendingReadyList.uxNumberOfItems ={v} _27;
  4021. <bb 30> [local count: 4946]:
  4022. # DEBUG BEGIN_STMT
  4023. # DEBUG BEGIN_STMT
  4024. _28 = MEM[(struct TCB_t *)xTaskToNotify_39(D)].uxPriority;
  4025. pxCurrentTCB.159_29 ={v} pxCurrentTCB;
  4026. _30 = pxCurrentTCB.159_29->uxPriority;
  4027. if (_28 > _30)
  4028. goto <bb 31>; [50.00%]
  4029. else
  4030. goto <bb 34>; [50.00%]
  4031. <bb 31> [local count: 2473]:
  4032. # DEBUG BEGIN_STMT
  4033. if (pxHigherPriorityTaskWoken_73(D) != 0B)
  4034. goto <bb 32>; [70.00%]
  4035. else
  4036. goto <bb 33>; [30.00%]
  4037. <bb 32> [local count: 1731]:
  4038. # DEBUG BEGIN_STMT
  4039. *pxHigherPriorityTaskWoken_73(D) = 1;
  4040. <bb 33> [local count: 2473]:
  4041. # DEBUG BEGIN_STMT
  4042. xYieldPending ={v} 1;
  4043. <bb 34> [local count: 36948]:
  4044. # DEBUG BEGIN_STMT
  4045. # DEBUG BEGIN_STMT
  4046. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_78
  4047. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  4048. # DEBUG BEGIN_STMT
  4049. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_78 : "memory");
  4050. # DEBUG ulNewMaskValue => NULL
  4051. # DEBUG BEGIN_STMT
  4052. return xReturn_31;
  4053. }
  4054. xTaskGenericNotify (struct tskTaskControlBlock * xTaskToNotify, UBaseType_t uxIndexToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue)
  4055. {
  4056. uint32_t ulNewBASEPRI;
  4057. uint32_t ulNewBASEPRI;
  4058. uint32_t ulNewBASEPRI;
  4059. uint32_t ulNewBASEPRI;
  4060. struct ListItem_t * const pxIndex;
  4061. struct List_t * const pxList;
  4062. uint8_t ucOriginalNotifyState;
  4063. BaseType_t xReturn;
  4064. long unsigned int _1;
  4065. long unsigned int _2;
  4066. long unsigned int _3;
  4067. long unsigned int _4;
  4068. long unsigned int _5;
  4069. long unsigned int xTickCount.153_6;
  4070. struct xLIST_ITEM * _7;
  4071. struct xLIST_ITEM * _8;
  4072. struct xLIST_ITEM * _9;
  4073. struct ListItem_t * _10;
  4074. struct ListItem_t * _11;
  4075. long unsigned int _12;
  4076. long unsigned int _13;
  4077. long unsigned int _14;
  4078. long unsigned int uxTopReadyPriority.154_15;
  4079. struct xLIST_ITEM * _16;
  4080. struct xLIST_ITEM * _17;
  4081. struct List_t * _18;
  4082. long unsigned int _19;
  4083. long unsigned int _20;
  4084. struct xLIST * _21;
  4085. struct TCB_t * pxCurrentTCB.155_22;
  4086. long unsigned int _23;
  4087. <bb 2> [local count: 214748]:
  4088. # DEBUG BEGIN_STMT
  4089. # DEBUG BEGIN_STMT
  4090. # DEBUG xReturn => 1
  4091. # DEBUG BEGIN_STMT
  4092. # DEBUG BEGIN_STMT
  4093. if (uxIndexToNotify_30(D) != 0)
  4094. goto <bb 3>; [50.00%]
  4095. else
  4096. goto <bb 5>; [50.00%]
  4097. <bb 3> [local count: 107374]:
  4098. # DEBUG BEGIN_STMT
  4099. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4100. # DEBUG BEGIN_STMT
  4101. # DEBUG BEGIN_STMT
  4102. __asm__ __volatile__(" mov %0, %1
  4103. msr basepri, %0
  4104. isb
  4105. dsb
  4106. " : "=r" ulNewBASEPRI_61 : "i" 16 : "memory");
  4107. # DEBUG ulNewBASEPRI => ulNewBASEPRI_61
  4108. <bb 4> [local count: 1073741824]:
  4109. # DEBUG ulNewBASEPRI => NULL
  4110. # DEBUG BEGIN_STMT
  4111. # DEBUG BEGIN_STMT
  4112. # DEBUG BEGIN_STMT
  4113. <bb 30> [local count: 1073741824]:
  4114. goto <bb 4>; [100.00%]
  4115. <bb 5> [local count: 107374]:
  4116. # DEBUG BEGIN_STMT
  4117. # DEBUG BEGIN_STMT
  4118. if (xTaskToNotify_31(D) == 0B)
  4119. goto <bb 6>; [46.53%]
  4120. else
  4121. goto <bb 8>; [53.47%]
  4122. <bb 6> [local count: 49961]:
  4123. # DEBUG BEGIN_STMT
  4124. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4125. # DEBUG BEGIN_STMT
  4126. # DEBUG BEGIN_STMT
  4127. __asm__ __volatile__(" mov %0, %1
  4128. msr basepri, %0
  4129. isb
  4130. dsb
  4131. " : "=r" ulNewBASEPRI_62 : "i" 16 : "memory");
  4132. # DEBUG ulNewBASEPRI => ulNewBASEPRI_62
  4133. <bb 7> [local count: 499612071]:
  4134. # DEBUG ulNewBASEPRI => NULL
  4135. # DEBUG BEGIN_STMT
  4136. # DEBUG BEGIN_STMT
  4137. # DEBUG BEGIN_STMT
  4138. <bb 31> [local count: 499612071]:
  4139. goto <bb 7>; [100.00%]
  4140. <bb 8> [local count: 57413]:
  4141. # DEBUG BEGIN_STMT
  4142. # DEBUG BEGIN_STMT
  4143. # DEBUG pxTCB => xTaskToNotify_31(D)
  4144. # DEBUG BEGIN_STMT
  4145. vPortEnterCritical ();
  4146. # DEBUG BEGIN_STMT
  4147. if (pulPreviousNotificationValue_34(D) != 0B)
  4148. goto <bb 9>; [70.00%]
  4149. else
  4150. goto <bb 10>; [30.00%]
  4151. <bb 9> [local count: 40189]:
  4152. # DEBUG BEGIN_STMT
  4153. _1 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
  4154. *pulPreviousNotificationValue_34(D) = _1;
  4155. <bb 10> [local count: 57413]:
  4156. # DEBUG BEGIN_STMT
  4157. ucOriginalNotifyState_36 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ucNotifyState[0];
  4158. # DEBUG ucOriginalNotifyState => ucOriginalNotifyState_36
  4159. # DEBUG BEGIN_STMT
  4160. MEM[(struct TCB_t *)xTaskToNotify_31(D)].ucNotifyState[0] ={v} 2;
  4161. # DEBUG BEGIN_STMT
  4162. 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%]>
  4163. <bb 11> [local count: 9571]:
  4164. <L8>:
  4165. # DEBUG BEGIN_STMT
  4166. _2 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
  4167. _3 = _2 | ulValue_39(D);
  4168. MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} _3;
  4169. # DEBUG BEGIN_STMT
  4170. goto <bb 19>; [100.00%]
  4171. <bb 12> [local count: 9571]:
  4172. <L9>:
  4173. # DEBUG BEGIN_STMT
  4174. _4 ={v} MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0];
  4175. _5 = _4 + 1;
  4176. MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} _5;
  4177. # DEBUG BEGIN_STMT
  4178. goto <bb 19>; [100.00%]
  4179. <bb 13> [local count: 9571]:
  4180. <L10>:
  4181. # DEBUG BEGIN_STMT
  4182. MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} ulValue_39(D);
  4183. # DEBUG BEGIN_STMT
  4184. goto <bb 19>; [100.00%]
  4185. <bb 14> [local count: 9571]:
  4186. <L11>:
  4187. # DEBUG BEGIN_STMT
  4188. if (ucOriginalNotifyState_36 != 2)
  4189. goto <bb 15>; [66.00%]
  4190. else
  4191. goto <bb 19>; [34.00%]
  4192. <bb 15> [local count: 6317]:
  4193. # DEBUG BEGIN_STMT
  4194. MEM[(struct TCB_t *)xTaskToNotify_31(D)].ulNotifiedValue[0] ={v} ulValue_39(D);
  4195. goto <bb 19>; [100.00%]
  4196. <bb 16> [local count: 9571]:
  4197. <L16>:
  4198. # DEBUG BEGIN_STMT
  4199. xTickCount.153_6 ={v} xTickCount;
  4200. if (xTickCount.153_6 != 0)
  4201. goto <bb 17>; [50.00%]
  4202. else
  4203. goto <bb 19>; [50.00%]
  4204. <bb 17> [local count: 4785]:
  4205. # DEBUG BEGIN_STMT
  4206. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4207. # DEBUG BEGIN_STMT
  4208. # DEBUG BEGIN_STMT
  4209. __asm__ __volatile__(" mov %0, %1
  4210. msr basepri, %0
  4211. isb
  4212. dsb
  4213. " : "=r" ulNewBASEPRI_63 : "i" 16 : "memory");
  4214. # DEBUG ulNewBASEPRI => ulNewBASEPRI_63
  4215. <bb 18> [local count: 47853715]:
  4216. # DEBUG ulNewBASEPRI => NULL
  4217. # DEBUG BEGIN_STMT
  4218. # DEBUG BEGIN_STMT
  4219. # DEBUG BEGIN_STMT
  4220. <bb 32> [local count: 47853715]:
  4221. goto <bb 18>; [100.00%]
  4222. <bb 19> [local count: 52639]:
  4223. # xReturn_24 = PHI <1(11), 1(12), 1(13), 0(14), 1(10), 1(16), 1(15)>
  4224. <L35>:
  4225. # DEBUG xReturn => xReturn_24
  4226. # DEBUG BEGIN_STMT
  4227. # DEBUG BEGIN_STMT
  4228. if (ucOriginalNotifyState_36 == 1)
  4229. goto <bb 20>; [51.12%]
  4230. else
  4231. goto <bb 29>; [48.88%]
  4232. <bb 20> [local count: 26909]:
  4233. # DEBUG BEGIN_STMT
  4234. pxList_44 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pvContainer;
  4235. # DEBUG pxList => pxList_44
  4236. # DEBUG BEGIN_STMT
  4237. _7 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxNext;
  4238. _8 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious;
  4239. _7->pxPrevious = _8;
  4240. # DEBUG BEGIN_STMT
  4241. _9 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious;
  4242. _9->pxNext = _7;
  4243. # DEBUG BEGIN_STMT
  4244. _10 = pxList_44->pxIndex;
  4245. _11 = &MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem;
  4246. if (_10 == _11)
  4247. goto <bb 21>; [30.00%]
  4248. else
  4249. goto <bb 22>; [70.00%]
  4250. <bb 21> [local count: 8073]:
  4251. # DEBUG BEGIN_STMT
  4252. pxList_44->pxIndex = _9;
  4253. <bb 22> [local count: 26909]:
  4254. # DEBUG BEGIN_STMT
  4255. # DEBUG BEGIN_STMT
  4256. _12 ={v} pxList_44->uxNumberOfItems;
  4257. _13 = _12 + 4294967295;
  4258. pxList_44->uxNumberOfItems ={v} _13;
  4259. # DEBUG BEGIN_STMT
  4260. # DEBUG BEGIN_STMT
  4261. # DEBUG BEGIN_STMT
  4262. _14 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].uxPriority;
  4263. uxTopReadyPriority.154_15 ={v} uxTopReadyPriority;
  4264. if (_14 > uxTopReadyPriority.154_15)
  4265. goto <bb 23>; [50.00%]
  4266. else
  4267. goto <bb 24>; [50.00%]
  4268. <bb 23> [local count: 13455]:
  4269. # DEBUG BEGIN_STMT
  4270. uxTopReadyPriority ={v} _14;
  4271. <bb 24> [local count: 26909]:
  4272. # DEBUG BEGIN_STMT
  4273. # DEBUG BEGIN_STMT
  4274. pxIndex_50 = pxReadyTasksLists[_14].pxIndex;
  4275. # DEBUG pxIndex => pxIndex_50
  4276. # DEBUG BEGIN_STMT
  4277. # DEBUG BEGIN_STMT
  4278. # DEBUG BEGIN_STMT
  4279. MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxNext = pxIndex_50;
  4280. # DEBUG BEGIN_STMT
  4281. _16 = pxIndex_50->pxPrevious;
  4282. MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pxPrevious = _16;
  4283. # DEBUG BEGIN_STMT
  4284. _17 = pxIndex_50->pxPrevious;
  4285. _17->pxNext = _11;
  4286. # DEBUG BEGIN_STMT
  4287. pxIndex_50->pxPrevious = _11;
  4288. # DEBUG BEGIN_STMT
  4289. _18 = &pxReadyTasksLists[_14];
  4290. MEM[(struct TCB_t *)xTaskToNotify_31(D)].xStateListItem.pvContainer = _18;
  4291. # DEBUG BEGIN_STMT
  4292. _19 ={v} pxReadyTasksLists[_14].uxNumberOfItems;
  4293. _20 = _19 + 1;
  4294. pxReadyTasksLists[_14].uxNumberOfItems ={v} _20;
  4295. # DEBUG BEGIN_STMT
  4296. # DEBUG BEGIN_STMT
  4297. # DEBUG BEGIN_STMT
  4298. _21 = MEM[(struct TCB_t *)xTaskToNotify_31(D)].xEventListItem.pvContainer;
  4299. if (_21 != 0B)
  4300. goto <bb 25>; [70.00%]
  4301. else
  4302. goto <bb 27>; [30.00%]
  4303. <bb 25> [local count: 18836]:
  4304. # DEBUG BEGIN_STMT
  4305. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4306. # DEBUG BEGIN_STMT
  4307. # DEBUG BEGIN_STMT
  4308. __asm__ __volatile__(" mov %0, %1
  4309. msr basepri, %0
  4310. isb
  4311. dsb
  4312. " : "=r" ulNewBASEPRI_64 : "i" 16 : "memory");
  4313. # DEBUG ulNewBASEPRI => ulNewBASEPRI_64
  4314. <bb 26> [local count: 188363707]:
  4315. # DEBUG ulNewBASEPRI => NULL
  4316. # DEBUG BEGIN_STMT
  4317. # DEBUG BEGIN_STMT
  4318. # DEBUG BEGIN_STMT
  4319. <bb 33> [local count: 188363706]:
  4320. goto <bb 26>; [100.00%]
  4321. <bb 27> [local count: 8073]:
  4322. # DEBUG BEGIN_STMT
  4323. # DEBUG BEGIN_STMT
  4324. pxCurrentTCB.155_22 ={v} pxCurrentTCB;
  4325. _23 = pxCurrentTCB.155_22->uxPriority;
  4326. if (_14 > _23)
  4327. goto <bb 28>; [50.00%]
  4328. else
  4329. goto <bb 29>; [50.00%]
  4330. <bb 28> [local count: 4036]:
  4331. # DEBUG BEGIN_STMT
  4332. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  4333. # DEBUG BEGIN_STMT
  4334. __asm__ __volatile__("dsb" : : : "memory");
  4335. # DEBUG BEGIN_STMT
  4336. __asm__ __volatile__("isb");
  4337. # DEBUG BEGIN_STMT
  4338. <bb 29> [local count: 33803]:
  4339. # DEBUG BEGIN_STMT
  4340. # DEBUG BEGIN_STMT
  4341. vPortExitCritical ();
  4342. # DEBUG BEGIN_STMT
  4343. return xReturn_24;
  4344. }
  4345. xTaskGenericNotifyWait (UBaseType_t uxIndexToWait, uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t * pulNotificationValue, TickType_t xTicksToWait)
  4346. {
  4347. uint32_t ulNewBASEPRI;
  4348. BaseType_t xReturn;
  4349. struct TCB_t * pxCurrentTCB.146_1;
  4350. unsigned char _2;
  4351. long unsigned int _3;
  4352. long unsigned int _4;
  4353. long unsigned int _5;
  4354. struct TCB_t * pxCurrentTCB.148_6;
  4355. struct TCB_t * pxCurrentTCB.149_7;
  4356. long unsigned int _8;
  4357. struct TCB_t * pxCurrentTCB.150_9;
  4358. unsigned char _10;
  4359. long unsigned int _11;
  4360. long unsigned int _12;
  4361. long unsigned int _13;
  4362. struct TCB_t * pxCurrentTCB.152_14;
  4363. struct TCB_t * pxCurrentTCB.147_22;
  4364. struct TCB_t * pxCurrentTCB.151_35;
  4365. <bb 2> [local count: 160260]:
  4366. # DEBUG BEGIN_STMT
  4367. # DEBUG BEGIN_STMT
  4368. if (uxIndexToWait_19(D) != 0)
  4369. goto <bb 3>; [67.00%]
  4370. else
  4371. goto <bb 5>; [33.00%]
  4372. <bb 3> [local count: 107374]:
  4373. # DEBUG BEGIN_STMT
  4374. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4375. # DEBUG BEGIN_STMT
  4376. # DEBUG BEGIN_STMT
  4377. __asm__ __volatile__(" mov %0, %1
  4378. msr basepri, %0
  4379. isb
  4380. dsb
  4381. " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
  4382. # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
  4383. <bb 4> [local count: 1073741824]:
  4384. # DEBUG ulNewBASEPRI => NULL
  4385. # DEBUG BEGIN_STMT
  4386. # DEBUG BEGIN_STMT
  4387. # DEBUG BEGIN_STMT
  4388. <bb 13> [local count: 1073741824]:
  4389. goto <bb 4>; [100.00%]
  4390. <bb 5> [local count: 52886]:
  4391. # DEBUG BEGIN_STMT
  4392. # DEBUG BEGIN_STMT
  4393. vPortEnterCritical ();
  4394. # DEBUG BEGIN_STMT
  4395. pxCurrentTCB.146_1 ={v} pxCurrentTCB;
  4396. _2 ={v} pxCurrentTCB.146_1->ucNotifyState[0];
  4397. if (_2 != 2)
  4398. goto <bb 6>; [66.00%]
  4399. else
  4400. goto <bb 8>; [34.00%]
  4401. <bb 6> [local count: 34905]:
  4402. # DEBUG BEGIN_STMT
  4403. pxCurrentTCB.147_22 ={v} pxCurrentTCB;
  4404. _3 ={v} pxCurrentTCB.147_22->ulNotifiedValue[0];
  4405. _4 = ~ulBitsToClearOnEntry_23(D);
  4406. _5 = _3 & _4;
  4407. pxCurrentTCB.147_22->ulNotifiedValue[0] ={v} _5;
  4408. # DEBUG BEGIN_STMT
  4409. pxCurrentTCB.148_6 ={v} pxCurrentTCB;
  4410. pxCurrentTCB.148_6->ucNotifyState[0] ={v} 1;
  4411. # DEBUG BEGIN_STMT
  4412. if (xTicksToWait_26(D) != 0)
  4413. goto <bb 7>; [33.00%]
  4414. else
  4415. goto <bb 8>; [67.00%]
  4416. <bb 7> [local count: 11519]:
  4417. # DEBUG BEGIN_STMT
  4418. prvAddCurrentTaskToDelayedList (xTicksToWait_26(D), 1);
  4419. # DEBUG BEGIN_STMT
  4420. # DEBUG BEGIN_STMT
  4421. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  4422. # DEBUG BEGIN_STMT
  4423. __asm__ __volatile__("dsb" : : : "memory");
  4424. # DEBUG BEGIN_STMT
  4425. __asm__ __volatile__("isb");
  4426. # DEBUG BEGIN_STMT
  4427. <bb 8> [local count: 52886]:
  4428. # DEBUG BEGIN_STMT
  4429. # DEBUG BEGIN_STMT
  4430. vPortExitCritical ();
  4431. # DEBUG BEGIN_STMT
  4432. vPortEnterCritical ();
  4433. # DEBUG BEGIN_STMT
  4434. # DEBUG BEGIN_STMT
  4435. if (pulNotificationValue_33(D) != 0B)
  4436. goto <bb 9>; [70.00%]
  4437. else
  4438. goto <bb 10>; [30.00%]
  4439. <bb 9> [local count: 37020]:
  4440. # DEBUG BEGIN_STMT
  4441. pxCurrentTCB.149_7 ={v} pxCurrentTCB;
  4442. _8 ={v} pxCurrentTCB.149_7->ulNotifiedValue[0];
  4443. *pulNotificationValue_33(D) = _8;
  4444. <bb 10> [local count: 52886]:
  4445. # DEBUG BEGIN_STMT
  4446. pxCurrentTCB.150_9 ={v} pxCurrentTCB;
  4447. _10 ={v} pxCurrentTCB.150_9->ucNotifyState[0];
  4448. if (_10 != 2)
  4449. goto <bb 12>; [66.00%]
  4450. else
  4451. goto <bb 11>; [34.00%]
  4452. <bb 11> [local count: 17981]:
  4453. # DEBUG BEGIN_STMT
  4454. pxCurrentTCB.151_35 ={v} pxCurrentTCB;
  4455. _11 ={v} pxCurrentTCB.151_35->ulNotifiedValue[0];
  4456. _12 = ~ulBitsToClearOnExit_36(D);
  4457. _13 = _11 & _12;
  4458. pxCurrentTCB.151_35->ulNotifiedValue[0] ={v} _13;
  4459. # DEBUG BEGIN_STMT
  4460. # DEBUG xReturn => 1
  4461. <bb 12> [local count: 52886]:
  4462. # xReturn_15 = PHI <0(10), 1(11)>
  4463. # DEBUG xReturn => xReturn_15
  4464. # DEBUG BEGIN_STMT
  4465. pxCurrentTCB.152_14 ={v} pxCurrentTCB;
  4466. pxCurrentTCB.152_14->ucNotifyState[0] ={v} 0;
  4467. # DEBUG BEGIN_STMT
  4468. vPortExitCritical ();
  4469. # DEBUG BEGIN_STMT
  4470. return xReturn_15;
  4471. }
  4472. ulTaskGenericNotifyTake (UBaseType_t uxIndexToWait, BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
  4473. {
  4474. uint32_t ulNewBASEPRI;
  4475. uint32_t ulReturn;
  4476. struct TCB_t * pxCurrentTCB.140_1;
  4477. long unsigned int _2;
  4478. struct TCB_t * pxCurrentTCB.141_3;
  4479. struct TCB_t * pxCurrentTCB.142_4;
  4480. struct TCB_t * pxCurrentTCB.143_5;
  4481. struct TCB_t * pxCurrentTCB.144_6;
  4482. long unsigned int _7;
  4483. struct TCB_t * pxCurrentTCB.145_8;
  4484. <bb 2> [local count: 160260]:
  4485. # DEBUG BEGIN_STMT
  4486. # DEBUG BEGIN_STMT
  4487. if (uxIndexToWait_11(D) != 0)
  4488. goto <bb 3>; [67.00%]
  4489. else
  4490. goto <bb 5>; [33.00%]
  4491. <bb 3> [local count: 107374]:
  4492. # DEBUG BEGIN_STMT
  4493. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4494. # DEBUG BEGIN_STMT
  4495. # DEBUG BEGIN_STMT
  4496. __asm__ __volatile__(" mov %0, %1
  4497. msr basepri, %0
  4498. isb
  4499. dsb
  4500. " : "=r" ulNewBASEPRI_28 : "i" 16 : "memory");
  4501. # DEBUG ulNewBASEPRI => ulNewBASEPRI_28
  4502. <bb 4> [local count: 1073741824]:
  4503. # DEBUG ulNewBASEPRI => NULL
  4504. # DEBUG BEGIN_STMT
  4505. # DEBUG BEGIN_STMT
  4506. # DEBUG BEGIN_STMT
  4507. <bb 13> [local count: 1073741824]:
  4508. goto <bb 4>; [100.00%]
  4509. <bb 5> [local count: 52886]:
  4510. # DEBUG BEGIN_STMT
  4511. # DEBUG BEGIN_STMT
  4512. vPortEnterCritical ();
  4513. # DEBUG BEGIN_STMT
  4514. pxCurrentTCB.140_1 ={v} pxCurrentTCB;
  4515. _2 ={v} pxCurrentTCB.140_1->ulNotifiedValue[0];
  4516. if (_2 == 0)
  4517. goto <bb 6>; [50.00%]
  4518. else
  4519. goto <bb 8>; [50.00%]
  4520. <bb 6> [local count: 26443]:
  4521. # DEBUG BEGIN_STMT
  4522. pxCurrentTCB.141_3 ={v} pxCurrentTCB;
  4523. pxCurrentTCB.141_3->ucNotifyState[0] ={v} 1;
  4524. # DEBUG BEGIN_STMT
  4525. if (xTicksToWait_15(D) != 0)
  4526. goto <bb 7>; [33.00%]
  4527. else
  4528. goto <bb 8>; [67.00%]
  4529. <bb 7> [local count: 8726]:
  4530. # DEBUG BEGIN_STMT
  4531. prvAddCurrentTaskToDelayedList (xTicksToWait_15(D), 1);
  4532. # DEBUG BEGIN_STMT
  4533. # DEBUG BEGIN_STMT
  4534. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  4535. # DEBUG BEGIN_STMT
  4536. __asm__ __volatile__("dsb" : : : "memory");
  4537. # DEBUG BEGIN_STMT
  4538. __asm__ __volatile__("isb");
  4539. # DEBUG BEGIN_STMT
  4540. <bb 8> [local count: 52886]:
  4541. # DEBUG BEGIN_STMT
  4542. # DEBUG BEGIN_STMT
  4543. vPortExitCritical ();
  4544. # DEBUG BEGIN_STMT
  4545. vPortEnterCritical ();
  4546. # DEBUG BEGIN_STMT
  4547. # DEBUG BEGIN_STMT
  4548. pxCurrentTCB.142_4 ={v} pxCurrentTCB;
  4549. ulReturn_22 ={v} pxCurrentTCB.142_4->ulNotifiedValue[0];
  4550. # DEBUG ulReturn => ulReturn_22
  4551. # DEBUG BEGIN_STMT
  4552. if (ulReturn_22 != 0)
  4553. goto <bb 9>; [50.00%]
  4554. else
  4555. goto <bb 12>; [50.00%]
  4556. <bb 9> [local count: 26443]:
  4557. # DEBUG BEGIN_STMT
  4558. if (xClearCountOnExit_23(D) != 0)
  4559. goto <bb 10>; [50.00%]
  4560. else
  4561. goto <bb 11>; [50.00%]
  4562. <bb 10> [local count: 13221]:
  4563. # DEBUG BEGIN_STMT
  4564. pxCurrentTCB.143_5 ={v} pxCurrentTCB;
  4565. pxCurrentTCB.143_5->ulNotifiedValue[0] ={v} 0;
  4566. goto <bb 12>; [100.00%]
  4567. <bb 11> [local count: 13221]:
  4568. # DEBUG BEGIN_STMT
  4569. pxCurrentTCB.144_6 ={v} pxCurrentTCB;
  4570. _7 = ulReturn_22 + 4294967295;
  4571. pxCurrentTCB.144_6->ulNotifiedValue[0] ={v} _7;
  4572. <bb 12> [local count: 52886]:
  4573. # DEBUG BEGIN_STMT
  4574. # DEBUG BEGIN_STMT
  4575. pxCurrentTCB.145_8 ={v} pxCurrentTCB;
  4576. pxCurrentTCB.145_8->ucNotifyState[0] ={v} 0;
  4577. # DEBUG BEGIN_STMT
  4578. vPortExitCritical ();
  4579. # DEBUG BEGIN_STMT
  4580. return ulReturn_22;
  4581. }
  4582. pvTaskIncrementMutexHeldCount ()
  4583. {
  4584. struct TCB_t * pxCurrentTCB.138_1;
  4585. struct TCB_t * pxCurrentTCB.139_2;
  4586. long unsigned int _3;
  4587. long unsigned int _4;
  4588. struct tskTaskControlBlock * _8;
  4589. <bb 2> [local count: 1073741824]:
  4590. # DEBUG BEGIN_STMT
  4591. pxCurrentTCB.138_1 ={v} pxCurrentTCB;
  4592. if (pxCurrentTCB.138_1 != 0B)
  4593. goto <bb 3>; [70.00%]
  4594. else
  4595. goto <bb 4>; [30.00%]
  4596. <bb 3> [local count: 751619278]:
  4597. # DEBUG BEGIN_STMT
  4598. pxCurrentTCB.139_2 ={v} pxCurrentTCB;
  4599. _3 = pxCurrentTCB.139_2->uxMutexesHeld;
  4600. _4 = _3 + 1;
  4601. pxCurrentTCB.139_2->uxMutexesHeld = _4;
  4602. <bb 4> [local count: 1073741824]:
  4603. # DEBUG BEGIN_STMT
  4604. _8 ={v} pxCurrentTCB;
  4605. return _8;
  4606. }
  4607. uxTaskResetEventItemValue ()
  4608. {
  4609. TickType_t uxReturn;
  4610. struct TCB_t * pxCurrentTCB.135_1;
  4611. struct TCB_t * pxCurrentTCB.136_2;
  4612. long unsigned int _3;
  4613. struct TCB_t * pxCurrentTCB.137_4;
  4614. long unsigned int _5;
  4615. <bb 2> [local count: 1073741824]:
  4616. # DEBUG BEGIN_STMT
  4617. # DEBUG BEGIN_STMT
  4618. pxCurrentTCB.135_1 ={v} pxCurrentTCB;
  4619. uxReturn_7 = pxCurrentTCB.135_1->xEventListItem.xItemValue;
  4620. # DEBUG uxReturn => uxReturn_7
  4621. # DEBUG BEGIN_STMT
  4622. pxCurrentTCB.136_2 ={v} pxCurrentTCB;
  4623. _3 = pxCurrentTCB.136_2->uxPriority;
  4624. pxCurrentTCB.137_4 ={v} pxCurrentTCB;
  4625. _5 = 5 - _3;
  4626. pxCurrentTCB.137_4->xEventListItem.xItemValue = _5;
  4627. # DEBUG BEGIN_STMT
  4628. return uxReturn_7;
  4629. }
  4630. vTaskList (char * pcWriteBuffer)
  4631. {
  4632. char cStatus;
  4633. UBaseType_t x;
  4634. UBaseType_t uxArraySize;
  4635. struct TaskStatus_t * pxTaskStatusArray;
  4636. long unsigned int uxCurrentNumberOfTasks.134_1;
  4637. long unsigned int _2;
  4638. long unsigned int _3;
  4639. struct TaskStatus_t * _4;
  4640. <unnamed type> _5;
  4641. unsigned int _6;
  4642. const char * _8;
  4643. int _9;
  4644. long unsigned int _11;
  4645. short unsigned int _12;
  4646. unsigned int _13;
  4647. long unsigned int _14;
  4648. unsigned int _15;
  4649. <bb 2> [local count: 220893212]:
  4650. # DEBUG BEGIN_STMT
  4651. # DEBUG BEGIN_STMT
  4652. # DEBUG BEGIN_STMT
  4653. # DEBUG BEGIN_STMT
  4654. *pcWriteBuffer_22(D) = 0;
  4655. # DEBUG BEGIN_STMT
  4656. uxArraySize_24 ={v} uxCurrentNumberOfTasks;
  4657. # DEBUG uxArraySize => uxArraySize_24
  4658. # DEBUG BEGIN_STMT
  4659. uxCurrentNumberOfTasks.134_1 ={v} uxCurrentNumberOfTasks;
  4660. _2 = uxCurrentNumberOfTasks.134_1 * 36;
  4661. pxTaskStatusArray_26 = pvPortMalloc (_2);
  4662. # DEBUG pxTaskStatusArray => pxTaskStatusArray_26
  4663. # DEBUG BEGIN_STMT
  4664. if (pxTaskStatusArray_26 != 0B)
  4665. goto <bb 3>; [53.47%]
  4666. else
  4667. goto <bb 10>; [46.53%]
  4668. <bb 3> [local count: 118111600]:
  4669. # DEBUG BEGIN_STMT
  4670. uxArraySize_28 = uxTaskGetSystemState (pxTaskStatusArray_26, uxArraySize_24, 0B);
  4671. # DEBUG uxArraySize => uxArraySize_28
  4672. # DEBUG BEGIN_STMT
  4673. # DEBUG x => 0
  4674. goto <bb 8>; [100.00%]
  4675. <bb 4> [local count: 955630226]:
  4676. # DEBUG BEGIN_STMT
  4677. _3 = x_17 * 36;
  4678. _4 = pxTaskStatusArray_26 + _3;
  4679. _5 = _4->eCurrentState;
  4680. _6 = _5;
  4681. if (_6 <= 4)
  4682. goto <bb 6>; [50.00%]
  4683. else
  4684. goto <bb 5>; [50.00%]
  4685. <bb 5> [local count: 477815113]:
  4686. <L15>:
  4687. cStatus_10 = 0;
  4688. goto <bb 7>; [100.00%]
  4689. <bb 6> [local count: 477815113]:
  4690. <L16>:
  4691. cStatus_7 = CSWTCH.225[_6];
  4692. <bb 7> [local count: 955630226]:
  4693. # cStatus_18 = PHI <cStatus_7(6), cStatus_10(5)>
  4694. <L17>:
  4695. <L14>:
  4696. # DEBUG cStatus => cStatus_18
  4697. # DEBUG BEGIN_STMT
  4698. _8 = _4->pcTaskName;
  4699. pcWriteBuffer_31 = prvWriteNameToBuffer (pcWriteBuffer_16, _8);
  4700. # DEBUG pcWriteBuffer => pcWriteBuffer_31
  4701. # DEBUG BEGIN_STMT
  4702. _9 = (int) cStatus_18;
  4703. _11 = _4->uxCurrentPriority;
  4704. _12 = _4->usStackHighWaterMark;
  4705. _13 = (unsigned int) _12;
  4706. _14 = _4->xTaskNumber;
  4707. sprintf (pcWriteBuffer_31, "\t%c\t%u\t%u\t%u\r\n", _9, _11, _13, _14);
  4708. # DEBUG BEGIN_STMT
  4709. _15 = strlen (pcWriteBuffer_31);
  4710. pcWriteBuffer_33 = pcWriteBuffer_31 + _15;
  4711. # DEBUG pcWriteBuffer => pcWriteBuffer_33
  4712. # DEBUG BEGIN_STMT
  4713. x_34 = x_17 + 1;
  4714. # DEBUG x => x_34
  4715. <bb 8> [local count: 1073741824]:
  4716. # pcWriteBuffer_16 = PHI <pcWriteBuffer_22(D)(3), pcWriteBuffer_33(7)>
  4717. # x_17 = PHI <0(3), x_34(7)>
  4718. # DEBUG x => x_17
  4719. # DEBUG pcWriteBuffer => pcWriteBuffer_16
  4720. # DEBUG BEGIN_STMT
  4721. if (x_17 < uxArraySize_28)
  4722. goto <bb 4>; [89.00%]
  4723. else
  4724. goto <bb 9>; [11.00%]
  4725. <bb 9> [local count: 118111601]:
  4726. # DEBUG BEGIN_STMT
  4727. vPortFree (pxTaskStatusArray_26);
  4728. <bb 10> [local count: 220893212]:
  4729. # DEBUG BEGIN_STMT
  4730. return;
  4731. }
  4732. prvWriteNameToBuffer (char * pcBuffer, const char * pcTaskName)
  4733. {
  4734. size_t x;
  4735. char * _1;
  4736. char * _2;
  4737. <bb 2> [local count: 118111600]:
  4738. # DEBUG BEGIN_STMT
  4739. # DEBUG BEGIN_STMT
  4740. strcpy (pcBuffer_6(D), pcTaskName_7(D));
  4741. # DEBUG BEGIN_STMT
  4742. x_9 = strlen (pcBuffer_6(D));
  4743. # DEBUG x => x_9
  4744. goto <bb 4>; [100.00%]
  4745. <bb 3> [local count: 955630223]:
  4746. # DEBUG BEGIN_STMT
  4747. _1 = pcBuffer_6(D) + x_3;
  4748. *_1 = 32;
  4749. # DEBUG BEGIN_STMT
  4750. x_13 = x_3 + 1;
  4751. # DEBUG x => x_13
  4752. <bb 4> [local count: 1073741824]:
  4753. # x_3 = PHI <x_9(2), x_13(3)>
  4754. # DEBUG x => x_3
  4755. # DEBUG BEGIN_STMT
  4756. if (x_3 <= 8)
  4757. goto <bb 3>; [89.00%]
  4758. else
  4759. goto <bb 5>; [11.00%]
  4760. <bb 5> [local count: 118111601]:
  4761. # x_11 = PHI <x_3(4)>
  4762. # DEBUG BEGIN_STMT
  4763. _2 = pcBuffer_6(D) + x_11;
  4764. *_2 = 0;
  4765. # DEBUG BEGIN_STMT
  4766. return _2;
  4767. }
  4768. vTaskPriorityDisinheritAfterTimeout (struct tskTaskControlBlock * const pxMutexHolder, UBaseType_t uxHighestPriorityWaitingTask)
  4769. {
  4770. uint32_t ulNewBASEPRI;
  4771. uint32_t ulNewBASEPRI;
  4772. struct ListItem_t * const pxIndex;
  4773. UBaseType_t uxPriorityToUse;
  4774. long unsigned int _1;
  4775. long unsigned int _2;
  4776. long unsigned int _3;
  4777. struct TCB_t * pxCurrentTCB.132_4;
  4778. long unsigned int _5;
  4779. signed int _6;
  4780. long unsigned int _7;
  4781. struct xLIST * _8;
  4782. struct List_t * _9;
  4783. struct ListItem_t * _10;
  4784. long unsigned int _12;
  4785. long unsigned int uxTopReadyPriority.133_13;
  4786. struct xLIST_ITEM * _14;
  4787. struct xLIST_ITEM * _15;
  4788. struct List_t * _16;
  4789. long unsigned int _17;
  4790. long unsigned int _18;
  4791. <bb 2> [local count: 306783]:
  4792. # DEBUG BEGIN_STMT
  4793. # DEBUG pxTCB => pxMutexHolder_22(D)
  4794. # DEBUG BEGIN_STMT
  4795. # DEBUG BEGIN_STMT
  4796. # DEBUG uxOnlyOneMutexHeld => 1
  4797. # DEBUG BEGIN_STMT
  4798. if (pxMutexHolder_22(D) != 0B)
  4799. goto <bb 3>; [70.00%]
  4800. else
  4801. goto <bb 17>; [30.00%]
  4802. <bb 3> [local count: 214748]:
  4803. # DEBUG BEGIN_STMT
  4804. _1 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxMutexesHeld;
  4805. if (_1 == 0)
  4806. goto <bb 4>; [50.00%]
  4807. else
  4808. goto <bb 6>; [50.00%]
  4809. <bb 4> [local count: 107374]:
  4810. # DEBUG BEGIN_STMT
  4811. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4812. # DEBUG BEGIN_STMT
  4813. # DEBUG BEGIN_STMT
  4814. __asm__ __volatile__(" mov %0, %1
  4815. msr basepri, %0
  4816. isb
  4817. dsb
  4818. " : "=r" ulNewBASEPRI_36 : "i" 16 : "memory");
  4819. # DEBUG ulNewBASEPRI => ulNewBASEPRI_36
  4820. <bb 5> [local count: 1073741823]:
  4821. # DEBUG ulNewBASEPRI => NULL
  4822. # DEBUG BEGIN_STMT
  4823. # DEBUG BEGIN_STMT
  4824. # DEBUG BEGIN_STMT
  4825. <bb 18> [local count: 1073741824]:
  4826. goto <bb 5>; [100.00%]
  4827. <bb 6> [local count: 107374]:
  4828. # DEBUG BEGIN_STMT
  4829. # DEBUG BEGIN_STMT
  4830. _2 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxBasePriority;
  4831. uxPriorityToUse_11 = MAX_EXPR <_2, uxHighestPriorityWaitingTask_24(D)>;
  4832. # DEBUG uxPriorityToUse => uxPriorityToUse_11
  4833. # DEBUG BEGIN_STMT
  4834. _3 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority;
  4835. if (_3 != uxPriorityToUse_11)
  4836. goto <bb 7>; [66.00%]
  4837. else
  4838. goto <bb 17>; [34.00%]
  4839. <bb 7> [local count: 70867]:
  4840. # DEBUG BEGIN_STMT
  4841. if (_1 == 1)
  4842. goto <bb 8>; [34.00%]
  4843. else
  4844. goto <bb 17>; [66.00%]
  4845. <bb 8> [local count: 24095]:
  4846. # DEBUG BEGIN_STMT
  4847. pxCurrentTCB.132_4 ={v} pxCurrentTCB;
  4848. if (pxCurrentTCB.132_4 == pxMutexHolder_22(D))
  4849. goto <bb 9>; [30.00%]
  4850. else
  4851. goto <bb 11>; [70.00%]
  4852. <bb 9> [local count: 7228]:
  4853. # DEBUG BEGIN_STMT
  4854. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4855. # DEBUG BEGIN_STMT
  4856. # DEBUG BEGIN_STMT
  4857. __asm__ __volatile__(" mov %0, %1
  4858. msr basepri, %0
  4859. isb
  4860. dsb
  4861. " : "=r" ulNewBASEPRI_37 : "i" 16 : "memory");
  4862. # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
  4863. <bb 10> [local count: 72284299]:
  4864. # DEBUG ulNewBASEPRI => NULL
  4865. # DEBUG BEGIN_STMT
  4866. # DEBUG BEGIN_STMT
  4867. # DEBUG BEGIN_STMT
  4868. <bb 19> [local count: 72284299]:
  4869. goto <bb 10>; [100.00%]
  4870. <bb 11> [local count: 16866]:
  4871. # DEBUG BEGIN_STMT
  4872. # DEBUG BEGIN_STMT
  4873. # DEBUG BEGIN_STMT
  4874. # DEBUG uxPriorityUsedOnEntry => _3
  4875. # DEBUG BEGIN_STMT
  4876. MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority = uxPriorityToUse_11;
  4877. # DEBUG BEGIN_STMT
  4878. _5 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].xEventListItem.xItemValue;
  4879. _6 = (signed int) _5;
  4880. if (_6 >= 0)
  4881. goto <bb 12>; [59.00%]
  4882. else
  4883. goto <bb 13>; [41.00%]
  4884. <bb 12> [local count: 9951]:
  4885. # DEBUG BEGIN_STMT
  4886. _7 = 5 - uxPriorityToUse_11;
  4887. MEM[(struct TCB_t *)pxMutexHolder_22(D)].xEventListItem.xItemValue = _7;
  4888. <bb 13> [local count: 16866]:
  4889. # DEBUG BEGIN_STMT
  4890. # DEBUG BEGIN_STMT
  4891. _8 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pvContainer;
  4892. _9 = &pxReadyTasksLists[_3];
  4893. if (_8 == _9)
  4894. goto <bb 14>; [17.43%]
  4895. else
  4896. goto <bb 17>; [82.57%]
  4897. <bb 14> [local count: 2940]:
  4898. # DEBUG BEGIN_STMT
  4899. _10 = &MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem;
  4900. uxListRemove (_10);
  4901. # DEBUG BEGIN_STMT
  4902. # DEBUG BEGIN_STMT
  4903. # DEBUG BEGIN_STMT
  4904. _12 = MEM[(struct TCB_t *)pxMutexHolder_22(D)].uxPriority;
  4905. uxTopReadyPriority.133_13 ={v} uxTopReadyPriority;
  4906. if (_12 > uxTopReadyPriority.133_13)
  4907. goto <bb 15>; [50.00%]
  4908. else
  4909. goto <bb 16>; [50.00%]
  4910. <bb 15> [local count: 1470]:
  4911. # DEBUG BEGIN_STMT
  4912. uxTopReadyPriority ={v} _12;
  4913. <bb 16> [local count: 2940]:
  4914. # DEBUG BEGIN_STMT
  4915. # DEBUG BEGIN_STMT
  4916. pxIndex_29 = pxReadyTasksLists[_12].pxIndex;
  4917. # DEBUG pxIndex => pxIndex_29
  4918. # DEBUG BEGIN_STMT
  4919. # DEBUG BEGIN_STMT
  4920. # DEBUG BEGIN_STMT
  4921. MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pxNext = pxIndex_29;
  4922. # DEBUG BEGIN_STMT
  4923. _14 = pxIndex_29->pxPrevious;
  4924. MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pxPrevious = _14;
  4925. # DEBUG BEGIN_STMT
  4926. _15 = pxIndex_29->pxPrevious;
  4927. _15->pxNext = _10;
  4928. # DEBUG BEGIN_STMT
  4929. pxIndex_29->pxPrevious = _10;
  4930. # DEBUG BEGIN_STMT
  4931. _16 = &pxReadyTasksLists[_12];
  4932. MEM[(struct TCB_t *)pxMutexHolder_22(D)].xStateListItem.pvContainer = _16;
  4933. # DEBUG BEGIN_STMT
  4934. _17 ={v} pxReadyTasksLists[_12].uxNumberOfItems;
  4935. _18 = _17 + 1;
  4936. pxReadyTasksLists[_12].uxNumberOfItems ={v} _18;
  4937. # DEBUG BEGIN_STMT
  4938. # DEBUG BEGIN_STMT
  4939. <bb 17> [local count: 192180]:
  4940. # DEBUG BEGIN_STMT
  4941. return;
  4942. }
  4943. xTaskPriorityDisinherit (struct tskTaskControlBlock * const pxMutexHolder)
  4944. {
  4945. uint32_t ulNewBASEPRI;
  4946. uint32_t ulNewBASEPRI;
  4947. struct ListItem_t * const pxIndex;
  4948. BaseType_t xReturn;
  4949. struct TCB_t * pxCurrentTCB.130_1;
  4950. long unsigned int _2;
  4951. long unsigned int _3;
  4952. long unsigned int _4;
  4953. long unsigned int _5;
  4954. struct ListItem_t * _6;
  4955. long unsigned int _7;
  4956. long unsigned int _8;
  4957. long unsigned int uxTopReadyPriority.131_9;
  4958. struct xLIST_ITEM * _10;
  4959. struct xLIST_ITEM * _11;
  4960. struct List_t * _12;
  4961. long unsigned int _13;
  4962. long unsigned int _14;
  4963. <bb 2> [local count: 219131]:
  4964. # DEBUG BEGIN_STMT
  4965. # DEBUG pxTCB => pxMutexHolder_18(D)
  4966. # DEBUG BEGIN_STMT
  4967. # DEBUG xReturn => 0
  4968. # DEBUG BEGIN_STMT
  4969. if (pxMutexHolder_18(D) != 0B)
  4970. goto <bb 3>; [70.00%]
  4971. else
  4972. goto <bb 14>; [30.00%]
  4973. <bb 3> [local count: 153391]:
  4974. # DEBUG BEGIN_STMT
  4975. pxCurrentTCB.130_1 ={v} pxCurrentTCB;
  4976. if (pxCurrentTCB.130_1 != pxMutexHolder_18(D))
  4977. goto <bb 4>; [70.00%]
  4978. else
  4979. goto <bb 6>; [30.00%]
  4980. <bb 4> [local count: 107374]:
  4981. # DEBUG BEGIN_STMT
  4982. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4983. # DEBUG BEGIN_STMT
  4984. # DEBUG BEGIN_STMT
  4985. __asm__ __volatile__(" mov %0, %1
  4986. msr basepri, %0
  4987. isb
  4988. dsb
  4989. " : "=r" ulNewBASEPRI_32 : "i" 16 : "memory");
  4990. # DEBUG ulNewBASEPRI => ulNewBASEPRI_32
  4991. <bb 5> [local count: 1073741824]:
  4992. # DEBUG ulNewBASEPRI => NULL
  4993. # DEBUG BEGIN_STMT
  4994. # DEBUG BEGIN_STMT
  4995. # DEBUG BEGIN_STMT
  4996. <bb 15> [local count: 1073741824]:
  4997. goto <bb 5>; [100.00%]
  4998. <bb 6> [local count: 46017]:
  4999. # DEBUG BEGIN_STMT
  5000. # DEBUG BEGIN_STMT
  5001. _2 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxMutexesHeld;
  5002. if (_2 == 0)
  5003. goto <bb 7>; [50.00%]
  5004. else
  5005. goto <bb 9>; [50.00%]
  5006. <bb 7> [local count: 23009]:
  5007. # DEBUG BEGIN_STMT
  5008. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5009. # DEBUG BEGIN_STMT
  5010. # DEBUG BEGIN_STMT
  5011. __asm__ __volatile__(" mov %0, %1
  5012. msr basepri, %0
  5013. isb
  5014. dsb
  5015. " : "=r" ulNewBASEPRI_33 : "i" 16 : "memory");
  5016. # DEBUG ulNewBASEPRI => ulNewBASEPRI_33
  5017. <bb 8> [local count: 230087534]:
  5018. # DEBUG ulNewBASEPRI => NULL
  5019. # DEBUG BEGIN_STMT
  5020. # DEBUG BEGIN_STMT
  5021. # DEBUG BEGIN_STMT
  5022. <bb 16> [local count: 230087534]:
  5023. goto <bb 8>; [100.00%]
  5024. <bb 9> [local count: 23009]:
  5025. # DEBUG BEGIN_STMT
  5026. # DEBUG BEGIN_STMT
  5027. _3 = _2 + 4294967295;
  5028. MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxMutexesHeld = _3;
  5029. # DEBUG BEGIN_STMT
  5030. _4 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxPriority;
  5031. _5 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxBasePriority;
  5032. if (_4 != _5)
  5033. goto <bb 10>; [66.00%]
  5034. else
  5035. goto <bb 14>; [34.00%]
  5036. <bb 10> [local count: 15186]:
  5037. # DEBUG BEGIN_STMT
  5038. if (_3 == 0)
  5039. goto <bb 11>; [33.00%]
  5040. else
  5041. goto <bb 14>; [67.00%]
  5042. <bb 11> [local count: 5011]:
  5043. # DEBUG BEGIN_STMT
  5044. _6 = &MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem;
  5045. uxListRemove (_6);
  5046. # DEBUG BEGIN_STMT
  5047. # DEBUG BEGIN_STMT
  5048. # DEBUG BEGIN_STMT
  5049. _7 = MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxBasePriority;
  5050. MEM[(struct TCB_t *)pxMutexHolder_18(D)].uxPriority = _7;
  5051. # DEBUG BEGIN_STMT
  5052. _8 = 5 - _7;
  5053. MEM[(struct TCB_t *)pxMutexHolder_18(D)].xEventListItem.xItemValue = _8;
  5054. # DEBUG BEGIN_STMT
  5055. # DEBUG BEGIN_STMT
  5056. uxTopReadyPriority.131_9 ={v} uxTopReadyPriority;
  5057. if (_7 > uxTopReadyPriority.131_9)
  5058. goto <bb 12>; [50.00%]
  5059. else
  5060. goto <bb 13>; [50.00%]
  5061. <bb 12> [local count: 2506]:
  5062. # DEBUG BEGIN_STMT
  5063. uxTopReadyPriority ={v} _7;
  5064. <bb 13> [local count: 5011]:
  5065. # DEBUG BEGIN_STMT
  5066. # DEBUG BEGIN_STMT
  5067. pxIndex_25 = pxReadyTasksLists[_7].pxIndex;
  5068. # DEBUG pxIndex => pxIndex_25
  5069. # DEBUG BEGIN_STMT
  5070. # DEBUG BEGIN_STMT
  5071. # DEBUG BEGIN_STMT
  5072. MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pxNext = pxIndex_25;
  5073. # DEBUG BEGIN_STMT
  5074. _10 = pxIndex_25->pxPrevious;
  5075. MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pxPrevious = _10;
  5076. # DEBUG BEGIN_STMT
  5077. _11 = pxIndex_25->pxPrevious;
  5078. _11->pxNext = _6;
  5079. # DEBUG BEGIN_STMT
  5080. pxIndex_25->pxPrevious = _6;
  5081. # DEBUG BEGIN_STMT
  5082. _12 = &pxReadyTasksLists[_7];
  5083. MEM[(struct TCB_t *)pxMutexHolder_18(D)].xStateListItem.pvContainer = _12;
  5084. # DEBUG BEGIN_STMT
  5085. _13 ={v} pxReadyTasksLists[_7].uxNumberOfItems;
  5086. _14 = _13 + 1;
  5087. pxReadyTasksLists[_7].uxNumberOfItems ={v} _14;
  5088. # DEBUG BEGIN_STMT
  5089. # DEBUG BEGIN_STMT
  5090. # DEBUG BEGIN_STMT
  5091. # DEBUG xReturn => 1
  5092. <bb 14> [local count: 88748]:
  5093. # xReturn_15 = PHI <0(2), 1(13), 0(9), 0(10)>
  5094. # DEBUG xReturn => xReturn_15
  5095. # DEBUG BEGIN_STMT
  5096. # DEBUG BEGIN_STMT
  5097. return xReturn_15;
  5098. }
  5099. xTaskPriorityInherit (struct tskTaskControlBlock * const pxMutexHolder)
  5100. {
  5101. struct ListItem_t * const pxIndex;
  5102. BaseType_t xReturn;
  5103. long unsigned int _1;
  5104. struct TCB_t * pxCurrentTCB.124_2;
  5105. long unsigned int _3;
  5106. long unsigned int _4;
  5107. signed int _5;
  5108. struct TCB_t * pxCurrentTCB.125_6;
  5109. long unsigned int _7;
  5110. long unsigned int _8;
  5111. struct xLIST * _9;
  5112. struct List_t * _10;
  5113. struct ListItem_t * _11;
  5114. struct TCB_t * pxCurrentTCB.126_12;
  5115. long unsigned int _13;
  5116. long unsigned int uxTopReadyPriority.127_14;
  5117. struct xLIST_ITEM * _15;
  5118. struct xLIST_ITEM * _16;
  5119. struct List_t * _17;
  5120. long unsigned int _18;
  5121. long unsigned int _19;
  5122. struct TCB_t * pxCurrentTCB.128_20;
  5123. long unsigned int _21;
  5124. long unsigned int _22;
  5125. struct TCB_t * pxCurrentTCB.129_23;
  5126. long unsigned int _24;
  5127. <bb 2> [local count: 1073741824]:
  5128. # DEBUG BEGIN_STMT
  5129. # DEBUG pxMutexHolderTCB => pxMutexHolder_29(D)
  5130. # DEBUG BEGIN_STMT
  5131. # DEBUG xReturn => 0
  5132. # DEBUG BEGIN_STMT
  5133. if (pxMutexHolder_29(D) != 0B)
  5134. goto <bb 3>; [70.00%]
  5135. else
  5136. goto <bb 13>; [30.00%]
  5137. <bb 3> [local count: 751619278]:
  5138. # DEBUG BEGIN_STMT
  5139. _1 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority;
  5140. pxCurrentTCB.124_2 ={v} pxCurrentTCB;
  5141. _3 = pxCurrentTCB.124_2->uxPriority;
  5142. if (_1 < _3)
  5143. goto <bb 4>; [50.00%]
  5144. else
  5145. goto <bb 11>; [50.00%]
  5146. <bb 4> [local count: 375809639]:
  5147. # DEBUG BEGIN_STMT
  5148. _4 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].xEventListItem.xItemValue;
  5149. _5 = (signed int) _4;
  5150. if (_5 >= 0)
  5151. goto <bb 5>; [59.00%]
  5152. else
  5153. goto <bb 6>; [41.00%]
  5154. <bb 5> [local count: 221727687]:
  5155. # DEBUG BEGIN_STMT
  5156. pxCurrentTCB.125_6 ={v} pxCurrentTCB;
  5157. _7 = pxCurrentTCB.125_6->uxPriority;
  5158. _8 = 5 - _7;
  5159. MEM[(struct TCB_t *)pxMutexHolder_29(D)].xEventListItem.xItemValue = _8;
  5160. <bb 6> [local count: 375809639]:
  5161. # DEBUG BEGIN_STMT
  5162. # DEBUG BEGIN_STMT
  5163. _9 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pvContainer;
  5164. _10 = &pxReadyTasksLists[_1];
  5165. if (_9 == _10)
  5166. goto <bb 7>; [17.43%]
  5167. else
  5168. goto <bb 10>; [82.57%]
  5169. <bb 7> [local count: 65503620]:
  5170. # DEBUG BEGIN_STMT
  5171. _11 = &MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem;
  5172. uxListRemove (_11);
  5173. # DEBUG BEGIN_STMT
  5174. # DEBUG BEGIN_STMT
  5175. pxCurrentTCB.126_12 ={v} pxCurrentTCB;
  5176. _13 = pxCurrentTCB.126_12->uxPriority;
  5177. MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority = _13;
  5178. # DEBUG BEGIN_STMT
  5179. # DEBUG BEGIN_STMT
  5180. uxTopReadyPriority.127_14 ={v} uxTopReadyPriority;
  5181. if (_13 > uxTopReadyPriority.127_14)
  5182. goto <bb 8>; [50.00%]
  5183. else
  5184. goto <bb 9>; [50.00%]
  5185. <bb 8> [local count: 32751810]:
  5186. # DEBUG BEGIN_STMT
  5187. uxTopReadyPriority ={v} _13;
  5188. <bb 9> [local count: 65503620]:
  5189. # DEBUG BEGIN_STMT
  5190. # DEBUG BEGIN_STMT
  5191. pxIndex_36 = pxReadyTasksLists[_13].pxIndex;
  5192. # DEBUG pxIndex => pxIndex_36
  5193. # DEBUG BEGIN_STMT
  5194. # DEBUG BEGIN_STMT
  5195. # DEBUG BEGIN_STMT
  5196. MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pxNext = pxIndex_36;
  5197. # DEBUG BEGIN_STMT
  5198. _15 = pxIndex_36->pxPrevious;
  5199. MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pxPrevious = _15;
  5200. # DEBUG BEGIN_STMT
  5201. _16 = pxIndex_36->pxPrevious;
  5202. _16->pxNext = _11;
  5203. # DEBUG BEGIN_STMT
  5204. pxIndex_36->pxPrevious = _11;
  5205. # DEBUG BEGIN_STMT
  5206. _17 = &pxReadyTasksLists[_13];
  5207. MEM[(struct TCB_t *)pxMutexHolder_29(D)].xStateListItem.pvContainer = _17;
  5208. # DEBUG BEGIN_STMT
  5209. _18 ={v} pxReadyTasksLists[_13].uxNumberOfItems;
  5210. _19 = _18 + 1;
  5211. pxReadyTasksLists[_13].uxNumberOfItems ={v} _19;
  5212. # DEBUG BEGIN_STMT
  5213. # DEBUG BEGIN_STMT
  5214. goto <bb 13>; [100.00%]
  5215. <bb 10> [local count: 310306019]:
  5216. # DEBUG BEGIN_STMT
  5217. pxCurrentTCB.128_20 ={v} pxCurrentTCB;
  5218. _21 = pxCurrentTCB.128_20->uxPriority;
  5219. MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxPriority = _21;
  5220. goto <bb 13>; [100.00%]
  5221. <bb 11> [local count: 375809639]:
  5222. # DEBUG BEGIN_STMT
  5223. _22 = MEM[(struct TCB_t *)pxMutexHolder_29(D)].uxBasePriority;
  5224. pxCurrentTCB.129_23 ={v} pxCurrentTCB;
  5225. _24 = pxCurrentTCB.129_23->uxPriority;
  5226. if (_22 < _24)
  5227. goto <bb 12>; [50.00%]
  5228. else
  5229. goto <bb 13>; [50.00%]
  5230. <bb 12> [local count: 187904819]:
  5231. # DEBUG BEGIN_STMT
  5232. # DEBUG xReturn => 1
  5233. <bb 13> [local count: 1073741824]:
  5234. # xReturn_25 = PHI <0(2), 0(11), 1(10), 1(12), 1(9)>
  5235. # DEBUG xReturn => xReturn_25
  5236. # DEBUG BEGIN_STMT
  5237. # DEBUG BEGIN_STMT
  5238. return xReturn_25;
  5239. }
  5240. xTaskGetSchedulerState ()
  5241. {
  5242. BaseType_t xReturn;
  5243. long int xSchedulerRunning.122_1;
  5244. long unsigned int uxSchedulerSuspended.123_2;
  5245. <bb 2> [local count: 1073741824]:
  5246. # DEBUG BEGIN_STMT
  5247. # DEBUG BEGIN_STMT
  5248. xSchedulerRunning.122_1 ={v} xSchedulerRunning;
  5249. if (xSchedulerRunning.122_1 == 0)
  5250. goto <bb 5>; [50.00%]
  5251. else
  5252. goto <bb 3>; [50.00%]
  5253. <bb 3> [local count: 536870913]:
  5254. # DEBUG BEGIN_STMT
  5255. uxSchedulerSuspended.123_2 ={v} uxSchedulerSuspended;
  5256. if (uxSchedulerSuspended.123_2 == 0)
  5257. goto <bb 5>; [35.00%]
  5258. else
  5259. goto <bb 4>; [65.00%]
  5260. <bb 4> [local count: 348966093]:
  5261. # DEBUG BEGIN_STMT
  5262. # DEBUG xReturn => 0
  5263. <bb 5> [local count: 1073741824]:
  5264. # xReturn_3 = PHI <1(2), 2(3), 0(4)>
  5265. # DEBUG xReturn => xReturn_3
  5266. # DEBUG BEGIN_STMT
  5267. return xReturn_3;
  5268. }
  5269. xTaskGetCurrentTaskHandle ()
  5270. {
  5271. struct tskTaskControlBlock * xReturn;
  5272. <bb 2> [local count: 1073741824]:
  5273. # DEBUG BEGIN_STMT
  5274. # DEBUG BEGIN_STMT
  5275. xReturn_2 ={v} pxCurrentTCB;
  5276. # DEBUG xReturn => xReturn_2
  5277. # DEBUG BEGIN_STMT
  5278. return xReturn_2;
  5279. }
  5280. prvResetNextTaskUnblockTime ()
  5281. {
  5282. struct List_t * pxDelayedTaskList.20_1;
  5283. long unsigned int _2;
  5284. <bb 2> [local count: 1073741824]:
  5285. # DEBUG BEGIN_STMT
  5286. pxDelayedTaskList.20_1 ={v} pxDelayedTaskList;
  5287. _2 ={v} pxDelayedTaskList.20_1->uxNumberOfItems;
  5288. if (_2 == 0)
  5289. goto <bb 3>; [50.00%]
  5290. else
  5291. goto <bb 4>; [50.00%]
  5292. <bb 3> [local count: 536870913]:
  5293. # DEBUG BEGIN_STMT
  5294. xNextTaskUnblockTime ={v} 4294967295;
  5295. goto <bb 5>; [100.00%]
  5296. <bb 4> [local count: 536870912]:
  5297. prvResetNextTaskUnblockTime.part.0 ();
  5298. <bb 5> [local count: 1073741824]:
  5299. return;
  5300. }
  5301. prvDeleteTCB (struct TCB_t * pxTCB)
  5302. {
  5303. StackType_t * _1;
  5304. <bb 2> [local count: 1073741824]:
  5305. # DEBUG BEGIN_STMT
  5306. # DEBUG BEGIN_STMT
  5307. _1 = pxTCB_3(D)->pxStack;
  5308. vPortFree (_1);
  5309. # DEBUG BEGIN_STMT
  5310. vPortFree (pxTCB_3(D));
  5311. return;
  5312. }
  5313. uxTaskGetStackHighWaterMark (struct tskTaskControlBlock * xTask)
  5314. {
  5315. UBaseType_t uxReturn;
  5316. uint8_t * pucEndOfStack;
  5317. short unsigned int _1;
  5318. struct TCB_t * iftmp.121_2;
  5319. struct TCB_t * iftmp.121_5;
  5320. <bb 2> [local count: 1073741824]:
  5321. # DEBUG BEGIN_STMT
  5322. # DEBUG BEGIN_STMT
  5323. # DEBUG BEGIN_STMT
  5324. # DEBUG BEGIN_STMT
  5325. if (xTask_3(D) == 0B)
  5326. goto <bb 3>; [30.00%]
  5327. else
  5328. goto <bb 4>; [70.00%]
  5329. <bb 3> [local count: 322122547]:
  5330. iftmp.121_5 ={v} pxCurrentTCB;
  5331. <bb 4> [local count: 1073741824]:
  5332. # iftmp.121_2 = PHI <iftmp.121_5(3), xTask_3(D)(2)>
  5333. # DEBUG pxTCB => iftmp.121_2
  5334. # DEBUG BEGIN_STMT
  5335. pucEndOfStack_6 = iftmp.121_2->pxStack;
  5336. # DEBUG pucEndOfStack => pucEndOfStack_6
  5337. # DEBUG BEGIN_STMT
  5338. _1 = prvTaskCheckFreeStackSpace (pucEndOfStack_6);
  5339. uxReturn_7 = (UBaseType_t) _1;
  5340. # DEBUG uxReturn => uxReturn_7
  5341. # DEBUG BEGIN_STMT
  5342. return uxReturn_7;
  5343. }
  5344. prvTaskCheckFreeStackSpace (const uint8_t * pucStackByte)
  5345. {
  5346. uint32_t ulCount;
  5347. unsigned char _1;
  5348. uint16_t _8;
  5349. <bb 2> [local count: 118111600]:
  5350. # DEBUG BEGIN_STMT
  5351. # DEBUG ulCount => 0
  5352. # DEBUG BEGIN_STMT
  5353. goto <bb 4>; [100.00%]
  5354. <bb 3> [local count: 955630223]:
  5355. # DEBUG BEGIN_STMT
  5356. pucStackByte_9 = pucStackByte_2 + 1;
  5357. # DEBUG pucStackByte => pucStackByte_9
  5358. # DEBUG BEGIN_STMT
  5359. ulCount_10 = ulCount_3 + 1;
  5360. # DEBUG ulCount => ulCount_10
  5361. <bb 4> [local count: 1073741824]:
  5362. # pucStackByte_2 = PHI <pucStackByte_5(D)(2), pucStackByte_9(3)>
  5363. # ulCount_3 = PHI <0(2), ulCount_10(3)>
  5364. # DEBUG ulCount => ulCount_3
  5365. # DEBUG pucStackByte => pucStackByte_2
  5366. # DEBUG BEGIN_STMT
  5367. _1 = *pucStackByte_2;
  5368. if (_1 == 165)
  5369. goto <bb 3>; [89.00%]
  5370. else
  5371. goto <bb 5>; [11.00%]
  5372. <bb 5> [local count: 118111601]:
  5373. # ulCount_4 = PHI <ulCount_3(4)>
  5374. # DEBUG BEGIN_STMT
  5375. ulCount_7 = ulCount_4 >> 2;
  5376. # DEBUG ulCount => ulCount_7
  5377. # DEBUG BEGIN_STMT
  5378. _8 = (uint16_t) ulCount_7;
  5379. return _8;
  5380. }
  5381. prvListTasksWithinSingleList (struct TaskStatus_t * pxTaskStatusArray, struct List_t * pxList, eTaskState eState)
  5382. {
  5383. UBaseType_t uxTask;
  5384. long unsigned int _1;
  5385. <bb 2> [local count: 236223200]:
  5386. # DEBUG BEGIN_STMT
  5387. # DEBUG BEGIN_STMT
  5388. # DEBUG uxTask => 0
  5389. # DEBUG BEGIN_STMT
  5390. _1 ={v} pxList_7(D)->uxNumberOfItems;
  5391. if (_1 != 0)
  5392. goto <bb 3>; [50.00%]
  5393. else
  5394. goto <bb 4>; [50.00%]
  5395. <bb 3> [local count: 118111600]:
  5396. uxTask_2 = prvListTasksWithinSingleList.part.0 (pxTaskStatusArray_8(D), pxList_7(D), eState_9(D));
  5397. <bb 4> [local count: 236223201]:
  5398. # uxTask_5 = PHI <0(2), uxTask_2(3)>
  5399. # DEBUG uxTask => uxTask_5
  5400. # DEBUG BEGIN_STMT
  5401. # DEBUG BEGIN_STMT
  5402. return uxTask_5;
  5403. }
  5404. vTaskGetInfo (struct tskTaskControlBlock * xTask, struct TaskStatus_t * pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
  5405. {
  5406. char * _1;
  5407. long unsigned int _2;
  5408. StackType_t * _3;
  5409. long unsigned int _4;
  5410. long unsigned int _5;
  5411. struct TCB_t * pxCurrentTCB.120_6;
  5412. struct xLIST * _7;
  5413. <unnamed type> _8;
  5414. StackType_t * _9;
  5415. short unsigned int _10;
  5416. struct TCB_t * iftmp.119_11;
  5417. struct TCB_t * iftmp.119_17;
  5418. <bb 2> [local count: 1073741823]:
  5419. # DEBUG BEGIN_STMT
  5420. # DEBUG BEGIN_STMT
  5421. if (xTask_15(D) == 0B)
  5422. goto <bb 3>; [30.00%]
  5423. else
  5424. goto <bb 4>; [70.00%]
  5425. <bb 3> [local count: 322122547]:
  5426. iftmp.119_17 ={v} pxCurrentTCB;
  5427. <bb 4> [local count: 1073741823]:
  5428. # iftmp.119_11 = PHI <iftmp.119_17(3), xTask_15(D)(2)>
  5429. # DEBUG pxTCB => iftmp.119_11
  5430. # DEBUG BEGIN_STMT
  5431. pxTaskStatus_18(D)->xHandle = iftmp.119_11;
  5432. # DEBUG BEGIN_STMT
  5433. _1 = &iftmp.119_11->pcTaskName[0];
  5434. pxTaskStatus_18(D)->pcTaskName = _1;
  5435. # DEBUG BEGIN_STMT
  5436. _2 = iftmp.119_11->uxPriority;
  5437. pxTaskStatus_18(D)->uxCurrentPriority = _2;
  5438. # DEBUG BEGIN_STMT
  5439. _3 = iftmp.119_11->pxStack;
  5440. pxTaskStatus_18(D)->pxStackBase = _3;
  5441. # DEBUG BEGIN_STMT
  5442. _4 = iftmp.119_11->uxTCBNumber;
  5443. pxTaskStatus_18(D)->xTaskNumber = _4;
  5444. # DEBUG BEGIN_STMT
  5445. _5 = iftmp.119_11->uxBasePriority;
  5446. pxTaskStatus_18(D)->uxBasePriority = _5;
  5447. # DEBUG BEGIN_STMT
  5448. pxTaskStatus_18(D)->ulRunTimeCounter = 0;
  5449. # DEBUG BEGIN_STMT
  5450. if (eState_26(D) != 5)
  5451. goto <bb 5>; [79.76%]
  5452. else
  5453. goto <bb 11>; [20.24%]
  5454. <bb 5> [local count: 856416478]:
  5455. # DEBUG BEGIN_STMT
  5456. pxCurrentTCB.120_6 ={v} pxCurrentTCB;
  5457. if (pxCurrentTCB.120_6 == iftmp.119_11)
  5458. goto <bb 6>; [30.00%]
  5459. else
  5460. goto <bb 7>; [70.00%]
  5461. <bb 6> [local count: 256924943]:
  5462. # DEBUG BEGIN_STMT
  5463. pxTaskStatus_18(D)->eCurrentState = 0;
  5464. goto <bb 12>; [100.00%]
  5465. <bb 7> [local count: 599491536]:
  5466. # DEBUG BEGIN_STMT
  5467. pxTaskStatus_18(D)->eCurrentState = eState_26(D);
  5468. # DEBUG BEGIN_STMT
  5469. if (eState_26(D) == 3)
  5470. goto <bb 8>; [20.24%]
  5471. else
  5472. goto <bb 12>; [79.76%]
  5473. <bb 8> [local count: 121337087]:
  5474. # DEBUG BEGIN_STMT
  5475. vTaskSuspendAll ();
  5476. # DEBUG BEGIN_STMT
  5477. _7 = iftmp.119_11->xEventListItem.pvContainer;
  5478. if (_7 != 0B)
  5479. goto <bb 9>; [70.00%]
  5480. else
  5481. goto <bb 10>; [30.00%]
  5482. <bb 9> [local count: 84935961]:
  5483. # DEBUG BEGIN_STMT
  5484. pxTaskStatus_18(D)->eCurrentState = 2;
  5485. <bb 10> [local count: 121337087]:
  5486. # DEBUG BEGIN_STMT
  5487. xTaskResumeAll ();
  5488. goto <bb 12>; [100.00%]
  5489. <bb 11> [local count: 217325345]:
  5490. # DEBUG BEGIN_STMT
  5491. _8 = eTaskGetState (iftmp.119_11);
  5492. pxTaskStatus_18(D)->eCurrentState = _8;
  5493. <bb 12> [local count: 1073741824]:
  5494. # DEBUG BEGIN_STMT
  5495. if (xGetFreeStackSpace_34(D) != 0)
  5496. goto <bb 13>; [33.00%]
  5497. else
  5498. goto <bb 14>; [67.00%]
  5499. <bb 13> [local count: 354334802]:
  5500. # DEBUG BEGIN_STMT
  5501. _9 = iftmp.119_11->pxStack;
  5502. _10 = prvTaskCheckFreeStackSpace (_9);
  5503. pxTaskStatus_18(D)->usStackHighWaterMark = _10;
  5504. goto <bb 15>; [100.00%]
  5505. <bb 14> [local count: 719407024]:
  5506. # DEBUG BEGIN_STMT
  5507. pxTaskStatus_18(D)->usStackHighWaterMark = 0;
  5508. <bb 15> [local count: 1073741824]:
  5509. return;
  5510. }
  5511. prvCheckTasksWaitingTermination ()
  5512. {
  5513. struct TCB_t * pxTCB;
  5514. struct xLIST_ITEM * _1;
  5515. struct ListItem_t * _2;
  5516. long unsigned int uxCurrentNumberOfTasks.58_3;
  5517. long unsigned int _4;
  5518. long unsigned int uxDeletedTasksWaitingCleanUp.59_5;
  5519. long unsigned int _6;
  5520. long unsigned int uxDeletedTasksWaitingCleanUp.60_7;
  5521. <bb 2> [local count: 118111600]:
  5522. # DEBUG BEGIN_STMT
  5523. # DEBUG BEGIN_STMT
  5524. goto <bb 4>; [100.00%]
  5525. <bb 3> [local count: 955630223]:
  5526. # DEBUG BEGIN_STMT
  5527. vPortEnterCritical ();
  5528. # DEBUG BEGIN_STMT
  5529. _1 = xTasksWaitingTermination.xListEnd.pxNext;
  5530. pxTCB_11 = _1->pvOwner;
  5531. # DEBUG pxTCB => pxTCB_11
  5532. # DEBUG BEGIN_STMT
  5533. _2 = &pxTCB_11->xStateListItem;
  5534. uxListRemove (_2);
  5535. # DEBUG BEGIN_STMT
  5536. uxCurrentNumberOfTasks.58_3 ={v} uxCurrentNumberOfTasks;
  5537. _4 = uxCurrentNumberOfTasks.58_3 + 4294967295;
  5538. uxCurrentNumberOfTasks ={v} _4;
  5539. # DEBUG BEGIN_STMT
  5540. uxDeletedTasksWaitingCleanUp.59_5 ={v} uxDeletedTasksWaitingCleanUp;
  5541. _6 = uxDeletedTasksWaitingCleanUp.59_5 + 4294967295;
  5542. uxDeletedTasksWaitingCleanUp ={v} _6;
  5543. # DEBUG BEGIN_STMT
  5544. vPortExitCritical ();
  5545. # DEBUG BEGIN_STMT
  5546. prvDeleteTCB (pxTCB_11);
  5547. <bb 4> [local count: 1073741824]:
  5548. # DEBUG BEGIN_STMT
  5549. uxDeletedTasksWaitingCleanUp.60_7 ={v} uxDeletedTasksWaitingCleanUp;
  5550. if (uxDeletedTasksWaitingCleanUp.60_7 != 0)
  5551. goto <bb 3>; [89.00%]
  5552. else
  5553. goto <bb 5>; [11.00%]
  5554. <bb 5> [local count: 118111601]:
  5555. return;
  5556. }
  5557. prvInitialiseTaskLists ()
  5558. {
  5559. UBaseType_t uxPriority;
  5560. struct List_t * _1;
  5561. <bb 2> [local count: 178992762]:
  5562. # DEBUG BEGIN_STMT
  5563. # DEBUG BEGIN_STMT
  5564. # DEBUG uxPriority => 0
  5565. goto <bb 4>; [100.00%]
  5566. <bb 3> [local count: 894749063]:
  5567. # DEBUG BEGIN_STMT
  5568. _1 = &pxReadyTasksLists[uxPriority_2];
  5569. vListInitialise (_1);
  5570. # DEBUG BEGIN_STMT
  5571. uxPriority_13 = uxPriority_2 + 1;
  5572. # DEBUG uxPriority => uxPriority_13
  5573. <bb 4> [local count: 1073741824]:
  5574. # uxPriority_2 = PHI <0(2), uxPriority_13(3)>
  5575. # DEBUG uxPriority => uxPriority_2
  5576. # DEBUG BEGIN_STMT
  5577. if (uxPriority_2 != 5)
  5578. goto <bb 3>; [83.33%]
  5579. else
  5580. goto <bb 5>; [16.67%]
  5581. <bb 5> [local count: 178992762]:
  5582. # DEBUG BEGIN_STMT
  5583. vListInitialise (&xDelayedTaskList1);
  5584. # DEBUG BEGIN_STMT
  5585. vListInitialise (&xDelayedTaskList2);
  5586. # DEBUG BEGIN_STMT
  5587. vListInitialise (&xPendingReadyList);
  5588. # DEBUG BEGIN_STMT
  5589. vListInitialise (&xTasksWaitingTermination);
  5590. # DEBUG BEGIN_STMT
  5591. vListInitialise (&xSuspendedTaskList);
  5592. # DEBUG BEGIN_STMT
  5593. pxDelayedTaskList ={v} &xDelayedTaskList1;
  5594. # DEBUG BEGIN_STMT
  5595. pxOverflowDelayedTaskList ={v} &xDelayedTaskList2;
  5596. return;
  5597. }
  5598. prvIdleTask (void * pvParameters)
  5599. {
  5600. long unsigned int _1;
  5601. <bb 2> [local count: 63351]:
  5602. <bb 3> [local count: 633507677]:
  5603. <bb 4> [local count: 1073741824]:
  5604. # DEBUG BEGIN_STMT
  5605. # DEBUG BEGIN_STMT
  5606. # DEBUG BEGIN_STMT
  5607. # DEBUG BEGIN_STMT
  5608. prvCheckTasksWaitingTermination ();
  5609. # DEBUG BEGIN_STMT
  5610. _1 ={v} pxReadyTasksLists[0].uxNumberOfItems;
  5611. if (_1 > 1)
  5612. goto <bb 5>; [59.00%]
  5613. else
  5614. goto <bb 6>; [41.00%]
  5615. <bb 6> [local count: 440234148]:
  5616. goto <bb 4>; [100.00%]
  5617. <bb 5> [local count: 633507677]:
  5618. # DEBUG BEGIN_STMT
  5619. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  5620. # DEBUG BEGIN_STMT
  5621. __asm__ __volatile__("dsb" : : : "memory");
  5622. # DEBUG BEGIN_STMT
  5623. __asm__ __volatile__("isb");
  5624. # DEBUG BEGIN_STMT
  5625. goto <bb 3>; [100.00%]
  5626. }
  5627. vTaskSetTaskNumber (struct tskTaskControlBlock * xTask, const UBaseType_t uxHandle)
  5628. {
  5629. <bb 2> [local count: 1073741824]:
  5630. # DEBUG BEGIN_STMT
  5631. # DEBUG BEGIN_STMT
  5632. if (xTask_2(D) != 0B)
  5633. goto <bb 3>; [70.00%]
  5634. else
  5635. goto <bb 4>; [30.00%]
  5636. <bb 3> [local count: 751619278]:
  5637. # DEBUG BEGIN_STMT
  5638. # DEBUG pxTCB => xTask_2(D)
  5639. # DEBUG BEGIN_STMT
  5640. MEM[(struct TCB_t *)xTask_2(D)].uxTaskNumber = uxHandle_4(D);
  5641. <bb 4> [local count: 1073741824]:
  5642. return;
  5643. }
  5644. uxTaskGetTaskNumber (struct tskTaskControlBlock * xTask)
  5645. {
  5646. UBaseType_t uxReturn;
  5647. <bb 2> [local count: 1073741824]:
  5648. # DEBUG BEGIN_STMT
  5649. # DEBUG BEGIN_STMT
  5650. # DEBUG BEGIN_STMT
  5651. if (xTask_2(D) != 0B)
  5652. goto <bb 3>; [70.00%]
  5653. else
  5654. goto <bb 4>; [30.00%]
  5655. <bb 3> [local count: 751619278]:
  5656. # DEBUG BEGIN_STMT
  5657. # DEBUG pxTCB => xTask_2(D)
  5658. # DEBUG BEGIN_STMT
  5659. uxReturn_4 = MEM[(const struct TCB_t *)xTask_2(D)].uxTaskNumber;
  5660. # DEBUG uxReturn => uxReturn_4
  5661. <bb 4> [local count: 1073741824]:
  5662. # uxReturn_1 = PHI <uxReturn_4(3), 0(2)>
  5663. # DEBUG uxReturn => uxReturn_1
  5664. # DEBUG BEGIN_STMT
  5665. return uxReturn_1;
  5666. }
  5667. vTaskMissedYield ()
  5668. {
  5669. <bb 2> [local count: 1073741824]:
  5670. # DEBUG BEGIN_STMT
  5671. xYieldPending ={v} 1;
  5672. return;
  5673. }
  5674. xTaskCheckForTimeOut (struct TimeOut_t * const pxTimeOut, TickType_t * const pxTicksToWait)
  5675. {
  5676. uint32_t ulNewBASEPRI;
  5677. uint32_t ulNewBASEPRI;
  5678. const TickType_t xElapsedTime;
  5679. const TickType_t xConstTickCount;
  5680. BaseType_t xReturn;
  5681. long unsigned int _1;
  5682. struct TCB_t * pxCurrentTCB.116_2;
  5683. unsigned char _3;
  5684. struct TCB_t * pxCurrentTCB.117_4;
  5685. long unsigned int _5;
  5686. long int _6;
  5687. long int xNumOfOverflows.118_7;
  5688. long unsigned int _8;
  5689. long unsigned int _17;
  5690. <bb 2> [local count: 329661]:
  5691. # DEBUG BEGIN_STMT
  5692. # DEBUG BEGIN_STMT
  5693. if (pxTimeOut_11(D) == 0B)
  5694. goto <bb 3>; [30.00%]
  5695. else
  5696. goto <bb 5>; [70.00%]
  5697. <bb 3> [local count: 98898]:
  5698. # DEBUG BEGIN_STMT
  5699. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5700. # DEBUG BEGIN_STMT
  5701. # DEBUG BEGIN_STMT
  5702. __asm__ __volatile__(" mov %0, %1
  5703. msr basepri, %0
  5704. isb
  5705. dsb
  5706. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  5707. # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
  5708. <bb 4> [local count: 988985746]:
  5709. # DEBUG ulNewBASEPRI => NULL
  5710. # DEBUG BEGIN_STMT
  5711. # DEBUG BEGIN_STMT
  5712. # DEBUG BEGIN_STMT
  5713. <bb 18> [local count: 988985746]:
  5714. goto <bb 4>; [100.00%]
  5715. <bb 5> [local count: 230763]:
  5716. # DEBUG BEGIN_STMT
  5717. # DEBUG BEGIN_STMT
  5718. if (pxTicksToWait_12(D) == 0B)
  5719. goto <bb 6>; [46.53%]
  5720. else
  5721. goto <bb 8>; [53.47%]
  5722. <bb 6> [local count: 107374]:
  5723. # DEBUG BEGIN_STMT
  5724. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5725. # DEBUG BEGIN_STMT
  5726. # DEBUG BEGIN_STMT
  5727. __asm__ __volatile__(" mov %0, %1
  5728. msr basepri, %0
  5729. isb
  5730. dsb
  5731. " : "=r" ulNewBASEPRI_25 : "i" 16 : "memory");
  5732. # DEBUG ulNewBASEPRI => ulNewBASEPRI_25
  5733. <bb 7> [local count: 1073741824]:
  5734. # DEBUG ulNewBASEPRI => NULL
  5735. # DEBUG BEGIN_STMT
  5736. # DEBUG BEGIN_STMT
  5737. # DEBUG BEGIN_STMT
  5738. <bb 19> [local count: 1073741824]:
  5739. goto <bb 7>; [100.00%]
  5740. <bb 8> [local count: 123389]:
  5741. # DEBUG BEGIN_STMT
  5742. # DEBUG BEGIN_STMT
  5743. vPortEnterCritical ();
  5744. # DEBUG BEGIN_STMT
  5745. xConstTickCount_15 ={v} xTickCount;
  5746. # DEBUG xConstTickCount => xConstTickCount_15
  5747. # DEBUG BEGIN_STMT
  5748. _1 = pxTimeOut_11(D)->xTimeOnEntering;
  5749. xElapsedTime_16 = xConstTickCount_15 - _1;
  5750. # DEBUG xElapsedTime => xElapsedTime_16
  5751. # DEBUG BEGIN_STMT
  5752. pxCurrentTCB.116_2 ={v} pxCurrentTCB;
  5753. _3 = pxCurrentTCB.116_2->ucDelayAborted;
  5754. if (_3 != 0)
  5755. goto <bb 9>; [50.00%]
  5756. else
  5757. goto <bb 10>; [50.00%]
  5758. <bb 9> [local count: 61694]:
  5759. # DEBUG BEGIN_STMT
  5760. pxCurrentTCB.117_4 ={v} pxCurrentTCB;
  5761. pxCurrentTCB.117_4->ucDelayAborted = 0;
  5762. # DEBUG BEGIN_STMT
  5763. # DEBUG xReturn => 1
  5764. goto <bb 17>; [100.00%]
  5765. <bb 10> [local count: 61694]:
  5766. # DEBUG BEGIN_STMT
  5767. _5 = *pxTicksToWait_12(D);
  5768. if (_5 == 4294967295)
  5769. goto <bb 17>; [34.00%]
  5770. else
  5771. goto <bb 11>; [66.00%]
  5772. <bb 11> [local count: 40718]:
  5773. # DEBUG BEGIN_STMT
  5774. _6 = pxTimeOut_11(D)->xOverflowCount;
  5775. xNumOfOverflows.118_7 ={v} xNumOfOverflows;
  5776. if (_6 != xNumOfOverflows.118_7)
  5777. goto <bb 12>; [66.00%]
  5778. else
  5779. goto <bb 14>; [34.00%]
  5780. <bb 12> [local count: 26874]:
  5781. if (_1 <= xConstTickCount_15)
  5782. goto <bb 13>; [50.00%]
  5783. else
  5784. goto <bb 14>; [50.00%]
  5785. <bb 13> [local count: 13437]:
  5786. # DEBUG BEGIN_STMT
  5787. # DEBUG xReturn => 1
  5788. # DEBUG BEGIN_STMT
  5789. *pxTicksToWait_12(D) = 0;
  5790. goto <bb 17>; [100.00%]
  5791. <bb 14> [local count: 27281]:
  5792. # DEBUG BEGIN_STMT
  5793. if (_5 > xElapsedTime_16)
  5794. goto <bb 15>; [33.00%]
  5795. else
  5796. goto <bb 16>; [67.00%]
  5797. <bb 15> [local count: 9003]:
  5798. # DEBUG BEGIN_STMT
  5799. _17 = _1 - xConstTickCount_15;
  5800. _8 = _5 + _17;
  5801. *pxTicksToWait_12(D) = _8;
  5802. # DEBUG BEGIN_STMT
  5803. vTaskInternalSetTimeOutState (pxTimeOut_11(D));
  5804. # DEBUG BEGIN_STMT
  5805. # DEBUG xReturn => 0
  5806. goto <bb 17>; [100.00%]
  5807. <bb 16> [local count: 18278]:
  5808. # DEBUG BEGIN_STMT
  5809. *pxTicksToWait_12(D) = 0;
  5810. # DEBUG BEGIN_STMT
  5811. # DEBUG xReturn => 1
  5812. <bb 17> [local count: 123389]:
  5813. # xReturn_9 = PHI <1(9), 0(10), 1(13), 0(15), 1(16)>
  5814. # DEBUG xReturn => xReturn_9
  5815. # DEBUG BEGIN_STMT
  5816. vPortExitCritical ();
  5817. # DEBUG BEGIN_STMT
  5818. return xReturn_9;
  5819. }
  5820. vTaskInternalSetTimeOutState (struct TimeOut_t * const pxTimeOut)
  5821. {
  5822. long int xNumOfOverflows.114_1;
  5823. long unsigned int xTickCount.115_2;
  5824. <bb 2> [local count: 1073741824]:
  5825. # DEBUG BEGIN_STMT
  5826. xNumOfOverflows.114_1 ={v} xNumOfOverflows;
  5827. pxTimeOut_4(D)->xOverflowCount = xNumOfOverflows.114_1;
  5828. # DEBUG BEGIN_STMT
  5829. xTickCount.115_2 ={v} xTickCount;
  5830. pxTimeOut_4(D)->xTimeOnEntering = xTickCount.115_2;
  5831. return;
  5832. }
  5833. vTaskSetTimeOutState (struct TimeOut_t * const pxTimeOut)
  5834. {
  5835. uint32_t ulNewBASEPRI;
  5836. long int xNumOfOverflows.112_1;
  5837. long unsigned int xTickCount.113_2;
  5838. <bb 2> [local count: 230763]:
  5839. # DEBUG BEGIN_STMT
  5840. if (pxTimeOut_3(D) == 0B)
  5841. goto <bb 3>; [46.53%]
  5842. else
  5843. goto <bb 5>; [53.47%]
  5844. <bb 3> [local count: 107374]:
  5845. # DEBUG BEGIN_STMT
  5846. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5847. # DEBUG BEGIN_STMT
  5848. # DEBUG BEGIN_STMT
  5849. __asm__ __volatile__(" mov %0, %1
  5850. msr basepri, %0
  5851. isb
  5852. dsb
  5853. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  5854. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  5855. <bb 4> [local count: 1073741824]:
  5856. # DEBUG ulNewBASEPRI => NULL
  5857. # DEBUG BEGIN_STMT
  5858. # DEBUG BEGIN_STMT
  5859. # DEBUG BEGIN_STMT
  5860. <bb 6> [local count: 1073741824]:
  5861. goto <bb 4>; [100.00%]
  5862. <bb 5> [local count: 123389]:
  5863. # DEBUG BEGIN_STMT
  5864. # DEBUG BEGIN_STMT
  5865. vPortEnterCritical ();
  5866. # DEBUG BEGIN_STMT
  5867. xNumOfOverflows.112_1 ={v} xNumOfOverflows;
  5868. pxTimeOut_3(D)->xOverflowCount = xNumOfOverflows.112_1;
  5869. # DEBUG BEGIN_STMT
  5870. xTickCount.113_2 ={v} xTickCount;
  5871. pxTimeOut_3(D)->xTimeOnEntering = xTickCount.113_2;
  5872. # DEBUG BEGIN_STMT
  5873. vPortExitCritical ();
  5874. return;
  5875. }
  5876. vTaskRemoveFromUnorderedEventList (struct ListItem_t * pxEventListItem, const TickType_t xItemValue)
  5877. {
  5878. uint32_t ulNewBASEPRI;
  5879. uint32_t ulNewBASEPRI;
  5880. struct ListItem_t * const pxIndex;
  5881. struct List_t * const pxList;
  5882. struct List_t * const pxList;
  5883. struct TCB_t * pxUnblockedTCB;
  5884. long unsigned int uxSchedulerSuspended.109_1;
  5885. long unsigned int _2;
  5886. struct xLIST_ITEM * _3;
  5887. struct xLIST_ITEM * _4;
  5888. struct xLIST_ITEM * _5;
  5889. struct ListItem_t * _6;
  5890. long unsigned int _7;
  5891. long unsigned int _8;
  5892. struct xLIST_ITEM * _9;
  5893. struct xLIST_ITEM * _10;
  5894. struct xLIST_ITEM * _11;
  5895. struct ListItem_t * _12;
  5896. struct ListItem_t * _13;
  5897. long unsigned int _14;
  5898. long unsigned int _15;
  5899. long unsigned int _16;
  5900. long unsigned int uxTopReadyPriority.110_17;
  5901. struct xLIST_ITEM * _18;
  5902. struct xLIST_ITEM * _19;
  5903. struct List_t * _20;
  5904. long unsigned int _21;
  5905. long unsigned int _22;
  5906. struct TCB_t * pxCurrentTCB.111_23;
  5907. long unsigned int _24;
  5908. <bb 2> [local count: 214748]:
  5909. # DEBUG BEGIN_STMT
  5910. # DEBUG BEGIN_STMT
  5911. uxSchedulerSuspended.109_1 ={v} uxSchedulerSuspended;
  5912. if (uxSchedulerSuspended.109_1 == 0)
  5913. goto <bb 3>; [50.00%]
  5914. else
  5915. goto <bb 5>; [50.00%]
  5916. <bb 3> [local count: 107374]:
  5917. # DEBUG BEGIN_STMT
  5918. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5919. # DEBUG BEGIN_STMT
  5920. # DEBUG BEGIN_STMT
  5921. __asm__ __volatile__(" mov %0, %1
  5922. msr basepri, %0
  5923. isb
  5924. dsb
  5925. " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
  5926. # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
  5927. <bb 4> [local count: 1073741824]:
  5928. # DEBUG ulNewBASEPRI => NULL
  5929. # DEBUG BEGIN_STMT
  5930. # DEBUG BEGIN_STMT
  5931. # DEBUG BEGIN_STMT
  5932. <bb 17> [local count: 1073741824]:
  5933. goto <bb 4>; [100.00%]
  5934. <bb 5> [local count: 107374]:
  5935. # DEBUG BEGIN_STMT
  5936. # DEBUG BEGIN_STMT
  5937. _2 = xItemValue_30(D) | 2147483648;
  5938. pxEventListItem_31(D)->xItemValue = _2;
  5939. # DEBUG BEGIN_STMT
  5940. pxUnblockedTCB_33 = pxEventListItem_31(D)->pvOwner;
  5941. # DEBUG pxUnblockedTCB => pxUnblockedTCB_33
  5942. # DEBUG BEGIN_STMT
  5943. if (pxUnblockedTCB_33 == 0B)
  5944. goto <bb 6>; [30.00%]
  5945. else
  5946. goto <bb 8>; [70.00%]
  5947. <bb 6> [local count: 32212]:
  5948. # DEBUG BEGIN_STMT
  5949. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  5950. # DEBUG BEGIN_STMT
  5951. # DEBUG BEGIN_STMT
  5952. __asm__ __volatile__(" mov %0, %1
  5953. msr basepri, %0
  5954. isb
  5955. dsb
  5956. " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
  5957. # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
  5958. <bb 7> [local count: 322122547]:
  5959. # DEBUG ulNewBASEPRI => NULL
  5960. # DEBUG BEGIN_STMT
  5961. # DEBUG BEGIN_STMT
  5962. # DEBUG BEGIN_STMT
  5963. <bb 18> [local count: 322122547]:
  5964. goto <bb 7>; [100.00%]
  5965. <bb 8> [local count: 75162]:
  5966. # DEBUG BEGIN_STMT
  5967. # DEBUG BEGIN_STMT
  5968. pxList_34 = pxEventListItem_31(D)->pvContainer;
  5969. # DEBUG pxList => pxList_34
  5970. # DEBUG BEGIN_STMT
  5971. _3 = pxEventListItem_31(D)->pxNext;
  5972. _4 = pxEventListItem_31(D)->pxPrevious;
  5973. _3->pxPrevious = _4;
  5974. # DEBUG BEGIN_STMT
  5975. _5 = pxEventListItem_31(D)->pxPrevious;
  5976. _5->pxNext = _3;
  5977. # DEBUG BEGIN_STMT
  5978. _6 = pxList_34->pxIndex;
  5979. if (_6 == pxEventListItem_31(D))
  5980. goto <bb 9>; [30.00%]
  5981. else
  5982. goto <bb 10>; [70.00%]
  5983. <bb 9> [local count: 22549]:
  5984. # DEBUG BEGIN_STMT
  5985. pxList_34->pxIndex = _5;
  5986. <bb 10> [local count: 75162]:
  5987. # DEBUG BEGIN_STMT
  5988. pxEventListItem_31(D)->pvContainer = 0B;
  5989. # DEBUG BEGIN_STMT
  5990. _7 ={v} pxList_34->uxNumberOfItems;
  5991. _8 = _7 + 4294967295;
  5992. pxList_34->uxNumberOfItems ={v} _8;
  5993. # DEBUG BEGIN_STMT
  5994. # DEBUG BEGIN_STMT
  5995. pxList_40 = pxUnblockedTCB_33->xStateListItem.pvContainer;
  5996. # DEBUG pxList => pxList_40
  5997. # DEBUG BEGIN_STMT
  5998. _9 = pxUnblockedTCB_33->xStateListItem.pxNext;
  5999. _10 = pxUnblockedTCB_33->xStateListItem.pxPrevious;
  6000. _9->pxPrevious = _10;
  6001. # DEBUG BEGIN_STMT
  6002. _11 = pxUnblockedTCB_33->xStateListItem.pxPrevious;
  6003. _11->pxNext = _9;
  6004. # DEBUG BEGIN_STMT
  6005. _12 = pxList_40->pxIndex;
  6006. _13 = &pxUnblockedTCB_33->xStateListItem;
  6007. if (_12 == _13)
  6008. goto <bb 11>; [30.00%]
  6009. else
  6010. goto <bb 12>; [70.00%]
  6011. <bb 11> [local count: 22549]:
  6012. # DEBUG BEGIN_STMT
  6013. pxList_40->pxIndex = _11;
  6014. <bb 12> [local count: 75162]:
  6015. # DEBUG BEGIN_STMT
  6016. # DEBUG BEGIN_STMT
  6017. _14 ={v} pxList_40->uxNumberOfItems;
  6018. _15 = _14 + 4294967295;
  6019. pxList_40->uxNumberOfItems ={v} _15;
  6020. # DEBUG BEGIN_STMT
  6021. # DEBUG BEGIN_STMT
  6022. # DEBUG BEGIN_STMT
  6023. _16 = pxUnblockedTCB_33->uxPriority;
  6024. uxTopReadyPriority.110_17 ={v} uxTopReadyPriority;
  6025. if (_16 > uxTopReadyPriority.110_17)
  6026. goto <bb 13>; [50.00%]
  6027. else
  6028. goto <bb 14>; [50.00%]
  6029. <bb 13> [local count: 37581]:
  6030. # DEBUG BEGIN_STMT
  6031. uxTopReadyPriority ={v} _16;
  6032. <bb 14> [local count: 75162]:
  6033. # DEBUG BEGIN_STMT
  6034. # DEBUG BEGIN_STMT
  6035. pxIndex_46 = pxReadyTasksLists[_16].pxIndex;
  6036. # DEBUG pxIndex => pxIndex_46
  6037. # DEBUG BEGIN_STMT
  6038. # DEBUG BEGIN_STMT
  6039. # DEBUG BEGIN_STMT
  6040. pxUnblockedTCB_33->xStateListItem.pxNext = pxIndex_46;
  6041. # DEBUG BEGIN_STMT
  6042. _18 = pxIndex_46->pxPrevious;
  6043. pxUnblockedTCB_33->xStateListItem.pxPrevious = _18;
  6044. # DEBUG BEGIN_STMT
  6045. _19 = pxIndex_46->pxPrevious;
  6046. _19->pxNext = _13;
  6047. # DEBUG BEGIN_STMT
  6048. pxIndex_46->pxPrevious = _13;
  6049. # DEBUG BEGIN_STMT
  6050. _20 = &pxReadyTasksLists[_16];
  6051. pxUnblockedTCB_33->xStateListItem.pvContainer = _20;
  6052. # DEBUG BEGIN_STMT
  6053. _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
  6054. _22 = _21 + 1;
  6055. pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
  6056. # DEBUG BEGIN_STMT
  6057. # DEBUG BEGIN_STMT
  6058. # DEBUG BEGIN_STMT
  6059. pxCurrentTCB.111_23 ={v} pxCurrentTCB;
  6060. _24 = pxCurrentTCB.111_23->uxPriority;
  6061. if (_16 > _24)
  6062. goto <bb 15>; [50.00%]
  6063. else
  6064. goto <bb 16>; [50.00%]
  6065. <bb 15> [local count: 37581]:
  6066. # DEBUG BEGIN_STMT
  6067. xYieldPending ={v} 1;
  6068. <bb 16> [local count: 75162]:
  6069. return;
  6070. }
  6071. xTaskRemoveFromEventList (const struct List_t * const pxEventList)
  6072. {
  6073. uint32_t ulNewBASEPRI;
  6074. struct ListItem_t * const pxIndex;
  6075. struct ListItem_t * const pxIndex;
  6076. struct List_t * const pxList;
  6077. struct List_t * const pxList;
  6078. BaseType_t xReturn;
  6079. struct TCB_t * pxUnblockedTCB;
  6080. struct xLIST_ITEM * _1;
  6081. struct xLIST_ITEM * _2;
  6082. struct xLIST_ITEM * _3;
  6083. struct ListItem_t * _4;
  6084. struct ListItem_t * _5;
  6085. long unsigned int _6;
  6086. long unsigned int _7;
  6087. long unsigned int uxSchedulerSuspended.106_8;
  6088. struct xLIST_ITEM * _9;
  6089. struct xLIST_ITEM * _10;
  6090. struct xLIST_ITEM * _11;
  6091. struct ListItem_t * _12;
  6092. struct ListItem_t * _13;
  6093. long unsigned int _14;
  6094. long unsigned int _15;
  6095. long unsigned int _16;
  6096. long unsigned int uxTopReadyPriority.107_17;
  6097. struct xLIST_ITEM * _18;
  6098. struct xLIST_ITEM * _19;
  6099. struct List_t * _20;
  6100. long unsigned int _21;
  6101. long unsigned int _22;
  6102. struct xLIST_ITEM * _23;
  6103. struct xLIST_ITEM * _24;
  6104. long unsigned int _25;
  6105. long unsigned int _26;
  6106. long unsigned int _27;
  6107. struct TCB_t * pxCurrentTCB.108_28;
  6108. long unsigned int _29;
  6109. <bb 2> [local count: 357913]:
  6110. # DEBUG BEGIN_STMT
  6111. # DEBUG BEGIN_STMT
  6112. # DEBUG BEGIN_STMT
  6113. _1 = pxEventList_37(D)->xListEnd.pxNext;
  6114. pxUnblockedTCB_38 = _1->pvOwner;
  6115. # DEBUG pxUnblockedTCB => pxUnblockedTCB_38
  6116. # DEBUG BEGIN_STMT
  6117. if (pxUnblockedTCB_38 == 0B)
  6118. goto <bb 3>; [30.00%]
  6119. else
  6120. goto <bb 5>; [70.00%]
  6121. <bb 3> [local count: 107374]:
  6122. # DEBUG BEGIN_STMT
  6123. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6124. # DEBUG BEGIN_STMT
  6125. # DEBUG BEGIN_STMT
  6126. __asm__ __volatile__(" mov %0, %1
  6127. msr basepri, %0
  6128. isb
  6129. dsb
  6130. " : "=r" ulNewBASEPRI_66 : "i" 16 : "memory");
  6131. # DEBUG ulNewBASEPRI => ulNewBASEPRI_66
  6132. <bb 4> [local count: 1073741824]:
  6133. # DEBUG ulNewBASEPRI => NULL
  6134. # DEBUG BEGIN_STMT
  6135. # DEBUG BEGIN_STMT
  6136. # DEBUG BEGIN_STMT
  6137. <bb 17> [local count: 1073741824]:
  6138. goto <bb 4>; [100.00%]
  6139. <bb 5> [local count: 250539]:
  6140. # DEBUG BEGIN_STMT
  6141. # DEBUG BEGIN_STMT
  6142. pxList_39 = pxUnblockedTCB_38->xEventListItem.pvContainer;
  6143. # DEBUG pxList => pxList_39
  6144. # DEBUG BEGIN_STMT
  6145. _2 = pxUnblockedTCB_38->xEventListItem.pxNext;
  6146. _3 = pxUnblockedTCB_38->xEventListItem.pxPrevious;
  6147. _2->pxPrevious = _3;
  6148. # DEBUG BEGIN_STMT
  6149. _3->pxNext = _2;
  6150. # DEBUG BEGIN_STMT
  6151. _4 = pxList_39->pxIndex;
  6152. _5 = &pxUnblockedTCB_38->xEventListItem;
  6153. if (_4 == _5)
  6154. goto <bb 6>; [30.00%]
  6155. else
  6156. goto <bb 7>; [70.00%]
  6157. <bb 6> [local count: 75162]:
  6158. # DEBUG BEGIN_STMT
  6159. pxList_39->pxIndex = _3;
  6160. <bb 7> [local count: 250539]:
  6161. # DEBUG BEGIN_STMT
  6162. pxUnblockedTCB_38->xEventListItem.pvContainer = 0B;
  6163. # DEBUG BEGIN_STMT
  6164. _6 ={v} pxList_39->uxNumberOfItems;
  6165. _7 = _6 + 4294967295;
  6166. pxList_39->uxNumberOfItems ={v} _7;
  6167. # DEBUG BEGIN_STMT
  6168. # DEBUG BEGIN_STMT
  6169. uxSchedulerSuspended.106_8 ={v} uxSchedulerSuspended;
  6170. if (uxSchedulerSuspended.106_8 == 0)
  6171. goto <bb 8>; [50.00%]
  6172. else
  6173. goto <bb 13>; [50.00%]
  6174. <bb 8> [local count: 125270]:
  6175. # DEBUG BEGIN_STMT
  6176. pxList_52 = pxUnblockedTCB_38->xStateListItem.pvContainer;
  6177. # DEBUG pxList => pxList_52
  6178. # DEBUG BEGIN_STMT
  6179. _9 = pxUnblockedTCB_38->xStateListItem.pxNext;
  6180. _10 = pxUnblockedTCB_38->xStateListItem.pxPrevious;
  6181. _9->pxPrevious = _10;
  6182. # DEBUG BEGIN_STMT
  6183. _11 = pxUnblockedTCB_38->xStateListItem.pxPrevious;
  6184. _11->pxNext = _9;
  6185. # DEBUG BEGIN_STMT
  6186. _12 = pxList_52->pxIndex;
  6187. _13 = &pxUnblockedTCB_38->xStateListItem;
  6188. if (_12 == _13)
  6189. goto <bb 9>; [30.00%]
  6190. else
  6191. goto <bb 10>; [70.00%]
  6192. <bb 9> [local count: 37581]:
  6193. # DEBUG BEGIN_STMT
  6194. pxList_52->pxIndex = _11;
  6195. <bb 10> [local count: 125270]:
  6196. # DEBUG BEGIN_STMT
  6197. # DEBUG BEGIN_STMT
  6198. _14 ={v} pxList_52->uxNumberOfItems;
  6199. _15 = _14 + 4294967295;
  6200. pxList_52->uxNumberOfItems ={v} _15;
  6201. # DEBUG BEGIN_STMT
  6202. # DEBUG BEGIN_STMT
  6203. # DEBUG BEGIN_STMT
  6204. _16 = pxUnblockedTCB_38->uxPriority;
  6205. uxTopReadyPriority.107_17 ={v} uxTopReadyPriority;
  6206. if (_16 > uxTopReadyPriority.107_17)
  6207. goto <bb 11>; [50.00%]
  6208. else
  6209. goto <bb 12>; [50.00%]
  6210. <bb 11> [local count: 62635]:
  6211. # DEBUG BEGIN_STMT
  6212. uxTopReadyPriority ={v} _16;
  6213. <bb 12> [local count: 125270]:
  6214. # DEBUG BEGIN_STMT
  6215. # DEBUG BEGIN_STMT
  6216. pxIndex_58 = pxReadyTasksLists[_16].pxIndex;
  6217. # DEBUG pxIndex => pxIndex_58
  6218. # DEBUG BEGIN_STMT
  6219. # DEBUG BEGIN_STMT
  6220. # DEBUG BEGIN_STMT
  6221. pxUnblockedTCB_38->xStateListItem.pxNext = pxIndex_58;
  6222. # DEBUG BEGIN_STMT
  6223. _18 = pxIndex_58->pxPrevious;
  6224. pxUnblockedTCB_38->xStateListItem.pxPrevious = _18;
  6225. # DEBUG BEGIN_STMT
  6226. _19 = pxIndex_58->pxPrevious;
  6227. _19->pxNext = _13;
  6228. # DEBUG BEGIN_STMT
  6229. pxIndex_58->pxPrevious = _13;
  6230. # DEBUG BEGIN_STMT
  6231. _20 = &pxReadyTasksLists[_16];
  6232. pxUnblockedTCB_38->xStateListItem.pvContainer = _20;
  6233. # DEBUG BEGIN_STMT
  6234. _21 ={v} pxReadyTasksLists[_16].uxNumberOfItems;
  6235. _22 = _21 + 1;
  6236. pxReadyTasksLists[_16].uxNumberOfItems ={v} _22;
  6237. # DEBUG BEGIN_STMT
  6238. # DEBUG BEGIN_STMT
  6239. goto <bb 14>; [100.00%]
  6240. <bb 13> [local count: 125270]:
  6241. # DEBUG BEGIN_STMT
  6242. pxIndex_45 = xPendingReadyList.pxIndex;
  6243. # DEBUG pxIndex => pxIndex_45
  6244. # DEBUG BEGIN_STMT
  6245. # DEBUG BEGIN_STMT
  6246. # DEBUG BEGIN_STMT
  6247. pxUnblockedTCB_38->xEventListItem.pxNext = pxIndex_45;
  6248. # DEBUG BEGIN_STMT
  6249. _23 = pxIndex_45->pxPrevious;
  6250. pxUnblockedTCB_38->xEventListItem.pxPrevious = _23;
  6251. # DEBUG BEGIN_STMT
  6252. _24 = pxIndex_45->pxPrevious;
  6253. _24->pxNext = _5;
  6254. # DEBUG BEGIN_STMT
  6255. pxIndex_45->pxPrevious = _5;
  6256. # DEBUG BEGIN_STMT
  6257. pxUnblockedTCB_38->xEventListItem.pvContainer = &xPendingReadyList;
  6258. # DEBUG BEGIN_STMT
  6259. _25 ={v} xPendingReadyList.uxNumberOfItems;
  6260. _26 = _25 + 1;
  6261. xPendingReadyList.uxNumberOfItems ={v} _26;
  6262. <bb 14> [local count: 250539]:
  6263. # DEBUG BEGIN_STMT
  6264. # DEBUG BEGIN_STMT
  6265. _27 = pxUnblockedTCB_38->uxPriority;
  6266. pxCurrentTCB.108_28 ={v} pxCurrentTCB;
  6267. _29 = pxCurrentTCB.108_28->uxPriority;
  6268. if (_27 > _29)
  6269. goto <bb 15>; [50.00%]
  6270. else
  6271. goto <bb 16>; [50.00%]
  6272. <bb 15> [local count: 125270]:
  6273. # DEBUG BEGIN_STMT
  6274. # DEBUG xReturn => 1
  6275. # DEBUG BEGIN_STMT
  6276. xYieldPending ={v} 1;
  6277. <bb 16> [local count: 250539]:
  6278. # xReturn_30 = PHI <1(15), 0(14)>
  6279. # DEBUG xReturn => xReturn_30
  6280. # DEBUG BEGIN_STMT
  6281. return xReturn_30;
  6282. }
  6283. vTaskPlaceOnEventListRestricted (struct List_t * const pxEventList, TickType_t xTicksToWait, const BaseType_t xWaitIndefinitely)
  6284. {
  6285. uint32_t ulNewBASEPRI;
  6286. struct ListItem_t * const pxIndex;
  6287. struct TCB_t * pxCurrentTCB.101_1;
  6288. struct TCB_t * pxCurrentTCB.102_2;
  6289. struct xLIST_ITEM * _3;
  6290. struct TCB_t * pxCurrentTCB.103_4;
  6291. struct xLIST_ITEM * _5;
  6292. struct ListItem_t * _6;
  6293. struct TCB_t * pxCurrentTCB.104_7;
  6294. struct ListItem_t * _8;
  6295. struct TCB_t * pxCurrentTCB.105_9;
  6296. long unsigned int _10;
  6297. long unsigned int _11;
  6298. <bb 2> [local count: 357913]:
  6299. # DEBUG BEGIN_STMT
  6300. if (pxEventList_13(D) == 0B)
  6301. goto <bb 3>; [30.00%]
  6302. else
  6303. goto <bb 5>; [70.00%]
  6304. <bb 3> [local count: 107374]:
  6305. # DEBUG BEGIN_STMT
  6306. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6307. # DEBUG BEGIN_STMT
  6308. # DEBUG BEGIN_STMT
  6309. __asm__ __volatile__(" mov %0, %1
  6310. msr basepri, %0
  6311. isb
  6312. dsb
  6313. " : "=r" ulNewBASEPRI_25 : "i" 16 : "memory");
  6314. # DEBUG ulNewBASEPRI => ulNewBASEPRI_25
  6315. <bb 4> [local count: 1073741824]:
  6316. # DEBUG ulNewBASEPRI => NULL
  6317. # DEBUG BEGIN_STMT
  6318. # DEBUG BEGIN_STMT
  6319. # DEBUG BEGIN_STMT
  6320. <bb 8> [local count: 1073741824]:
  6321. goto <bb 4>; [100.00%]
  6322. <bb 5> [local count: 250539]:
  6323. # DEBUG BEGIN_STMT
  6324. # DEBUG BEGIN_STMT
  6325. pxIndex_15 = pxEventList_13(D)->pxIndex;
  6326. # DEBUG pxIndex => pxIndex_15
  6327. # DEBUG BEGIN_STMT
  6328. # DEBUG BEGIN_STMT
  6329. # DEBUG BEGIN_STMT
  6330. pxCurrentTCB.101_1 ={v} pxCurrentTCB;
  6331. pxCurrentTCB.101_1->xEventListItem.pxNext = pxIndex_15;
  6332. # DEBUG BEGIN_STMT
  6333. pxCurrentTCB.102_2 ={v} pxCurrentTCB;
  6334. _3 = pxIndex_15->pxPrevious;
  6335. pxCurrentTCB.102_2->xEventListItem.pxPrevious = _3;
  6336. # DEBUG BEGIN_STMT
  6337. pxCurrentTCB.103_4 ={v} pxCurrentTCB;
  6338. _5 = pxIndex_15->pxPrevious;
  6339. _6 = &pxCurrentTCB.103_4->xEventListItem;
  6340. _5->pxNext = _6;
  6341. # DEBUG BEGIN_STMT
  6342. pxCurrentTCB.104_7 ={v} pxCurrentTCB;
  6343. _8 = &pxCurrentTCB.104_7->xEventListItem;
  6344. pxIndex_15->pxPrevious = _8;
  6345. # DEBUG BEGIN_STMT
  6346. pxCurrentTCB.105_9 ={v} pxCurrentTCB;
  6347. pxCurrentTCB.105_9->xEventListItem.pvContainer = pxEventList_13(D);
  6348. # DEBUG BEGIN_STMT
  6349. _10 ={v} pxEventList_13(D)->uxNumberOfItems;
  6350. _11 = _10 + 1;
  6351. pxEventList_13(D)->uxNumberOfItems ={v} _11;
  6352. # DEBUG BEGIN_STMT
  6353. # DEBUG BEGIN_STMT
  6354. if (xWaitIndefinitely_22(D) != 0)
  6355. goto <bb 6>; [50.00%]
  6356. else
  6357. goto <bb 7>; [50.00%]
  6358. <bb 6> [local count: 125270]:
  6359. # DEBUG BEGIN_STMT
  6360. # DEBUG xTicksToWait => 4294967295
  6361. <bb 7> [local count: 250539]:
  6362. # xTicksToWait_12 = PHI <xTicksToWait_23(D)(5), 4294967295(6)>
  6363. # DEBUG xTicksToWait => xTicksToWait_12
  6364. # DEBUG BEGIN_STMT
  6365. # DEBUG BEGIN_STMT
  6366. prvAddCurrentTaskToDelayedList (xTicksToWait_12, xWaitIndefinitely_22(D));
  6367. return;
  6368. }
  6369. vTaskPlaceOnUnorderedEventList (struct List_t * pxEventList, const TickType_t xItemValue, const TickType_t xTicksToWait)
  6370. {
  6371. uint32_t ulNewBASEPRI;
  6372. uint32_t ulNewBASEPRI;
  6373. struct ListItem_t * const pxIndex;
  6374. long unsigned int uxSchedulerSuspended.94_1;
  6375. struct TCB_t * pxCurrentTCB.95_2;
  6376. long unsigned int _3;
  6377. struct TCB_t * pxCurrentTCB.96_4;
  6378. struct TCB_t * pxCurrentTCB.97_5;
  6379. struct xLIST_ITEM * _6;
  6380. struct TCB_t * pxCurrentTCB.98_7;
  6381. struct xLIST_ITEM * _8;
  6382. struct ListItem_t * _9;
  6383. struct TCB_t * pxCurrentTCB.99_10;
  6384. struct ListItem_t * _11;
  6385. struct TCB_t * pxCurrentTCB.100_12;
  6386. long unsigned int _13;
  6387. long unsigned int _14;
  6388. <bb 2> [local count: 228942]:
  6389. # DEBUG BEGIN_STMT
  6390. if (pxEventList_15(D) == 0B)
  6391. goto <bb 3>; [30.00%]
  6392. else
  6393. goto <bb 5>; [70.00%]
  6394. <bb 3> [local count: 68683]:
  6395. # DEBUG BEGIN_STMT
  6396. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6397. # DEBUG BEGIN_STMT
  6398. # DEBUG BEGIN_STMT
  6399. __asm__ __volatile__(" mov %0, %1
  6400. msr basepri, %0
  6401. isb
  6402. dsb
  6403. " : "=r" ulNewBASEPRI_28 : "i" 16 : "memory");
  6404. # DEBUG ulNewBASEPRI => ulNewBASEPRI_28
  6405. <bb 4> [local count: 686828460]:
  6406. # DEBUG ulNewBASEPRI => NULL
  6407. # DEBUG BEGIN_STMT
  6408. # DEBUG BEGIN_STMT
  6409. # DEBUG BEGIN_STMT
  6410. <bb 9> [local count: 686828460]:
  6411. goto <bb 4>; [100.00%]
  6412. <bb 5> [local count: 160260]:
  6413. # DEBUG BEGIN_STMT
  6414. # DEBUG BEGIN_STMT
  6415. uxSchedulerSuspended.94_1 ={v} uxSchedulerSuspended;
  6416. if (uxSchedulerSuspended.94_1 == 0)
  6417. goto <bb 6>; [67.00%]
  6418. else
  6419. goto <bb 8>; [33.00%]
  6420. <bb 6> [local count: 107374]:
  6421. # DEBUG BEGIN_STMT
  6422. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6423. # DEBUG BEGIN_STMT
  6424. # DEBUG BEGIN_STMT
  6425. __asm__ __volatile__(" mov %0, %1
  6426. msr basepri, %0
  6427. isb
  6428. dsb
  6429. " : "=r" ulNewBASEPRI_29 : "i" 16 : "memory");
  6430. # DEBUG ulNewBASEPRI => ulNewBASEPRI_29
  6431. <bb 7> [local count: 1073741824]:
  6432. # DEBUG ulNewBASEPRI => NULL
  6433. # DEBUG BEGIN_STMT
  6434. # DEBUG BEGIN_STMT
  6435. # DEBUG BEGIN_STMT
  6436. <bb 10> [local count: 1073741824]:
  6437. goto <bb 7>; [100.00%]
  6438. <bb 8> [local count: 52886]:
  6439. # DEBUG BEGIN_STMT
  6440. # DEBUG BEGIN_STMT
  6441. pxCurrentTCB.95_2 ={v} pxCurrentTCB;
  6442. _3 = xItemValue_17(D) | 2147483648;
  6443. pxCurrentTCB.95_2->xEventListItem.xItemValue = _3;
  6444. # DEBUG BEGIN_STMT
  6445. pxIndex_19 = pxEventList_15(D)->pxIndex;
  6446. # DEBUG pxIndex => pxIndex_19
  6447. # DEBUG BEGIN_STMT
  6448. # DEBUG BEGIN_STMT
  6449. # DEBUG BEGIN_STMT
  6450. pxCurrentTCB.96_4 ={v} pxCurrentTCB;
  6451. pxCurrentTCB.96_4->xEventListItem.pxNext = pxIndex_19;
  6452. # DEBUG BEGIN_STMT
  6453. pxCurrentTCB.97_5 ={v} pxCurrentTCB;
  6454. _6 = pxIndex_19->pxPrevious;
  6455. pxCurrentTCB.97_5->xEventListItem.pxPrevious = _6;
  6456. # DEBUG BEGIN_STMT
  6457. pxCurrentTCB.98_7 ={v} pxCurrentTCB;
  6458. _8 = pxIndex_19->pxPrevious;
  6459. _9 = &pxCurrentTCB.98_7->xEventListItem;
  6460. _8->pxNext = _9;
  6461. # DEBUG BEGIN_STMT
  6462. pxCurrentTCB.99_10 ={v} pxCurrentTCB;
  6463. _11 = &pxCurrentTCB.99_10->xEventListItem;
  6464. pxIndex_19->pxPrevious = _11;
  6465. # DEBUG BEGIN_STMT
  6466. pxCurrentTCB.100_12 ={v} pxCurrentTCB;
  6467. pxCurrentTCB.100_12->xEventListItem.pvContainer = pxEventList_15(D);
  6468. # DEBUG BEGIN_STMT
  6469. _13 ={v} pxEventList_15(D)->uxNumberOfItems;
  6470. _14 = _13 + 1;
  6471. pxEventList_15(D)->uxNumberOfItems ={v} _14;
  6472. # DEBUG BEGIN_STMT
  6473. # DEBUG BEGIN_STMT
  6474. prvAddCurrentTaskToDelayedList (xTicksToWait_26(D), 1);
  6475. return;
  6476. }
  6477. vTaskPlaceOnEventList (struct List_t * const pxEventList, const TickType_t xTicksToWait)
  6478. {
  6479. uint32_t ulNewBASEPRI;
  6480. struct TCB_t * pxCurrentTCB.93_1;
  6481. struct ListItem_t * _2;
  6482. <bb 2> [local count: 230763]:
  6483. # DEBUG BEGIN_STMT
  6484. if (pxEventList_3(D) == 0B)
  6485. goto <bb 3>; [46.53%]
  6486. else
  6487. goto <bb 5>; [53.47%]
  6488. <bb 3> [local count: 107374]:
  6489. # DEBUG BEGIN_STMT
  6490. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6491. # DEBUG BEGIN_STMT
  6492. # DEBUG BEGIN_STMT
  6493. __asm__ __volatile__(" mov %0, %1
  6494. msr basepri, %0
  6495. isb
  6496. dsb
  6497. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  6498. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  6499. <bb 4> [local count: 1073741824]:
  6500. # DEBUG ulNewBASEPRI => NULL
  6501. # DEBUG BEGIN_STMT
  6502. # DEBUG BEGIN_STMT
  6503. # DEBUG BEGIN_STMT
  6504. <bb 6> [local count: 1073741824]:
  6505. goto <bb 4>; [100.00%]
  6506. <bb 5> [local count: 123389]:
  6507. # DEBUG BEGIN_STMT
  6508. # DEBUG BEGIN_STMT
  6509. pxCurrentTCB.93_1 ={v} pxCurrentTCB;
  6510. _2 = &pxCurrentTCB.93_1->xEventListItem;
  6511. vListInsert (pxEventList_3(D), _2);
  6512. # DEBUG BEGIN_STMT
  6513. prvAddCurrentTaskToDelayedList (xTicksToWait_6(D), 1);
  6514. return;
  6515. }
  6516. __attribute__((used))
  6517. vTaskSwitchContext ()
  6518. {
  6519. UBaseType_t uxTopPriority;
  6520. long unsigned int uxSchedulerSuspended.92_1;
  6521. long unsigned int _2;
  6522. struct ListItem_t * _3;
  6523. struct xLIST_ITEM * _4;
  6524. struct MiniListItem_t * _6;
  6525. struct xLIST_ITEM * _8;
  6526. struct ListItem_t * _9;
  6527. void * _10;
  6528. <bb 2> [local count: 441995]:
  6529. # DEBUG BEGIN_STMT
  6530. uxSchedulerSuspended.92_1 ={v} uxSchedulerSuspended;
  6531. if (uxSchedulerSuspended.92_1 != 0)
  6532. goto <bb 3>; [50.00%]
  6533. else
  6534. goto <bb 4>; [50.00%]
  6535. <bb 3> [local count: 220997]:
  6536. # DEBUG BEGIN_STMT
  6537. xYieldPending ={v} 1;
  6538. goto <bb 12>; [100.00%]
  6539. <bb 4> [local count: 220997]:
  6540. # DEBUG BEGIN_STMT
  6541. xYieldPending ={v} 0;
  6542. # DEBUG BEGIN_STMT
  6543. # DEBUG BEGIN_STMT
  6544. # DEBUG BEGIN_STMT
  6545. uxTopPriority_15 ={v} uxTopReadyPriority;
  6546. # DEBUG uxTopPriority => uxTopPriority_15
  6547. # DEBUG BEGIN_STMT
  6548. goto <bb 8>; [100.00%]
  6549. <bb 5> [local count: 1952255]:
  6550. # DEBUG BEGIN_STMT
  6551. if (uxTopPriority_11 == 0)
  6552. goto <bb 6>; [5.50%]
  6553. else
  6554. goto <bb 7>; [94.50%]
  6555. <bb 6> [local count: 107374]:
  6556. vTaskSwitchContext.part.0 ();
  6557. <bb 7> [local count: 1844881]:
  6558. # DEBUG BEGIN_STMT
  6559. # DEBUG BEGIN_STMT
  6560. uxTopPriority_21 = uxTopPriority_11 + 4294967295;
  6561. # DEBUG uxTopPriority => uxTopPriority_21
  6562. <bb 8> [local count: 2065878]:
  6563. # uxTopPriority_11 = PHI <uxTopPriority_15(4), uxTopPriority_21(7)>
  6564. # DEBUG uxTopPriority => uxTopPriority_11
  6565. # DEBUG BEGIN_STMT
  6566. _2 ={v} pxReadyTasksLists[uxTopPriority_11].uxNumberOfItems;
  6567. if (_2 == 0)
  6568. goto <bb 5>; [94.50%]
  6569. else
  6570. goto <bb 9>; [5.50%]
  6571. <bb 9> [local count: 113623]:
  6572. # uxTopPriority_5 = PHI <uxTopPriority_11(8)>
  6573. # DEBUG BEGIN_STMT
  6574. # DEBUG D#6 => &pxReadyTasksLists[uxTopPriority_5]
  6575. # DEBUG pxConstList => D#6
  6576. # DEBUG BEGIN_STMT
  6577. _3 = MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex;
  6578. _4 = _3->pxNext;
  6579. MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex = _4;
  6580. # DEBUG BEGIN_STMT
  6581. _6 = &MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].xListEnd;
  6582. if (_4 == _6)
  6583. goto <bb 10>; [30.00%]
  6584. else
  6585. goto <bb 11>; [70.00%]
  6586. <bb 10> [local count: 34087]:
  6587. # DEBUG BEGIN_STMT
  6588. _8 = MEM[(struct ListItem_t *)_4].pxNext;
  6589. MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex = _8;
  6590. <bb 11> [local count: 113623]:
  6591. # DEBUG BEGIN_STMT
  6592. _9 = MEM[(struct List_t *)&pxReadyTasksLists][uxTopPriority_5].pxIndex;
  6593. _10 = _9->pvOwner;
  6594. pxCurrentTCB ={v} _10;
  6595. # DEBUG BEGIN_STMT
  6596. # DEBUG BEGIN_STMT
  6597. uxTopReadyPriority ={v} uxTopPriority_5;
  6598. <bb 12> [local count: 334621]:
  6599. # DEBUG BEGIN_STMT
  6600. # DEBUG BEGIN_STMT
  6601. return;
  6602. }
  6603. xTaskIncrementTick ()
  6604. {
  6605. BaseType_t xSwitchRequired;
  6606. long unsigned int uxSchedulerSuspended.79_1;
  6607. long unsigned int xPendedTicks.91_5;
  6608. long unsigned int _6;
  6609. <bb 2> [local count: 641039]:
  6610. # DEBUG BEGIN_STMT
  6611. # DEBUG BEGIN_STMT
  6612. # DEBUG BEGIN_STMT
  6613. # DEBUG xSwitchRequired => 0
  6614. # DEBUG BEGIN_STMT
  6615. # DEBUG BEGIN_STMT
  6616. uxSchedulerSuspended.79_1 ={v} uxSchedulerSuspended;
  6617. if (uxSchedulerSuspended.79_1 == 0)
  6618. goto <bb 3>; [50.00%]
  6619. else
  6620. goto <bb 4>; [50.00%]
  6621. <bb 3> [local count: 320520]:
  6622. xSwitchRequired_2 = xTaskIncrementTick.part.0 ();
  6623. goto <bb 5>; [100.00%]
  6624. <bb 4> [local count: 320519]:
  6625. # DEBUG BEGIN_STMT
  6626. xPendedTicks.91_5 ={v} xPendedTicks;
  6627. _6 = xPendedTicks.91_5 + 1;
  6628. xPendedTicks ={v} _6;
  6629. <bb 5> [local count: 533665]:
  6630. # xSwitchRequired_7 = PHI <xSwitchRequired_2(3), 0(4)>
  6631. # DEBUG xSwitchRequired => xSwitchRequired_7
  6632. # DEBUG BEGIN_STMT
  6633. return xSwitchRequired_7;
  6634. }
  6635. xTaskAbortDelay (struct tskTaskControlBlock * xTask)
  6636. {
  6637. uint32_t ulNewBASEPRI;
  6638. struct ListItem_t * const pxIndex;
  6639. BaseType_t xReturn;
  6640. <unnamed type> _1;
  6641. struct ListItem_t * _2;
  6642. struct xLIST * _3;
  6643. struct ListItem_t * _4;
  6644. long unsigned int _5;
  6645. long unsigned int uxTopReadyPriority.77_6;
  6646. struct xLIST_ITEM * _7;
  6647. struct xLIST_ITEM * _8;
  6648. struct List_t * _9;
  6649. long unsigned int _10;
  6650. long unsigned int _11;
  6651. struct TCB_t * pxCurrentTCB.78_12;
  6652. long unsigned int _13;
  6653. <bb 2> [local count: 230763]:
  6654. # DEBUG BEGIN_STMT
  6655. # DEBUG pxTCB => xTask_18(D)
  6656. # DEBUG BEGIN_STMT
  6657. # DEBUG BEGIN_STMT
  6658. if (xTask_18(D) == 0B)
  6659. goto <bb 3>; [46.53%]
  6660. else
  6661. goto <bb 5>; [53.47%]
  6662. <bb 3> [local count: 107374]:
  6663. # DEBUG BEGIN_STMT
  6664. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6665. # DEBUG BEGIN_STMT
  6666. # DEBUG BEGIN_STMT
  6667. __asm__ __volatile__(" mov %0, %1
  6668. msr basepri, %0
  6669. isb
  6670. dsb
  6671. " : "=r" ulNewBASEPRI_37 : "i" 16 : "memory");
  6672. # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
  6673. <bb 4> [local count: 1073741824]:
  6674. # DEBUG ulNewBASEPRI => NULL
  6675. # DEBUG BEGIN_STMT
  6676. # DEBUG BEGIN_STMT
  6677. # DEBUG BEGIN_STMT
  6678. <bb 13> [local count: 1073741824]:
  6679. goto <bb 4>; [100.00%]
  6680. <bb 5> [local count: 123389]:
  6681. # DEBUG BEGIN_STMT
  6682. # DEBUG BEGIN_STMT
  6683. vTaskSuspendAll ();
  6684. # DEBUG BEGIN_STMT
  6685. _1 = eTaskGetState (xTask_18(D));
  6686. if (_1 == 2)
  6687. goto <bb 6>; [20.24%]
  6688. else
  6689. goto <bb 12>; [79.76%]
  6690. <bb 6> [local count: 24974]:
  6691. # DEBUG BEGIN_STMT
  6692. # DEBUG xReturn => 1
  6693. # DEBUG BEGIN_STMT
  6694. _2 = &MEM[(struct TCB_t *)xTask_18(D)].xStateListItem;
  6695. uxListRemove (_2);
  6696. # DEBUG BEGIN_STMT
  6697. vPortEnterCritical ();
  6698. # DEBUG BEGIN_STMT
  6699. _3 = MEM[(struct TCB_t *)xTask_18(D)].xEventListItem.pvContainer;
  6700. if (_3 != 0B)
  6701. goto <bb 7>; [53.47%]
  6702. else
  6703. goto <bb 8>; [46.53%]
  6704. <bb 7> [local count: 13354]:
  6705. # DEBUG BEGIN_STMT
  6706. _4 = &MEM[(struct TCB_t *)xTask_18(D)].xEventListItem;
  6707. uxListRemove (_4);
  6708. # DEBUG BEGIN_STMT
  6709. MEM[(struct TCB_t *)xTask_18(D)].ucDelayAborted = 1;
  6710. <bb 8> [local count: 24974]:
  6711. # DEBUG BEGIN_STMT
  6712. # DEBUG BEGIN_STMT
  6713. vPortExitCritical ();
  6714. # DEBUG BEGIN_STMT
  6715. # DEBUG BEGIN_STMT
  6716. _5 = MEM[(struct TCB_t *)xTask_18(D)].uxPriority;
  6717. uxTopReadyPriority.77_6 ={v} uxTopReadyPriority;
  6718. if (_5 > uxTopReadyPriority.77_6)
  6719. goto <bb 9>; [50.00%]
  6720. else
  6721. goto <bb 10>; [50.00%]
  6722. <bb 9> [local count: 12487]:
  6723. # DEBUG BEGIN_STMT
  6724. uxTopReadyPriority ={v} _5;
  6725. <bb 10> [local count: 24974]:
  6726. # DEBUG BEGIN_STMT
  6727. # DEBUG BEGIN_STMT
  6728. pxIndex_28 = pxReadyTasksLists[_5].pxIndex;
  6729. # DEBUG pxIndex => pxIndex_28
  6730. # DEBUG BEGIN_STMT
  6731. # DEBUG BEGIN_STMT
  6732. # DEBUG BEGIN_STMT
  6733. MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pxNext = pxIndex_28;
  6734. # DEBUG BEGIN_STMT
  6735. _7 = pxIndex_28->pxPrevious;
  6736. MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pxPrevious = _7;
  6737. # DEBUG BEGIN_STMT
  6738. _8 = pxIndex_28->pxPrevious;
  6739. _8->pxNext = _2;
  6740. # DEBUG BEGIN_STMT
  6741. pxIndex_28->pxPrevious = _2;
  6742. # DEBUG BEGIN_STMT
  6743. _9 = &pxReadyTasksLists[_5];
  6744. MEM[(struct TCB_t *)xTask_18(D)].xStateListItem.pvContainer = _9;
  6745. # DEBUG BEGIN_STMT
  6746. _10 ={v} pxReadyTasksLists[_5].uxNumberOfItems;
  6747. _11 = _10 + 1;
  6748. pxReadyTasksLists[_5].uxNumberOfItems ={v} _11;
  6749. # DEBUG BEGIN_STMT
  6750. # DEBUG BEGIN_STMT
  6751. # DEBUG BEGIN_STMT
  6752. pxCurrentTCB.78_12 ={v} pxCurrentTCB;
  6753. _13 = pxCurrentTCB.78_12->uxPriority;
  6754. if (_5 > _13)
  6755. goto <bb 11>; [50.00%]
  6756. else
  6757. goto <bb 12>; [50.00%]
  6758. <bb 11> [local count: 12487]:
  6759. # DEBUG BEGIN_STMT
  6760. xYieldPending ={v} 1;
  6761. <bb 12> [local count: 123389]:
  6762. # xReturn_14 = PHI <1(11), 0(5), 1(10)>
  6763. # DEBUG xReturn => xReturn_14
  6764. # DEBUG BEGIN_STMT
  6765. xTaskResumeAll ();
  6766. # DEBUG BEGIN_STMT
  6767. return xReturn_14;
  6768. }
  6769. xTaskCatchUpTicks (TickType_t xTicksToCatchUp)
  6770. {
  6771. uint32_t ulNewBASEPRI;
  6772. BaseType_t xYieldOccurred;
  6773. long unsigned int uxSchedulerSuspended.75_1;
  6774. long unsigned int xPendedTicks.76_2;
  6775. long unsigned int _3;
  6776. <bb 2> [local count: 160260]:
  6777. # DEBUG BEGIN_STMT
  6778. # DEBUG BEGIN_STMT
  6779. uxSchedulerSuspended.75_1 ={v} uxSchedulerSuspended;
  6780. if (uxSchedulerSuspended.75_1 != 0)
  6781. goto <bb 3>; [67.00%]
  6782. else
  6783. goto <bb 5>; [33.00%]
  6784. <bb 3> [local count: 107374]:
  6785. # DEBUG BEGIN_STMT
  6786. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6787. # DEBUG BEGIN_STMT
  6788. # DEBUG BEGIN_STMT
  6789. __asm__ __volatile__(" mov %0, %1
  6790. msr basepri, %0
  6791. isb
  6792. dsb
  6793. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  6794. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  6795. <bb 4> [local count: 1073741824]:
  6796. # DEBUG ulNewBASEPRI => NULL
  6797. # DEBUG BEGIN_STMT
  6798. # DEBUG BEGIN_STMT
  6799. # DEBUG BEGIN_STMT
  6800. <bb 6> [local count: 1073741824]:
  6801. goto <bb 4>; [100.00%]
  6802. <bb 5> [local count: 52886]:
  6803. # DEBUG BEGIN_STMT
  6804. # DEBUG BEGIN_STMT
  6805. vTaskSuspendAll ();
  6806. # DEBUG BEGIN_STMT
  6807. xPendedTicks.76_2 ={v} xPendedTicks;
  6808. _3 = xPendedTicks.76_2 + xTicksToCatchUp_6(D);
  6809. xPendedTicks ={v} _3;
  6810. # DEBUG BEGIN_STMT
  6811. xYieldOccurred_9 = xTaskResumeAll ();
  6812. # DEBUG xYieldOccurred => xYieldOccurred_9
  6813. # DEBUG BEGIN_STMT
  6814. return xYieldOccurred_9;
  6815. }
  6816. uxTaskGetSystemState (struct TaskStatus_t * const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t * const pulTotalRunTime)
  6817. {
  6818. UBaseType_t uxQueue;
  6819. UBaseType_t uxTask;
  6820. long unsigned int uxCurrentNumberOfTasks.72_1;
  6821. long unsigned int _2;
  6822. struct TaskStatus_t * _3;
  6823. struct List_t * _4;
  6824. long unsigned int _5;
  6825. struct TaskStatus_t * _6;
  6826. struct List_t * pxDelayedTaskList.73_7;
  6827. long unsigned int _8;
  6828. struct TaskStatus_t * _9;
  6829. struct List_t * pxOverflowDelayedTaskList.74_10;
  6830. long unsigned int _11;
  6831. struct TaskStatus_t * _12;
  6832. long unsigned int _13;
  6833. struct TaskStatus_t * _14;
  6834. long unsigned int _27;
  6835. long unsigned int _30;
  6836. long unsigned int _33;
  6837. long unsigned int _36;
  6838. long unsigned int _39;
  6839. <bb 2> [local count: 429496728]:
  6840. # DEBUG BEGIN_STMT
  6841. # DEBUG uxTask => 0
  6842. # DEBUG uxQueue => 5
  6843. # DEBUG BEGIN_STMT
  6844. vTaskSuspendAll ();
  6845. # DEBUG BEGIN_STMT
  6846. uxCurrentNumberOfTasks.72_1 ={v} uxCurrentNumberOfTasks;
  6847. if (uxCurrentNumberOfTasks.72_1 <= uxArraySize_23(D))
  6848. goto <bb 7>; [50.00%]
  6849. else
  6850. goto <bb 6>; [50.00%]
  6851. <bb 7> [local count: 214748364]:
  6852. <bb 3> [local count: 1073741824]:
  6853. # uxTask_15 = PHI <0(7), uxTask_28(8)>
  6854. # uxQueue_17 = PHI <5(7), uxQueue_24(8)>
  6855. # DEBUG uxQueue => uxQueue_17
  6856. # DEBUG uxTask => uxTask_15
  6857. # DEBUG BEGIN_STMT
  6858. # DEBUG BEGIN_STMT
  6859. uxQueue_24 = uxQueue_17 + 4294967295;
  6860. # DEBUG uxQueue => uxQueue_24
  6861. # DEBUG BEGIN_STMT
  6862. _2 = uxTask_15 * 36;
  6863. _3 = pxTaskStatusArray_25(D) + _2;
  6864. _4 = &pxReadyTasksLists[uxQueue_24];
  6865. _27 = prvListTasksWithinSingleList (_3, _4, 1);
  6866. uxTask_28 = uxTask_15 + _27;
  6867. # DEBUG uxTask => uxTask_28
  6868. # DEBUG BEGIN_STMT
  6869. if (uxQueue_24 != 0)
  6870. goto <bb 8>; [80.00%]
  6871. else
  6872. goto <bb 4>; [20.00%]
  6873. <bb 8> [local count: 858993459]:
  6874. goto <bb 3>; [100.00%]
  6875. <bb 4> [local count: 214748365]:
  6876. # uxTask_20 = PHI <uxTask_28(3)>
  6877. # DEBUG BEGIN_STMT
  6878. _5 = uxTask_20 * 36;
  6879. _6 = pxTaskStatusArray_25(D) + _5;
  6880. pxDelayedTaskList.73_7 ={v} pxDelayedTaskList;
  6881. _30 = prvListTasksWithinSingleList (_6, pxDelayedTaskList.73_7, 2);
  6882. uxTask_31 = uxTask_20 + _30;
  6883. # DEBUG uxTask => uxTask_31
  6884. # DEBUG BEGIN_STMT
  6885. _8 = uxTask_31 * 36;
  6886. _9 = pxTaskStatusArray_25(D) + _8;
  6887. pxOverflowDelayedTaskList.74_10 ={v} pxOverflowDelayedTaskList;
  6888. _33 = prvListTasksWithinSingleList (_9, pxOverflowDelayedTaskList.74_10, 2);
  6889. uxTask_34 = uxTask_31 + _33;
  6890. # DEBUG uxTask => uxTask_34
  6891. # DEBUG BEGIN_STMT
  6892. _11 = uxTask_34 * 36;
  6893. _12 = pxTaskStatusArray_25(D) + _11;
  6894. _36 = prvListTasksWithinSingleList (_12, &xTasksWaitingTermination, 4);
  6895. uxTask_37 = uxTask_34 + _36;
  6896. # DEBUG uxTask => uxTask_37
  6897. # DEBUG BEGIN_STMT
  6898. _13 = uxTask_37 * 36;
  6899. _14 = pxTaskStatusArray_25(D) + _13;
  6900. _39 = prvListTasksWithinSingleList (_14, &xSuspendedTaskList, 3);
  6901. uxTask_40 = uxTask_37 + _39;
  6902. # DEBUG uxTask => uxTask_40
  6903. # DEBUG BEGIN_STMT
  6904. if (pulTotalRunTime_41(D) != 0B)
  6905. goto <bb 5>; [70.00%]
  6906. else
  6907. goto <bb 6>; [30.00%]
  6908. <bb 5> [local count: 150323855]:
  6909. # DEBUG BEGIN_STMT
  6910. *pulTotalRunTime_41(D) = 0;
  6911. <bb 6> [local count: 429496729]:
  6912. # uxTask_16 = PHI <0(2), uxTask_40(5), uxTask_40(4)>
  6913. # DEBUG uxTask => uxTask_16
  6914. # DEBUG BEGIN_STMT
  6915. # DEBUG BEGIN_STMT
  6916. xTaskResumeAll ();
  6917. # DEBUG BEGIN_STMT
  6918. return uxTask_16;
  6919. }
  6920. xTaskGetHandle (const char * pcNameToQuery)
  6921. {
  6922. uint32_t ulNewBASEPRI;
  6923. struct TCB_t * pxTCB;
  6924. UBaseType_t uxQueue;
  6925. unsigned int _1;
  6926. struct List_t * _2;
  6927. struct List_t * pxDelayedTaskList.70_3;
  6928. struct List_t * pxOverflowDelayedTaskList.71_4;
  6929. <bb 2> [local count: 160260]:
  6930. # DEBUG BEGIN_STMT
  6931. # DEBUG uxQueue => 5
  6932. # DEBUG BEGIN_STMT
  6933. # DEBUG BEGIN_STMT
  6934. _1 = strlen (pcNameToQuery_17(D));
  6935. if (_1 > 9)
  6936. goto <bb 3>; [67.00%]
  6937. else
  6938. goto <bb 5>; [33.00%]
  6939. <bb 3> [local count: 107374]:
  6940. # DEBUG BEGIN_STMT
  6941. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  6942. # DEBUG BEGIN_STMT
  6943. # DEBUG BEGIN_STMT
  6944. __asm__ __volatile__(" mov %0, %1
  6945. msr basepri, %0
  6946. isb
  6947. dsb
  6948. " : "=r" ulNewBASEPRI_31 : "i" 16 : "memory");
  6949. # DEBUG ulNewBASEPRI => ulNewBASEPRI_31
  6950. <bb 4> [local count: 1073741824]:
  6951. # DEBUG ulNewBASEPRI => NULL
  6952. # DEBUG BEGIN_STMT
  6953. # DEBUG BEGIN_STMT
  6954. # DEBUG BEGIN_STMT
  6955. <bb 17> [local count: 1073741824]:
  6956. goto <bb 4>; [100.00%]
  6957. <bb 5> [local count: 52886]:
  6958. # DEBUG BEGIN_STMT
  6959. # DEBUG BEGIN_STMT
  6960. vTaskSuspendAll ();
  6961. <bb 6> [local count: 216745]:
  6962. # uxQueue_5 = PHI <5(5), uxQueue_19(18)>
  6963. # DEBUG uxQueue => uxQueue_5
  6964. # DEBUG BEGIN_STMT
  6965. # DEBUG BEGIN_STMT
  6966. uxQueue_19 = uxQueue_5 + 4294967295;
  6967. # DEBUG uxQueue => uxQueue_19
  6968. # DEBUG BEGIN_STMT
  6969. _2 = &pxReadyTasksLists[uxQueue_19];
  6970. pxTCB_21 = prvSearchForNameWithinSingleList (_2, pcNameToQuery_17(D));
  6971. # DEBUG pxTCB => pxTCB_21
  6972. # DEBUG BEGIN_STMT
  6973. if (pxTCB_21 != 0B)
  6974. goto <bb 8>; [5.50%]
  6975. else
  6976. goto <bb 7>; [94.50%]
  6977. <bb 7> [local count: 204824]:
  6978. # DEBUG BEGIN_STMT
  6979. if (uxQueue_19 != 0)
  6980. goto <bb 18>; [80.00%]
  6981. else
  6982. goto <bb 8>; [20.00%]
  6983. <bb 18> [local count: 163859]:
  6984. goto <bb 6>; [100.00%]
  6985. <bb 8> [local count: 52886]:
  6986. # pxTCB_15 = PHI <pxTCB_21(6), 0B(7)>
  6987. # DEBUG BEGIN_STMT
  6988. if (pxTCB_15 == 0B)
  6989. goto <bb 9>; [17.43%]
  6990. else
  6991. goto <bb 10>; [82.57%]
  6992. <bb 9> [local count: 9218]:
  6993. # DEBUG BEGIN_STMT
  6994. pxDelayedTaskList.70_3 ={v} pxDelayedTaskList;
  6995. pxTCB_23 = prvSearchForNameWithinSingleList (pxDelayedTaskList.70_3, pcNameToQuery_17(D));
  6996. # DEBUG pxTCB => pxTCB_23
  6997. <bb 10> [local count: 52886]:
  6998. # pxTCB_6 = PHI <pxTCB_15(8), pxTCB_23(9)>
  6999. # DEBUG pxTCB => pxTCB_6
  7000. # DEBUG BEGIN_STMT
  7001. if (pxTCB_6 == 0B)
  7002. goto <bb 11>; [17.43%]
  7003. else
  7004. goto <bb 12>; [82.57%]
  7005. <bb 11> [local count: 9218]:
  7006. # DEBUG BEGIN_STMT
  7007. pxOverflowDelayedTaskList.71_4 ={v} pxOverflowDelayedTaskList;
  7008. pxTCB_25 = prvSearchForNameWithinSingleList (pxOverflowDelayedTaskList.71_4, pcNameToQuery_17(D));
  7009. # DEBUG pxTCB => pxTCB_25
  7010. <bb 12> [local count: 52886]:
  7011. # pxTCB_7 = PHI <pxTCB_6(10), pxTCB_25(11)>
  7012. # DEBUG pxTCB => pxTCB_7
  7013. # DEBUG BEGIN_STMT
  7014. if (pxTCB_7 == 0B)
  7015. goto <bb 13>; [17.43%]
  7016. else
  7017. goto <bb 14>; [82.57%]
  7018. <bb 13> [local count: 9218]:
  7019. # DEBUG BEGIN_STMT
  7020. pxTCB_27 = prvSearchForNameWithinSingleList (&xSuspendedTaskList, pcNameToQuery_17(D));
  7021. # DEBUG pxTCB => pxTCB_27
  7022. <bb 14> [local count: 52886]:
  7023. # pxTCB_8 = PHI <pxTCB_7(12), pxTCB_27(13)>
  7024. # DEBUG pxTCB => pxTCB_8
  7025. # DEBUG BEGIN_STMT
  7026. if (pxTCB_8 == 0B)
  7027. goto <bb 15>; [17.43%]
  7028. else
  7029. goto <bb 16>; [82.57%]
  7030. <bb 15> [local count: 9218]:
  7031. # DEBUG BEGIN_STMT
  7032. pxTCB_29 = prvSearchForNameWithinSingleList (&xTasksWaitingTermination, pcNameToQuery_17(D));
  7033. # DEBUG pxTCB => pxTCB_29
  7034. <bb 16> [local count: 52886]:
  7035. # pxTCB_9 = PHI <pxTCB_8(14), pxTCB_29(15)>
  7036. # DEBUG pxTCB => pxTCB_9
  7037. # DEBUG BEGIN_STMT
  7038. xTaskResumeAll ();
  7039. # DEBUG BEGIN_STMT
  7040. return pxTCB_9;
  7041. }
  7042. prvSearchForNameWithinSingleList (struct List_t * pxList, const char * pcNameToQuery)
  7043. {
  7044. char cNextChar;
  7045. UBaseType_t x;
  7046. struct TCB_t * pxReturn;
  7047. struct TCB_t * pxFirstTCB;
  7048. struct TCB_t * pxNextTCB;
  7049. long unsigned int _1;
  7050. struct ListItem_t * _2;
  7051. struct xLIST_ITEM * _3;
  7052. struct MiniListItem_t * _4;
  7053. struct xLIST_ITEM * _5;
  7054. struct ListItem_t * _6;
  7055. struct ListItem_t * _7;
  7056. struct xLIST_ITEM * _8;
  7057. struct xLIST_ITEM * _9;
  7058. struct ListItem_t * _10;
  7059. const char * _11;
  7060. char _12;
  7061. <bb 2> [local count: 25274560]:
  7062. # DEBUG BEGIN_STMT
  7063. # DEBUG pxReturn => 0B
  7064. # DEBUG BEGIN_STMT
  7065. # DEBUG BEGIN_STMT
  7066. # DEBUG BEGIN_STMT
  7067. # DEBUG BEGIN_STMT
  7068. _1 ={v} pxList_23(D)->uxNumberOfItems;
  7069. if (_1 != 0)
  7070. goto <bb 3>; [71.00%]
  7071. else
  7072. goto <bb 15>; [29.00%]
  7073. <bb 3> [local count: 17944938]:
  7074. # DEBUG BEGIN_STMT
  7075. # DEBUG pxConstList => pxList_23(D)
  7076. # DEBUG BEGIN_STMT
  7077. _2 = pxList_23(D)->pxIndex;
  7078. _3 = _2->pxNext;
  7079. pxList_23(D)->pxIndex = _3;
  7080. # DEBUG BEGIN_STMT
  7081. _4 = &pxList_23(D)->xListEnd;
  7082. if (_3 == _4)
  7083. goto <bb 4>; [30.00%]
  7084. else
  7085. goto <bb 5>; [70.00%]
  7086. <bb 4> [local count: 5383481]:
  7087. # DEBUG BEGIN_STMT
  7088. _5 = MEM[(struct ListItem_t *)_3].pxNext;
  7089. pxList_23(D)->pxIndex = _5;
  7090. <bb 5> [local count: 17944938]:
  7091. # DEBUG BEGIN_STMT
  7092. _6 = pxList_23(D)->pxIndex;
  7093. pxFirstTCB_26 = _6->pvOwner;
  7094. # DEBUG pxFirstTCB => pxFirstTCB_26
  7095. <bb 6> [local count: 167748888]:
  7096. # pxReturn_13 = PHI <0B(5), 0B(16)>
  7097. # DEBUG pxReturn => pxReturn_13
  7098. # DEBUG BEGIN_STMT
  7099. # DEBUG BEGIN_STMT
  7100. # DEBUG BEGIN_STMT
  7101. # DEBUG pxConstList => pxList_23(D)
  7102. # DEBUG BEGIN_STMT
  7103. _7 = pxList_23(D)->pxIndex;
  7104. _8 = _7->pxNext;
  7105. pxList_23(D)->pxIndex = _8;
  7106. # DEBUG BEGIN_STMT
  7107. if (_4 == _8)
  7108. goto <bb 7>; [30.00%]
  7109. else
  7110. goto <bb 8>; [70.00%]
  7111. <bb 7> [local count: 50324666]:
  7112. # DEBUG BEGIN_STMT
  7113. _9 = MEM[(struct ListItem_t *)_8].pxNext;
  7114. pxList_23(D)->pxIndex = _9;
  7115. <bb 8> [local count: 167748888]:
  7116. # DEBUG BEGIN_STMT
  7117. _10 = pxList_23(D)->pxIndex;
  7118. pxNextTCB_29 = _10->pvOwner;
  7119. # DEBUG pxNextTCB => pxNextTCB_29
  7120. # DEBUG BEGIN_STMT
  7121. # DEBUG BEGIN_STMT
  7122. # DEBUG xBreakLoop => 0
  7123. # DEBUG BEGIN_STMT
  7124. # DEBUG x => 0
  7125. goto <bb 12>; [100.00%]
  7126. <bb 9> [local count: 976138693]:
  7127. # DEBUG BEGIN_STMT
  7128. cNextChar_30 = pxNextTCB_29->pcTaskName[x_17];
  7129. # DEBUG cNextChar => cNextChar_30
  7130. # DEBUG BEGIN_STMT
  7131. _11 = pcNameToQuery_31(D) + x_17;
  7132. _12 = *_11;
  7133. if (_12 != cNextChar_30)
  7134. goto <bb 13>; [3.66%]
  7135. else
  7136. goto <bb 10>; [96.34%]
  7137. <bb 10> [local count: 940412017]:
  7138. # DEBUG BEGIN_STMT
  7139. if (cNextChar_30 == 0)
  7140. goto <bb 13>; [3.66%]
  7141. else
  7142. goto <bb 11>; [96.34%]
  7143. <bb 11> [local count: 905992937]:
  7144. # DEBUG xBreakLoop => 0
  7145. # DEBUG pxReturn => pxReturn_14
  7146. # DEBUG BEGIN_STMT
  7147. # DEBUG BEGIN_STMT
  7148. # DEBUG BEGIN_STMT
  7149. x_32 = x_17 + 1;
  7150. # DEBUG x => x_32
  7151. <bb 12> [local count: 1073741824]:
  7152. # pxReturn_14 = PHI <pxReturn_13(8), pxReturn_14(11)>
  7153. # x_17 = PHI <0(8), x_32(11)>
  7154. # DEBUG xBreakLoop => 0
  7155. # DEBUG x => x_17
  7156. # DEBUG pxReturn => pxReturn_14
  7157. # DEBUG BEGIN_STMT
  7158. if (x_17 != 10)
  7159. goto <bb 9>; [90.91%]
  7160. else
  7161. goto <bb 13>; [9.09%]
  7162. <bb 13> [local count: 167748888]:
  7163. # pxReturn_15 = PHI <pxNextTCB_29(10), pxReturn_14(12), pxReturn_14(9)>
  7164. # DEBUG xBreakLoop => NULL
  7165. # DEBUG pxReturn => pxReturn_15
  7166. # DEBUG BEGIN_STMT
  7167. if (pxReturn_15 != 0B)
  7168. goto <bb 15>; [5.50%]
  7169. else
  7170. goto <bb 14>; [94.50%]
  7171. <bb 14> [local count: 158522699]:
  7172. # DEBUG BEGIN_STMT
  7173. if (pxFirstTCB_26 != pxNextTCB_29)
  7174. goto <bb 16>; [94.50%]
  7175. else
  7176. goto <bb 15>; [5.50%]
  7177. <bb 16> [local count: 149803950]:
  7178. goto <bb 6>; [100.00%]
  7179. <bb 15> [local count: 25274560]:
  7180. # pxReturn_16 = PHI <0B(2), 0B(14), pxReturn_15(13)>
  7181. # DEBUG pxReturn => pxReturn_16
  7182. # DEBUG BEGIN_STMT
  7183. # DEBUG BEGIN_STMT
  7184. return pxReturn_16;
  7185. }
  7186. pcTaskGetName (struct tskTaskControlBlock * xTaskToQuery)
  7187. {
  7188. uint32_t ulNewBASEPRI;
  7189. struct TCB_t * iftmp.69_1;
  7190. struct TCB_t * iftmp.69_4;
  7191. char * _5;
  7192. <bb 2> [local count: 357913]:
  7193. # DEBUG BEGIN_STMT
  7194. # DEBUG BEGIN_STMT
  7195. if (xTaskToQuery_2(D) == 0B)
  7196. goto <bb 3>; [30.00%]
  7197. else
  7198. goto <bb 4>; [70.00%]
  7199. <bb 3> [local count: 107374]:
  7200. iftmp.69_4 ={v} pxCurrentTCB;
  7201. <bb 4> [local count: 357913]:
  7202. # iftmp.69_1 = PHI <iftmp.69_4(3), xTaskToQuery_2(D)(2)>
  7203. # DEBUG pxTCB => iftmp.69_1
  7204. # DEBUG BEGIN_STMT
  7205. if (iftmp.69_1 == 0B)
  7206. goto <bb 5>; [30.00%]
  7207. else
  7208. goto <bb 7>; [70.00%]
  7209. <bb 5> [local count: 107374]:
  7210. # DEBUG BEGIN_STMT
  7211. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7212. # DEBUG BEGIN_STMT
  7213. # DEBUG BEGIN_STMT
  7214. __asm__ __volatile__(" mov %0, %1
  7215. msr basepri, %0
  7216. isb
  7217. dsb
  7218. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  7219. # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
  7220. <bb 6> [local count: 1073741824]:
  7221. # DEBUG ulNewBASEPRI => NULL
  7222. # DEBUG BEGIN_STMT
  7223. # DEBUG BEGIN_STMT
  7224. # DEBUG BEGIN_STMT
  7225. <bb 8> [local count: 1073741824]:
  7226. goto <bb 6>; [100.00%]
  7227. <bb 7> [local count: 250539]:
  7228. # DEBUG BEGIN_STMT
  7229. # DEBUG BEGIN_STMT
  7230. _5 = &iftmp.69_1->pcTaskName[0];
  7231. return _5;
  7232. }
  7233. uxTaskGetNumberOfTasks ()
  7234. {
  7235. UBaseType_t _2;
  7236. <bb 2> [local count: 1073741824]:
  7237. # DEBUG BEGIN_STMT
  7238. _2 ={v} uxCurrentNumberOfTasks;
  7239. return _2;
  7240. }
  7241. xTaskGetTickCountFromISR ()
  7242. {
  7243. TickType_t xReturn;
  7244. <bb 2> [local count: 1073741824]:
  7245. # DEBUG BEGIN_STMT
  7246. # DEBUG BEGIN_STMT
  7247. # DEBUG BEGIN_STMT
  7248. vPortValidateInterruptPriority ();
  7249. # DEBUG BEGIN_STMT
  7250. # DEBUG uxSavedInterruptStatus => 0
  7251. # DEBUG BEGIN_STMT
  7252. xReturn_3 ={v} xTickCount;
  7253. # DEBUG xReturn => xReturn_3
  7254. # DEBUG BEGIN_STMT
  7255. # DEBUG BEGIN_STMT
  7256. return xReturn_3;
  7257. }
  7258. xTaskGetTickCount ()
  7259. {
  7260. TickType_t xTicks;
  7261. <bb 2> [local count: 1073741824]:
  7262. # DEBUG BEGIN_STMT
  7263. # DEBUG BEGIN_STMT
  7264. # DEBUG BEGIN_STMT
  7265. xTicks_2 ={v} xTickCount;
  7266. # DEBUG xTicks => xTicks_2
  7267. # DEBUG BEGIN_STMT
  7268. # DEBUG BEGIN_STMT
  7269. return xTicks_2;
  7270. }
  7271. xTaskResumeAll ()
  7272. {
  7273. BaseType_t D.8425;
  7274. uint32_t ulNewBASEPRI;
  7275. long unsigned int uxSchedulerSuspended.62_1;
  7276. <bb 2> [local count: 160260]:
  7277. # DEBUG BEGIN_STMT
  7278. # DEBUG pxTCB => 0B
  7279. # DEBUG BEGIN_STMT
  7280. # DEBUG xAlreadyYielded => 0
  7281. # DEBUG BEGIN_STMT
  7282. uxSchedulerSuspended.62_1 ={v} uxSchedulerSuspended;
  7283. if (uxSchedulerSuspended.62_1 == 0)
  7284. goto <bb 3>; [67.00%]
  7285. else
  7286. goto <bb 5>; [33.00%]
  7287. <bb 3> [local count: 107374]:
  7288. # DEBUG BEGIN_STMT
  7289. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7290. # DEBUG BEGIN_STMT
  7291. # DEBUG BEGIN_STMT
  7292. __asm__ __volatile__(" mov %0, %1
  7293. msr basepri, %0
  7294. isb
  7295. dsb
  7296. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  7297. # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
  7298. <bb 4> [local count: 1073741824]:
  7299. # DEBUG ulNewBASEPRI => NULL
  7300. # DEBUG BEGIN_STMT
  7301. # DEBUG BEGIN_STMT
  7302. # DEBUG BEGIN_STMT
  7303. <bb 6> [local count: 1073741824]:
  7304. goto <bb 4>; [100.00%]
  7305. <bb 5> [local count: 52886]:
  7306. _2 = xTaskResumeAll.part.0 ();
  7307. return _2;
  7308. }
  7309. vTaskSuspendAll ()
  7310. {
  7311. long unsigned int uxSchedulerSuspended.61_1;
  7312. long unsigned int _2;
  7313. <bb 2> [local count: 1073741824]:
  7314. # DEBUG BEGIN_STMT
  7315. # DEBUG BEGIN_STMT
  7316. uxSchedulerSuspended.61_1 ={v} uxSchedulerSuspended;
  7317. _2 = uxSchedulerSuspended.61_1 + 1;
  7318. uxSchedulerSuspended ={v} _2;
  7319. # DEBUG BEGIN_STMT
  7320. __asm__ __volatile__("" : : : "memory");
  7321. return;
  7322. }
  7323. vTaskEndScheduler ()
  7324. {
  7325. uint32_t ulNewBASEPRI;
  7326. <bb 2> [local count: 1073741824]:
  7327. # DEBUG BEGIN_STMT
  7328. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7329. # DEBUG BEGIN_STMT
  7330. # DEBUG BEGIN_STMT
  7331. __asm__ __volatile__(" mov %0, %1
  7332. msr basepri, %0
  7333. isb
  7334. dsb
  7335. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  7336. # DEBUG ulNewBASEPRI => NULL
  7337. # DEBUG BEGIN_STMT
  7338. xSchedulerRunning ={v} 0;
  7339. # DEBUG BEGIN_STMT
  7340. vPortEndScheduler ();
  7341. return;
  7342. }
  7343. vTaskStartScheduler ()
  7344. {
  7345. uint32_t ulNewBASEPRI;
  7346. uint32_t ulNewBASEPRI;
  7347. BaseType_t xReturn;
  7348. long unsigned int vol.57_13;
  7349. <bb 2> [local count: 395945]:
  7350. # DEBUG BEGIN_STMT
  7351. # DEBUG BEGIN_STMT
  7352. xReturn_6 = xTaskCreate (prvIdleTask, "IDLE", 90, 0B, 0, &xIdleTaskHandle);
  7353. # DEBUG xReturn => xReturn_6
  7354. # DEBUG BEGIN_STMT
  7355. if (xReturn_6 == 1)
  7356. goto <bb 3>; [20.24%]
  7357. else
  7358. goto <bb 4>; [79.76%]
  7359. <bb 3> [local count: 80139]:
  7360. # DEBUG BEGIN_STMT
  7361. xReturn_8 = xTimerCreateTimerTask ();
  7362. # DEBUG xReturn => xReturn_8
  7363. <bb 4> [local count: 395945]:
  7364. # xReturn_1 = PHI <xReturn_6(2), xReturn_8(3)>
  7365. # DEBUG xReturn => xReturn_1
  7366. # DEBUG BEGIN_STMT
  7367. # DEBUG BEGIN_STMT
  7368. if (xReturn_1 == 1)
  7369. goto <bb 5>; [20.24%]
  7370. else
  7371. goto <bb 6>; [79.76%]
  7372. <bb 5> [local count: 80139]:
  7373. # DEBUG BEGIN_STMT
  7374. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7375. # DEBUG BEGIN_STMT
  7376. # DEBUG BEGIN_STMT
  7377. __asm__ __volatile__(" mov %0, %1
  7378. msr basepri, %0
  7379. isb
  7380. dsb
  7381. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  7382. # DEBUG ulNewBASEPRI => NULL
  7383. # DEBUG BEGIN_STMT
  7384. xNextTaskUnblockTime ={v} 4294967295;
  7385. # DEBUG BEGIN_STMT
  7386. xSchedulerRunning ={v} 1;
  7387. # DEBUG BEGIN_STMT
  7388. xTickCount ={v} 0;
  7389. # DEBUG BEGIN_STMT
  7390. # DEBUG BEGIN_STMT
  7391. # DEBUG BEGIN_STMT
  7392. xPortStartScheduler ();
  7393. goto <bb 9>; [100.00%]
  7394. <bb 6> [local count: 315806]:
  7395. # DEBUG BEGIN_STMT
  7396. if (xReturn_1 == -1)
  7397. goto <bb 7>; [34.00%]
  7398. else
  7399. goto <bb 9>; [66.00%]
  7400. <bb 7> [local count: 107374]:
  7401. # DEBUG BEGIN_STMT
  7402. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7403. # DEBUG BEGIN_STMT
  7404. # DEBUG BEGIN_STMT
  7405. __asm__ __volatile__(" mov %0, %1
  7406. msr basepri, %0
  7407. isb
  7408. dsb
  7409. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  7410. # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
  7411. <bb 8> [local count: 1073741824]:
  7412. # DEBUG ulNewBASEPRI => NULL
  7413. # DEBUG BEGIN_STMT
  7414. # DEBUG BEGIN_STMT
  7415. # DEBUG BEGIN_STMT
  7416. <bb 10> [local count: 1073741824]:
  7417. goto <bb 8>; [100.00%]
  7418. <bb 9> [local count: 288571]:
  7419. # DEBUG BEGIN_STMT
  7420. # DEBUG BEGIN_STMT
  7421. # DEBUG BEGIN_STMT
  7422. vol.57_13 ={v} uxTopUsedPriority;
  7423. return;
  7424. }
  7425. xTaskResumeFromISR (struct tskTaskControlBlock * xTaskToResume)
  7426. {
  7427. uint32_t ulOriginalBASEPRI;
  7428. uint32_t ulNewBASEPRI;
  7429. uint32_t ulNewBASEPRI;
  7430. struct ListItem_t * const pxIndex;
  7431. BaseType_t xYieldRequired;
  7432. long int _1;
  7433. long unsigned int uxSchedulerSuspended.54_2;
  7434. long unsigned int _3;
  7435. struct TCB_t * pxCurrentTCB.55_4;
  7436. long unsigned int _5;
  7437. struct ListItem_t * _6;
  7438. long unsigned int _7;
  7439. long unsigned int uxTopReadyPriority.56_8;
  7440. struct xLIST_ITEM * _9;
  7441. struct xLIST_ITEM * _10;
  7442. struct List_t * _11;
  7443. long unsigned int _12;
  7444. long unsigned int _13;
  7445. struct ListItem_t * _14;
  7446. <bb 2> [local count: 230763]:
  7447. # DEBUG BEGIN_STMT
  7448. # DEBUG xYieldRequired => 0
  7449. # DEBUG BEGIN_STMT
  7450. # DEBUG pxTCB => xTaskToResume_20(D)
  7451. # DEBUG BEGIN_STMT
  7452. # DEBUG BEGIN_STMT
  7453. if (xTaskToResume_20(D) == 0B)
  7454. goto <bb 3>; [46.53%]
  7455. else
  7456. goto <bb 5>; [53.47%]
  7457. <bb 3> [local count: 107374]:
  7458. # DEBUG BEGIN_STMT
  7459. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7460. # DEBUG BEGIN_STMT
  7461. # DEBUG BEGIN_STMT
  7462. __asm__ __volatile__(" mov %0, %1
  7463. msr basepri, %0
  7464. isb
  7465. dsb
  7466. " : "=r" ulNewBASEPRI_35 : "i" 16 : "memory");
  7467. # DEBUG ulNewBASEPRI => ulNewBASEPRI_35
  7468. <bb 4> [local count: 1073741824]:
  7469. # DEBUG ulNewBASEPRI => NULL
  7470. # DEBUG BEGIN_STMT
  7471. # DEBUG BEGIN_STMT
  7472. # DEBUG BEGIN_STMT
  7473. <bb 14> [local count: 1073741824]:
  7474. goto <bb 4>; [100.00%]
  7475. <bb 5> [local count: 123389]:
  7476. # DEBUG BEGIN_STMT
  7477. # DEBUG BEGIN_STMT
  7478. vPortValidateInterruptPriority ();
  7479. # DEBUG BEGIN_STMT
  7480. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  7481. # DEBUG BEGIN_STMT
  7482. # DEBUG BEGIN_STMT
  7483. __asm__ __volatile__(" mrs %0, basepri
  7484. mov %1, %2
  7485. msr basepri, %1
  7486. isb
  7487. dsb
  7488. " : "=r" ulOriginalBASEPRI_36, "=r" ulNewBASEPRI_37 : "i" 16 : "memory");
  7489. # DEBUG ulNewBASEPRI => ulNewBASEPRI_37
  7490. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_36
  7491. # DEBUG BEGIN_STMT
  7492. # DEBUG ulNewBASEPRI => NULL
  7493. # DEBUG ulOriginalBASEPRI => NULL
  7494. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_36
  7495. # DEBUG BEGIN_STMT
  7496. _1 = prvTaskIsTaskSuspended (xTaskToResume_20(D));
  7497. if (_1 != 0)
  7498. goto <bb 6>; [50.00%]
  7499. else
  7500. goto <bb 13>; [50.00%]
  7501. <bb 6> [local count: 61694]:
  7502. # DEBUG BEGIN_STMT
  7503. # DEBUG BEGIN_STMT
  7504. uxSchedulerSuspended.54_2 ={v} uxSchedulerSuspended;
  7505. if (uxSchedulerSuspended.54_2 == 0)
  7506. goto <bb 7>; [67.00%]
  7507. else
  7508. goto <bb 12>; [33.00%]
  7509. <bb 7> [local count: 41335]:
  7510. # DEBUG BEGIN_STMT
  7511. _3 = MEM[(struct TCB_t *)xTaskToResume_20(D)].uxPriority;
  7512. pxCurrentTCB.55_4 ={v} pxCurrentTCB;
  7513. _5 = pxCurrentTCB.55_4->uxPriority;
  7514. if (_3 >= _5)
  7515. goto <bb 8>; [50.00%]
  7516. else
  7517. goto <bb 9>; [50.00%]
  7518. <bb 8> [local count: 20668]:
  7519. # DEBUG BEGIN_STMT
  7520. # DEBUG xYieldRequired => 1
  7521. # DEBUG BEGIN_STMT
  7522. xYieldPending ={v} 1;
  7523. <bb 9> [local count: 41335]:
  7524. # xYieldRequired_15 = PHI <0(7), 1(8)>
  7525. # DEBUG xYieldRequired => xYieldRequired_15
  7526. # DEBUG BEGIN_STMT
  7527. # DEBUG BEGIN_STMT
  7528. _6 = &MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem;
  7529. uxListRemove (_6);
  7530. # DEBUG BEGIN_STMT
  7531. # DEBUG BEGIN_STMT
  7532. _7 = MEM[(struct TCB_t *)xTaskToResume_20(D)].uxPriority;
  7533. uxTopReadyPriority.56_8 ={v} uxTopReadyPriority;
  7534. if (_7 > uxTopReadyPriority.56_8)
  7535. goto <bb 10>; [50.00%]
  7536. else
  7537. goto <bb 11>; [50.00%]
  7538. <bb 10> [local count: 20668]:
  7539. # DEBUG BEGIN_STMT
  7540. uxTopReadyPriority ={v} _7;
  7541. <bb 11> [local count: 41335]:
  7542. # DEBUG BEGIN_STMT
  7543. # DEBUG BEGIN_STMT
  7544. pxIndex_28 = pxReadyTasksLists[_7].pxIndex;
  7545. # DEBUG pxIndex => pxIndex_28
  7546. # DEBUG BEGIN_STMT
  7547. # DEBUG BEGIN_STMT
  7548. # DEBUG BEGIN_STMT
  7549. MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pxNext = pxIndex_28;
  7550. # DEBUG BEGIN_STMT
  7551. _9 = pxIndex_28->pxPrevious;
  7552. MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pxPrevious = _9;
  7553. # DEBUG BEGIN_STMT
  7554. _10 = pxIndex_28->pxPrevious;
  7555. _10->pxNext = _6;
  7556. # DEBUG BEGIN_STMT
  7557. pxIndex_28->pxPrevious = _6;
  7558. # DEBUG BEGIN_STMT
  7559. _11 = &pxReadyTasksLists[_7];
  7560. MEM[(struct TCB_t *)xTaskToResume_20(D)].xStateListItem.pvContainer = _11;
  7561. # DEBUG BEGIN_STMT
  7562. _12 ={v} pxReadyTasksLists[_7].uxNumberOfItems;
  7563. _13 = _12 + 1;
  7564. pxReadyTasksLists[_7].uxNumberOfItems ={v} _13;
  7565. # DEBUG BEGIN_STMT
  7566. # DEBUG BEGIN_STMT
  7567. goto <bb 13>; [100.00%]
  7568. <bb 12> [local count: 20359]:
  7569. # DEBUG BEGIN_STMT
  7570. _14 = &MEM[(struct TCB_t *)xTaskToResume_20(D)].xEventListItem;
  7571. vListInsertEnd (&xPendingReadyList, _14);
  7572. <bb 13> [local count: 123389]:
  7573. # xYieldRequired_16 = PHI <0(5), 0(12), xYieldRequired_15(11)>
  7574. # DEBUG xYieldRequired => xYieldRequired_16
  7575. # DEBUG BEGIN_STMT
  7576. # DEBUG BEGIN_STMT
  7577. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_36
  7578. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  7579. # DEBUG BEGIN_STMT
  7580. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_36 : "memory");
  7581. # DEBUG ulNewMaskValue => NULL
  7582. # DEBUG BEGIN_STMT
  7583. return xYieldRequired_16;
  7584. }
  7585. vTaskResume (struct tskTaskControlBlock * xTaskToResume)
  7586. {
  7587. uint32_t ulNewBASEPRI;
  7588. struct ListItem_t * const pxIndex;
  7589. struct TCB_t * pxCurrentTCB.51_1;
  7590. long int _2;
  7591. struct ListItem_t * _3;
  7592. long unsigned int _4;
  7593. long unsigned int uxTopReadyPriority.52_5;
  7594. struct xLIST_ITEM * _6;
  7595. struct xLIST_ITEM * _7;
  7596. struct List_t * _8;
  7597. long unsigned int _9;
  7598. long unsigned int _10;
  7599. struct TCB_t * pxCurrentTCB.53_11;
  7600. long unsigned int _12;
  7601. <bb 2> [local count: 357913]:
  7602. # DEBUG BEGIN_STMT
  7603. # DEBUG pxTCB => xTaskToResume_16(D)
  7604. # DEBUG BEGIN_STMT
  7605. if (xTaskToResume_16(D) == 0B)
  7606. goto <bb 3>; [30.00%]
  7607. else
  7608. goto <bb 5>; [70.00%]
  7609. <bb 3> [local count: 107374]:
  7610. # DEBUG BEGIN_STMT
  7611. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7612. # DEBUG BEGIN_STMT
  7613. # DEBUG BEGIN_STMT
  7614. __asm__ __volatile__(" mov %0, %1
  7615. msr basepri, %0
  7616. isb
  7617. dsb
  7618. " : "=r" ulNewBASEPRI_33 : "i" 16 : "memory");
  7619. # DEBUG ulNewBASEPRI => ulNewBASEPRI_33
  7620. <bb 4> [local count: 1073741824]:
  7621. # DEBUG ulNewBASEPRI => NULL
  7622. # DEBUG BEGIN_STMT
  7623. # DEBUG BEGIN_STMT
  7624. # DEBUG BEGIN_STMT
  7625. <bb 13> [local count: 1073741824]:
  7626. goto <bb 4>; [100.00%]
  7627. <bb 5> [local count: 250539]:
  7628. # DEBUG BEGIN_STMT
  7629. # DEBUG BEGIN_STMT
  7630. pxCurrentTCB.51_1 ={v} pxCurrentTCB;
  7631. if (pxCurrentTCB.51_1 != xTaskToResume_16(D))
  7632. goto <bb 6>; [53.47%]
  7633. else
  7634. goto <bb 12>; [46.53%]
  7635. <bb 6> [local count: 133963]:
  7636. # DEBUG BEGIN_STMT
  7637. vPortEnterCritical ();
  7638. # DEBUG BEGIN_STMT
  7639. _2 = prvTaskIsTaskSuspended (xTaskToResume_16(D));
  7640. if (_2 != 0)
  7641. goto <bb 7>; [33.00%]
  7642. else
  7643. goto <bb 11>; [67.00%]
  7644. <bb 7> [local count: 44208]:
  7645. # DEBUG BEGIN_STMT
  7646. # DEBUG BEGIN_STMT
  7647. _3 = &MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem;
  7648. uxListRemove (_3);
  7649. # DEBUG BEGIN_STMT
  7650. # DEBUG BEGIN_STMT
  7651. _4 = MEM[(struct TCB_t *)xTaskToResume_16(D)].uxPriority;
  7652. uxTopReadyPriority.52_5 ={v} uxTopReadyPriority;
  7653. if (_4 > uxTopReadyPriority.52_5)
  7654. goto <bb 8>; [50.00%]
  7655. else
  7656. goto <bb 9>; [50.00%]
  7657. <bb 8> [local count: 22104]:
  7658. # DEBUG BEGIN_STMT
  7659. uxTopReadyPriority ={v} _4;
  7660. <bb 9> [local count: 44208]:
  7661. # DEBUG BEGIN_STMT
  7662. # DEBUG BEGIN_STMT
  7663. pxIndex_22 = pxReadyTasksLists[_4].pxIndex;
  7664. # DEBUG pxIndex => pxIndex_22
  7665. # DEBUG BEGIN_STMT
  7666. # DEBUG BEGIN_STMT
  7667. # DEBUG BEGIN_STMT
  7668. MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pxNext = pxIndex_22;
  7669. # DEBUG BEGIN_STMT
  7670. _6 = pxIndex_22->pxPrevious;
  7671. MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pxPrevious = _6;
  7672. # DEBUG BEGIN_STMT
  7673. _7 = pxIndex_22->pxPrevious;
  7674. _7->pxNext = _3;
  7675. # DEBUG BEGIN_STMT
  7676. pxIndex_22->pxPrevious = _3;
  7677. # DEBUG BEGIN_STMT
  7678. _8 = &pxReadyTasksLists[_4];
  7679. MEM[(struct TCB_t *)xTaskToResume_16(D)].xStateListItem.pvContainer = _8;
  7680. # DEBUG BEGIN_STMT
  7681. _9 ={v} pxReadyTasksLists[_4].uxNumberOfItems;
  7682. _10 = _9 + 1;
  7683. pxReadyTasksLists[_4].uxNumberOfItems ={v} _10;
  7684. # DEBUG BEGIN_STMT
  7685. # DEBUG BEGIN_STMT
  7686. # DEBUG BEGIN_STMT
  7687. pxCurrentTCB.53_11 ={v} pxCurrentTCB;
  7688. _12 = pxCurrentTCB.53_11->uxPriority;
  7689. if (_4 >= _12)
  7690. goto <bb 10>; [50.00%]
  7691. else
  7692. goto <bb 11>; [50.00%]
  7693. <bb 10> [local count: 22104]:
  7694. # DEBUG BEGIN_STMT
  7695. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  7696. # DEBUG BEGIN_STMT
  7697. __asm__ __volatile__("dsb" : : : "memory");
  7698. # DEBUG BEGIN_STMT
  7699. __asm__ __volatile__("isb");
  7700. # DEBUG BEGIN_STMT
  7701. <bb 11> [local count: 133963]:
  7702. # DEBUG BEGIN_STMT
  7703. # DEBUG BEGIN_STMT
  7704. vPortExitCritical ();
  7705. <bb 12> [local count: 250539]:
  7706. # DEBUG BEGIN_STMT
  7707. return;
  7708. }
  7709. prvTaskIsTaskSuspended (struct tskTaskControlBlock * const xTask)
  7710. {
  7711. uint32_t ulNewBASEPRI;
  7712. BaseType_t xReturn;
  7713. struct xLIST * _1;
  7714. <bb 2> [local count: 357913]:
  7715. # DEBUG BEGIN_STMT
  7716. # DEBUG xReturn => 0
  7717. # DEBUG BEGIN_STMT
  7718. # DEBUG pxTCB => xTask_5(D)
  7719. # DEBUG BEGIN_STMT
  7720. if (xTask_5(D) == 0B)
  7721. goto <bb 3>; [30.00%]
  7722. else
  7723. goto <bb 5>; [70.00%]
  7724. <bb 3> [local count: 107374]:
  7725. # DEBUG BEGIN_STMT
  7726. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7727. # DEBUG BEGIN_STMT
  7728. # DEBUG BEGIN_STMT
  7729. __asm__ __volatile__(" mov %0, %1
  7730. msr basepri, %0
  7731. isb
  7732. dsb
  7733. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  7734. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  7735. <bb 4> [local count: 1073741824]:
  7736. # DEBUG ulNewBASEPRI => NULL
  7737. # DEBUG BEGIN_STMT
  7738. # DEBUG BEGIN_STMT
  7739. # DEBUG BEGIN_STMT
  7740. <bb 8> [local count: 1073741824]:
  7741. goto <bb 4>; [100.00%]
  7742. <bb 5> [local count: 250539]:
  7743. # DEBUG BEGIN_STMT
  7744. # DEBUG BEGIN_STMT
  7745. _1 = MEM[(const struct TCB_t *)xTask_5(D)].xStateListItem.pvContainer;
  7746. if (_1 == &xSuspendedTaskList)
  7747. goto <bb 6>; [30.00%]
  7748. else
  7749. goto <bb 7>; [70.00%]
  7750. <bb 6> [local count: 75162]:
  7751. xReturn_2 = prvTaskIsTaskSuspended.part.0 (xTask_5(D));
  7752. <bb 7> [local count: 250539]:
  7753. # xReturn_3 = PHI <0(5), xReturn_2(6)>
  7754. # DEBUG xReturn => xReturn_3
  7755. # DEBUG BEGIN_STMT
  7756. # DEBUG BEGIN_STMT
  7757. return xReturn_3;
  7758. }
  7759. vTaskSuspend (struct tskTaskControlBlock * xTaskToSuspend)
  7760. {
  7761. uint32_t ulNewBASEPRI;
  7762. BaseType_t x;
  7763. struct ListItem_t * _1;
  7764. struct xLIST * _2;
  7765. struct ListItem_t * _3;
  7766. unsigned char _4;
  7767. long int xSchedulerRunning.46_5;
  7768. struct TCB_t * pxCurrentTCB.47_6;
  7769. long int xSchedulerRunning.48_7;
  7770. long unsigned int uxSchedulerSuspended.49_8;
  7771. long unsigned int _9;
  7772. long unsigned int uxCurrentNumberOfTasks.50_10;
  7773. struct TCB_t * iftmp.45_12;
  7774. struct TCB_t * iftmp.45_21;
  7775. <bb 2> [local count: 1431653]:
  7776. # DEBUG BEGIN_STMT
  7777. # DEBUG BEGIN_STMT
  7778. vPortEnterCritical ();
  7779. # DEBUG BEGIN_STMT
  7780. if (xTaskToSuspend_20(D) == 0B)
  7781. goto <bb 3>; [30.00%]
  7782. else
  7783. goto <bb 4>; [70.00%]
  7784. <bb 3> [local count: 429496]:
  7785. iftmp.45_21 ={v} pxCurrentTCB;
  7786. <bb 4> [local count: 1431653]:
  7787. # iftmp.45_12 = PHI <iftmp.45_21(3), xTaskToSuspend_20(D)(2)>
  7788. # DEBUG pxTCB => iftmp.45_12
  7789. # DEBUG BEGIN_STMT
  7790. # DEBUG BEGIN_STMT
  7791. _1 = &iftmp.45_12->xStateListItem;
  7792. uxListRemove (_1);
  7793. # DEBUG BEGIN_STMT
  7794. # DEBUG BEGIN_STMT
  7795. _2 = iftmp.45_12->xEventListItem.pvContainer;
  7796. if (_2 != 0B)
  7797. goto <bb 5>; [53.47%]
  7798. else
  7799. goto <bb 6>; [46.53%]
  7800. <bb 5> [local count: 765505]:
  7801. # DEBUG BEGIN_STMT
  7802. _3 = &iftmp.45_12->xEventListItem;
  7803. uxListRemove (_3);
  7804. <bb 6> [local count: 1431653]:
  7805. # DEBUG BEGIN_STMT
  7806. # DEBUG BEGIN_STMT
  7807. vListInsertEnd (&xSuspendedTaskList, _1);
  7808. # DEBUG BEGIN_STMT
  7809. # DEBUG BEGIN_STMT
  7810. # DEBUG x => 0
  7811. goto <bb 9>; [100.00%]
  7812. <bb 7> [local count: 24598407]:
  7813. # DEBUG BEGIN_STMT
  7814. _4 ={v} iftmp.45_12->ucNotifyState[0];
  7815. if (_4 == 1)
  7816. goto <bb 8>; [67.00%]
  7817. else
  7818. goto <bb 24>; [33.00%]
  7819. <bb 24> [local count: 8117474]:
  7820. goto <bb 10>; [100.00%]
  7821. <bb 8> [local count: 16480933]:
  7822. # DEBUG BEGIN_STMT
  7823. iftmp.45_12->ucNotifyState[0] ={v} 0;
  7824. <bb 9> [local count: 17912586]:
  7825. # x_14 = PHI <0(6), 1(8)>
  7826. <bb 10> [local count: 26030061]:
  7827. # x_11 = PHI <x_14(9), 1(24)>
  7828. # DEBUG x => x_11
  7829. # DEBUG BEGIN_STMT
  7830. if (x_11 == 0)
  7831. goto <bb 7>; [94.50%]
  7832. else
  7833. goto <bb 11>; [5.50%]
  7834. <bb 11> [local count: 1431653]:
  7835. # DEBUG BEGIN_STMT
  7836. vPortExitCritical ();
  7837. # DEBUG BEGIN_STMT
  7838. xSchedulerRunning.46_5 ={v} xSchedulerRunning;
  7839. if (xSchedulerRunning.46_5 != 0)
  7840. goto <bb 12>; [33.00%]
  7841. else
  7842. goto <bb 13>; [67.00%]
  7843. <bb 12> [local count: 472446]:
  7844. # DEBUG BEGIN_STMT
  7845. vPortEnterCritical ();
  7846. # DEBUG BEGIN_STMT
  7847. prvResetNextTaskUnblockTime ();
  7848. # DEBUG BEGIN_STMT
  7849. vPortExitCritical ();
  7850. <bb 13> [local count: 1431653]:
  7851. # DEBUG BEGIN_STMT
  7852. # DEBUG BEGIN_STMT
  7853. pxCurrentTCB.47_6 ={v} pxCurrentTCB;
  7854. if (pxCurrentTCB.47_6 == iftmp.45_12)
  7855. goto <bb 14>; [30.00%]
  7856. else
  7857. goto <bb 22>; [70.00%]
  7858. <bb 14> [local count: 429496]:
  7859. # DEBUG BEGIN_STMT
  7860. xSchedulerRunning.48_7 ={v} xSchedulerRunning;
  7861. if (xSchedulerRunning.48_7 != 0)
  7862. goto <bb 15>; [50.00%]
  7863. else
  7864. goto <bb 19>; [50.00%]
  7865. <bb 15> [local count: 214748]:
  7866. # DEBUG BEGIN_STMT
  7867. uxSchedulerSuspended.49_8 ={v} uxSchedulerSuspended;
  7868. if (uxSchedulerSuspended.49_8 != 0)
  7869. goto <bb 16>; [50.00%]
  7870. else
  7871. goto <bb 18>; [50.00%]
  7872. <bb 16> [local count: 107374]:
  7873. # DEBUG BEGIN_STMT
  7874. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7875. # DEBUG BEGIN_STMT
  7876. # DEBUG BEGIN_STMT
  7877. __asm__ __volatile__(" mov %0, %1
  7878. msr basepri, %0
  7879. isb
  7880. dsb
  7881. " : "=r" ulNewBASEPRI_36 : "i" 16 : "memory");
  7882. # DEBUG ulNewBASEPRI => ulNewBASEPRI_36
  7883. <bb 17> [local count: 1073741824]:
  7884. # DEBUG ulNewBASEPRI => NULL
  7885. # DEBUG BEGIN_STMT
  7886. # DEBUG BEGIN_STMT
  7887. # DEBUG BEGIN_STMT
  7888. <bb 23> [local count: 1073741824]:
  7889. goto <bb 17>; [100.00%]
  7890. <bb 18> [local count: 107374]:
  7891. # DEBUG BEGIN_STMT
  7892. # DEBUG BEGIN_STMT
  7893. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  7894. # DEBUG BEGIN_STMT
  7895. __asm__ __volatile__("dsb" : : : "memory");
  7896. # DEBUG BEGIN_STMT
  7897. __asm__ __volatile__("isb");
  7898. # DEBUG BEGIN_STMT
  7899. goto <bb 22>; [100.00%]
  7900. <bb 19> [local count: 214748]:
  7901. # DEBUG BEGIN_STMT
  7902. _9 ={v} xSuspendedTaskList.uxNumberOfItems;
  7903. uxCurrentNumberOfTasks.50_10 ={v} uxCurrentNumberOfTasks;
  7904. if (_9 == uxCurrentNumberOfTasks.50_10)
  7905. goto <bb 20>; [51.12%]
  7906. else
  7907. goto <bb 21>; [48.88%]
  7908. <bb 20> [local count: 109779]:
  7909. # DEBUG BEGIN_STMT
  7910. pxCurrentTCB ={v} 0B;
  7911. goto <bb 22>; [100.00%]
  7912. <bb 21> [local count: 104969]:
  7913. # DEBUG BEGIN_STMT
  7914. vTaskSwitchContext ();
  7915. <bb 22> [local count: 1324279]:
  7916. # DEBUG BEGIN_STMT
  7917. return;
  7918. }
  7919. vTaskPrioritySet (struct tskTaskControlBlock * xTask, UBaseType_t uxNewPriority)
  7920. {
  7921. uint32_t ulNewBASEPRI;
  7922. struct ListItem_t * const pxIndex;
  7923. BaseType_t xYieldRequired;
  7924. UBaseType_t uxPriorityUsedOnEntry;
  7925. UBaseType_t uxCurrentBasePriority;
  7926. struct TCB_t * pxCurrentTCB.41_1;
  7927. struct TCB_t * pxCurrentTCB.42_2;
  7928. long unsigned int _3;
  7929. struct TCB_t * pxCurrentTCB.43_4;
  7930. long unsigned int _5;
  7931. signed int _6;
  7932. long unsigned int _7;
  7933. struct xLIST * _8;
  7934. struct List_t * _9;
  7935. struct ListItem_t * _10;
  7936. long unsigned int _11;
  7937. long unsigned int uxTopReadyPriority.44_12;
  7938. struct xLIST_ITEM * _13;
  7939. struct xLIST_ITEM * _14;
  7940. struct List_t * _15;
  7941. long unsigned int _16;
  7942. long unsigned int _17;
  7943. struct TCB_t * iftmp.40_19;
  7944. struct TCB_t * iftmp.40_29;
  7945. <bb 2> [local count: 160260]:
  7946. # DEBUG BEGIN_STMT
  7947. # DEBUG BEGIN_STMT
  7948. # DEBUG BEGIN_STMT
  7949. # DEBUG xYieldRequired => 0
  7950. # DEBUG BEGIN_STMT
  7951. if (uxNewPriority_25(D) > 4)
  7952. goto <bb 3>; [67.00%]
  7953. else
  7954. goto <bb 5>; [33.00%]
  7955. <bb 3> [local count: 107374]:
  7956. # DEBUG BEGIN_STMT
  7957. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  7958. # DEBUG BEGIN_STMT
  7959. # DEBUG BEGIN_STMT
  7960. __asm__ __volatile__(" mov %0, %1
  7961. msr basepri, %0
  7962. isb
  7963. dsb
  7964. " : "=r" ulNewBASEPRI_48 : "i" 16 : "memory");
  7965. # DEBUG ulNewBASEPRI => ulNewBASEPRI_48
  7966. <bb 4> [local count: 1073741824]:
  7967. # DEBUG ulNewBASEPRI => NULL
  7968. # DEBUG BEGIN_STMT
  7969. # DEBUG BEGIN_STMT
  7970. # DEBUG BEGIN_STMT
  7971. <bb 25> [local count: 1073741824]:
  7972. goto <bb 4>; [100.00%]
  7973. <bb 5> [local count: 52886]:
  7974. # DEBUG BEGIN_STMT
  7975. # DEBUG BEGIN_STMT
  7976. # DEBUG uxNewPriority => uxNewPriority_25(D)
  7977. # DEBUG BEGIN_STMT
  7978. # DEBUG BEGIN_STMT
  7979. vPortEnterCritical ();
  7980. # DEBUG BEGIN_STMT
  7981. if (xTask_28(D) == 0B)
  7982. goto <bb 6>; [30.00%]
  7983. else
  7984. goto <bb 7>; [70.00%]
  7985. <bb 6> [local count: 15866]:
  7986. iftmp.40_29 ={v} pxCurrentTCB;
  7987. <bb 7> [local count: 52886]:
  7988. # iftmp.40_19 = PHI <iftmp.40_29(6), xTask_28(D)(5)>
  7989. # DEBUG pxTCB => iftmp.40_19
  7990. # DEBUG BEGIN_STMT
  7991. # DEBUG BEGIN_STMT
  7992. uxCurrentBasePriority_30 = iftmp.40_19->uxBasePriority;
  7993. # DEBUG uxCurrentBasePriority => uxCurrentBasePriority_30
  7994. # DEBUG BEGIN_STMT
  7995. if (uxNewPriority_25(D) != uxCurrentBasePriority_30)
  7996. goto <bb 8>; [66.00%]
  7997. else
  7998. goto <bb 24>; [34.00%]
  7999. <bb 8> [local count: 34905]:
  8000. # DEBUG BEGIN_STMT
  8001. if (uxNewPriority_25(D) > uxCurrentBasePriority_30)
  8002. goto <bb 9>; [50.00%]
  8003. else
  8004. goto <bb 12>; [50.00%]
  8005. <bb 9> [local count: 17452]:
  8006. # DEBUG BEGIN_STMT
  8007. pxCurrentTCB.41_1 ={v} pxCurrentTCB;
  8008. if (pxCurrentTCB.41_1 != iftmp.40_19)
  8009. goto <bb 10>; [70.00%]
  8010. else
  8011. goto <bb 14>; [30.00%]
  8012. <bb 10> [local count: 12217]:
  8013. # DEBUG BEGIN_STMT
  8014. pxCurrentTCB.42_2 ={v} pxCurrentTCB;
  8015. _3 = pxCurrentTCB.42_2->uxPriority;
  8016. if (_3 <= uxNewPriority_25(D))
  8017. goto <bb 11>; [50.00%]
  8018. else
  8019. goto <bb 14>; [50.00%]
  8020. <bb 11> [local count: 6108]:
  8021. # DEBUG BEGIN_STMT
  8022. # DEBUG xYieldRequired => 1
  8023. goto <bb 14>; [100.00%]
  8024. <bb 12> [local count: 17452]:
  8025. # DEBUG BEGIN_STMT
  8026. pxCurrentTCB.43_4 ={v} pxCurrentTCB;
  8027. if (pxCurrentTCB.43_4 == iftmp.40_19)
  8028. goto <bb 13>; [30.00%]
  8029. else
  8030. goto <bb 14>; [70.00%]
  8031. <bb 13> [local count: 5236]:
  8032. # DEBUG BEGIN_STMT
  8033. # DEBUG xYieldRequired => 1
  8034. <bb 14> [local count: 34905]:
  8035. # xYieldRequired_18 = PHI <1(11), 0(12), 1(13), 0(9), 0(10)>
  8036. # DEBUG xYieldRequired => xYieldRequired_18
  8037. # DEBUG BEGIN_STMT
  8038. # DEBUG BEGIN_STMT
  8039. uxPriorityUsedOnEntry_31 = iftmp.40_19->uxPriority;
  8040. # DEBUG uxPriorityUsedOnEntry => uxPriorityUsedOnEntry_31
  8041. # DEBUG BEGIN_STMT
  8042. if (uxCurrentBasePriority_30 == uxPriorityUsedOnEntry_31)
  8043. goto <bb 15>; [34.00%]
  8044. else
  8045. goto <bb 16>; [66.00%]
  8046. <bb 15> [local count: 11868]:
  8047. # DEBUG BEGIN_STMT
  8048. iftmp.40_19->uxPriority = uxNewPriority_25(D);
  8049. <bb 16> [local count: 34905]:
  8050. # DEBUG BEGIN_STMT
  8051. # DEBUG BEGIN_STMT
  8052. iftmp.40_19->uxBasePriority = uxNewPriority_25(D);
  8053. # DEBUG BEGIN_STMT
  8054. _5 = iftmp.40_19->xEventListItem.xItemValue;
  8055. _6 = (signed int) _5;
  8056. if (_6 >= 0)
  8057. goto <bb 17>; [59.00%]
  8058. else
  8059. goto <bb 18>; [41.00%]
  8060. <bb 17> [local count: 20594]:
  8061. # DEBUG BEGIN_STMT
  8062. _7 = 5 - uxNewPriority_25(D);
  8063. iftmp.40_19->xEventListItem.xItemValue = _7;
  8064. <bb 18> [local count: 34905]:
  8065. # DEBUG BEGIN_STMT
  8066. # DEBUG BEGIN_STMT
  8067. _8 = iftmp.40_19->xStateListItem.pvContainer;
  8068. _9 = &pxReadyTasksLists[uxPriorityUsedOnEntry_31];
  8069. if (_8 == _9)
  8070. goto <bb 19>; [17.43%]
  8071. else
  8072. goto <bb 22>; [82.57%]
  8073. <bb 19> [local count: 6084]:
  8074. # DEBUG BEGIN_STMT
  8075. _10 = &iftmp.40_19->xStateListItem;
  8076. uxListRemove (_10);
  8077. # DEBUG BEGIN_STMT
  8078. # DEBUG BEGIN_STMT
  8079. # DEBUG BEGIN_STMT
  8080. _11 = iftmp.40_19->uxPriority;
  8081. uxTopReadyPriority.44_12 ={v} uxTopReadyPriority;
  8082. if (_11 > uxTopReadyPriority.44_12)
  8083. goto <bb 20>; [50.00%]
  8084. else
  8085. goto <bb 21>; [50.00%]
  8086. <bb 20> [local count: 3042]:
  8087. # DEBUG BEGIN_STMT
  8088. uxTopReadyPriority ={v} _11;
  8089. <bb 21> [local count: 6084]:
  8090. # DEBUG BEGIN_STMT
  8091. # DEBUG BEGIN_STMT
  8092. pxIndex_37 = pxReadyTasksLists[_11].pxIndex;
  8093. # DEBUG pxIndex => pxIndex_37
  8094. # DEBUG BEGIN_STMT
  8095. # DEBUG BEGIN_STMT
  8096. # DEBUG BEGIN_STMT
  8097. iftmp.40_19->xStateListItem.pxNext = pxIndex_37;
  8098. # DEBUG BEGIN_STMT
  8099. _13 = pxIndex_37->pxPrevious;
  8100. iftmp.40_19->xStateListItem.pxPrevious = _13;
  8101. # DEBUG BEGIN_STMT
  8102. _14 = pxIndex_37->pxPrevious;
  8103. _14->pxNext = _10;
  8104. # DEBUG BEGIN_STMT
  8105. pxIndex_37->pxPrevious = _10;
  8106. # DEBUG BEGIN_STMT
  8107. _15 = &pxReadyTasksLists[_11];
  8108. iftmp.40_19->xStateListItem.pvContainer = _15;
  8109. # DEBUG BEGIN_STMT
  8110. _16 ={v} pxReadyTasksLists[_11].uxNumberOfItems;
  8111. _17 = _16 + 1;
  8112. pxReadyTasksLists[_11].uxNumberOfItems ={v} _17;
  8113. # DEBUG BEGIN_STMT
  8114. # DEBUG BEGIN_STMT
  8115. <bb 22> [local count: 34905]:
  8116. # DEBUG BEGIN_STMT
  8117. # DEBUG BEGIN_STMT
  8118. if (xYieldRequired_18 != 0)
  8119. goto <bb 23>; [50.00%]
  8120. else
  8121. goto <bb 24>; [50.00%]
  8122. <bb 23> [local count: 17452]:
  8123. # DEBUG BEGIN_STMT
  8124. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  8125. # DEBUG BEGIN_STMT
  8126. __asm__ __volatile__("dsb" : : : "memory");
  8127. # DEBUG BEGIN_STMT
  8128. __asm__ __volatile__("isb");
  8129. # DEBUG BEGIN_STMT
  8130. <bb 24> [local count: 52886]:
  8131. # DEBUG BEGIN_STMT
  8132. # DEBUG BEGIN_STMT
  8133. # DEBUG BEGIN_STMT
  8134. vPortExitCritical ();
  8135. return;
  8136. }
  8137. uxTaskPriorityGetFromISR (struct tskTaskControlBlock * const xTask)
  8138. {
  8139. uint32_t ulOriginalBASEPRI;
  8140. uint32_t ulNewBASEPRI;
  8141. UBaseType_t uxReturn;
  8142. const struct TCB_t * iftmp.39_1;
  8143. const struct TCB_t * iftmp.39_5;
  8144. <bb 2> [local count: 1073741824]:
  8145. # DEBUG BEGIN_STMT
  8146. # DEBUG BEGIN_STMT
  8147. # DEBUG BEGIN_STMT
  8148. vPortValidateInterruptPriority ();
  8149. # DEBUG BEGIN_STMT
  8150. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  8151. # DEBUG BEGIN_STMT
  8152. # DEBUG BEGIN_STMT
  8153. __asm__ __volatile__(" mrs %0, basepri
  8154. mov %1, %2
  8155. msr basepri, %1
  8156. isb
  8157. dsb
  8158. " : "=r" ulOriginalBASEPRI_7, "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  8159. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  8160. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_7
  8161. # DEBUG BEGIN_STMT
  8162. # DEBUG ulNewBASEPRI => NULL
  8163. # DEBUG ulOriginalBASEPRI => NULL
  8164. # DEBUG uxSavedInterruptState => ulOriginalBASEPRI_7
  8165. # DEBUG BEGIN_STMT
  8166. if (xTask_4(D) == 0B)
  8167. goto <bb 3>; [30.00%]
  8168. else
  8169. goto <bb 4>; [70.00%]
  8170. <bb 3> [local count: 322122547]:
  8171. iftmp.39_5 ={v} pxCurrentTCB;
  8172. <bb 4> [local count: 1073741824]:
  8173. # iftmp.39_1 = PHI <iftmp.39_5(3), xTask_4(D)(2)>
  8174. # DEBUG pxTCB => iftmp.39_1
  8175. # DEBUG BEGIN_STMT
  8176. uxReturn_6 = iftmp.39_1->uxPriority;
  8177. # DEBUG uxReturn => uxReturn_6
  8178. # DEBUG BEGIN_STMT
  8179. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_7
  8180. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  8181. # DEBUG BEGIN_STMT
  8182. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_7 : "memory");
  8183. # DEBUG ulNewMaskValue => NULL
  8184. # DEBUG BEGIN_STMT
  8185. return uxReturn_6;
  8186. }
  8187. uxTaskPriorityGet (struct tskTaskControlBlock * const xTask)
  8188. {
  8189. UBaseType_t uxReturn;
  8190. const struct TCB_t * iftmp.38_1;
  8191. const struct TCB_t * iftmp.38_5;
  8192. <bb 2> [local count: 1073741824]:
  8193. # DEBUG BEGIN_STMT
  8194. # DEBUG BEGIN_STMT
  8195. # DEBUG BEGIN_STMT
  8196. vPortEnterCritical ();
  8197. # DEBUG BEGIN_STMT
  8198. if (xTask_4(D) == 0B)
  8199. goto <bb 3>; [30.00%]
  8200. else
  8201. goto <bb 4>; [70.00%]
  8202. <bb 3> [local count: 322122547]:
  8203. iftmp.38_5 ={v} pxCurrentTCB;
  8204. <bb 4> [local count: 1073741824]:
  8205. # iftmp.38_1 = PHI <iftmp.38_5(3), xTask_4(D)(2)>
  8206. # DEBUG pxTCB => iftmp.38_1
  8207. # DEBUG BEGIN_STMT
  8208. uxReturn_6 = iftmp.38_1->uxPriority;
  8209. # DEBUG uxReturn => uxReturn_6
  8210. # DEBUG BEGIN_STMT
  8211. vPortExitCritical ();
  8212. # DEBUG BEGIN_STMT
  8213. return uxReturn_6;
  8214. }
  8215. eTaskGetState (struct tskTaskControlBlock * xTask)
  8216. {
  8217. uint32_t ulNewBASEPRI;
  8218. BaseType_t x;
  8219. const struct List_t * pxOverflowedDelayedList;
  8220. const struct List_t * pxDelayedList;
  8221. const struct List_t * pxStateList;
  8222. eTaskState eReturn;
  8223. struct TCB_t * pxCurrentTCB.37_1;
  8224. struct xLIST * _2;
  8225. <bb 2> [local count: 357913]:
  8226. # DEBUG BEGIN_STMT
  8227. # DEBUG BEGIN_STMT
  8228. # DEBUG BEGIN_STMT
  8229. # DEBUG pxTCB => xTask_5(D)
  8230. # DEBUG BEGIN_STMT
  8231. if (xTask_5(D) == 0B)
  8232. goto <bb 3>; [30.00%]
  8233. else
  8234. goto <bb 5>; [70.00%]
  8235. <bb 3> [local count: 107374]:
  8236. # DEBUG BEGIN_STMT
  8237. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8238. # DEBUG BEGIN_STMT
  8239. # DEBUG BEGIN_STMT
  8240. __asm__ __volatile__(" mov %0, %1
  8241. msr basepri, %0
  8242. isb
  8243. dsb
  8244. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  8245. # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
  8246. <bb 4> [local count: 1073741824]:
  8247. # DEBUG ulNewBASEPRI => NULL
  8248. # DEBUG BEGIN_STMT
  8249. # DEBUG BEGIN_STMT
  8250. # DEBUG BEGIN_STMT
  8251. <bb 15> [local count: 1073741824]:
  8252. goto <bb 4>; [100.00%]
  8253. <bb 5> [local count: 250539]:
  8254. # DEBUG BEGIN_STMT
  8255. # DEBUG BEGIN_STMT
  8256. pxCurrentTCB.37_1 ={v} pxCurrentTCB;
  8257. if (pxCurrentTCB.37_1 == xTask_5(D))
  8258. goto <bb 14>; [46.53%]
  8259. else
  8260. goto <bb 6>; [53.47%]
  8261. <bb 6> [local count: 133963]:
  8262. # DEBUG BEGIN_STMT
  8263. vPortEnterCritical ();
  8264. # DEBUG BEGIN_STMT
  8265. pxStateList_9 = MEM[(const struct TCB_t *)xTask_5(D)].xStateListItem.pvContainer;
  8266. # DEBUG pxStateList => pxStateList_9
  8267. # DEBUG BEGIN_STMT
  8268. pxDelayedList_10 ={v} pxDelayedTaskList;
  8269. # DEBUG pxDelayedList => pxDelayedList_10
  8270. # DEBUG BEGIN_STMT
  8271. pxOverflowedDelayedList_11 ={v} pxOverflowDelayedTaskList;
  8272. # DEBUG pxOverflowedDelayedList => pxOverflowedDelayedList_11
  8273. # DEBUG BEGIN_STMT
  8274. vPortExitCritical ();
  8275. # DEBUG BEGIN_STMT
  8276. if (pxStateList_9 == pxDelayedList_10)
  8277. goto <bb 14>; [18.75%]
  8278. else
  8279. goto <bb 7>; [81.25%]
  8280. <bb 7> [local count: 108845]:
  8281. if (pxStateList_9 == pxOverflowedDelayedList_11)
  8282. goto <bb 14>; [18.75%]
  8283. else
  8284. goto <bb 8>; [81.25%]
  8285. <bb 8> [local count: 88437]:
  8286. # DEBUG BEGIN_STMT
  8287. if (pxStateList_9 == &xSuspendedTaskList)
  8288. goto <bb 9>; [30.00%]
  8289. else
  8290. goto <bb 11>; [70.00%]
  8291. <bb 9> [local count: 26531]:
  8292. # DEBUG BEGIN_STMT
  8293. _2 = MEM[(const struct TCB_t *)xTask_5(D)].xEventListItem.pvContainer;
  8294. if (_2 == 0B)
  8295. goto <bb 10>; [44.32%]
  8296. else
  8297. goto <bb 14>; [55.68%]
  8298. <bb 10> [local count: 11759]:
  8299. # x_4 = PHI <0(9)>
  8300. eReturn_13 = eTaskGetState.part.0 (xTask_5(D));
  8301. goto <bb 14>; [100.00%]
  8302. <bb 11> [local count: 61906]:
  8303. # DEBUG BEGIN_STMT
  8304. if (pxStateList_9 == &xTasksWaitingTermination)
  8305. goto <bb 14>; [18.75%]
  8306. else
  8307. goto <bb 12>; [81.25%]
  8308. <bb 12> [local count: 50298]:
  8309. if (pxStateList_9 == 0B)
  8310. goto <bb 14>; [18.75%]
  8311. else
  8312. goto <bb 13>; [81.25%]
  8313. <bb 13> [local count: 40867]:
  8314. # DEBUG BEGIN_STMT
  8315. # DEBUG eReturn => 1
  8316. <bb 14> [local count: 250539]:
  8317. # eReturn_3 = PHI <0(5), 2(7), 2(9), 4(12), 1(13), 4(11), eReturn_13(10), 2(6)>
  8318. # DEBUG eReturn => eReturn_3
  8319. # DEBUG BEGIN_STMT
  8320. return eReturn_3;
  8321. }
  8322. vTaskDelay (const TickType_t xTicksToDelay)
  8323. {
  8324. uint32_t ulNewBASEPRI;
  8325. BaseType_t xAlreadyYielded;
  8326. long unsigned int uxSchedulerSuspended.36_1;
  8327. <bb 2> [local count: 320519]:
  8328. # DEBUG BEGIN_STMT
  8329. # DEBUG xAlreadyYielded => 0
  8330. # DEBUG BEGIN_STMT
  8331. if (xTicksToDelay_3(D) != 0)
  8332. goto <bb 4>; [50.00%]
  8333. else
  8334. goto <bb 8>; [50.00%]
  8335. <bb 4> [local count: 160260]:
  8336. # DEBUG BEGIN_STMT
  8337. uxSchedulerSuspended.36_1 ={v} uxSchedulerSuspended;
  8338. if (uxSchedulerSuspended.36_1 != 0)
  8339. goto <bb 5>; [67.00%]
  8340. else
  8341. goto <bb 7>; [33.00%]
  8342. <bb 5> [local count: 107374]:
  8343. # DEBUG BEGIN_STMT
  8344. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8345. # DEBUG BEGIN_STMT
  8346. # DEBUG BEGIN_STMT
  8347. __asm__ __volatile__(" mov %0, %1
  8348. msr basepri, %0
  8349. isb
  8350. dsb
  8351. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  8352. # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
  8353. <bb 6> [local count: 1073741824]:
  8354. # DEBUG ulNewBASEPRI => NULL
  8355. # DEBUG BEGIN_STMT
  8356. # DEBUG BEGIN_STMT
  8357. # DEBUG BEGIN_STMT
  8358. <bb 10> [local count: 1073741824]:
  8359. goto <bb 6>; [100.00%]
  8360. <bb 7> [local count: 52886]:
  8361. # DEBUG BEGIN_STMT
  8362. # DEBUG BEGIN_STMT
  8363. vTaskSuspendAll ();
  8364. # DEBUG BEGIN_STMT
  8365. # DEBUG BEGIN_STMT
  8366. prvAddCurrentTaskToDelayedList (xTicksToDelay_3(D), 0);
  8367. # DEBUG BEGIN_STMT
  8368. xAlreadyYielded_8 = xTaskResumeAll ();
  8369. # DEBUG xAlreadyYielded => xAlreadyYielded_8
  8370. # DEBUG BEGIN_STMT
  8371. # DEBUG BEGIN_STMT
  8372. if (xAlreadyYielded_8 == 0)
  8373. goto <bb 8>; [50.00%]
  8374. else
  8375. goto <bb 9>; [50.00%]
  8376. <bb 8> [local count: 186703]:
  8377. # DEBUG xAlreadyYielded => NULL
  8378. # DEBUG BEGIN_STMT
  8379. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  8380. # DEBUG BEGIN_STMT
  8381. __asm__ __volatile__("dsb" : : : "memory");
  8382. # DEBUG BEGIN_STMT
  8383. __asm__ __volatile__("isb");
  8384. # DEBUG BEGIN_STMT
  8385. <bb 9> [local count: 213145]:
  8386. # DEBUG BEGIN_STMT
  8387. return;
  8388. }
  8389. xTaskDelayUntil (TickType_t * const pxPreviousWakeTime, const TickType_t xTimeIncrement)
  8390. {
  8391. uint32_t ulNewBASEPRI;
  8392. uint32_t ulNewBASEPRI;
  8393. uint32_t ulNewBASEPRI;
  8394. const TickType_t xConstTickCount;
  8395. BaseType_t xShouldDelay;
  8396. BaseType_t xAlreadyYielded;
  8397. TickType_t xTimeToWake;
  8398. long unsigned int uxSchedulerSuspended.22_1;
  8399. long unsigned int _2;
  8400. long unsigned int _3;
  8401. <bb 2> [local count: 306783]:
  8402. # DEBUG BEGIN_STMT
  8403. # DEBUG BEGIN_STMT
  8404. # DEBUG xShouldDelay => 0
  8405. # DEBUG BEGIN_STMT
  8406. if (pxPreviousWakeTime_7(D) == 0B)
  8407. goto <bb 3>; [30.00%]
  8408. else
  8409. goto <bb 5>; [70.00%]
  8410. <bb 3> [local count: 92035]:
  8411. # DEBUG BEGIN_STMT
  8412. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8413. # DEBUG BEGIN_STMT
  8414. # DEBUG BEGIN_STMT
  8415. __asm__ __volatile__(" mov %0, %1
  8416. msr basepri, %0
  8417. isb
  8418. dsb
  8419. " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
  8420. # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
  8421. <bb 4> [local count: 920350133]:
  8422. # DEBUG ulNewBASEPRI => NULL
  8423. # DEBUG BEGIN_STMT
  8424. # DEBUG BEGIN_STMT
  8425. # DEBUG BEGIN_STMT
  8426. <bb 25> [local count: 920350133]:
  8427. goto <bb 4>; [100.00%]
  8428. <bb 5> [local count: 214748]:
  8429. # DEBUG BEGIN_STMT
  8430. # DEBUG BEGIN_STMT
  8431. if (xTimeIncrement_8(D) == 0)
  8432. goto <bb 6>; [50.00%]
  8433. else
  8434. goto <bb 8>; [50.00%]
  8435. <bb 6> [local count: 107374]:
  8436. # DEBUG BEGIN_STMT
  8437. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8438. # DEBUG BEGIN_STMT
  8439. # DEBUG BEGIN_STMT
  8440. __asm__ __volatile__(" mov %0, %1
  8441. msr basepri, %0
  8442. isb
  8443. dsb
  8444. " : "=r" ulNewBASEPRI_22 : "i" 16 : "memory");
  8445. # DEBUG ulNewBASEPRI => ulNewBASEPRI_22
  8446. <bb 7> [local count: 1073741823]:
  8447. # DEBUG ulNewBASEPRI => NULL
  8448. # DEBUG BEGIN_STMT
  8449. # DEBUG BEGIN_STMT
  8450. # DEBUG BEGIN_STMT
  8451. <bb 26> [local count: 1073741824]:
  8452. goto <bb 7>; [100.00%]
  8453. <bb 8> [local count: 107374]:
  8454. # DEBUG BEGIN_STMT
  8455. # DEBUG BEGIN_STMT
  8456. uxSchedulerSuspended.22_1 ={v} uxSchedulerSuspended;
  8457. if (uxSchedulerSuspended.22_1 != 0)
  8458. goto <bb 9>; [67.00%]
  8459. else
  8460. goto <bb 11>; [33.00%]
  8461. <bb 9> [local count: 71941]:
  8462. # DEBUG BEGIN_STMT
  8463. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8464. # DEBUG BEGIN_STMT
  8465. # DEBUG BEGIN_STMT
  8466. __asm__ __volatile__(" mov %0, %1
  8467. msr basepri, %0
  8468. isb
  8469. dsb
  8470. " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  8471. # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
  8472. <bb 10> [local count: 719407021]:
  8473. # DEBUG ulNewBASEPRI => NULL
  8474. # DEBUG BEGIN_STMT
  8475. # DEBUG BEGIN_STMT
  8476. # DEBUG BEGIN_STMT
  8477. <bb 27> [local count: 719407021]:
  8478. goto <bb 10>; [100.00%]
  8479. <bb 11> [local count: 35433]:
  8480. # DEBUG BEGIN_STMT
  8481. # DEBUG BEGIN_STMT
  8482. vTaskSuspendAll ();
  8483. # DEBUG BEGIN_STMT
  8484. xConstTickCount_11 ={v} xTickCount;
  8485. # DEBUG xConstTickCount => xConstTickCount_11
  8486. # DEBUG BEGIN_STMT
  8487. _2 = *pxPreviousWakeTime_7(D);
  8488. xTimeToWake_12 = _2 + xTimeIncrement_8(D);
  8489. # DEBUG xTimeToWake => xTimeToWake_12
  8490. # DEBUG BEGIN_STMT
  8491. if (_2 > xConstTickCount_11)
  8492. goto <bb 12>; [50.00%]
  8493. else
  8494. goto <bb 17>; [50.00%]
  8495. <bb 12> [local count: 17717]:
  8496. # DEBUG BEGIN_STMT
  8497. if (_2 > xTimeToWake_12)
  8498. goto <bb 14>; [50.00%]
  8499. else
  8500. goto <bb 13>; [50.00%]
  8501. <bb 13> [local count: 8858]:
  8502. # DEBUG xShouldDelay => 0
  8503. # DEBUG BEGIN_STMT
  8504. *pxPreviousWakeTime_7(D) = xTimeToWake_12;
  8505. # DEBUG BEGIN_STMT
  8506. goto <bb 22>; [100.00%]
  8507. <bb 14> [local count: 8858]:
  8508. if (xConstTickCount_11 < xTimeToWake_12)
  8509. goto <bb 16>; [50.00%]
  8510. else
  8511. goto <bb 15>; [50.00%]
  8512. <bb 15> [local count: 4429]:
  8513. # DEBUG xShouldDelay => 0
  8514. # DEBUG BEGIN_STMT
  8515. *pxPreviousWakeTime_7(D) = xTimeToWake_12;
  8516. # DEBUG BEGIN_STMT
  8517. goto <bb 22>; [100.00%]
  8518. <bb 16> [local count: 4429]:
  8519. # DEBUG BEGIN_STMT
  8520. # DEBUG xShouldDelay => 1
  8521. # DEBUG BEGIN_STMT
  8522. *pxPreviousWakeTime_7(D) = xTimeToWake_12;
  8523. # DEBUG BEGIN_STMT
  8524. goto <bb 21>; [100.00%]
  8525. <bb 17> [local count: 17717]:
  8526. # DEBUG BEGIN_STMT
  8527. if (_2 > xTimeToWake_12)
  8528. goto <bb 19>; [50.00%]
  8529. else
  8530. goto <bb 18>; [50.00%]
  8531. <bb 18> [local count: 8858]:
  8532. if (xConstTickCount_11 < xTimeToWake_12)
  8533. goto <bb 19>; [50.00%]
  8534. else
  8535. goto <bb 20>; [50.00%]
  8536. <bb 19> [local count: 13288]:
  8537. # DEBUG BEGIN_STMT
  8538. # DEBUG xShouldDelay => 1
  8539. # DEBUG BEGIN_STMT
  8540. *pxPreviousWakeTime_7(D) = xTimeToWake_12;
  8541. # DEBUG BEGIN_STMT
  8542. goto <bb 21>; [100.00%]
  8543. <bb 20> [local count: 4429]:
  8544. # DEBUG xShouldDelay => 0
  8545. # DEBUG BEGIN_STMT
  8546. *pxPreviousWakeTime_7(D) = xTimeToWake_12;
  8547. # DEBUG BEGIN_STMT
  8548. goto <bb 22>; [100.00%]
  8549. <bb 21> [local count: 17717]:
  8550. # DEBUG BEGIN_STMT
  8551. # DEBUG BEGIN_STMT
  8552. _3 = xTimeToWake_12 - xConstTickCount_11;
  8553. prvAddCurrentTaskToDelayedList (_3, 0);
  8554. <bb 22> [local count: 35433]:
  8555. # xShouldDelay_29 = PHI <0(20), 1(21), 0(15), 0(13)>
  8556. # DEBUG BEGIN_STMT
  8557. # DEBUG BEGIN_STMT
  8558. xAlreadyYielded_16 = xTaskResumeAll ();
  8559. # DEBUG xAlreadyYielded => xAlreadyYielded_16
  8560. # DEBUG BEGIN_STMT
  8561. if (xAlreadyYielded_16 == 0)
  8562. goto <bb 23>; [50.00%]
  8563. else
  8564. goto <bb 24>; [50.00%]
  8565. <bb 23> [local count: 17717]:
  8566. # DEBUG BEGIN_STMT
  8567. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  8568. # DEBUG BEGIN_STMT
  8569. __asm__ __volatile__("dsb" : : : "memory");
  8570. # DEBUG BEGIN_STMT
  8571. __asm__ __volatile__("isb");
  8572. # DEBUG BEGIN_STMT
  8573. <bb 24> [local count: 35433]:
  8574. # DEBUG BEGIN_STMT
  8575. # DEBUG BEGIN_STMT
  8576. return xShouldDelay_29;
  8577. }
  8578. vTaskDelete (struct tskTaskControlBlock * xTaskToDelete)
  8579. {
  8580. uint32_t ulNewBASEPRI;
  8581. struct ListItem_t * _1;
  8582. struct xLIST * _2;
  8583. struct ListItem_t * _3;
  8584. long unsigned int uxTaskNumber.13_4;
  8585. long unsigned int _5;
  8586. struct TCB_t * pxCurrentTCB.14_6;
  8587. long unsigned int uxDeletedTasksWaitingCleanUp.15_7;
  8588. long unsigned int _8;
  8589. long unsigned int uxCurrentNumberOfTasks.16_9;
  8590. long unsigned int _10;
  8591. long int xSchedulerRunning.17_11;
  8592. struct TCB_t * pxCurrentTCB.18_12;
  8593. long unsigned int uxSchedulerSuspended.19_13;
  8594. struct TCB_t * iftmp.12_14;
  8595. struct TCB_t * iftmp.12_21;
  8596. <bb 2> [local count: 1431653]:
  8597. # DEBUG BEGIN_STMT
  8598. # DEBUG BEGIN_STMT
  8599. vPortEnterCritical ();
  8600. # DEBUG BEGIN_STMT
  8601. if (xTaskToDelete_20(D) == 0B)
  8602. goto <bb 3>; [30.00%]
  8603. else
  8604. goto <bb 4>; [70.00%]
  8605. <bb 3> [local count: 429496]:
  8606. iftmp.12_21 ={v} pxCurrentTCB;
  8607. <bb 4> [local count: 1431653]:
  8608. # iftmp.12_14 = PHI <iftmp.12_21(3), xTaskToDelete_20(D)(2)>
  8609. # DEBUG pxTCB => iftmp.12_14
  8610. # DEBUG BEGIN_STMT
  8611. _1 = &iftmp.12_14->xStateListItem;
  8612. uxListRemove (_1);
  8613. # DEBUG BEGIN_STMT
  8614. # DEBUG BEGIN_STMT
  8615. _2 = iftmp.12_14->xEventListItem.pvContainer;
  8616. if (_2 != 0B)
  8617. goto <bb 5>; [53.47%]
  8618. else
  8619. goto <bb 6>; [46.53%]
  8620. <bb 5> [local count: 765505]:
  8621. # DEBUG BEGIN_STMT
  8622. _3 = &iftmp.12_14->xEventListItem;
  8623. uxListRemove (_3);
  8624. <bb 6> [local count: 1431653]:
  8625. # DEBUG BEGIN_STMT
  8626. # DEBUG BEGIN_STMT
  8627. uxTaskNumber.13_4 = uxTaskNumber;
  8628. _5 = uxTaskNumber.13_4 + 1;
  8629. uxTaskNumber = _5;
  8630. # DEBUG BEGIN_STMT
  8631. pxCurrentTCB.14_6 ={v} pxCurrentTCB;
  8632. if (pxCurrentTCB.14_6 == iftmp.12_14)
  8633. goto <bb 7>; [30.00%]
  8634. else
  8635. goto <bb 8>; [70.00%]
  8636. <bb 7> [local count: 429496]:
  8637. # DEBUG BEGIN_STMT
  8638. vListInsertEnd (&xTasksWaitingTermination, _1);
  8639. # DEBUG BEGIN_STMT
  8640. uxDeletedTasksWaitingCleanUp.15_7 ={v} uxDeletedTasksWaitingCleanUp;
  8641. _8 = uxDeletedTasksWaitingCleanUp.15_7 + 1;
  8642. uxDeletedTasksWaitingCleanUp ={v} _8;
  8643. # DEBUG BEGIN_STMT
  8644. # DEBUG BEGIN_STMT
  8645. goto <bb 9>; [100.00%]
  8646. <bb 8> [local count: 1002157]:
  8647. # DEBUG BEGIN_STMT
  8648. uxCurrentNumberOfTasks.16_9 ={v} uxCurrentNumberOfTasks;
  8649. _10 = uxCurrentNumberOfTasks.16_9 + 4294967295;
  8650. uxCurrentNumberOfTasks ={v} _10;
  8651. # DEBUG BEGIN_STMT
  8652. # DEBUG BEGIN_STMT
  8653. prvDeleteTCB (iftmp.12_14);
  8654. # DEBUG BEGIN_STMT
  8655. prvResetNextTaskUnblockTime ();
  8656. <bb 9> [local count: 1431653]:
  8657. # DEBUG BEGIN_STMT
  8658. vPortExitCritical ();
  8659. # DEBUG BEGIN_STMT
  8660. xSchedulerRunning.17_11 ={v} xSchedulerRunning;
  8661. if (xSchedulerRunning.17_11 != 0)
  8662. goto <bb 10>; [50.00%]
  8663. else
  8664. goto <bb 15>; [50.00%]
  8665. <bb 10> [local count: 715827]:
  8666. # DEBUG BEGIN_STMT
  8667. pxCurrentTCB.18_12 ={v} pxCurrentTCB;
  8668. if (pxCurrentTCB.18_12 == iftmp.12_14)
  8669. goto <bb 11>; [30.00%]
  8670. else
  8671. goto <bb 15>; [70.00%]
  8672. <bb 11> [local count: 214748]:
  8673. # DEBUG BEGIN_STMT
  8674. uxSchedulerSuspended.19_13 ={v} uxSchedulerSuspended;
  8675. if (uxSchedulerSuspended.19_13 != 0)
  8676. goto <bb 12>; [50.00%]
  8677. else
  8678. goto <bb 14>; [50.00%]
  8679. <bb 12> [local count: 107374]:
  8680. # DEBUG BEGIN_STMT
  8681. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  8682. # DEBUG BEGIN_STMT
  8683. # DEBUG BEGIN_STMT
  8684. __asm__ __volatile__(" mov %0, %1
  8685. msr basepri, %0
  8686. isb
  8687. dsb
  8688. " : "=r" ulNewBASEPRI_34 : "i" 16 : "memory");
  8689. # DEBUG ulNewBASEPRI => ulNewBASEPRI_34
  8690. <bb 13> [local count: 1073741824]:
  8691. # DEBUG ulNewBASEPRI => NULL
  8692. # DEBUG BEGIN_STMT
  8693. # DEBUG BEGIN_STMT
  8694. # DEBUG BEGIN_STMT
  8695. <bb 16> [local count: 1073741824]:
  8696. goto <bb 13>; [100.00%]
  8697. <bb 14> [local count: 107374]:
  8698. # DEBUG BEGIN_STMT
  8699. # DEBUG BEGIN_STMT
  8700. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  8701. # DEBUG BEGIN_STMT
  8702. __asm__ __volatile__("dsb" : : : "memory");
  8703. # DEBUG BEGIN_STMT
  8704. __asm__ __volatile__("isb");
  8705. # DEBUG BEGIN_STMT
  8706. <bb 15> [local count: 1324279]:
  8707. # DEBUG BEGIN_STMT
  8708. return;
  8709. }
  8710. prvAddNewTaskToReadyList (struct TCB_t * pxNewTCB)
  8711. {
  8712. struct ListItem_t * const pxIndex;
  8713. long unsigned int uxCurrentNumberOfTasks.2_1;
  8714. long unsigned int _2;
  8715. struct TCB_t * pxCurrentTCB.3_3;
  8716. long unsigned int uxCurrentNumberOfTasks.4_4;
  8717. long int xSchedulerRunning.5_5;
  8718. struct TCB_t * pxCurrentTCB.6_6;
  8719. long unsigned int _7;
  8720. long unsigned int _8;
  8721. long unsigned int uxTaskNumber.7_9;
  8722. long unsigned int _10;
  8723. long unsigned int _11;
  8724. long unsigned int uxTopReadyPriority.9_12;
  8725. struct xLIST_ITEM * _13;
  8726. struct xLIST_ITEM * _14;
  8727. struct ListItem_t * _15;
  8728. struct List_t * _16;
  8729. long unsigned int _17;
  8730. long unsigned int _18;
  8731. long int xSchedulerRunning.10_19;
  8732. struct TCB_t * pxCurrentTCB.11_20;
  8733. long unsigned int _21;
  8734. long unsigned int _22;
  8735. <bb 2> [local count: 1073741821]:
  8736. # DEBUG BEGIN_STMT
  8737. vPortEnterCritical ();
  8738. # DEBUG BEGIN_STMT
  8739. uxCurrentNumberOfTasks.2_1 ={v} uxCurrentNumberOfTasks;
  8740. _2 = uxCurrentNumberOfTasks.2_1 + 1;
  8741. uxCurrentNumberOfTasks ={v} _2;
  8742. # DEBUG BEGIN_STMT
  8743. pxCurrentTCB.3_3 ={v} pxCurrentTCB;
  8744. if (pxCurrentTCB.3_3 == 0B)
  8745. goto <bb 3>; [30.00%]
  8746. else
  8747. goto <bb 5>; [70.00%]
  8748. <bb 3> [local count: 322122546]:
  8749. # DEBUG BEGIN_STMT
  8750. pxCurrentTCB ={v} pxNewTCB_29(D);
  8751. # DEBUG BEGIN_STMT
  8752. uxCurrentNumberOfTasks.4_4 ={v} uxCurrentNumberOfTasks;
  8753. if (uxCurrentNumberOfTasks.4_4 == 1)
  8754. goto <bb 4>; [20.24%]
  8755. else
  8756. goto <bb 8>; [79.76%]
  8757. <bb 4> [local count: 65197603]:
  8758. # DEBUG BEGIN_STMT
  8759. prvInitialiseTaskLists ();
  8760. goto <bb 8>; [100.00%]
  8761. <bb 5> [local count: 751619275]:
  8762. # DEBUG BEGIN_STMT
  8763. xSchedulerRunning.5_5 ={v} xSchedulerRunning;
  8764. if (xSchedulerRunning.5_5 == 0)
  8765. goto <bb 6>; [50.00%]
  8766. else
  8767. goto <bb 8>; [50.00%]
  8768. <bb 6> [local count: 375809637]:
  8769. # DEBUG BEGIN_STMT
  8770. pxCurrentTCB.6_6 ={v} pxCurrentTCB;
  8771. _7 = pxCurrentTCB.6_6->uxPriority;
  8772. _8 = pxNewTCB_29(D)->uxPriority;
  8773. if (_7 <= _8)
  8774. goto <bb 7>; [50.00%]
  8775. else
  8776. goto <bb 8>; [50.00%]
  8777. <bb 7> [local count: 187904819]:
  8778. # DEBUG BEGIN_STMT
  8779. pxCurrentTCB ={v} pxNewTCB_29(D);
  8780. <bb 8> [local count: 1073741823]:
  8781. # DEBUG BEGIN_STMT
  8782. # DEBUG BEGIN_STMT
  8783. uxTaskNumber.7_9 = uxTaskNumber;
  8784. _10 = uxTaskNumber.7_9 + 1;
  8785. uxTaskNumber = _10;
  8786. # DEBUG BEGIN_STMT
  8787. pxNewTCB_29(D)->uxTCBNumber = _10;
  8788. # DEBUG BEGIN_STMT
  8789. # DEBUG BEGIN_STMT
  8790. # DEBUG BEGIN_STMT
  8791. _11 = pxNewTCB_29(D)->uxPriority;
  8792. uxTopReadyPriority.9_12 ={v} uxTopReadyPriority;
  8793. if (_11 > uxTopReadyPriority.9_12)
  8794. goto <bb 9>; [50.00%]
  8795. else
  8796. goto <bb 10>; [50.00%]
  8797. <bb 9> [local count: 536870911]:
  8798. # DEBUG BEGIN_STMT
  8799. uxTopReadyPriority ={v} _11;
  8800. <bb 10> [local count: 1073741823]:
  8801. # DEBUG BEGIN_STMT
  8802. # DEBUG BEGIN_STMT
  8803. pxIndex_36 = pxReadyTasksLists[_11].pxIndex;
  8804. # DEBUG pxIndex => pxIndex_36
  8805. # DEBUG BEGIN_STMT
  8806. # DEBUG BEGIN_STMT
  8807. # DEBUG BEGIN_STMT
  8808. pxNewTCB_29(D)->xStateListItem.pxNext = pxIndex_36;
  8809. # DEBUG BEGIN_STMT
  8810. _13 = pxIndex_36->pxPrevious;
  8811. pxNewTCB_29(D)->xStateListItem.pxPrevious = _13;
  8812. # DEBUG BEGIN_STMT
  8813. _14 = pxIndex_36->pxPrevious;
  8814. _15 = &pxNewTCB_29(D)->xStateListItem;
  8815. _14->pxNext = _15;
  8816. # DEBUG BEGIN_STMT
  8817. pxIndex_36->pxPrevious = _15;
  8818. # DEBUG BEGIN_STMT
  8819. _16 = &pxReadyTasksLists[_11];
  8820. pxNewTCB_29(D)->xStateListItem.pvContainer = _16;
  8821. # DEBUG BEGIN_STMT
  8822. _17 ={v} pxReadyTasksLists[_11].uxNumberOfItems;
  8823. _18 = _17 + 1;
  8824. pxReadyTasksLists[_11].uxNumberOfItems ={v} _18;
  8825. # DEBUG BEGIN_STMT
  8826. # DEBUG BEGIN_STMT
  8827. # DEBUG BEGIN_STMT
  8828. # DEBUG BEGIN_STMT
  8829. vPortExitCritical ();
  8830. # DEBUG BEGIN_STMT
  8831. xSchedulerRunning.10_19 ={v} xSchedulerRunning;
  8832. if (xSchedulerRunning.10_19 != 0)
  8833. goto <bb 11>; [50.00%]
  8834. else
  8835. goto <bb 13>; [50.00%]
  8836. <bb 11> [local count: 536870911]:
  8837. # DEBUG BEGIN_STMT
  8838. pxCurrentTCB.11_20 ={v} pxCurrentTCB;
  8839. _21 = pxCurrentTCB.11_20->uxPriority;
  8840. _22 = pxNewTCB_29(D)->uxPriority;
  8841. if (_21 < _22)
  8842. goto <bb 12>; [50.00%]
  8843. else
  8844. goto <bb 13>; [50.00%]
  8845. <bb 12> [local count: 268435456]:
  8846. # DEBUG BEGIN_STMT
  8847. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  8848. # DEBUG BEGIN_STMT
  8849. __asm__ __volatile__("dsb" : : : "memory");
  8850. # DEBUG BEGIN_STMT
  8851. __asm__ __volatile__("isb");
  8852. # DEBUG BEGIN_STMT
  8853. <bb 13> [local count: 1073741824]:
  8854. # DEBUG BEGIN_STMT
  8855. return;
  8856. }
  8857. xTaskCreate (void (*TaskFunction_t) (void *) pxTaskCode, const char * const pcName, const uint16_t usStackDepth, void * const pvParameters, UBaseType_t uxPriority, struct tskTaskControlBlock * * const pxCreatedTask)
  8858. {
  8859. StackType_t * pxStack;
  8860. BaseType_t xReturn;
  8861. struct TCB_t * pxNewTCB;
  8862. unsigned int _1;
  8863. unsigned int _2;
  8864. <bb 2> [local count: 1073741824]:
  8865. # DEBUG BEGIN_STMT
  8866. # DEBUG BEGIN_STMT
  8867. # DEBUG BEGIN_STMT
  8868. # DEBUG BEGIN_STMT
  8869. _1 = (unsigned int) usStackDepth_6(D);
  8870. _2 = _1 * 4;
  8871. pxStack_9 = pvPortMalloc (_2);
  8872. # DEBUG pxStack => pxStack_9
  8873. # DEBUG BEGIN_STMT
  8874. if (pxStack_9 != 0B)
  8875. goto <bb 4>; [53.47%]
  8876. else
  8877. goto <bb 9>; [46.53%]
  8878. <bb 4> [local count: 574129754]:
  8879. # DEBUG BEGIN_STMT
  8880. pxNewTCB_11 = pvPortMalloc (88);
  8881. # DEBUG pxNewTCB => pxNewTCB_11
  8882. # DEBUG BEGIN_STMT
  8883. if (pxNewTCB_11 != 0B)
  8884. goto <bb 5>; [82.57%]
  8885. else
  8886. goto <bb 6>; [17.43%]
  8887. <bb 5> [local count: 474058937]:
  8888. # DEBUG BEGIN_STMT
  8889. pxNewTCB_11->pxStack = pxStack_9;
  8890. goto <bb 7>; [100.00%]
  8891. <bb 6> [local count: 100070816]:
  8892. # DEBUG BEGIN_STMT
  8893. vPortFree (pxStack_9);
  8894. <bb 7> [local count: 574129754]:
  8895. # DEBUG pxNewTCB => pxNewTCB_11
  8896. # DEBUG BEGIN_STMT
  8897. if (pxNewTCB_11 != 0B)
  8898. goto <bb 8>; [53.47%]
  8899. else
  8900. goto <bb 9>; [46.53%]
  8901. <bb 8> [local count: 306987179]:
  8902. # DEBUG BEGIN_STMT
  8903. # DEBUG D#1 => 0B
  8904. prvInitialiseNewTask.isra.0 (pxTaskCode_14(D), pcName_15(D), _1, pvParameters_16(D), uxPriority_17(D), pxCreatedTask_18(D), pxNewTCB_11);
  8905. # DEBUG BEGIN_STMT
  8906. prvAddNewTaskToReadyList (pxNewTCB_11);
  8907. # DEBUG BEGIN_STMT
  8908. # DEBUG xReturn => 1
  8909. <bb 9> [local count: 1073741824]:
  8910. # xReturn_3 = PHI <1(8), -1(7), -1(2)>
  8911. # DEBUG pxNewTCB => NULL
  8912. # DEBUG xReturn => xReturn_3
  8913. # DEBUG BEGIN_STMT
  8914. return xReturn_3;
  8915. }