tasks.c.048i.remove_symbols 260 KB

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