1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846 |
- local analysis of xStreamBufferSpacesAvailable.part.0
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- Function is locally looping.
- Function is locally pure.
- Function can locally free.
- local analysis of prvReadBytesFromBuffer.part.0
- scanning: _2 = pxStreamBuffer_1(D)->xLength;
- Indirect ref read is not const
- scanning: _4 = _2 - xTail_3(D);
- scanning: xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- scanning: if (xCount_5(D) < xFirstLength_6)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _8 = xTail_3(D) + xFirstLength_6;
- scanning: if (_2 < _8)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _10 = pxStreamBuffer_1(D)->pucBuffer;
- Indirect ref read is not const
- scanning: _11 = _10 + xTail_3(D);
- scanning: memcpy (pucData_12(D), _11, xFirstLength_6);
- scanning: if (xCount_5(D) > xFirstLength_6)
- scanning: _13 = pucData_12(D) + xFirstLength_6;
- scanning: _14 = pxStreamBuffer_1(D)->pucBuffer;
- Indirect ref read is not const
- scanning: _15 = xCount_5(D) - xFirstLength_6;
- scanning: memcpy (_13, _14, _15);
- scanning: xTail_16 = xTail_3(D) + xCount_5(D);
- scanning: _17 = pxStreamBuffer_1(D)->xLength;
- Indirect ref read is not const
- scanning: if (xTail_16 >= _17)
- scanning: xTail_18 = xTail_16 - _17;
- scanning: return xTail_19;
- Function is locally looping.
- Function can locally free.
- local analysis of prvWriteBytesToBuffer.part.0
- scanning: _2 = pxStreamBuffer_1(D)->xLength;
- Indirect ref read is not const
- scanning: _4 = _2 - xHead_3(D);
- scanning: xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- scanning: _7 = xHead_3(D) + xFirstLength_6;
- scanning: if (_2 < _7)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _9 = pxStreamBuffer_1(D)->pucBuffer;
- Indirect ref read is not const
- scanning: _10 = _9 + xHead_3(D);
- scanning: memcpy (_10, pucData_11(D), xFirstLength_6);
- scanning: if (xCount_5(D) > xFirstLength_6)
- scanning: _12 = xCount_5(D) - xFirstLength_6;
- scanning: _13 = pxStreamBuffer_1(D)->xLength;
- Indirect ref read is not const
- scanning: if (_12 > _13)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _15 = pxStreamBuffer_1(D)->pucBuffer;
- Indirect ref read is not const
- scanning: _16 = pucData_11(D) + xFirstLength_6;
- scanning: memcpy (_15, _16, _12);
- scanning: xHead_17 = xHead_3(D) + xCount_5(D);
- scanning: _18 = pxStreamBuffer_1(D)->xLength;
- Indirect ref read is not const
- scanning: if (xHead_17 >= _18)
- scanning: xHead_19 = xHead_17 - _18;
- scanning: return xHead_20;
- Function is locally looping.
- Function can locally free.
- local analysis of prvInitialiseNewStreamBuffer.part.0
- scanning: memset (pxStreamBuffer_1(D), 0, 36);
- scanning: pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
- Indirect ref write is not const/pure
- scanning: pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
- Indirect ref write is not const/pure
- scanning: pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
- Indirect ref write is not const/pure
- scanning: pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
- Indirect ref write is not const/pure
- scanning: return;
- local analysis of ucStreamBufferGetStreamBufferType
- scanning: _1 = xStreamBuffer_3(D)->ucFlags;
- Indirect ref read is not const
- scanning: _4 = _1 & 1;
- scanning: return _4;
- Function is locally pure.
- local analysis of vStreamBufferSetStreamBufferNumber
- scanning: xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
- Indirect ref write is not const/pure
- scanning: return;
- local analysis of uxStreamBufferGetStreamBufferNumber
- scanning: _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
- Indirect ref read is not const
- scanning: return _3;
- Function is locally pure.
- local analysis of prvInitialiseNewStreamBuffer
- scanning: _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
- scanning: if (_1 != pucBuffer_4(D))
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
- scanning: return;
- Function is locally looping.
- Function can locally free.
- local analysis of prvBytesInBuffer
- scanning: _1 = pxStreamBuffer_5(D)->xLength;
- Indirect ref read is not const
- scanning: _2 ={v} pxStreamBuffer_5(D)->xHead;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xCount_6 = _1 + _2;
- scanning: _7 ={v} pxStreamBuffer_5(D)->xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xCount_8 = xCount_6 - _7;
- scanning: if (_1 <= xCount_8)
- scanning: xCount_9 = xCount_8 - _1;
- scanning: return xCount_3;
- local analysis of prvReadBytesFromBuffer
- scanning: if (xCount_3(D) == 0)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
- scanning: return xTail_1;
- Function is locally looping.
- Function can locally free.
- local analysis of prvWriteBytesToBuffer
- scanning: if (xCount_3(D) == 0)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
- scanning: return xHead_1;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferReceiveCompletedFromISR
- scanning: if (xStreamBuffer_5(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_1 != 0B)
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: return xReturn_3;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferSendCompletedFromISR
- scanning: if (xStreamBuffer_5(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_1 != 0B)
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: return xReturn_3;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferIsFull
- scanning: if (xStreamBuffer_5(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- Indirect ref read is not const
- scanning: _6 = _1 & 1;
- scanning: if (_6 != 0)
- scanning: _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
- scanning: if (_2 <= xBytesToStoreMessageLength_4)
- scanning: return xReturn_3;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferIsEmpty
- scanning: if (xStreamBuffer_3(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_1 == xTail_5)
- scanning: return xReturn_2;
- Function is locally looping.
- Function can locally free.
- local analysis of prvReadMessageFromBuffer
- scanning: xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _1 = pxStreamBuffer_9(D)->ucFlags;
- Indirect ref read is not const
- scanning: _12 = _1 & 1;
- scanning: if (_12 != 0)
- scanning: xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
- scanning: xNextMessageLength_14 = xTempNextMessageLength;
- scanning: xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
- scanning: if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
- scanning: xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
- scanning: if (xCount_16 != 0)
- scanning: _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
- scanning: pxStreamBuffer_9(D)->xTail ={v} _2;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: return xCount_16;
- local analysis of xStreamBufferReceiveFromISR
- scanning: if (pvRxData_10(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xStreamBuffer_8(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
- Indirect ref read is not const
- scanning: _9 = _1 & 1;
- scanning: if (_9 != 0)
- scanning: xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
- scanning: if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
- scanning: xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
- scanning: if (xReceivedLength_16 != 0)
- scanning: __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_2 != 0B)
- scanning: _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: return xReceivedLength_4;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferNextMessageLengthBytes
- scanning: if (xStreamBuffer_5(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- Indirect ref read is not const
- scanning: _6 = _1 & 1;
- scanning: if (_6 != 0)
- scanning: xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
- scanning: if (xBytesAvailable_9 > 4)
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
- scanning: xReturn_11 = xTempReturn;
- scanning: if (xBytesAvailable_9 != 0)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: return xReturn_3;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferReceive
- scanning: if (pvRxData_15(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xStreamBuffer_13(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
- Indirect ref read is not const
- scanning: _14 = _1 & 1;
- scanning: if (_14 != 0)
- scanning: if (xTicksToWait_17(D) != 0)
- scanning: vPortEnterCritical ();
- scanning: xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
- scanning: if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- scanning: xTaskGenericNotifyStateClear (0B, 0);
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_2 != 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _3 = xTaskGetCurrentTaskHandle ();
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: vPortExitCritical ();
- scanning: if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- scanning: xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
- scanning: xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
- scanning: if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
- scanning: xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
- scanning: if (xReceivedLength_33 != 0)
- scanning: vTaskSuspendAll ();
- scanning: _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_4 != 0B)
- scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotify (_5, 0, 0, 0, 0B);
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: xTaskResumeAll ();
- scanning: return xReceivedLength_6;
- Function is locally looping.
- Function can locally free.
- local analysis of prvWriteMessageToBuffer
- scanning: xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _1 = pxStreamBuffer_10(D)->ucFlags;
- Indirect ref read is not const
- scanning: _22 = _1 & 1;
- scanning: if (_22 != 0)
- scanning: if (xSpace_12(D) >= xRequiredSpace_14(D))
- scanning: xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
- scanning: xDataLengthBytes = 0;
- scanning: xDataLengthBytes.2_2 = xDataLengthBytes;
- scanning: _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
- scanning: xDataLengthBytes = _3;
- scanning: xDataLengthBytes.3_4 = xDataLengthBytes;
- scanning: if (xDataLengthBytes.3_4 != 0)
- scanning: _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
- scanning: pxStreamBuffer_10(D)->xHead ={v} _5;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: _19 = xDataLengthBytes;
- scanning: return _19;
- local analysis of xStreamBufferSendFromISR
- scanning: if (pvTxData_12(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xStreamBuffer_9(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- Indirect ref read is not const
- scanning: _10 = _1 & 1;
- scanning: if (_10 != 0)
- scanning: xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
- scanning: xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
- scanning: xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
- scanning: if (xReturn_18 != 0)
- scanning: _2 = prvBytesInBuffer (xStreamBuffer_9(D));
- scanning: _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- Indirect ref read is not const
- scanning: if (_2 >= _3)
- scanning: __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_4 != 0B)
- scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: return xReturn_18;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferSend
- scanning: if (pvTxData_27(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xStreamBuffer_22(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
- Indirect ref read is not const
- scanning: xMaxReportedSpace_29 = _1 + 4294967295;
- scanning: _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
- Indirect ref read is not const
- scanning: _23 = _2 & 1;
- scanning: if (_23 != 0)
- scanning: xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
- scanning: if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xMaxReportedSpace_29 < xRequiredSpace_30)
- scanning: xTicksToWait = 0;
- scanning: _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
- scanning: xTicksToWait.0_4 = xTicksToWait;
- scanning: if (xTicksToWait.0_4 != 0)
- scanning: vTaskSetTimeOutState (&xTimeOut);
- scanning: vPortEnterCritical ();
- scanning: xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- scanning: if (xRequiredSpace_15 > xSpace_35)
- scanning: xTaskGenericNotifyStateClear (0B, 0);
- scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_5 != 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _6 = xTaskGetCurrentTaskHandle ();
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: vPortExitCritical ();
- scanning: xTicksToWait.1_7 = xTicksToWait;
- scanning: xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
- scanning: if (_8 == 0)
- scanning: vPortExitCritical ();
- scanning: if (xSpace_13 == 0)
- scanning: xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- scanning: xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
- scanning: if (xReturn_47 != 0)
- scanning: _9 = prvBytesInBuffer (xStreamBuffer_22(D));
- scanning: _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
- Indirect ref read is not const
- scanning: if (_9 >= _10)
- scanning: vTaskSuspendAll ();
- scanning: _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_11 != 0B)
- scanning: _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xTaskGenericNotify (_12, 0, 0, 0, 0B);
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: xTaskResumeAll ();
- scanning: return xReturn_47;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferBytesAvailable
- scanning: if (xStreamBuffer_1(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
- scanning: return xReturn_4;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferSpacesAvailable
- scanning: if (xStreamBuffer_7(D) == 0B)
- scanning: xStreamBufferSpacesAvailable.part.0 ();
- scanning: xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
- Indirect ref read is not const
- scanning: _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xSpace_11 = _1 + _2;
- scanning: _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: xSpace_13 = xSpace_11 - _12;
- scanning: _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_3 != xOriginalTail_10)
- scanning: xSpace_14 = xSpace_5 + 4294967295;
- scanning: if (_4 <= xSpace_14)
- scanning: xSpace_15 = xSpace_14 - _4;
- scanning: return xSpace_6;
- local analysis of xStreamBufferSetTriggerLevel
- scanning: if (xStreamBuffer_4(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
- Indirect ref read is not const
- scanning: if (_1 > xTriggerLevel_8)
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
- Indirect ref write is not const/pure
- scanning: return xReturn_2;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferReset
- scanning: if (xStreamBuffer_9(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
- Indirect ref read is not const
- scanning: vPortEnterCritical ();
- scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_1 == 0B)
- scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: if (_2 == 0B)
- scanning: _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
- Indirect ref read is not const
- scanning: _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
- Indirect ref read is not const
- scanning: _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- Indirect ref read is not const
- scanning: _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- Indirect ref read is not const
- scanning: prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
- scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
- Indirect ref write is not const/pure
- scanning: vPortExitCritical ();
- scanning: return xReturn_7;
- Function is locally looping.
- Function can locally free.
- local analysis of vStreamBufferDelete
- scanning: if (xStreamBuffer_3(D) == 0B)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
- Indirect ref read is not const
- scanning: _4 = _1 & 2;
- scanning: if (_4 == 0)
- scanning: vPortFree (xStreamBuffer_3(D));
- scanning: memset (xStreamBuffer_3(D), 0, 36);
- scanning: return;
- Function is locally looping.
- Function can locally free.
- local analysis of xStreamBufferGenericCreate
- scanning: if (xIsMessageBuffer_5(D) == 1)
- scanning: if (xBufferSizeBytes_6(D) <= 4)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xBufferSizeBytes_6(D) == 0)
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
- scanning: __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
- scanning: if (xBufferSizeBytes_6(D) <= 4294967258)
- scanning: xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
- scanning: _1 = xBufferSizeBytes_6(D) + 37;
- scanning: pucAllocatedMemory_13 = pvPortMalloc (_1);
- scanning: if (pucAllocatedMemory_13 != 0B)
- scanning: _2 = pucAllocatedMemory_13 + 36;
- scanning: prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
- scanning: return pucAllocatedMemory_10;
- Function is locally looping.
- Function can locally free.
- callgraph:
- prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 22
- Aux: @05f09fd8
- References:
- Referring:
- Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
- Clone of prvReadBytesFromBuffer/22
- Availability: local
- Function flags: count:27284 (estimated locally) body local optimize_size
- Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
- xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a0b8
- References:
- Referring:
- Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
- Calls:
- prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a2f8
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvReadBytesFromBuffer/86 (13642 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
- prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09ff8
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
- prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a0d8
- References:
- Referring:
- Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
- Availability: local
- Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
- Calls: memset/29 (22666 (estimated locally),0.17 per call)
- xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f910e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceiveCompletedFromISR/20 (133963 (estimated locally),0.37 per call) xStreamBufferSendCompletedFromISR/19 (133963 (estimated locally),0.37 per call) xStreamBufferReceiveFromISR/15 (15473 (estimated locally),0.04 per call) xStreamBufferSendFromISR/11 (15473 (estimated locally),0.04 per call)
- Calls:
- memcpy/41 (memcpy) @05f7eee0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvReadBytesFromBuffer.part.0/53 (35433 (estimated locally),0.16 per call) prvReadBytesFromBuffer.part.0/53 (11693 (estimated locally),0.05 per call) prvWriteBytesToBuffer.part.0/48 (52886 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (8726 (estimated locally),0.05 per call)
- Calls:
- xTaskResumeAll/40 (xTaskResumeAll) @05f7ec40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskGenericNotify/39 (xTaskGenericNotify) @05f7eb60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
- Calls:
- vTaskSuspendAll/38 (vTaskSuspendAll) @05f7ea80
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f7e9a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f7e8c0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f7e7e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f7e700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
- Calls:
- vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f7e620
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
- Calls:
- vPortExitCritical/32 (vPortExitCritical) @05f582a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (51486 (estimated locally),0.14 per call) xStreamBufferSend/10 (22744 (estimated locally),0.06 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
- Calls:
- vPortEnterCritical/31 (vPortEnterCritical) @05f58000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
- Calls:
- vPortFree/30 (vPortFree) @05f58e00
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
- Calls:
- memset/29 (memset) @05f58c40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call) prvInitialiseNewStreamBuffer/24 (130040 (estimated locally),1.00 per call) prvInitialiseNewStreamBuffer.part.0/44 (22666 (estimated locally),0.17 per call)
- Calls:
- pvPortMalloc/28 (pvPortMalloc) @05f589a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
- Calls:
- ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a0f8
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a238
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f58
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a018
- References:
- Referring:
- Availability: local
- Function flags: count:130040 (estimated locally) body local optimize_size
- Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
- Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
- prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a118
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (175378 (estimated locally),0.49 per call) xStreamBufferNextMessageLengthBytes/14 (82678 (estimated locally),0.23 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSendFromISR/11 (57875 (estimated locally),0.16 per call) xStreamBufferSend/10 (36175 (estimated locally),0.10 per call) xStreamBufferBytesAvailable/9 (123389 (estimated locally),0.53 per call)
- Calls:
- prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- previous sharing asm name: 86
- Aux: @05f0a138
- References:
- Referring:
- Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
- prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a258
- References:
- Referring:
- Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a298
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a058
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a158
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
- xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a1f8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09f78
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
- Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
- xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (57875 (estimated locally),0.16 per call) prvBytesInBuffer/23 (175378 (estimated locally),0.49 per call)
- xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a178
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
- xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09fb8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (15156 (estimated locally),0.04 per call) xTaskGenericNotify/39 (8104 (estimated locally),0.02 per call) vTaskSuspendAll/38 (15156 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (45928 (estimated locally),0.13 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) prvBytesInBuffer/23 (16991 (estimated locally),0.05 per call) xTaskGenericNotifyWait/36 (16991 (estimated locally),0.05 per call) vPortExitCritical/32 (51486 (estimated locally),0.14 per call) xTaskGetCurrentTaskHandle/35 (7642 (estimated locally),0.02 per call) xTaskGenericNotifyStateClear/34 (43844 (estimated locally),0.12 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) vPortEnterCritical/31 (87689 (estimated locally),0.25 per call)
- prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a1b8
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
- Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a198
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvBytesInBuffer/23 (57875 (estimated locally),0.16 per call) prvWriteMessageToBuffer/12 (175378 (estimated locally),0.49 per call) xStreamBufferSpacesAvailable/8 (175378 (estimated locally),0.49 per call)
- xStreamBufferSend/10 (xStreamBufferSend) @05f01540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a1d8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (11938 (estimated locally),0.03 per call) xTaskGenericNotify/39 (6383 (estimated locally),0.02 per call) vTaskSuspendAll/38 (11938 (estimated locally),0.03 per call) prvBytesInBuffer/23 (36175 (estimated locally),0.10 per call) prvWriteMessageToBuffer/12 (109621 (estimated locally),0.31 per call) xStreamBufferSpacesAvailable/8 (87694 (estimated locally),0.25 per call) vPortExitCritical/32 (22744 (estimated locally),0.06 per call) xTaskCheckForTimeOut/37 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyWait/36 (576777 (estimated locally),1.61 per call) vPortExitCritical/32 (576777 (estimated locally),1.61 per call) xTaskGetCurrentTaskHandle/35 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyStateClear/34 (598690 (estimated locally),1.67 per call) xStreamBufferSpacesAvailable/8 (621434 (estimated locally),1.74 per call) vPortEnterCritical/31 (621434 (estimated locally),1.74 per call) vTaskSetTimeOutState/33 (65767 (estimated locally),0.18 per call)
- xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a218
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
- xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2b8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by: xStreamBufferIsFull/18 (250539 (estimated locally),0.70 per call) xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (87694 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call)
- Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
- xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2d8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a038
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/32 (123389 (estimated locally),0.53 per call) prvInitialiseNewStreamBuffer/24 (6452 (estimated locally),0.03 per call) vPortEnterCritical/31 (123389 (estimated locally),0.53 per call)
- vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09e98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
- xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d38
- References:
- Referring:
- Availability: available
- Function flags: count:325376 (estimated locally) body optimize_size
- Called by:
- Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
- ordered call graph: reduced for nothrow
- prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 22
- Aux: @05f09fd8
- References:
- Referring:
- Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
- Clone of prvReadBytesFromBuffer/22
- Availability: local
- Function flags: count:27284 (estimated locally) body local optimize_size
- Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
- xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a0b8
- References:
- Referring:
- Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
- Calls:
- prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a2f8
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvReadBytesFromBuffer/86 (13642 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
- prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09ff8
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
- prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f0a0d8
- References:
- Referring:
- Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
- Availability: local
- Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
- Calls: memset/29 (22666 (estimated locally),0.17 per call)
- ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a0f8
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a238
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f58
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a018
- References:
- Referring:
- Availability: local
- Function flags: count:130040 (estimated locally) body local optimize_size
- Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
- Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
- prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a118
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (175378 (estimated locally),0.49 per call) xStreamBufferNextMessageLengthBytes/14 (82678 (estimated locally),0.23 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSendFromISR/11 (57875 (estimated locally),0.16 per call) xStreamBufferSend/10 (36175 (estimated locally),0.10 per call) xStreamBufferBytesAvailable/9 (123389 (estimated locally),0.53 per call)
- Calls:
- prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- previous sharing asm name: 86
- Aux: @05f0a138
- References:
- Referring:
- Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
- prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a258
- References:
- Referring:
- Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a298
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a058
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a158
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
- xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a1f8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09f78
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
- Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
- xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (57875 (estimated locally),0.16 per call) prvBytesInBuffer/23 (175378 (estimated locally),0.49 per call)
- xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a178
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
- xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09fb8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (15156 (estimated locally),0.04 per call) xTaskGenericNotify/39 (8104 (estimated locally),0.02 per call) vTaskSuspendAll/38 (15156 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (45928 (estimated locally),0.13 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) prvBytesInBuffer/23 (16991 (estimated locally),0.05 per call) xTaskGenericNotifyWait/36 (16991 (estimated locally),0.05 per call) vPortExitCritical/32 (51486 (estimated locally),0.14 per call) xTaskGetCurrentTaskHandle/35 (7642 (estimated locally),0.02 per call) xTaskGenericNotifyStateClear/34 (43844 (estimated locally),0.12 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) vPortEnterCritical/31 (87689 (estimated locally),0.25 per call)
- prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f0a1b8
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
- Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a198
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvBytesInBuffer/23 (57875 (estimated locally),0.16 per call) prvWriteMessageToBuffer/12 (175378 (estimated locally),0.49 per call) xStreamBufferSpacesAvailable/8 (175378 (estimated locally),0.49 per call)
- xStreamBufferSend/10 (xStreamBufferSend) @05f01540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a1d8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (11938 (estimated locally),0.03 per call) xTaskGenericNotify/39 (6383 (estimated locally),0.02 per call) vTaskSuspendAll/38 (11938 (estimated locally),0.03 per call) prvBytesInBuffer/23 (36175 (estimated locally),0.10 per call) prvWriteMessageToBuffer/12 (109621 (estimated locally),0.31 per call) xStreamBufferSpacesAvailable/8 (87694 (estimated locally),0.25 per call) vPortExitCritical/32 (22744 (estimated locally),0.06 per call) xTaskCheckForTimeOut/37 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyWait/36 (576777 (estimated locally),1.61 per call) vPortExitCritical/32 (576777 (estimated locally),1.61 per call) xTaskGetCurrentTaskHandle/35 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyStateClear/34 (598690 (estimated locally),1.67 per call) xStreamBufferSpacesAvailable/8 (621434 (estimated locally),1.74 per call) vPortEnterCritical/31 (621434 (estimated locally),1.74 per call) vTaskSetTimeOutState/33 (65767 (estimated locally),0.18 per call)
- xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a218
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
- xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2b8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by: xStreamBufferIsFull/18 (250539 (estimated locally),0.70 per call) xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (87694 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call)
- Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
- xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2d8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a038
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/32 (123389 (estimated locally),0.53 per call) prvInitialiseNewStreamBuffer/24 (6452 (estimated locally),0.03 per call) vPortEnterCritical/31 (123389 (estimated locally),0.53 per call)
- vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09e98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
- xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d38
- References:
- Referring:
- Availability: available
- Function flags: count:325376 (estimated locally) body optimize_size
- Called by:
- Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
- MALLOC LATTICE Initial:
- prvReadBytesFromBuffer: malloc_bottom
- xStreamBufferSpacesAvailable.part.0: malloc_bottom
- prvReadBytesFromBuffer.part.0: malloc_bottom
- prvWriteBytesToBuffer.part.0: malloc_bottom
- prvInitialiseNewStreamBuffer.part.0: malloc_bottom
- ucStreamBufferGetStreamBufferType: malloc_bottom
- vStreamBufferSetStreamBufferNumber: malloc_bottom
- uxStreamBufferGetStreamBufferNumber: malloc_bottom
- prvInitialiseNewStreamBuffer: malloc_bottom
- prvBytesInBuffer: malloc_bottom
- prvReadBytesFromBuffer: malloc_bottom
- prvWriteBytesToBuffer: malloc_bottom
- xStreamBufferReceiveCompletedFromISR: malloc_bottom
- xStreamBufferSendCompletedFromISR: malloc_bottom
- xStreamBufferIsFull: malloc_bottom
- xStreamBufferIsEmpty: malloc_bottom
- prvReadMessageFromBuffer: malloc_bottom
- xStreamBufferReceiveFromISR: malloc_bottom
- xStreamBufferNextMessageLengthBytes: malloc_bottom
- xStreamBufferReceive: malloc_bottom
- prvWriteMessageToBuffer: malloc_bottom
- xStreamBufferSendFromISR: malloc_bottom
- xStreamBufferSend: malloc_bottom
- xStreamBufferBytesAvailable: malloc_bottom
- xStreamBufferSpacesAvailable: malloc_bottom
- xStreamBufferSetTriggerLevel: malloc_bottom
- xStreamBufferReset: malloc_bottom
- vStreamBufferDelete: malloc_bottom
- xStreamBufferGenericCreate: malloc_bottom
- MALLOC LATTICE after propagation:
- prvReadBytesFromBuffer: malloc_bottom
- xStreamBufferSpacesAvailable.part.0: malloc_bottom
- prvReadBytesFromBuffer.part.0: malloc_bottom
- prvWriteBytesToBuffer.part.0: malloc_bottom
- prvInitialiseNewStreamBuffer.part.0: malloc_bottom
- ucStreamBufferGetStreamBufferType: malloc_bottom
- vStreamBufferSetStreamBufferNumber: malloc_bottom
- uxStreamBufferGetStreamBufferNumber: malloc_bottom
- prvInitialiseNewStreamBuffer: malloc_bottom
- prvBytesInBuffer: malloc_bottom
- prvReadBytesFromBuffer: malloc_bottom
- prvWriteBytesToBuffer: malloc_bottom
- xStreamBufferReceiveCompletedFromISR: malloc_bottom
- xStreamBufferSendCompletedFromISR: malloc_bottom
- xStreamBufferIsFull: malloc_bottom
- xStreamBufferIsEmpty: malloc_bottom
- prvReadMessageFromBuffer: malloc_bottom
- xStreamBufferReceiveFromISR: malloc_bottom
- xStreamBufferNextMessageLengthBytes: malloc_bottom
- xStreamBufferReceive: malloc_bottom
- prvWriteMessageToBuffer: malloc_bottom
- xStreamBufferSendFromISR: malloc_bottom
- xStreamBufferSend: malloc_bottom
- xStreamBufferBytesAvailable: malloc_bottom
- xStreamBufferSpacesAvailable: malloc_bottom
- xStreamBufferSetTriggerLevel: malloc_bottom
- xStreamBufferReset: malloc_bottom
- vStreamBufferDelete: malloc_bottom
- xStreamBufferGenericCreate: malloc_bottom
- callgraph:
- prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 22
- Aux: @05f09ef8
- References:
- Referring:
- Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
- Clone of prvReadBytesFromBuffer/22
- Availability: local
- Function flags: count:27284 (estimated locally) body local optimize_size
- Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
- xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09d98
- References:
- Referring:
- Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
- Calls:
- prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09f18
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvReadBytesFromBuffer/86 (13642 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
- prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09c78
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
- prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09db8
- References:
- Referring:
- Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
- Availability: local
- Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
- Calls: memset/29 (22666 (estimated locally),0.17 per call)
- xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f910e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceiveCompletedFromISR/20 (133963 (estimated locally),0.37 per call) xStreamBufferSendCompletedFromISR/19 (133963 (estimated locally),0.37 per call) xStreamBufferReceiveFromISR/15 (15473 (estimated locally),0.04 per call) xStreamBufferSendFromISR/11 (15473 (estimated locally),0.04 per call)
- Calls:
- memcpy/41 (memcpy) @05f7eee0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: prvReadBytesFromBuffer.part.0/53 (35433 (estimated locally),0.16 per call) prvReadBytesFromBuffer.part.0/53 (11693 (estimated locally),0.05 per call) prvWriteBytesToBuffer.part.0/48 (52886 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (8726 (estimated locally),0.05 per call)
- Calls:
- xTaskResumeAll/40 (xTaskResumeAll) @05f7ec40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskGenericNotify/39 (xTaskGenericNotify) @05f7eb60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
- Calls:
- vTaskSuspendAll/38 (vTaskSuspendAll) @05f7ea80
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f7e9a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f7e8c0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f7e7e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f7e700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
- Calls:
- vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f7e620
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
- Calls:
- vPortExitCritical/32 (vPortExitCritical) @05f582a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (51486 (estimated locally),0.14 per call) xStreamBufferSend/10 (22744 (estimated locally),0.06 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
- Calls:
- vPortEnterCritical/31 (vPortEnterCritical) @05f58000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
- Calls:
- vPortFree/30 (vPortFree) @05f58e00
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
- Calls:
- memset/29 (memset) @05f58c40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call) prvInitialiseNewStreamBuffer/24 (130040 (estimated locally),1.00 per call) prvInitialiseNewStreamBuffer.part.0/44 (22666 (estimated locally),0.17 per call)
- Calls:
- pvPortMalloc/28 (pvPortMalloc) @05f589a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
- Calls:
- ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cb8
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09c58
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09e98
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09bf8
- References:
- Referring:
- Availability: local
- Function flags: count:130040 (estimated locally) body local optimize_size
- Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
- Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
- prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09d18
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (175378 (estimated locally),0.49 per call) xStreamBufferNextMessageLengthBytes/14 (82678 (estimated locally),0.23 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSendFromISR/11 (57875 (estimated locally),0.16 per call) xStreamBufferSend/10 (36175 (estimated locally),0.10 per call) xStreamBufferBytesAvailable/9 (123389 (estimated locally),0.53 per call)
- Calls:
- prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- previous sharing asm name: 86
- Aux: @05f09c18
- References:
- Referring:
- Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
- prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09bb8
- References:
- Referring:
- Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09b98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09dd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09ed8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
- xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09c98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09f38
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
- Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
- xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (57875 (estimated locally),0.16 per call) prvBytesInBuffer/23 (175378 (estimated locally),0.49 per call)
- xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cf8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
- xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d38
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (15156 (estimated locally),0.04 per call) xTaskGenericNotify/39 (8104 (estimated locally),0.02 per call) vTaskSuspendAll/38 (15156 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (45928 (estimated locally),0.13 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) prvBytesInBuffer/23 (16991 (estimated locally),0.05 per call) xTaskGenericNotifyWait/36 (16991 (estimated locally),0.05 per call) vPortExitCritical/32 (51486 (estimated locally),0.14 per call) xTaskGetCurrentTaskHandle/35 (7642 (estimated locally),0.02 per call) xTaskGenericNotifyStateClear/34 (43844 (estimated locally),0.12 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) vPortEnterCritical/31 (87689 (estimated locally),0.25 per call)
- prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09c38
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
- Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09b58
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvBytesInBuffer/23 (57875 (estimated locally),0.16 per call) prvWriteMessageToBuffer/12 (175378 (estimated locally),0.49 per call) xStreamBufferSpacesAvailable/8 (175378 (estimated locally),0.49 per call)
- xStreamBufferSend/10 (xStreamBufferSend) @05f01540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09bd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (11938 (estimated locally),0.03 per call) xTaskGenericNotify/39 (6383 (estimated locally),0.02 per call) vTaskSuspendAll/38 (11938 (estimated locally),0.03 per call) prvBytesInBuffer/23 (36175 (estimated locally),0.10 per call) prvWriteMessageToBuffer/12 (109621 (estimated locally),0.31 per call) xStreamBufferSpacesAvailable/8 (87694 (estimated locally),0.25 per call) vPortExitCritical/32 (22744 (estimated locally),0.06 per call) xTaskCheckForTimeOut/37 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyWait/36 (576777 (estimated locally),1.61 per call) vPortExitCritical/32 (576777 (estimated locally),1.61 per call) xTaskGetCurrentTaskHandle/35 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyStateClear/34 (598690 (estimated locally),1.67 per call) xStreamBufferSpacesAvailable/8 (621434 (estimated locally),1.74 per call) vPortEnterCritical/31 (621434 (estimated locally),1.74 per call) vTaskSetTimeOutState/33 (65767 (estimated locally),0.18 per call)
- xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d58
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
- xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a198
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by: xStreamBufferIsFull/18 (250539 (estimated locally),0.70 per call) xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (87694 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call)
- Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
- xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f58
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a298
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/32 (123389 (estimated locally),0.53 per call) prvInitialiseNewStreamBuffer/24 (6452 (estimated locally),0.03 per call) vPortEnterCritical/31 (123389 (estimated locally),0.53 per call)
- vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09fd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
- xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2b8
- References:
- Referring:
- Availability: available
- Function flags: count:325376 (estimated locally) body optimize_size
- Called by:
- Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
- ordered call graph: reduced
- ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cb8
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09c58
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09e98
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09b98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09dd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09ed8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
- xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09c98
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (57875 (estimated locally),0.16 per call) prvBytesInBuffer/23 (175378 (estimated locally),0.49 per call)
- xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09cf8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
- prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
- Type: function definition analyzed
- Visibility:
- next sharing asm name: 22
- Aux: @05f09ef8
- References:
- Referring:
- Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
- Clone of prvReadBytesFromBuffer/22
- Availability: local
- Function flags: count:27284 (estimated locally) body local optimize_size
- Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
- xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d38
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (15156 (estimated locally),0.04 per call) xTaskGenericNotify/39 (8104 (estimated locally),0.02 per call) vTaskSuspendAll/38 (15156 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (45928 (estimated locally),0.13 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) prvBytesInBuffer/23 (16991 (estimated locally),0.05 per call) xTaskGenericNotifyWait/36 (16991 (estimated locally),0.05 per call) vPortExitCritical/32 (51486 (estimated locally),0.14 per call) xTaskGetCurrentTaskHandle/35 (7642 (estimated locally),0.02 per call) xTaskGenericNotifyStateClear/34 (43844 (estimated locally),0.12 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) vPortEnterCritical/31 (87689 (estimated locally),0.25 per call)
- prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09f38
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
- Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
- prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- previous sharing asm name: 86
- Aux: @05f09c18
- References:
- Referring:
- Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
- prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09f18
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvReadBytesFromBuffer/86 (13642 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
- xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09b58
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvBytesInBuffer/23 (57875 (estimated locally),0.16 per call) prvWriteMessageToBuffer/12 (175378 (estimated locally),0.49 per call) xStreamBufferSpacesAvailable/8 (175378 (estimated locally),0.49 per call)
- xStreamBufferSend/10 (xStreamBufferSend) @05f01540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09bd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/40 (11938 (estimated locally),0.03 per call) xTaskGenericNotify/39 (6383 (estimated locally),0.02 per call) vTaskSuspendAll/38 (11938 (estimated locally),0.03 per call) prvBytesInBuffer/23 (36175 (estimated locally),0.10 per call) prvWriteMessageToBuffer/12 (109621 (estimated locally),0.31 per call) xStreamBufferSpacesAvailable/8 (87694 (estimated locally),0.25 per call) vPortExitCritical/32 (22744 (estimated locally),0.06 per call) xTaskCheckForTimeOut/37 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyWait/36 (576777 (estimated locally),1.61 per call) vPortExitCritical/32 (576777 (estimated locally),1.61 per call) xTaskGetCurrentTaskHandle/35 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyStateClear/34 (598690 (estimated locally),1.67 per call) xStreamBufferSpacesAvailable/8 (621434 (estimated locally),1.74 per call) vPortEnterCritical/31 (621434 (estimated locally),1.74 per call) vTaskSetTimeOutState/33 (65767 (estimated locally),0.18 per call)
- prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09c38
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
- Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09bb8
- References:
- Referring:
- Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
- Availability: local
- Function flags: count:354334802 (estimated locally) body local optimize_size
- Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
- Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09c78
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
- Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
- xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09d58
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
- prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09d18
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (175378 (estimated locally),0.49 per call) xStreamBufferNextMessageLengthBytes/14 (82678 (estimated locally),0.23 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSendFromISR/11 (57875 (estimated locally),0.16 per call) xStreamBufferSend/10 (36175 (estimated locally),0.10 per call) xStreamBufferBytesAvailable/9 (123389 (estimated locally),0.53 per call)
- Calls:
- xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a198
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by: xStreamBufferIsFull/18 (250539 (estimated locally),0.70 per call) xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (87694 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call)
- Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
- xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09d98
- References:
- Referring:
- Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
- Calls:
- xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09f58
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a298
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/32 (123389 (estimated locally),0.53 per call) prvInitialiseNewStreamBuffer/24 (6452 (estimated locally),0.03 per call) vPortEnterCritical/31 (123389 (estimated locally),0.53 per call)
- vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f09fd8
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
- xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05f0a2b8
- References:
- Referring:
- Availability: available
- Function flags: count:325376 (estimated locally) body optimize_size
- Called by:
- Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
- prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- Aux: @05f09bf8
- References:
- Referring:
- Availability: local
- Function flags: count:130040 (estimated locally) body local optimize_size
- Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
- Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
- prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- Aux: @05f09db8
- References:
- Referring:
- Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
- Availability: local
- Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
- Calls: memset/29 (22666 (estimated locally),0.17 per call)
- Function found not to call free: prvBytesInBuffer
- Function found not to call free: uxStreamBufferGetStreamBufferNumber
- Function found not to call free: vStreamBufferSetStreamBufferNumber
- Function found not to call free: ucStreamBufferGetStreamBufferType
- xStreamBufferSpacesAvailable.part.0 ()
- {
- const struct StreamBuffer_t * const pxStreamBuffer;
- size_t xSpace;
- size_t xOriginalTail;
- uint32_t ulNewBASEPRI;
- struct StreamBufferDef_t * xStreamBuffer;
- <bb 5> [local count: 107374]:
- # DEBUG D#2 s=> xStreamBuffer
- # DEBUG xStreamBuffer => D#2
- <bb 2> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_1
- <bb 3> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 4> [local count: 1073741824]:
- goto <bb 3>; [100.00%]
- }
- prvReadBytesFromBuffer.part.0 (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
- {
- size_t xFirstLength;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- unsigned int _2;
- unsigned int _4;
- unsigned int _8;
- uint8_t * _10;
- uint8_t * _11;
- uint8_t * _13;
- uint8_t * _14;
- unsigned int _15;
- unsigned int _17;
- <bb 15> [local count: 214748]:
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = pxStreamBuffer_1(D)->xLength;
- _4 = _2 - xTail_3(D);
- xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- # DEBUG xFirstLength => xFirstLength_6
- # DEBUG BEGIN_STMT
- if (xCount_5(D) < xFirstLength_6)
- goto <bb 3>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 5> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _8 = xTail_3(D) + xFirstLength_6;
- if (_2 < _8)
- goto <bb 7>; [67.00%]
- else
- goto <bb 10>; [33.00%]
- <bb 7> [local count: 71941]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 8> [local count: 719407023]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 719407023]:
- goto <bb 8>; [100.00%]
- <bb 10> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _10 = pxStreamBuffer_1(D)->pucBuffer;
- _11 = _10 + xTail_3(D);
- memcpy (pucData_12(D), _11, xFirstLength_6);
- # DEBUG BEGIN_STMT
- if (xCount_5(D) > xFirstLength_6)
- goto <bb 11>; [33.00%]
- else
- goto <bb 12>; [67.00%]
- <bb 11> [local count: 11693]:
- # DEBUG BEGIN_STMT
- _13 = pucData_12(D) + xFirstLength_6;
- _14 = pxStreamBuffer_1(D)->pucBuffer;
- _15 = xCount_5(D) - xFirstLength_6;
- memcpy (_13, _14, _15);
- <bb 12> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_16 = xTail_3(D) + xCount_5(D);
- # DEBUG xTail => xTail_16
- # DEBUG BEGIN_STMT
- _17 = pxStreamBuffer_1(D)->xLength;
- if (xTail_16 >= _17)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 17717]:
- # DEBUG BEGIN_STMT
- xTail_18 = xTail_16 - _17;
- # DEBUG xTail => xTail_18
- <bb 14> [local count: 35433]:
- # xTail_19 = PHI <xTail_16(12), xTail_18(13)>
- # DEBUG xTail => xTail_19
- # DEBUG BEGIN_STMT
- return xTail_19;
- }
- prvWriteBytesToBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
- {
- size_t xFirstLength;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- unsigned int _2;
- unsigned int _4;
- unsigned int _7;
- uint8_t * _9;
- uint8_t * _10;
- unsigned int _12;
- unsigned int _13;
- uint8_t * _15;
- const uint8_t * _16;
- unsigned int _18;
- <bb 15> [local count: 160260]:
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = pxStreamBuffer_1(D)->xLength;
- _4 = _2 - xHead_3(D);
- xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- # DEBUG xFirstLength => xFirstLength_6
- # DEBUG BEGIN_STMT
- _7 = xHead_3(D) + xFirstLength_6;
- if (_2 < _7)
- goto <bb 3>; [67.00%]
- else
- goto <bb 6>; [33.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 5> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 6> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _9 = pxStreamBuffer_1(D)->pucBuffer;
- _10 = _9 + xHead_3(D);
- memcpy (_10, pucData_11(D), xFirstLength_6);
- # DEBUG BEGIN_STMT
- if (xCount_5(D) > xFirstLength_6)
- goto <bb 7>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 7> [local count: 26443]:
- # DEBUG BEGIN_STMT
- _12 = xCount_5(D) - xFirstLength_6;
- _13 = pxStreamBuffer_1(D)->xLength;
- if (_12 > _13)
- goto <bb 8>; [67.00%]
- else
- goto <bb 11>; [33.00%]
- <bb 8> [local count: 17717]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
- <bb 9> [local count: 177167401]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 177167401]:
- goto <bb 9>; [100.00%]
- <bb 11> [local count: 8726]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _15 = pxStreamBuffer_1(D)->pucBuffer;
- _16 = pucData_11(D) + xFirstLength_6;
- memcpy (_15, _16, _12);
- <bb 12> [local count: 35169]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xHead_17 = xHead_3(D) + xCount_5(D);
- # DEBUG xHead => xHead_17
- # DEBUG BEGIN_STMT
- _18 = pxStreamBuffer_1(D)->xLength;
- if (xHead_17 >= _18)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 17584]:
- # DEBUG BEGIN_STMT
- xHead_19 = xHead_17 - _18;
- # DEBUG xHead => xHead_19
- <bb 14> [local count: 35169]:
- # xHead_20 = PHI <xHead_17(12), xHead_19(13)>
- # DEBUG xHead => xHead_20
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xHead_20;
- }
- prvInitialiseNewStreamBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
- {
- const BaseType_t xWriteValue;
- uint32_t ulNewBASEPRI;
- <bb 3> [local count: 1073741824]:
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- memset (pxStreamBuffer_1(D), 0, 36);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
- return;
- }
- ucStreamBufferGetStreamBufferType (struct StreamBufferDef_t * xStreamBuffer)
- {
- unsigned char _1;
- uint8_t _4;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _1 = xStreamBuffer_3(D)->ucFlags;
- _4 = _1 & 1;
- return _4;
- }
- vStreamBufferSetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer, UBaseType_t uxStreamBufferNumber)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
- return;
- }
- uxStreamBufferGetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer)
- {
- UBaseType_t _3;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
- return _3;
- }
- prvInitialiseNewStreamBuffer (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
- {
- uint32_t ulNewBASEPRI;
- void * _1;
- <bb 2> [local count: 130040]:
- # DEBUG BEGIN_STMT
- # DEBUG xWriteValue => 85
- # DEBUG BEGIN_STMT
- _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
- if (_1 != pucBuffer_4(D))
- goto <bb 3>; [82.57%]
- else
- goto <bb 5>; [17.43%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 22666]:
- prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
- return;
- }
- prvBytesInBuffer (const struct StreamBuffer_t * const pxStreamBuffer)
- {
- size_t xCount;
- unsigned int _1;
- unsigned int _2;
- unsigned int _7;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_5(D)->xLength;
- _2 ={v} pxStreamBuffer_5(D)->xHead;
- xCount_6 = _1 + _2;
- # DEBUG xCount => xCount_6
- # DEBUG BEGIN_STMT
- _7 ={v} pxStreamBuffer_5(D)->xTail;
- xCount_8 = xCount_6 - _7;
- # DEBUG xCount => xCount_8
- # DEBUG BEGIN_STMT
- if (_1 <= xCount_8)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- xCount_9 = xCount_8 - _1;
- # DEBUG xCount => xCount_9
- <bb 4> [local count: 1073741824]:
- # xCount_3 = PHI <xCount_8(2), xCount_9(3)>
- # DEBUG xCount => xCount_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xCount_3;
- }
- prvReadBytesFromBuffer (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
- {
- uint32_t ulNewBASEPRI;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xCount_3(D) == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
- # DEBUG xTail => xTail_1
- # DEBUG BEGIN_STMT
- return xTail_1;
- }
- prvWriteBytesToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
- {
- uint32_t ulNewBASEPRI;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xCount_3(D) == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
- # DEBUG xHead => xHead_1
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xHead_1;
- }
- xStreamBufferReceiveCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- if (_1 != 0B)
- goto <bb 6>; [53.47%]
- else
- goto <bb 7>; [46.53%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_3 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferSendCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- if (_1 != 0B)
- goto <bb 6>; [53.47%]
- else
- goto <bb 7>; [46.53%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_3 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferIsFull (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- BaseType_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned char _6;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- _6 = _1 & 1;
- if (_6 != 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 7> [local count: 250539]:
- # xBytesToStoreMessageLength_4 = PHI <4(5), 0(6)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_4
- # DEBUG BEGIN_STMT
- _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
- if (_2 <= xBytesToStoreMessageLength_4)
- goto <bb 9>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 8> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- <bb 9> [local count: 250539]:
- # xReturn_3 = PHI <1(7), 0(8)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferIsEmpty (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xTail;
- BaseType_t xReturn;
- unsigned int _1;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
- # DEBUG xTail => xTail_5
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
- if (_1 == xTail_5)
- goto <bb 7>; [34.00%]
- else
- goto <bb 6>; [66.00%]
- <bb 6> [local count: 165356]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- <bb 7> [local count: 250539]:
- # xReturn_2 = PHI <1(5), 0(6)>
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- prvReadMessageFromBuffer (struct StreamBuffer_t * pxStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, size_t xBytesAvailable)
- {
- size_t xTail;
- size_t xNextTail;
- size_t xTempNextMessageLength;
- size_t xNextMessageLength;
- size_t xCount;
- unsigned char _1;
- unsigned int _2;
- unsigned char _12;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
- # DEBUG xNextTail => xNextTail_10
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_9(D)->ucFlags;
- _12 = _1 & 1;
- if (_12 != 0)
- goto <bb 3>; [33.00%]
- else
- goto <bb 5>; [67.00%]
- <bb 3> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => pxStreamBuffer_9(D)
- # DEBUG pucData => &xTempNextMessageLength
- # DEBUG xCount => 4
- # DEBUG xTail => xNextTail_10
- # DEBUG INLINE_ENTRY prvReadBytesFromBuffer
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
- # DEBUG xTail => xTail_21
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => NULL
- # DEBUG pucData => NULL
- # DEBUG xCount => NULL
- # DEBUG xTail => NULL
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG xNextTail => xTail_21
- # DEBUG BEGIN_STMT
- xNextMessageLength_14 = xTempNextMessageLength;
- # DEBUG xNextMessageLength => xNextMessageLength_14
- # DEBUG BEGIN_STMT
- xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
- # DEBUG xBytesAvailable => xBytesAvailable_15
- # DEBUG BEGIN_STMT
- if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
- goto <bb 4>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 4> [local count: 177167401]:
- # DEBUG BEGIN_STMT
- # DEBUG xNextMessageLength => 0
- <bb 5> [local count: 1073741824]:
- # xBytesAvailable_3 = PHI <xBytesAvailable_15(4), xBytesAvailable_13(D)(2), xBytesAvailable_15(3)>
- # xNextMessageLength_4 = PHI <0(4), xBufferLengthBytes_11(D)(2), xNextMessageLength_14(3)>
- # xNextTail_5 = PHI <xTail_21(4), xNextTail_10(2), xTail_21(3)>
- # DEBUG xNextTail => xNextTail_5
- # DEBUG xNextMessageLength => xNextMessageLength_4
- # DEBUG xBytesAvailable => xBytesAvailable_3
- # DEBUG BEGIN_STMT
- xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
- # DEBUG xCount => xCount_16
- # DEBUG BEGIN_STMT
- if (xCount_16 != 0)
- goto <bb 6>; [33.00%]
- else
- goto <bb 7>; [67.00%]
- <bb 6> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
- pxStreamBuffer_9(D)->xTail ={v} _2;
- <bb 7> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xTempNextMessageLength ={v} {CLOBBER};
- return xCount_16;
- }
- xStreamBufferReceiveFromISR (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- size_t xBytesAvailable;
- size_t xReceivedLength;
- unsigned char _1;
- struct tskTaskControlBlock * _2;
- struct tskTaskControlBlock * _3;
- unsigned char _9;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_8(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReceivedLength => 0
- # DEBUG BEGIN_STMT
- if (pvRxData_10(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_20
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_8(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
- _9 = _1 & 1;
- if (_9 != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 10> [local count: 175378]:
- # xBytesToStoreMessageLength_5 = PHI <4(8), 0(9)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_5
- # DEBUG BEGIN_STMT
- xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
- # DEBUG xBytesAvailable => xBytesAvailable_13
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
- goto <bb 11>; [33.00%]
- else
- goto <bb 15>; [67.00%]
- <bb 11> [local count: 57875]:
- # DEBUG BEGIN_STMT
- xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
- # DEBUG xReceivedLength => xReceivedLength_16
- # DEBUG BEGIN_STMT
- if (xReceivedLength_16 != 0)
- goto <bb 12>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 12> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_22
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_22
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- if (_2 != 0B)
- goto <bb 13>; [53.47%]
- else
- goto <bb 14>; [46.53%]
- <bb 13> [local count: 15473]:
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
- <bb 14> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_22
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
- <bb 15> [local count: 175378]:
- # xReceivedLength_4 = PHI <0(10), xReceivedLength_16(14), xReceivedLength_16(11)>
- # DEBUG ulNewMaskValue => NULL
- # DEBUG xReceivedLength => xReceivedLength_4
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReceivedLength_4;
- }
- xStreamBufferNextMessageLengthBytes (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xTempReturn;
- size_t xBytesAvailable;
- size_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned char _6;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 12> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- _6 = _1 & 1;
- if (_6 != 0)
- goto <bb 6>; [33.00%]
- else
- goto <bb 11>; [67.00%]
- <bb 6> [local count: 82678]:
- # DEBUG BEGIN_STMT
- xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
- # DEBUG xBytesAvailable => xBytesAvailable_9
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_9 > 4)
- goto <bb 7>; [33.00%]
- else
- goto <bb 8>; [67.00%]
- <bb 7> [local count: 27284]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
- prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
- # DEBUG BEGIN_STMT
- xReturn_11 = xTempReturn;
- # DEBUG xReturn => xReturn_11
- goto <bb 11>; [100.00%]
- <bb 8> [local count: 55394]:
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_9 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 9> [local count: 27697]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
- <bb 10> [local count: 276971704]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 276971704]:
- goto <bb 10>; [100.00%]
- <bb 11> [local count: 222842]:
- # xReturn_3 = PHI <0(8), 0(5), xReturn_11(7)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- xTempReturn ={v} {CLOBBER};
- return xReturn_3;
- }
- xStreamBufferReceive (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- size_t xBytesAvailable;
- size_t xReceivedLength;
- unsigned char _1;
- struct tskTaskControlBlock * _2;
- struct tskTaskControlBlock * _3;
- struct tskTaskControlBlock * _4;
- struct tskTaskControlBlock * _5;
- unsigned char _14;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_13(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReceivedLength => 0
- # DEBUG BEGIN_STMT
- if (pvRxData_15(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_38
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 25> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_13(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_39
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
- _14 = _1 & 1;
- if (_14 != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 10> [local count: 175378]:
- # xBytesToStoreMessageLength_8 = PHI <4(8), 0(9)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_8
- # DEBUG BEGIN_STMT
- if (xTicksToWait_17(D) != 0)
- goto <bb 11>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 11> [local count: 87689]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_22
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- goto <bb 12>; [50.00%]
- else
- goto <bb 16>; [50.00%]
- <bb 12> [local count: 43844]:
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyStateClear (0B, 0);
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
- if (_2 != 0B)
- goto <bb 13>; [82.57%]
- else
- goto <bb 15>; [17.43%]
- <bb 13> [local count: 36202]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
- <bb 14> [local count: 362023689]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 362023689]:
- goto <bb 14>; [100.00%]
- <bb 15> [local count: 7642]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _3 = xTaskGetCurrentTaskHandle ();
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
- <bb 16> [local count: 51486]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- goto <bb 17>; [33.00%]
- else
- goto <bb 19>; [67.00%]
- <bb 17> [local count: 16991]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
- # DEBUG BEGIN_STMT
- xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_30
- goto <bb 19>; [100.00%]
- <bb 18> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_19
- <bb 19> [local count: 139175]:
- # xBytesAvailable_7 = PHI <xBytesAvailable_30(17), xBytesAvailable_19(18), xBytesAvailable_22(16)>
- # DEBUG xBytesAvailable => xBytesAvailable_7
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
- goto <bb 20>; [33.00%]
- else
- goto <bb 24>; [67.00%]
- <bb 20> [local count: 45928]:
- # DEBUG BEGIN_STMT
- xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
- # DEBUG xReceivedLength => xReceivedLength_33
- # DEBUG BEGIN_STMT
- if (xReceivedLength_33 != 0)
- goto <bb 21>; [33.00%]
- else
- goto <bb 24>; [67.00%]
- <bb 21> [local count: 15156]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- if (_4 != 0B)
- goto <bb 22>; [53.47%]
- else
- goto <bb 23>; [46.53%]
- <bb 22> [local count: 8104]:
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- xTaskGenericNotify (_5, 0, 0, 0, 0B);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
- <bb 23> [local count: 15156]:
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- <bb 24> [local count: 139175]:
- # xReceivedLength_6 = PHI <0(19), xReceivedLength_33(23), xReceivedLength_33(20)>
- # DEBUG xReceivedLength => xReceivedLength_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReceivedLength_6;
- }
- prvWriteMessageToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, size_t xSpace, size_t xRequiredSpace)
- {
- size_t xHead;
- size_t xNextHead;
- unsigned char _1;
- unsigned int xDataLengthBytes.2_2;
- unsigned int _3;
- unsigned int xDataLengthBytes.3_4;
- unsigned int _5;
- size_t _19;
- unsigned char _22;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
- # DEBUG xNextHead => xNextHead_11
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_10(D)->ucFlags;
- _22 = _1 & 1;
- if (_22 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- if (xSpace_12(D) >= xRequiredSpace_14(D))
- goto <bb 4>; [33.00%]
- else
- goto <bb 5>; [67.00%]
- <bb 4> [local count: 177167401]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => pxStreamBuffer_10(D)
- # DEBUG pucData => &xDataLengthBytes
- # DEBUG xCount => 4
- # DEBUG xHead => xNextHead_11
- # DEBUG INLINE_ENTRY prvWriteBytesToBuffer
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
- # DEBUG xHead => xHead_20
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => NULL
- # DEBUG pucData => NULL
- # DEBUG xCount => NULL
- # DEBUG xHead => NULL
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG xNextHead => xHead_20
- goto <bb 7>; [100.00%]
- <bb 5> [local count: 359703511]:
- # DEBUG BEGIN_STMT
- xDataLengthBytes = 0;
- goto <bb 7>; [100.00%]
- <bb 6> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- xDataLengthBytes.2_2 = xDataLengthBytes;
- _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
- xDataLengthBytes = _3;
- <bb 7> [local count: 1073741824]:
- # xNextHead_6 = PHI <xNextHead_11(5), xNextHead_11(6), xHead_20(4)>
- # DEBUG xNextHead => xNextHead_6
- # DEBUG BEGIN_STMT
- xDataLengthBytes.3_4 = xDataLengthBytes;
- if (xDataLengthBytes.3_4 != 0)
- goto <bb 8>; [33.00%]
- else
- goto <bb 9>; [67.00%]
- <bb 8> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
- pxStreamBuffer_10(D)->xHead ={v} _5;
- <bb 9> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _19 = xDataLengthBytes;
- return _19;
- }
- xStreamBufferSendFromISR (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xRequiredSpace;
- size_t xSpace;
- size_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned int _3;
- struct tskTaskControlBlock * _4;
- struct tskTaskControlBlock * _5;
- unsigned char _10;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xRequiredSpace => xDataLengthBytes_11(D)
- # DEBUG BEGIN_STMT
- if (pvTxData_12(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_9(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- _10 = _1 & 1;
- if (_10 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 10>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
- # DEBUG xRequiredSpace => xRequiredSpace_14
- <bb 10> [local count: 175378]:
- # xRequiredSpace_6 = PHI <xDataLengthBytes_11(D)(8), xRequiredSpace_14(9)>
- # DEBUG xRequiredSpace => xRequiredSpace_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
- # DEBUG xSpace => xSpace_16
- # DEBUG BEGIN_STMT
- xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
- # DEBUG xReturn => xReturn_18
- # DEBUG BEGIN_STMT
- if (xReturn_18 != 0)
- goto <bb 11>; [33.00%]
- else
- goto <bb 15>; [67.00%]
- <bb 11> [local count: 57875]:
- # DEBUG BEGIN_STMT
- _2 = prvBytesInBuffer (xStreamBuffer_9(D));
- _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- if (_2 >= _3)
- goto <bb 12>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 12> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_26
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_25
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_25
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- if (_4 != 0B)
- goto <bb 13>; [53.47%]
- else
- goto <bb 14>; [46.53%]
- <bb 13> [local count: 15473]:
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
- <bb 14> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_25
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
- <bb 15> [local count: 175378]:
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_18;
- }
- xStreamBufferSend (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xMaxReportedSpace;
- struct TimeOut_t xTimeOut;
- size_t xRequiredSpace;
- size_t xSpace;
- size_t xReturn;
- unsigned int _1;
- unsigned char _2;
- unsigned int _3;
- long unsigned int xTicksToWait.0_4;
- struct tskTaskControlBlock * _5;
- struct tskTaskControlBlock * _6;
- long unsigned int xTicksToWait.1_7;
- long int _8;
- unsigned int _9;
- unsigned int _10;
- struct tskTaskControlBlock * _11;
- struct tskTaskControlBlock * _12;
- unsigned char _23;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_22(D)
- # DEBUG BEGIN_STMT
- # DEBUG xSpace => 0
- # DEBUG BEGIN_STMT
- # DEBUG xRequiredSpace => xDataLengthBytes_25(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xMaxReportedSpace => 0
- # DEBUG BEGIN_STMT
- if (pvTxData_27(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 31> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_22(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 32> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
- xMaxReportedSpace_29 = _1 + 4294967295;
- # DEBUG xMaxReportedSpace => xMaxReportedSpace_29
- # DEBUG BEGIN_STMT
- _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
- _23 = _2 & 1;
- if (_23 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
- # DEBUG xRequiredSpace => xRequiredSpace_30
- # DEBUG BEGIN_STMT
- if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
- goto <bb 10>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 10> [local count: 43844]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_56
- <bb 11> [local count: 438444579]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 33> [local count: 438444579]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 43844]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xMaxReportedSpace_29 < xRequiredSpace_30)
- goto <bb 13>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 13> [local count: 21922]:
- # DEBUG BEGIN_STMT
- xTicksToWait = 0;
- goto <bb 15>; [100.00%]
- <bb 14> [local count: 87689]:
- # DEBUG BEGIN_STMT
- _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
- <bb 15> [local count: 131533]:
- # xRequiredSpace_15 = PHI <xRequiredSpace_30(13), _3(14), xRequiredSpace_30(12)>
- # DEBUG xRequiredSpace => xRequiredSpace_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTicksToWait.0_4 = xTicksToWait;
- if (xTicksToWait.0_4 != 0)
- goto <bb 16>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 16> [local count: 65767]:
- # DEBUG BEGIN_STMT
- vTaskSetTimeOutState (&xTimeOut);
- <bb 17> [local count: 621434]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- # DEBUG xSpace => xSpace_35
- # DEBUG BEGIN_STMT
- if (xRequiredSpace_15 > xSpace_35)
- goto <bb 18>; [96.34%]
- else
- goto <bb 22>; [3.66%]
- <bb 18> [local count: 598690]:
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyStateClear (0B, 0);
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
- if (_5 != 0B)
- goto <bb 19>; [3.66%]
- else
- goto <bb 21>; [96.34%]
- <bb 19> [local count: 21912]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_57
- <bb 20> [local count: 219120732]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 34> [local count: 219120732]:
- goto <bb 20>; [100.00%]
- <bb 21> [local count: 576777]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _6 = xTaskGetCurrentTaskHandle ();
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTicksToWait.1_7 = xTicksToWait;
- xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
- # DEBUG BEGIN_STMT
- _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
- if (_8 == 0)
- goto <bb 35>; [96.34%]
- else
- goto <bb 23>; [3.66%]
- <bb 35> [local count: 555667]:
- goto <bb 17>; [100.00%]
- <bb 22> [local count: 22744]:
- # xSpace_24 = PHI <xSpace_35(17)>
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- <bb 23> [local count: 43855]:
- # xSpace_13 = PHI <xSpace_24(22), xSpace_35(21)>
- # DEBUG xSpace => xSpace_13
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xSpace_13 == 0)
- goto <bb 24>; [50.00%]
- else
- goto <bb 25>; [50.00%]
- <bb 24> [local count: 87694]:
- # DEBUG xSpace => NULL
- # DEBUG BEGIN_STMT
- xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- # DEBUG xSpace => xSpace_45
- <bb 25> [local count: 109621]:
- # xSpace_14 = PHI <xSpace_13(23), xSpace_45(24)>
- # DEBUG xSpace => xSpace_14
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
- # DEBUG xReturn => xReturn_47
- # DEBUG BEGIN_STMT
- if (xReturn_47 != 0)
- goto <bb 26>; [33.00%]
- else
- goto <bb 30>; [67.00%]
- <bb 26> [local count: 36175]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _9 = prvBytesInBuffer (xStreamBuffer_22(D));
- _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
- if (_9 >= _10)
- goto <bb 27>; [33.00%]
- else
- goto <bb 30>; [67.00%]
- <bb 27> [local count: 11938]:
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- if (_11 != 0B)
- goto <bb 28>; [53.47%]
- else
- goto <bb 29>; [46.53%]
- <bb 28> [local count: 6383]:
- # DEBUG BEGIN_STMT
- _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- xTaskGenericNotify (_12, 0, 0, 0, 0B);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
- <bb 29> [local count: 11938]:
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- <bb 30> [local count: 109621]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTimeOut ={v} {CLOBBER};
- return xReturn_47;
- }
- xStreamBufferBytesAvailable (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xReturn;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_1(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_1(D) == 0B)
- goto <bb 3>; [46.53%]
- else
- goto <bb 5>; [53.47%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
- # DEBUG xReturn => xReturn_4
- # DEBUG BEGIN_STMT
- return xReturn_4;
- }
- xStreamBufferSpacesAvailable (struct StreamBufferDef_t * xStreamBuffer)
- {
- size_t xOriginalTail;
- size_t xSpace;
- unsigned int _1;
- unsigned int _2;
- unsigned int _3;
- unsigned int _4;
- unsigned int _12;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_7(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_7(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG D#1 => xStreamBuffer_7(D)
- xStreamBufferSpacesAvailable.part.0 ();
- <bb 8> [local count: 250539]:
- <bb 4> [local count: 2277630]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- # DEBUG xOriginalTail => xOriginalTail_10
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
- _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- xSpace_11 = _1 + _2;
- # DEBUG xSpace => xSpace_11
- # DEBUG BEGIN_STMT
- _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
- xSpace_13 = xSpace_11 - _12;
- # DEBUG xSpace => xSpace_13
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- if (_3 != xOriginalTail_10)
- goto <bb 9>; [89.00%]
- else
- goto <bb 5>; [11.00%]
- <bb 9> [local count: 2027091]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # _4 = PHI <_1(4)>
- # xSpace_5 = PHI <xSpace_13(4)>
- # DEBUG BEGIN_STMT
- xSpace_14 = xSpace_5 + 4294967295;
- # DEBUG xSpace => xSpace_14
- # DEBUG BEGIN_STMT
- if (_4 <= xSpace_14)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- xSpace_15 = xSpace_14 - _4;
- # DEBUG xSpace => xSpace_15
- <bb 7> [local count: 250539]:
- # xSpace_6 = PHI <xSpace_14(5), xSpace_15(6)>
- # DEBUG xSpace => xSpace_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xSpace_6;
- }
- xStreamBufferSetTriggerLevel (struct StreamBufferDef_t * xStreamBuffer, size_t xTriggerLevel)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- unsigned int _1;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_4(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_4(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
- # DEBUG xTriggerLevel => xTriggerLevel_8
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
- if (_1 > xTriggerLevel_8)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_2 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- xStreamBufferReset (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- UBaseType_t uxStreamBufferNumber;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- uint8_t * _3;
- unsigned int _4;
- unsigned int _5;
- unsigned char _6;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_9(D) == 0B)
- goto <bb 3>; [46.53%]
- else
- goto <bb 5>; [53.47%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
- # DEBUG uxStreamBufferNumber => uxStreamBufferNumber_11
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- if (_1 == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 37017]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
- if (_2 == 0B)
- goto <bb 7>; [17.43%]
- else
- goto <bb 8>; [82.57%]
- <bb 7> [local count: 6452]:
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
- _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
- _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
- <bb 8> [local count: 123389]:
- # xReturn_7 = PHI <0(5), 0(6), 1(7)>
- # DEBUG xReturn => xReturn_7
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_7;
- }
- vStreamBufferDelete (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- unsigned char _1;
- unsigned char _4;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
- _4 = _1 & 2;
- if (_4 == 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- vPortFree (xStreamBuffer_3(D));
- goto <bb 8>; [100.00%]
- <bb 7> [local count: 125270]:
- # DEBUG BEGIN_STMT
- memset (xStreamBuffer_3(D), 0, 36);
- <bb 8> [local count: 250539]:
- return;
- }
- xStreamBufferGenericCreate (size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint8_t ucFlags;
- uint8_t * pucAllocatedMemory;
- unsigned int _1;
- uint8_t * _2;
- <bb 2> [local count: 325376]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xIsMessageBuffer_5(D) == 1)
- goto <bb 3>; [34.00%]
- else
- goto <bb 6>; [66.00%]
- <bb 3> [local count: 110628]:
- # DEBUG BEGIN_STMT
- # DEBUG ucFlags => 1
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) <= 4)
- goto <bb 4>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 4> [local count: 55314]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
- <bb 5> [local count: 553139728]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 553139728]:
- goto <bb 5>; [100.00%]
- <bb 6> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG ucFlags => 0
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) == 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 7> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
- <bb 8> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 18> [local count: 1073741824]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 162688]:
- # ucFlags_3 = PHI <1(3), 0(6)>
- # DEBUG ucFlags => ucFlags_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
- goto <bb 10>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 10> [local count: 81344]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_17
- <bb 11> [local count: 813440776]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 813440776]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 81344]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
- # DEBUG xTriggerLevelBytes => xTriggerLevelBytes_9
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) <= 4294967258)
- goto <bb 13>; [54.67%]
- else
- goto <bb 15>; [45.33%]
- <bb 13> [local count: 44471]:
- # DEBUG BEGIN_STMT
- xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
- # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
- # DEBUG BEGIN_STMT
- _1 = xBufferSizeBytes_6(D) + 37;
- pucAllocatedMemory_13 = pvPortMalloc (_1);
- # DEBUG pucAllocatedMemory => pucAllocatedMemory_13
- # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
- # DEBUG BEGIN_STMT
- if (pucAllocatedMemory_13 != 0B)
- goto <bb 14>; [53.47%]
- else
- goto <bb 15>; [46.53%]
- <bb 14> [local count: 23779]:
- # DEBUG BEGIN_STMT
- _2 = pucAllocatedMemory_13 + 36;
- prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
- # DEBUG BEGIN_STMT
- <bb 15> [local count: 81344]:
- # pucAllocatedMemory_10 = PHI <pucAllocatedMemory_13(13), pucAllocatedMemory_13(14), 0B(12)>
- # DEBUG pucAllocatedMemory => NULL
- # DEBUG xBufferSizeBytes => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return pucAllocatedMemory_10;
- }
|