stream_buffer.c.077i.pure-const 172 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846
  1. local analysis of xStreamBufferSpacesAvailable.part.0
  2. scanning: __asm__ __volatile__(" mov %0, %1
  3. msr basepri, %0
  4. isb
  5. dsb
  6. " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
  7. memory asm clobber is not const/pure
  8. volatile is not const/pure
  9. Function is locally looping.
  10. Function is locally pure.
  11. Function can locally free.
  12. local analysis of prvReadBytesFromBuffer.part.0
  13. scanning: _2 = pxStreamBuffer_1(D)->xLength;
  14. Indirect ref read is not const
  15. scanning: _4 = _2 - xTail_3(D);
  16. scanning: xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  17. scanning: if (xCount_5(D) < xFirstLength_6)
  18. scanning: __asm__ __volatile__(" mov %0, %1
  19. msr basepri, %0
  20. isb
  21. dsb
  22. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  23. memory asm clobber is not const/pure
  24. volatile is not const/pure
  25. scanning: _8 = xTail_3(D) + xFirstLength_6;
  26. scanning: if (_2 < _8)
  27. scanning: __asm__ __volatile__(" mov %0, %1
  28. msr basepri, %0
  29. isb
  30. dsb
  31. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  32. memory asm clobber is not const/pure
  33. volatile is not const/pure
  34. scanning: _10 = pxStreamBuffer_1(D)->pucBuffer;
  35. Indirect ref read is not const
  36. scanning: _11 = _10 + xTail_3(D);
  37. scanning: memcpy (pucData_12(D), _11, xFirstLength_6);
  38. scanning: if (xCount_5(D) > xFirstLength_6)
  39. scanning: _13 = pucData_12(D) + xFirstLength_6;
  40. scanning: _14 = pxStreamBuffer_1(D)->pucBuffer;
  41. Indirect ref read is not const
  42. scanning: _15 = xCount_5(D) - xFirstLength_6;
  43. scanning: memcpy (_13, _14, _15);
  44. scanning: xTail_16 = xTail_3(D) + xCount_5(D);
  45. scanning: _17 = pxStreamBuffer_1(D)->xLength;
  46. Indirect ref read is not const
  47. scanning: if (xTail_16 >= _17)
  48. scanning: xTail_18 = xTail_16 - _17;
  49. scanning: return xTail_19;
  50. Function is locally looping.
  51. Function can locally free.
  52. local analysis of prvWriteBytesToBuffer.part.0
  53. scanning: _2 = pxStreamBuffer_1(D)->xLength;
  54. Indirect ref read is not const
  55. scanning: _4 = _2 - xHead_3(D);
  56. scanning: xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  57. scanning: _7 = xHead_3(D) + xFirstLength_6;
  58. scanning: if (_2 < _7)
  59. scanning: __asm__ __volatile__(" mov %0, %1
  60. msr basepri, %0
  61. isb
  62. dsb
  63. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  64. memory asm clobber is not const/pure
  65. volatile is not const/pure
  66. scanning: _9 = pxStreamBuffer_1(D)->pucBuffer;
  67. Indirect ref read is not const
  68. scanning: _10 = _9 + xHead_3(D);
  69. scanning: memcpy (_10, pucData_11(D), xFirstLength_6);
  70. scanning: if (xCount_5(D) > xFirstLength_6)
  71. scanning: _12 = xCount_5(D) - xFirstLength_6;
  72. scanning: _13 = pxStreamBuffer_1(D)->xLength;
  73. Indirect ref read is not const
  74. scanning: if (_12 > _13)
  75. scanning: __asm__ __volatile__(" mov %0, %1
  76. msr basepri, %0
  77. isb
  78. dsb
  79. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  80. memory asm clobber is not const/pure
  81. volatile is not const/pure
  82. scanning: _15 = pxStreamBuffer_1(D)->pucBuffer;
  83. Indirect ref read is not const
  84. scanning: _16 = pucData_11(D) + xFirstLength_6;
  85. scanning: memcpy (_15, _16, _12);
  86. scanning: xHead_17 = xHead_3(D) + xCount_5(D);
  87. scanning: _18 = pxStreamBuffer_1(D)->xLength;
  88. Indirect ref read is not const
  89. scanning: if (xHead_17 >= _18)
  90. scanning: xHead_19 = xHead_17 - _18;
  91. scanning: return xHead_20;
  92. Function is locally looping.
  93. Function can locally free.
  94. local analysis of prvInitialiseNewStreamBuffer.part.0
  95. scanning: memset (pxStreamBuffer_1(D), 0, 36);
  96. scanning: pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
  97. Indirect ref write is not const/pure
  98. scanning: pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
  99. Indirect ref write is not const/pure
  100. scanning: pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
  101. Indirect ref write is not const/pure
  102. scanning: pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
  103. Indirect ref write is not const/pure
  104. scanning: return;
  105. local analysis of ucStreamBufferGetStreamBufferType
  106. scanning: _1 = xStreamBuffer_3(D)->ucFlags;
  107. Indirect ref read is not const
  108. scanning: _4 = _1 & 1;
  109. scanning: return _4;
  110. Function is locally pure.
  111. local analysis of vStreamBufferSetStreamBufferNumber
  112. scanning: xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
  113. Indirect ref write is not const/pure
  114. scanning: return;
  115. local analysis of uxStreamBufferGetStreamBufferNumber
  116. scanning: _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
  117. Indirect ref read is not const
  118. scanning: return _3;
  119. Function is locally pure.
  120. local analysis of prvInitialiseNewStreamBuffer
  121. scanning: _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
  122. scanning: if (_1 != pucBuffer_4(D))
  123. scanning: __asm__ __volatile__(" mov %0, %1
  124. msr basepri, %0
  125. isb
  126. dsb
  127. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  128. memory asm clobber is not const/pure
  129. volatile is not const/pure
  130. scanning: prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
  131. scanning: return;
  132. Function is locally looping.
  133. Function can locally free.
  134. local analysis of prvBytesInBuffer
  135. scanning: _1 = pxStreamBuffer_5(D)->xLength;
  136. Indirect ref read is not const
  137. scanning: _2 ={v} pxStreamBuffer_5(D)->xHead;
  138. Volatile stmt is not const/pure
  139. Indirect ref read is not const
  140. scanning: xCount_6 = _1 + _2;
  141. scanning: _7 ={v} pxStreamBuffer_5(D)->xTail;
  142. Volatile stmt is not const/pure
  143. Indirect ref read is not const
  144. scanning: xCount_8 = xCount_6 - _7;
  145. scanning: if (_1 <= xCount_8)
  146. scanning: xCount_9 = xCount_8 - _1;
  147. scanning: return xCount_3;
  148. local analysis of prvReadBytesFromBuffer
  149. scanning: if (xCount_3(D) == 0)
  150. scanning: __asm__ __volatile__(" mov %0, %1
  151. msr basepri, %0
  152. isb
  153. dsb
  154. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  155. memory asm clobber is not const/pure
  156. volatile is not const/pure
  157. scanning: xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
  158. scanning: return xTail_1;
  159. Function is locally looping.
  160. Function can locally free.
  161. local analysis of prvWriteBytesToBuffer
  162. scanning: if (xCount_3(D) == 0)
  163. scanning: __asm__ __volatile__(" mov %0, %1
  164. msr basepri, %0
  165. isb
  166. dsb
  167. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  168. memory asm clobber is not const/pure
  169. volatile is not const/pure
  170. scanning: xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
  171. scanning: return xHead_1;
  172. Function is locally looping.
  173. Function can locally free.
  174. local analysis of xStreamBufferReceiveCompletedFromISR
  175. scanning: if (xStreamBuffer_5(D) == 0B)
  176. scanning: __asm__ __volatile__(" mov %0, %1
  177. msr basepri, %0
  178. isb
  179. dsb
  180. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  181. memory asm clobber is not const/pure
  182. volatile is not const/pure
  183. scanning: __asm__ __volatile__(" mrs %0, basepri
  184. mov %1, %2
  185. msr basepri, %1
  186. isb
  187. dsb
  188. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  189. memory asm clobber is not const/pure
  190. volatile is not const/pure
  191. scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  192. Volatile stmt is not const/pure
  193. Indirect ref read is not const
  194. scanning: if (_1 != 0B)
  195. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  196. Volatile stmt is not const/pure
  197. Indirect ref read is not const
  198. scanning: xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  199. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
  200. Volatile stmt is not const/pure
  201. Indirect ref write is not const/pure
  202. scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  203. memory asm clobber is not const/pure
  204. volatile is not const/pure
  205. scanning: return xReturn_3;
  206. Function is locally looping.
  207. Function can locally free.
  208. local analysis of xStreamBufferSendCompletedFromISR
  209. scanning: if (xStreamBuffer_5(D) == 0B)
  210. scanning: __asm__ __volatile__(" mov %0, %1
  211. msr basepri, %0
  212. isb
  213. dsb
  214. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  215. memory asm clobber is not const/pure
  216. volatile is not const/pure
  217. scanning: __asm__ __volatile__(" mrs %0, basepri
  218. mov %1, %2
  219. msr basepri, %1
  220. isb
  221. dsb
  222. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  223. memory asm clobber is not const/pure
  224. volatile is not const/pure
  225. scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  226. Volatile stmt is not const/pure
  227. Indirect ref read is not const
  228. scanning: if (_1 != 0B)
  229. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  230. Volatile stmt is not const/pure
  231. Indirect ref read is not const
  232. scanning: xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  233. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
  234. Volatile stmt is not const/pure
  235. Indirect ref write is not const/pure
  236. scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  237. memory asm clobber is not const/pure
  238. volatile is not const/pure
  239. scanning: return xReturn_3;
  240. Function is locally looping.
  241. Function can locally free.
  242. local analysis of xStreamBufferIsFull
  243. scanning: if (xStreamBuffer_5(D) == 0B)
  244. scanning: __asm__ __volatile__(" mov %0, %1
  245. msr basepri, %0
  246. isb
  247. dsb
  248. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  249. memory asm clobber is not const/pure
  250. volatile is not const/pure
  251. scanning: _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  252. Indirect ref read is not const
  253. scanning: _6 = _1 & 1;
  254. scanning: if (_6 != 0)
  255. scanning: _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
  256. scanning: if (_2 <= xBytesToStoreMessageLength_4)
  257. scanning: return xReturn_3;
  258. Function is locally looping.
  259. Function can locally free.
  260. local analysis of xStreamBufferIsEmpty
  261. scanning: if (xStreamBuffer_3(D) == 0B)
  262. scanning: __asm__ __volatile__(" mov %0, %1
  263. msr basepri, %0
  264. isb
  265. dsb
  266. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  267. memory asm clobber is not const/pure
  268. volatile is not const/pure
  269. scanning: xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
  270. Volatile stmt is not const/pure
  271. Indirect ref read is not const
  272. scanning: _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
  273. Volatile stmt is not const/pure
  274. Indirect ref read is not const
  275. scanning: if (_1 == xTail_5)
  276. scanning: return xReturn_2;
  277. Function is locally looping.
  278. Function can locally free.
  279. local analysis of prvReadMessageFromBuffer
  280. scanning: xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
  281. Volatile stmt is not const/pure
  282. Indirect ref read is not const
  283. scanning: _1 = pxStreamBuffer_9(D)->ucFlags;
  284. Indirect ref read is not const
  285. scanning: _12 = _1 & 1;
  286. scanning: if (_12 != 0)
  287. scanning: xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
  288. scanning: xNextMessageLength_14 = xTempNextMessageLength;
  289. scanning: xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
  290. scanning: if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
  291. scanning: xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
  292. scanning: if (xCount_16 != 0)
  293. scanning: _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
  294. scanning: pxStreamBuffer_9(D)->xTail ={v} _2;
  295. Volatile stmt is not const/pure
  296. Indirect ref write is not const/pure
  297. scanning: return xCount_16;
  298. local analysis of xStreamBufferReceiveFromISR
  299. scanning: if (pvRxData_10(D) == 0B)
  300. scanning: __asm__ __volatile__(" mov %0, %1
  301. msr basepri, %0
  302. isb
  303. dsb
  304. " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
  305. memory asm clobber is not const/pure
  306. volatile is not const/pure
  307. scanning: if (xStreamBuffer_8(D) == 0B)
  308. scanning: __asm__ __volatile__(" mov %0, %1
  309. msr basepri, %0
  310. isb
  311. dsb
  312. " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
  313. memory asm clobber is not const/pure
  314. volatile is not const/pure
  315. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
  316. Indirect ref read is not const
  317. scanning: _9 = _1 & 1;
  318. scanning: if (_9 != 0)
  319. scanning: xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
  320. scanning: if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
  321. scanning: xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
  322. scanning: if (xReceivedLength_16 != 0)
  323. scanning: __asm__ __volatile__(" mrs %0, basepri
  324. mov %1, %2
  325. msr basepri, %1
  326. isb
  327. dsb
  328. " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  329. memory asm clobber is not const/pure
  330. volatile is not const/pure
  331. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  332. Volatile stmt is not const/pure
  333. Indirect ref read is not const
  334. scanning: if (_2 != 0B)
  335. scanning: _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  336. Volatile stmt is not const/pure
  337. Indirect ref read is not const
  338. scanning: xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
  339. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
  340. Volatile stmt is not const/pure
  341. Indirect ref write is not const/pure
  342. scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
  343. memory asm clobber is not const/pure
  344. volatile is not const/pure
  345. scanning: return xReceivedLength_4;
  346. Function is locally looping.
  347. Function can locally free.
  348. local analysis of xStreamBufferNextMessageLengthBytes
  349. scanning: if (xStreamBuffer_5(D) == 0B)
  350. scanning: __asm__ __volatile__(" mov %0, %1
  351. msr basepri, %0
  352. isb
  353. dsb
  354. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  355. memory asm clobber is not const/pure
  356. volatile is not const/pure
  357. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  358. Indirect ref read is not const
  359. scanning: _6 = _1 & 1;
  360. scanning: if (_6 != 0)
  361. scanning: xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
  362. scanning: if (xBytesAvailable_9 > 4)
  363. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
  364. Volatile stmt is not const/pure
  365. Indirect ref read is not const
  366. scanning: prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
  367. scanning: xReturn_11 = xTempReturn;
  368. scanning: if (xBytesAvailable_9 != 0)
  369. scanning: __asm__ __volatile__(" mov %0, %1
  370. msr basepri, %0
  371. isb
  372. dsb
  373. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  374. memory asm clobber is not const/pure
  375. volatile is not const/pure
  376. scanning: return xReturn_3;
  377. Function is locally looping.
  378. Function can locally free.
  379. local analysis of xStreamBufferReceive
  380. scanning: if (pvRxData_15(D) == 0B)
  381. scanning: __asm__ __volatile__(" mov %0, %1
  382. msr basepri, %0
  383. isb
  384. dsb
  385. " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
  386. memory asm clobber is not const/pure
  387. volatile is not const/pure
  388. scanning: if (xStreamBuffer_13(D) == 0B)
  389. scanning: __asm__ __volatile__(" mov %0, %1
  390. msr basepri, %0
  391. isb
  392. dsb
  393. " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
  394. memory asm clobber is not const/pure
  395. volatile is not const/pure
  396. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
  397. Indirect ref read is not const
  398. scanning: _14 = _1 & 1;
  399. scanning: if (_14 != 0)
  400. scanning: if (xTicksToWait_17(D) != 0)
  401. scanning: vPortEnterCritical ();
  402. scanning: xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
  403. scanning: if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  404. scanning: xTaskGenericNotifyStateClear (0B, 0);
  405. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
  406. Volatile stmt is not const/pure
  407. Indirect ref read is not const
  408. scanning: if (_2 != 0B)
  409. scanning: __asm__ __volatile__(" mov %0, %1
  410. msr basepri, %0
  411. isb
  412. dsb
  413. " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
  414. memory asm clobber is not const/pure
  415. volatile is not const/pure
  416. scanning: _3 = xTaskGetCurrentTaskHandle ();
  417. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
  418. Volatile stmt is not const/pure
  419. Indirect ref write is not const/pure
  420. scanning: vPortExitCritical ();
  421. scanning: if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  422. scanning: xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
  423. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
  424. Volatile stmt is not const/pure
  425. Indirect ref write is not const/pure
  426. scanning: xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
  427. scanning: xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
  428. scanning: if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
  429. scanning: xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
  430. scanning: if (xReceivedLength_33 != 0)
  431. scanning: vTaskSuspendAll ();
  432. scanning: _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  433. Volatile stmt is not const/pure
  434. Indirect ref read is not const
  435. scanning: if (_4 != 0B)
  436. scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  437. Volatile stmt is not const/pure
  438. Indirect ref read is not const
  439. scanning: xTaskGenericNotify (_5, 0, 0, 0, 0B);
  440. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
  441. Volatile stmt is not const/pure
  442. Indirect ref write is not const/pure
  443. scanning: xTaskResumeAll ();
  444. scanning: return xReceivedLength_6;
  445. Function is locally looping.
  446. Function can locally free.
  447. local analysis of prvWriteMessageToBuffer
  448. scanning: xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
  449. Volatile stmt is not const/pure
  450. Indirect ref read is not const
  451. scanning: _1 = pxStreamBuffer_10(D)->ucFlags;
  452. Indirect ref read is not const
  453. scanning: _22 = _1 & 1;
  454. scanning: if (_22 != 0)
  455. scanning: if (xSpace_12(D) >= xRequiredSpace_14(D))
  456. scanning: xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
  457. scanning: xDataLengthBytes = 0;
  458. scanning: xDataLengthBytes.2_2 = xDataLengthBytes;
  459. scanning: _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
  460. scanning: xDataLengthBytes = _3;
  461. scanning: xDataLengthBytes.3_4 = xDataLengthBytes;
  462. scanning: if (xDataLengthBytes.3_4 != 0)
  463. scanning: _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
  464. scanning: pxStreamBuffer_10(D)->xHead ={v} _5;
  465. Volatile stmt is not const/pure
  466. Indirect ref write is not const/pure
  467. scanning: _19 = xDataLengthBytes;
  468. scanning: return _19;
  469. local analysis of xStreamBufferSendFromISR
  470. scanning: if (pvTxData_12(D) == 0B)
  471. scanning: __asm__ __volatile__(" mov %0, %1
  472. msr basepri, %0
  473. isb
  474. dsb
  475. " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  476. memory asm clobber is not const/pure
  477. volatile is not const/pure
  478. scanning: if (xStreamBuffer_9(D) == 0B)
  479. scanning: __asm__ __volatile__(" mov %0, %1
  480. msr basepri, %0
  481. isb
  482. dsb
  483. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  484. memory asm clobber is not const/pure
  485. volatile is not const/pure
  486. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  487. Indirect ref read is not const
  488. scanning: _10 = _1 & 1;
  489. scanning: if (_10 != 0)
  490. scanning: xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
  491. scanning: xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
  492. scanning: xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
  493. scanning: if (xReturn_18 != 0)
  494. scanning: _2 = prvBytesInBuffer (xStreamBuffer_9(D));
  495. scanning: _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  496. Indirect ref read is not const
  497. scanning: if (_2 >= _3)
  498. scanning: __asm__ __volatile__(" mrs %0, basepri
  499. mov %1, %2
  500. msr basepri, %1
  501. isb
  502. dsb
  503. " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
  504. memory asm clobber is not const/pure
  505. volatile is not const/pure
  506. scanning: _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  507. Volatile stmt is not const/pure
  508. Indirect ref read is not const
  509. scanning: if (_4 != 0B)
  510. scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  511. Volatile stmt is not const/pure
  512. Indirect ref read is not const
  513. scanning: xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
  514. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
  515. Volatile stmt is not const/pure
  516. Indirect ref write is not const/pure
  517. scanning: __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
  518. memory asm clobber is not const/pure
  519. volatile is not const/pure
  520. scanning: return xReturn_18;
  521. Function is locally looping.
  522. Function can locally free.
  523. local analysis of xStreamBufferSend
  524. scanning: if (pvTxData_27(D) == 0B)
  525. scanning: __asm__ __volatile__(" mov %0, %1
  526. msr basepri, %0
  527. isb
  528. dsb
  529. " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
  530. memory asm clobber is not const/pure
  531. volatile is not const/pure
  532. scanning: if (xStreamBuffer_22(D) == 0B)
  533. scanning: __asm__ __volatile__(" mov %0, %1
  534. msr basepri, %0
  535. isb
  536. dsb
  537. " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
  538. memory asm clobber is not const/pure
  539. volatile is not const/pure
  540. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
  541. Indirect ref read is not const
  542. scanning: xMaxReportedSpace_29 = _1 + 4294967295;
  543. scanning: _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
  544. Indirect ref read is not const
  545. scanning: _23 = _2 & 1;
  546. scanning: if (_23 != 0)
  547. scanning: xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
  548. scanning: if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
  549. scanning: __asm__ __volatile__(" mov %0, %1
  550. msr basepri, %0
  551. isb
  552. dsb
  553. " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
  554. memory asm clobber is not const/pure
  555. volatile is not const/pure
  556. scanning: if (xMaxReportedSpace_29 < xRequiredSpace_30)
  557. scanning: xTicksToWait = 0;
  558. scanning: _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
  559. scanning: xTicksToWait.0_4 = xTicksToWait;
  560. scanning: if (xTicksToWait.0_4 != 0)
  561. scanning: vTaskSetTimeOutState (&xTimeOut);
  562. scanning: vPortEnterCritical ();
  563. scanning: xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  564. scanning: if (xRequiredSpace_15 > xSpace_35)
  565. scanning: xTaskGenericNotifyStateClear (0B, 0);
  566. scanning: _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
  567. Volatile stmt is not const/pure
  568. Indirect ref read is not const
  569. scanning: if (_5 != 0B)
  570. scanning: __asm__ __volatile__(" mov %0, %1
  571. msr basepri, %0
  572. isb
  573. dsb
  574. " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
  575. memory asm clobber is not const/pure
  576. volatile is not const/pure
  577. scanning: _6 = xTaskGetCurrentTaskHandle ();
  578. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
  579. Volatile stmt is not const/pure
  580. Indirect ref write is not const/pure
  581. scanning: vPortExitCritical ();
  582. scanning: xTicksToWait.1_7 = xTicksToWait;
  583. scanning: xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
  584. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
  585. Volatile stmt is not const/pure
  586. Indirect ref write is not const/pure
  587. scanning: _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
  588. scanning: if (_8 == 0)
  589. scanning: vPortExitCritical ();
  590. scanning: if (xSpace_13 == 0)
  591. scanning: xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  592. scanning: xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
  593. scanning: if (xReturn_47 != 0)
  594. scanning: _9 = prvBytesInBuffer (xStreamBuffer_22(D));
  595. scanning: _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
  596. Indirect ref read is not const
  597. scanning: if (_9 >= _10)
  598. scanning: vTaskSuspendAll ();
  599. scanning: _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  600. Volatile stmt is not const/pure
  601. Indirect ref read is not const
  602. scanning: if (_11 != 0B)
  603. scanning: _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  604. Volatile stmt is not const/pure
  605. Indirect ref read is not const
  606. scanning: xTaskGenericNotify (_12, 0, 0, 0, 0B);
  607. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
  608. Volatile stmt is not const/pure
  609. Indirect ref write is not const/pure
  610. scanning: xTaskResumeAll ();
  611. scanning: return xReturn_47;
  612. Function is locally looping.
  613. Function can locally free.
  614. local analysis of xStreamBufferBytesAvailable
  615. scanning: if (xStreamBuffer_1(D) == 0B)
  616. scanning: __asm__ __volatile__(" mov %0, %1
  617. msr basepri, %0
  618. isb
  619. dsb
  620. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  621. memory asm clobber is not const/pure
  622. volatile is not const/pure
  623. scanning: xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
  624. scanning: return xReturn_4;
  625. Function is locally looping.
  626. Function can locally free.
  627. local analysis of xStreamBufferSpacesAvailable
  628. scanning: if (xStreamBuffer_7(D) == 0B)
  629. scanning: xStreamBufferSpacesAvailable.part.0 ();
  630. scanning: xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  631. Volatile stmt is not const/pure
  632. Indirect ref read is not const
  633. scanning: _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
  634. Indirect ref read is not const
  635. scanning: _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  636. Volatile stmt is not const/pure
  637. Indirect ref read is not const
  638. scanning: xSpace_11 = _1 + _2;
  639. scanning: _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
  640. Volatile stmt is not const/pure
  641. Indirect ref read is not const
  642. scanning: xSpace_13 = xSpace_11 - _12;
  643. scanning: _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  644. Volatile stmt is not const/pure
  645. Indirect ref read is not const
  646. scanning: if (_3 != xOriginalTail_10)
  647. scanning: xSpace_14 = xSpace_5 + 4294967295;
  648. scanning: if (_4 <= xSpace_14)
  649. scanning: xSpace_15 = xSpace_14 - _4;
  650. scanning: return xSpace_6;
  651. local analysis of xStreamBufferSetTriggerLevel
  652. scanning: if (xStreamBuffer_4(D) == 0B)
  653. scanning: __asm__ __volatile__(" mov %0, %1
  654. msr basepri, %0
  655. isb
  656. dsb
  657. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  658. memory asm clobber is not const/pure
  659. volatile is not const/pure
  660. scanning: xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
  661. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
  662. Indirect ref read is not const
  663. scanning: if (_1 > xTriggerLevel_8)
  664. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
  665. Indirect ref write is not const/pure
  666. scanning: return xReturn_2;
  667. Function is locally looping.
  668. Function can locally free.
  669. local analysis of xStreamBufferReset
  670. scanning: if (xStreamBuffer_9(D) == 0B)
  671. scanning: __asm__ __volatile__(" mov %0, %1
  672. msr basepri, %0
  673. isb
  674. dsb
  675. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  676. memory asm clobber is not const/pure
  677. volatile is not const/pure
  678. scanning: uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
  679. Indirect ref read is not const
  680. scanning: vPortEnterCritical ();
  681. scanning: _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  682. Volatile stmt is not const/pure
  683. Indirect ref read is not const
  684. scanning: if (_1 == 0B)
  685. scanning: _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
  686. Volatile stmt is not const/pure
  687. Indirect ref read is not const
  688. scanning: if (_2 == 0B)
  689. scanning: _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
  690. Indirect ref read is not const
  691. scanning: _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
  692. Indirect ref read is not const
  693. scanning: _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  694. Indirect ref read is not const
  695. scanning: _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  696. Indirect ref read is not const
  697. scanning: prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
  698. scanning: MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
  699. Indirect ref write is not const/pure
  700. scanning: vPortExitCritical ();
  701. scanning: return xReturn_7;
  702. Function is locally looping.
  703. Function can locally free.
  704. local analysis of vStreamBufferDelete
  705. scanning: if (xStreamBuffer_3(D) == 0B)
  706. scanning: __asm__ __volatile__(" mov %0, %1
  707. msr basepri, %0
  708. isb
  709. dsb
  710. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  711. memory asm clobber is not const/pure
  712. volatile is not const/pure
  713. scanning: _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
  714. Indirect ref read is not const
  715. scanning: _4 = _1 & 2;
  716. scanning: if (_4 == 0)
  717. scanning: vPortFree (xStreamBuffer_3(D));
  718. scanning: memset (xStreamBuffer_3(D), 0, 36);
  719. scanning: return;
  720. Function is locally looping.
  721. Function can locally free.
  722. local analysis of xStreamBufferGenericCreate
  723. scanning: if (xIsMessageBuffer_5(D) == 1)
  724. scanning: if (xBufferSizeBytes_6(D) <= 4)
  725. scanning: __asm__ __volatile__(" mov %0, %1
  726. msr basepri, %0
  727. isb
  728. dsb
  729. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  730. memory asm clobber is not const/pure
  731. volatile is not const/pure
  732. scanning: if (xBufferSizeBytes_6(D) == 0)
  733. scanning: __asm__ __volatile__(" mov %0, %1
  734. msr basepri, %0
  735. isb
  736. dsb
  737. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  738. memory asm clobber is not const/pure
  739. volatile is not const/pure
  740. scanning: if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
  741. scanning: __asm__ __volatile__(" mov %0, %1
  742. msr basepri, %0
  743. isb
  744. dsb
  745. " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
  746. memory asm clobber is not const/pure
  747. volatile is not const/pure
  748. scanning: xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
  749. scanning: if (xBufferSizeBytes_6(D) <= 4294967258)
  750. scanning: xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
  751. scanning: _1 = xBufferSizeBytes_6(D) + 37;
  752. scanning: pucAllocatedMemory_13 = pvPortMalloc (_1);
  753. scanning: if (pucAllocatedMemory_13 != 0B)
  754. scanning: _2 = pucAllocatedMemory_13 + 36;
  755. scanning: prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
  756. scanning: return pucAllocatedMemory_10;
  757. Function is locally looping.
  758. Function can locally free.
  759. callgraph:
  760. prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
  761. Type: function definition analyzed
  762. Visibility:
  763. next sharing asm name: 22
  764. Aux: @05f09fd8
  765. References:
  766. Referring:
  767. Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
  768. Clone of prvReadBytesFromBuffer/22
  769. Availability: local
  770. Function flags: count:27284 (estimated locally) body local optimize_size
  771. Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
  772. Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
  773. xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
  774. Type: function definition analyzed
  775. Visibility: prevailing_def_ironly artificial
  776. Aux: @05f0a0b8
  777. References:
  778. Referring:
  779. Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
  780. Availability: local
  781. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  782. Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
  783. Calls:
  784. prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
  785. Type: function definition analyzed
  786. Visibility: prevailing_def_ironly artificial
  787. Aux: @05f0a2f8
  788. References:
  789. Referring:
  790. Availability: local
  791. Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
  792. 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)
  793. Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
  794. prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
  795. Type: function definition analyzed
  796. Visibility: prevailing_def_ironly artificial
  797. Aux: @05f09ff8
  798. References:
  799. Referring:
  800. Availability: local
  801. Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
  802. Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
  803. Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
  804. prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
  805. Type: function definition analyzed
  806. Visibility: prevailing_def_ironly artificial
  807. Aux: @05f0a0d8
  808. References:
  809. Referring:
  810. Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
  811. Availability: local
  812. Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
  813. Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
  814. Calls: memset/29 (22666 (estimated locally),0.17 per call)
  815. xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f910e0
  816. Type: function
  817. Visibility: external public
  818. References:
  819. Referring:
  820. Availability: not_available
  821. Function flags: optimize_size
  822. 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)
  823. Calls:
  824. memcpy/41 (memcpy) @05f7eee0
  825. Type: function
  826. Visibility: external public
  827. References:
  828. Referring:
  829. Availability: not_available
  830. Function flags: optimize_size
  831. 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)
  832. Calls:
  833. xTaskResumeAll/40 (xTaskResumeAll) @05f7ec40
  834. Type: function
  835. Visibility: external public
  836. References:
  837. Referring:
  838. Availability: not_available
  839. Function flags: optimize_size
  840. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  841. Calls:
  842. xTaskGenericNotify/39 (xTaskGenericNotify) @05f7eb60
  843. Type: function
  844. Visibility: external public
  845. References:
  846. Referring:
  847. Availability: not_available
  848. Function flags: optimize_size
  849. Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
  850. Calls:
  851. vTaskSuspendAll/38 (vTaskSuspendAll) @05f7ea80
  852. Type: function
  853. Visibility: external public
  854. References:
  855. Referring:
  856. Availability: not_available
  857. Function flags: optimize_size
  858. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  859. Calls:
  860. xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f7e9a0
  861. Type: function
  862. Visibility: external public
  863. References:
  864. Referring:
  865. Availability: not_available
  866. Function flags: optimize_size
  867. Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  868. Calls:
  869. xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f7e8c0
  870. Type: function
  871. Visibility: external public
  872. References:
  873. Referring:
  874. Availability: not_available
  875. Function flags: optimize_size
  876. Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  877. Calls:
  878. xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f7e7e0
  879. Type: function
  880. Visibility: external public
  881. References:
  882. Referring:
  883. Availability: not_available
  884. Function flags: optimize_size
  885. Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  886. Calls:
  887. xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f7e700
  888. Type: function
  889. Visibility: external public
  890. References:
  891. Referring:
  892. Availability: not_available
  893. Function flags: optimize_size
  894. Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
  895. Calls:
  896. vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f7e620
  897. Type: function
  898. Visibility: external public
  899. References:
  900. Referring:
  901. Availability: not_available
  902. Function flags: optimize_size
  903. Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
  904. Calls:
  905. vPortExitCritical/32 (vPortExitCritical) @05f582a0
  906. Type: function
  907. Visibility: external public
  908. References:
  909. Referring:
  910. Availability: not_available
  911. Function flags: optimize_size
  912. 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)
  913. Calls:
  914. vPortEnterCritical/31 (vPortEnterCritical) @05f58000
  915. Type: function
  916. Visibility: external public
  917. References:
  918. Referring:
  919. Availability: not_available
  920. Function flags: optimize_size
  921. 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)
  922. Calls:
  923. vPortFree/30 (vPortFree) @05f58e00
  924. Type: function
  925. Visibility: external public
  926. References:
  927. Referring:
  928. Availability: not_available
  929. Function flags: optimize_size
  930. Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
  931. Calls:
  932. memset/29 (memset) @05f58c40
  933. Type: function
  934. Visibility: external public
  935. References:
  936. Referring:
  937. Availability: not_available
  938. Function flags: optimize_size
  939. 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)
  940. Calls:
  941. pvPortMalloc/28 (pvPortMalloc) @05f589a0
  942. Type: function
  943. Visibility: external public
  944. References:
  945. Referring:
  946. Availability: not_available
  947. Function flags: optimize_size
  948. Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
  949. Calls:
  950. ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
  951. Type: function definition analyzed
  952. Visibility: externally_visible public
  953. Aux: @05f0a0f8
  954. References:
  955. Referring:
  956. Availability: available
  957. Function flags: count:1073741824 (estimated locally) body optimize_size
  958. Called by:
  959. Calls:
  960. vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
  961. Type: function definition analyzed
  962. Visibility: externally_visible public
  963. Aux: @05f0a238
  964. References:
  965. Referring:
  966. Availability: available
  967. Function flags: count:1073741824 (estimated locally) body optimize_size
  968. Called by:
  969. Calls:
  970. uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
  971. Type: function definition analyzed
  972. Visibility: externally_visible public
  973. Aux: @05f09f58
  974. References:
  975. Referring:
  976. Availability: available
  977. Function flags: count:1073741824 (estimated locally) body optimize_size
  978. Called by:
  979. Calls:
  980. prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
  981. Type: function definition analyzed
  982. Visibility: prevailing_def_ironly
  983. Aux: @05f0a018
  984. References:
  985. Referring:
  986. Availability: local
  987. Function flags: count:130040 (estimated locally) body local optimize_size
  988. Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
  989. Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
  990. prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
  991. Type: function definition analyzed
  992. Visibility: prevailing_def_ironly
  993. Aux: @05f0a118
  994. References:
  995. Referring:
  996. Availability: local
  997. Function flags: count:1073741824 (estimated locally) body local optimize_size
  998. 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)
  999. Calls:
  1000. prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
  1001. Type: function definition analyzed
  1002. Visibility: prevailing_def_ironly
  1003. previous sharing asm name: 86
  1004. Aux: @05f0a138
  1005. References:
  1006. Referring:
  1007. Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
  1008. Availability: local
  1009. Function flags: count:354334802 (estimated locally) body local optimize_size
  1010. Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
  1011. Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
  1012. prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
  1013. Type: function definition analyzed
  1014. Visibility: prevailing_def_ironly
  1015. Aux: @05f0a258
  1016. References:
  1017. Referring:
  1018. Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
  1019. Availability: local
  1020. Function flags: count:354334802 (estimated locally) body local optimize_size
  1021. Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
  1022. Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1023. xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
  1024. Type: function definition analyzed
  1025. Visibility: externally_visible public
  1026. Aux: @05f0a298
  1027. References:
  1028. Referring:
  1029. Availability: available
  1030. Function flags: count:357913 (estimated locally) body optimize_size
  1031. Called by:
  1032. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1033. xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
  1034. Type: function definition analyzed
  1035. Visibility: externally_visible public
  1036. Aux: @05f0a058
  1037. References:
  1038. Referring:
  1039. Availability: available
  1040. Function flags: count:357913 (estimated locally) body optimize_size
  1041. Called by:
  1042. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1043. xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
  1044. Type: function definition analyzed
  1045. Visibility: externally_visible public
  1046. Aux: @05f0a158
  1047. References:
  1048. Referring:
  1049. Availability: available
  1050. Function flags: count:357913 (estimated locally) body optimize_size
  1051. Called by:
  1052. Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
  1053. xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
  1054. Type: function definition analyzed
  1055. Visibility: externally_visible public
  1056. Aux: @05f0a1f8
  1057. References:
  1058. Referring:
  1059. Availability: available
  1060. Function flags: count:357913 (estimated locally) body optimize_size
  1061. Called by:
  1062. Calls:
  1063. prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
  1064. Type: function definition analyzed
  1065. Visibility: prevailing_def_ironly
  1066. Aux: @05f09f78
  1067. References:
  1068. Referring:
  1069. Availability: local
  1070. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1071. Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
  1072. Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
  1073. xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
  1074. Type: function definition analyzed
  1075. Visibility: externally_visible public
  1076. Aux: @05f09f98
  1077. References:
  1078. Referring:
  1079. Availability: available
  1080. Function flags: count:357913 (estimated locally) body optimize_size
  1081. Called by:
  1082. 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)
  1083. xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
  1084. Type: function definition analyzed
  1085. Visibility: externally_visible public
  1086. Aux: @05f0a178
  1087. References:
  1088. Referring:
  1089. Availability: available
  1090. Function flags: count:357913 (estimated locally) body optimize_size
  1091. Called by:
  1092. Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
  1093. xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
  1094. Type: function definition analyzed
  1095. Visibility: externally_visible public
  1096. Aux: @05f09fb8
  1097. References:
  1098. Referring:
  1099. Availability: available
  1100. Function flags: count:357913 (estimated locally) body optimize_size
  1101. Called by:
  1102. 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)
  1103. prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
  1104. Type: function definition analyzed
  1105. Visibility: prevailing_def_ironly
  1106. Aux: @05f0a1b8
  1107. References:
  1108. Referring:
  1109. Availability: local
  1110. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1111. Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
  1112. Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1113. xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
  1114. Type: function definition analyzed
  1115. Visibility: externally_visible public
  1116. Aux: @05f0a198
  1117. References:
  1118. Referring:
  1119. Availability: available
  1120. Function flags: count:357913 (estimated locally) body optimize_size
  1121. Called by:
  1122. 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)
  1123. xStreamBufferSend/10 (xStreamBufferSend) @05f01540
  1124. Type: function definition analyzed
  1125. Visibility: externally_visible public
  1126. Aux: @05f0a1d8
  1127. References:
  1128. Referring:
  1129. Availability: available
  1130. Function flags: count:357913 (estimated locally) body optimize_size
  1131. Called by:
  1132. 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)
  1133. xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
  1134. Type: function definition analyzed
  1135. Visibility: externally_visible public
  1136. Aux: @05f0a218
  1137. References:
  1138. Referring:
  1139. Availability: available
  1140. Function flags: count:230763 (estimated locally) body optimize_size
  1141. Called by:
  1142. Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
  1143. xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
  1144. Type: function definition analyzed
  1145. Visibility: externally_visible public
  1146. Aux: @05f0a2b8
  1147. References:
  1148. Referring:
  1149. Availability: available
  1150. Function flags: count:357913 (estimated locally) body optimize_size
  1151. 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)
  1152. Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
  1153. xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
  1154. Type: function definition analyzed
  1155. Visibility: externally_visible public
  1156. Aux: @05f0a2d8
  1157. References:
  1158. Referring:
  1159. Availability: available
  1160. Function flags: count:357913 (estimated locally) body optimize_size
  1161. Called by:
  1162. Calls:
  1163. xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
  1164. Type: function definition analyzed
  1165. Visibility: externally_visible public
  1166. Aux: @05f0a038
  1167. References:
  1168. Referring:
  1169. Availability: available
  1170. Function flags: count:230763 (estimated locally) body optimize_size
  1171. Called by:
  1172. 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)
  1173. vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
  1174. Type: function definition analyzed
  1175. Visibility: externally_visible public
  1176. Aux: @05f09e98
  1177. References:
  1178. Referring:
  1179. Availability: available
  1180. Function flags: count:357913 (estimated locally) body optimize_size
  1181. Called by:
  1182. Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
  1183. xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
  1184. Type: function definition analyzed
  1185. Visibility: externally_visible public
  1186. Aux: @05f09d38
  1187. References:
  1188. Referring:
  1189. Availability: available
  1190. Function flags: count:325376 (estimated locally) body optimize_size
  1191. Called by:
  1192. Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
  1193. ordered call graph: reduced for nothrow
  1194. prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
  1195. Type: function definition analyzed
  1196. Visibility:
  1197. next sharing asm name: 22
  1198. Aux: @05f09fd8
  1199. References:
  1200. Referring:
  1201. Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
  1202. Clone of prvReadBytesFromBuffer/22
  1203. Availability: local
  1204. Function flags: count:27284 (estimated locally) body local optimize_size
  1205. Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
  1206. Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
  1207. xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
  1208. Type: function definition analyzed
  1209. Visibility: prevailing_def_ironly artificial
  1210. Aux: @05f0a0b8
  1211. References:
  1212. Referring:
  1213. Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
  1214. Availability: local
  1215. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  1216. Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
  1217. Calls:
  1218. prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
  1219. Type: function definition analyzed
  1220. Visibility: prevailing_def_ironly artificial
  1221. Aux: @05f0a2f8
  1222. References:
  1223. Referring:
  1224. Availability: local
  1225. Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
  1226. 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)
  1227. Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
  1228. prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
  1229. Type: function definition analyzed
  1230. Visibility: prevailing_def_ironly artificial
  1231. Aux: @05f09ff8
  1232. References:
  1233. Referring:
  1234. Availability: local
  1235. Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
  1236. Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
  1237. Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
  1238. prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
  1239. Type: function definition analyzed
  1240. Visibility: prevailing_def_ironly artificial
  1241. Aux: @05f0a0d8
  1242. References:
  1243. Referring:
  1244. Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
  1245. Availability: local
  1246. Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
  1247. Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
  1248. Calls: memset/29 (22666 (estimated locally),0.17 per call)
  1249. ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
  1250. Type: function definition analyzed
  1251. Visibility: externally_visible public
  1252. Aux: @05f0a0f8
  1253. References:
  1254. Referring:
  1255. Availability: available
  1256. Function flags: count:1073741824 (estimated locally) body optimize_size
  1257. Called by:
  1258. Calls:
  1259. vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
  1260. Type: function definition analyzed
  1261. Visibility: externally_visible public
  1262. Aux: @05f0a238
  1263. References:
  1264. Referring:
  1265. Availability: available
  1266. Function flags: count:1073741824 (estimated locally) body optimize_size
  1267. Called by:
  1268. Calls:
  1269. uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
  1270. Type: function definition analyzed
  1271. Visibility: externally_visible public
  1272. Aux: @05f09f58
  1273. References:
  1274. Referring:
  1275. Availability: available
  1276. Function flags: count:1073741824 (estimated locally) body optimize_size
  1277. Called by:
  1278. Calls:
  1279. prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
  1280. Type: function definition analyzed
  1281. Visibility: prevailing_def_ironly
  1282. Aux: @05f0a018
  1283. References:
  1284. Referring:
  1285. Availability: local
  1286. Function flags: count:130040 (estimated locally) body local optimize_size
  1287. Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
  1288. Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
  1289. prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
  1290. Type: function definition analyzed
  1291. Visibility: prevailing_def_ironly
  1292. Aux: @05f0a118
  1293. References:
  1294. Referring:
  1295. Availability: local
  1296. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1297. 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)
  1298. Calls:
  1299. prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
  1300. Type: function definition analyzed
  1301. Visibility: prevailing_def_ironly
  1302. previous sharing asm name: 86
  1303. Aux: @05f0a138
  1304. References:
  1305. Referring:
  1306. Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
  1307. Availability: local
  1308. Function flags: count:354334802 (estimated locally) body local optimize_size
  1309. Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
  1310. Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
  1311. prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
  1312. Type: function definition analyzed
  1313. Visibility: prevailing_def_ironly
  1314. Aux: @05f0a258
  1315. References:
  1316. Referring:
  1317. Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
  1318. Availability: local
  1319. Function flags: count:354334802 (estimated locally) body local optimize_size
  1320. Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
  1321. Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1322. xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
  1323. Type: function definition analyzed
  1324. Visibility: externally_visible public
  1325. Aux: @05f0a298
  1326. References:
  1327. Referring:
  1328. Availability: available
  1329. Function flags: count:357913 (estimated locally) body optimize_size
  1330. Called by:
  1331. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1332. xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
  1333. Type: function definition analyzed
  1334. Visibility: externally_visible public
  1335. Aux: @05f0a058
  1336. References:
  1337. Referring:
  1338. Availability: available
  1339. Function flags: count:357913 (estimated locally) body optimize_size
  1340. Called by:
  1341. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1342. xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
  1343. Type: function definition analyzed
  1344. Visibility: externally_visible public
  1345. Aux: @05f0a158
  1346. References:
  1347. Referring:
  1348. Availability: available
  1349. Function flags: count:357913 (estimated locally) body optimize_size
  1350. Called by:
  1351. Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
  1352. xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
  1353. Type: function definition analyzed
  1354. Visibility: externally_visible public
  1355. Aux: @05f0a1f8
  1356. References:
  1357. Referring:
  1358. Availability: available
  1359. Function flags: count:357913 (estimated locally) body optimize_size
  1360. Called by:
  1361. Calls:
  1362. prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
  1363. Type: function definition analyzed
  1364. Visibility: prevailing_def_ironly
  1365. Aux: @05f09f78
  1366. References:
  1367. Referring:
  1368. Availability: local
  1369. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1370. Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
  1371. Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
  1372. xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
  1373. Type: function definition analyzed
  1374. Visibility: externally_visible public
  1375. Aux: @05f09f98
  1376. References:
  1377. Referring:
  1378. Availability: available
  1379. Function flags: count:357913 (estimated locally) body optimize_size
  1380. Called by:
  1381. 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)
  1382. xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
  1383. Type: function definition analyzed
  1384. Visibility: externally_visible public
  1385. Aux: @05f0a178
  1386. References:
  1387. Referring:
  1388. Availability: available
  1389. Function flags: count:357913 (estimated locally) body optimize_size
  1390. Called by:
  1391. Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
  1392. xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
  1393. Type: function definition analyzed
  1394. Visibility: externally_visible public
  1395. Aux: @05f09fb8
  1396. References:
  1397. Referring:
  1398. Availability: available
  1399. Function flags: count:357913 (estimated locally) body optimize_size
  1400. Called by:
  1401. 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)
  1402. prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
  1403. Type: function definition analyzed
  1404. Visibility: prevailing_def_ironly
  1405. Aux: @05f0a1b8
  1406. References:
  1407. Referring:
  1408. Availability: local
  1409. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1410. Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
  1411. Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1412. xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
  1413. Type: function definition analyzed
  1414. Visibility: externally_visible public
  1415. Aux: @05f0a198
  1416. References:
  1417. Referring:
  1418. Availability: available
  1419. Function flags: count:357913 (estimated locally) body optimize_size
  1420. Called by:
  1421. 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)
  1422. xStreamBufferSend/10 (xStreamBufferSend) @05f01540
  1423. Type: function definition analyzed
  1424. Visibility: externally_visible public
  1425. Aux: @05f0a1d8
  1426. References:
  1427. Referring:
  1428. Availability: available
  1429. Function flags: count:357913 (estimated locally) body optimize_size
  1430. Called by:
  1431. 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)
  1432. xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
  1433. Type: function definition analyzed
  1434. Visibility: externally_visible public
  1435. Aux: @05f0a218
  1436. References:
  1437. Referring:
  1438. Availability: available
  1439. Function flags: count:230763 (estimated locally) body optimize_size
  1440. Called by:
  1441. Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
  1442. xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
  1443. Type: function definition analyzed
  1444. Visibility: externally_visible public
  1445. Aux: @05f0a2b8
  1446. References:
  1447. Referring:
  1448. Availability: available
  1449. Function flags: count:357913 (estimated locally) body optimize_size
  1450. 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)
  1451. Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
  1452. xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
  1453. Type: function definition analyzed
  1454. Visibility: externally_visible public
  1455. Aux: @05f0a2d8
  1456. References:
  1457. Referring:
  1458. Availability: available
  1459. Function flags: count:357913 (estimated locally) body optimize_size
  1460. Called by:
  1461. Calls:
  1462. xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
  1463. Type: function definition analyzed
  1464. Visibility: externally_visible public
  1465. Aux: @05f0a038
  1466. References:
  1467. Referring:
  1468. Availability: available
  1469. Function flags: count:230763 (estimated locally) body optimize_size
  1470. Called by:
  1471. 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)
  1472. vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
  1473. Type: function definition analyzed
  1474. Visibility: externally_visible public
  1475. Aux: @05f09e98
  1476. References:
  1477. Referring:
  1478. Availability: available
  1479. Function flags: count:357913 (estimated locally) body optimize_size
  1480. Called by:
  1481. Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
  1482. xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
  1483. Type: function definition analyzed
  1484. Visibility: externally_visible public
  1485. Aux: @05f09d38
  1486. References:
  1487. Referring:
  1488. Availability: available
  1489. Function flags: count:325376 (estimated locally) body optimize_size
  1490. Called by:
  1491. Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
  1492. MALLOC LATTICE Initial:
  1493. prvReadBytesFromBuffer: malloc_bottom
  1494. xStreamBufferSpacesAvailable.part.0: malloc_bottom
  1495. prvReadBytesFromBuffer.part.0: malloc_bottom
  1496. prvWriteBytesToBuffer.part.0: malloc_bottom
  1497. prvInitialiseNewStreamBuffer.part.0: malloc_bottom
  1498. ucStreamBufferGetStreamBufferType: malloc_bottom
  1499. vStreamBufferSetStreamBufferNumber: malloc_bottom
  1500. uxStreamBufferGetStreamBufferNumber: malloc_bottom
  1501. prvInitialiseNewStreamBuffer: malloc_bottom
  1502. prvBytesInBuffer: malloc_bottom
  1503. prvReadBytesFromBuffer: malloc_bottom
  1504. prvWriteBytesToBuffer: malloc_bottom
  1505. xStreamBufferReceiveCompletedFromISR: malloc_bottom
  1506. xStreamBufferSendCompletedFromISR: malloc_bottom
  1507. xStreamBufferIsFull: malloc_bottom
  1508. xStreamBufferIsEmpty: malloc_bottom
  1509. prvReadMessageFromBuffer: malloc_bottom
  1510. xStreamBufferReceiveFromISR: malloc_bottom
  1511. xStreamBufferNextMessageLengthBytes: malloc_bottom
  1512. xStreamBufferReceive: malloc_bottom
  1513. prvWriteMessageToBuffer: malloc_bottom
  1514. xStreamBufferSendFromISR: malloc_bottom
  1515. xStreamBufferSend: malloc_bottom
  1516. xStreamBufferBytesAvailable: malloc_bottom
  1517. xStreamBufferSpacesAvailable: malloc_bottom
  1518. xStreamBufferSetTriggerLevel: malloc_bottom
  1519. xStreamBufferReset: malloc_bottom
  1520. vStreamBufferDelete: malloc_bottom
  1521. xStreamBufferGenericCreate: malloc_bottom
  1522. MALLOC LATTICE after propagation:
  1523. prvReadBytesFromBuffer: malloc_bottom
  1524. xStreamBufferSpacesAvailable.part.0: malloc_bottom
  1525. prvReadBytesFromBuffer.part.0: malloc_bottom
  1526. prvWriteBytesToBuffer.part.0: malloc_bottom
  1527. prvInitialiseNewStreamBuffer.part.0: malloc_bottom
  1528. ucStreamBufferGetStreamBufferType: malloc_bottom
  1529. vStreamBufferSetStreamBufferNumber: malloc_bottom
  1530. uxStreamBufferGetStreamBufferNumber: malloc_bottom
  1531. prvInitialiseNewStreamBuffer: malloc_bottom
  1532. prvBytesInBuffer: malloc_bottom
  1533. prvReadBytesFromBuffer: malloc_bottom
  1534. prvWriteBytesToBuffer: malloc_bottom
  1535. xStreamBufferReceiveCompletedFromISR: malloc_bottom
  1536. xStreamBufferSendCompletedFromISR: malloc_bottom
  1537. xStreamBufferIsFull: malloc_bottom
  1538. xStreamBufferIsEmpty: malloc_bottom
  1539. prvReadMessageFromBuffer: malloc_bottom
  1540. xStreamBufferReceiveFromISR: malloc_bottom
  1541. xStreamBufferNextMessageLengthBytes: malloc_bottom
  1542. xStreamBufferReceive: malloc_bottom
  1543. prvWriteMessageToBuffer: malloc_bottom
  1544. xStreamBufferSendFromISR: malloc_bottom
  1545. xStreamBufferSend: malloc_bottom
  1546. xStreamBufferBytesAvailable: malloc_bottom
  1547. xStreamBufferSpacesAvailable: malloc_bottom
  1548. xStreamBufferSetTriggerLevel: malloc_bottom
  1549. xStreamBufferReset: malloc_bottom
  1550. vStreamBufferDelete: malloc_bottom
  1551. xStreamBufferGenericCreate: malloc_bottom
  1552. callgraph:
  1553. prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
  1554. Type: function definition analyzed
  1555. Visibility:
  1556. next sharing asm name: 22
  1557. Aux: @05f09ef8
  1558. References:
  1559. Referring:
  1560. Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
  1561. Clone of prvReadBytesFromBuffer/22
  1562. Availability: local
  1563. Function flags: count:27284 (estimated locally) body local optimize_size
  1564. Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
  1565. Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
  1566. xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
  1567. Type: function definition analyzed
  1568. Visibility: prevailing_def_ironly artificial
  1569. Aux: @05f09d98
  1570. References:
  1571. Referring:
  1572. Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
  1573. Availability: local
  1574. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  1575. Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
  1576. Calls:
  1577. prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
  1578. Type: function definition analyzed
  1579. Visibility: prevailing_def_ironly artificial
  1580. Aux: @05f09f18
  1581. References:
  1582. Referring:
  1583. Availability: local
  1584. Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
  1585. 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)
  1586. Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
  1587. prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
  1588. Type: function definition analyzed
  1589. Visibility: prevailing_def_ironly artificial
  1590. Aux: @05f09c78
  1591. References:
  1592. Referring:
  1593. Availability: local
  1594. Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
  1595. Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
  1596. Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
  1597. prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
  1598. Type: function definition analyzed
  1599. Visibility: prevailing_def_ironly artificial
  1600. Aux: @05f09db8
  1601. References:
  1602. Referring:
  1603. Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
  1604. Availability: local
  1605. Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
  1606. Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
  1607. Calls: memset/29 (22666 (estimated locally),0.17 per call)
  1608. xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f910e0
  1609. Type: function
  1610. Visibility: external public
  1611. References:
  1612. Referring:
  1613. Availability: not_available
  1614. Function flags: optimize_size
  1615. 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)
  1616. Calls:
  1617. memcpy/41 (memcpy) @05f7eee0
  1618. Type: function
  1619. Visibility: external public
  1620. References:
  1621. Referring:
  1622. Availability: not_available
  1623. Function flags: optimize_size
  1624. 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)
  1625. Calls:
  1626. xTaskResumeAll/40 (xTaskResumeAll) @05f7ec40
  1627. Type: function
  1628. Visibility: external public
  1629. References:
  1630. Referring:
  1631. Availability: not_available
  1632. Function flags: optimize_size
  1633. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  1634. Calls:
  1635. xTaskGenericNotify/39 (xTaskGenericNotify) @05f7eb60
  1636. Type: function
  1637. Visibility: external public
  1638. References:
  1639. Referring:
  1640. Availability: not_available
  1641. Function flags: optimize_size
  1642. Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
  1643. Calls:
  1644. vTaskSuspendAll/38 (vTaskSuspendAll) @05f7ea80
  1645. Type: function
  1646. Visibility: external public
  1647. References:
  1648. Referring:
  1649. Availability: not_available
  1650. Function flags: optimize_size
  1651. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  1652. Calls:
  1653. xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f7e9a0
  1654. Type: function
  1655. Visibility: external public
  1656. References:
  1657. Referring:
  1658. Availability: not_available
  1659. Function flags: optimize_size
  1660. Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1661. Calls:
  1662. xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f7e8c0
  1663. Type: function
  1664. Visibility: external public
  1665. References:
  1666. Referring:
  1667. Availability: not_available
  1668. Function flags: optimize_size
  1669. Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1670. Calls:
  1671. xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f7e7e0
  1672. Type: function
  1673. Visibility: external public
  1674. References:
  1675. Referring:
  1676. Availability: not_available
  1677. Function flags: optimize_size
  1678. Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1679. Calls:
  1680. xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f7e700
  1681. Type: function
  1682. Visibility: external public
  1683. References:
  1684. Referring:
  1685. Availability: not_available
  1686. Function flags: optimize_size
  1687. Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
  1688. Calls:
  1689. vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f7e620
  1690. Type: function
  1691. Visibility: external public
  1692. References:
  1693. Referring:
  1694. Availability: not_available
  1695. Function flags: optimize_size
  1696. Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
  1697. Calls:
  1698. vPortExitCritical/32 (vPortExitCritical) @05f582a0
  1699. Type: function
  1700. Visibility: external public
  1701. References:
  1702. Referring:
  1703. Availability: not_available
  1704. Function flags: optimize_size
  1705. 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)
  1706. Calls:
  1707. vPortEnterCritical/31 (vPortEnterCritical) @05f58000
  1708. Type: function
  1709. Visibility: external public
  1710. References:
  1711. Referring:
  1712. Availability: not_available
  1713. Function flags: optimize_size
  1714. 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)
  1715. Calls:
  1716. vPortFree/30 (vPortFree) @05f58e00
  1717. Type: function
  1718. Visibility: external public
  1719. References:
  1720. Referring:
  1721. Availability: not_available
  1722. Function flags: optimize_size
  1723. Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
  1724. Calls:
  1725. memset/29 (memset) @05f58c40
  1726. Type: function
  1727. Visibility: external public
  1728. References:
  1729. Referring:
  1730. Availability: not_available
  1731. Function flags: optimize_size
  1732. 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)
  1733. Calls:
  1734. pvPortMalloc/28 (pvPortMalloc) @05f589a0
  1735. Type: function
  1736. Visibility: external public
  1737. References:
  1738. Referring:
  1739. Availability: not_available
  1740. Function flags: optimize_size
  1741. Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
  1742. Calls:
  1743. ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
  1744. Type: function definition analyzed
  1745. Visibility: externally_visible public
  1746. Aux: @05f09cb8
  1747. References:
  1748. Referring:
  1749. Availability: available
  1750. Function flags: count:1073741824 (estimated locally) body optimize_size
  1751. Called by:
  1752. Calls:
  1753. vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
  1754. Type: function definition analyzed
  1755. Visibility: externally_visible public
  1756. Aux: @05f09c58
  1757. References:
  1758. Referring:
  1759. Availability: available
  1760. Function flags: count:1073741824 (estimated locally) body optimize_size
  1761. Called by:
  1762. Calls:
  1763. uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
  1764. Type: function definition analyzed
  1765. Visibility: externally_visible public
  1766. Aux: @05f09e98
  1767. References:
  1768. Referring:
  1769. Availability: available
  1770. Function flags: count:1073741824 (estimated locally) body optimize_size
  1771. Called by:
  1772. Calls:
  1773. prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
  1774. Type: function definition analyzed
  1775. Visibility: prevailing_def_ironly
  1776. Aux: @05f09bf8
  1777. References:
  1778. Referring:
  1779. Availability: local
  1780. Function flags: count:130040 (estimated locally) body local optimize_size
  1781. Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
  1782. Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
  1783. prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
  1784. Type: function definition analyzed
  1785. Visibility: prevailing_def_ironly
  1786. Aux: @05f09d18
  1787. References:
  1788. Referring:
  1789. Availability: local
  1790. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1791. 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)
  1792. Calls:
  1793. prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
  1794. Type: function definition analyzed
  1795. Visibility: prevailing_def_ironly
  1796. previous sharing asm name: 86
  1797. Aux: @05f09c18
  1798. References:
  1799. Referring:
  1800. Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
  1801. Availability: local
  1802. Function flags: count:354334802 (estimated locally) body local optimize_size
  1803. Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
  1804. Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
  1805. prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
  1806. Type: function definition analyzed
  1807. Visibility: prevailing_def_ironly
  1808. Aux: @05f09bb8
  1809. References:
  1810. Referring:
  1811. Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
  1812. Availability: local
  1813. Function flags: count:354334802 (estimated locally) body local optimize_size
  1814. Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
  1815. Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1816. xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
  1817. Type: function definition analyzed
  1818. Visibility: externally_visible public
  1819. Aux: @05f09b98
  1820. References:
  1821. Referring:
  1822. Availability: available
  1823. Function flags: count:357913 (estimated locally) body optimize_size
  1824. Called by:
  1825. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1826. xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
  1827. Type: function definition analyzed
  1828. Visibility: externally_visible public
  1829. Aux: @05f09dd8
  1830. References:
  1831. Referring:
  1832. Availability: available
  1833. Function flags: count:357913 (estimated locally) body optimize_size
  1834. Called by:
  1835. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1836. xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
  1837. Type: function definition analyzed
  1838. Visibility: externally_visible public
  1839. Aux: @05f09ed8
  1840. References:
  1841. Referring:
  1842. Availability: available
  1843. Function flags: count:357913 (estimated locally) body optimize_size
  1844. Called by:
  1845. Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
  1846. xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
  1847. Type: function definition analyzed
  1848. Visibility: externally_visible public
  1849. Aux: @05f09c98
  1850. References:
  1851. Referring:
  1852. Availability: available
  1853. Function flags: count:357913 (estimated locally) body optimize_size
  1854. Called by:
  1855. Calls:
  1856. prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
  1857. Type: function definition analyzed
  1858. Visibility: prevailing_def_ironly
  1859. Aux: @05f09f38
  1860. References:
  1861. Referring:
  1862. Availability: local
  1863. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1864. Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
  1865. Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
  1866. xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
  1867. Type: function definition analyzed
  1868. Visibility: externally_visible public
  1869. Aux: @05f09cd8
  1870. References:
  1871. Referring:
  1872. Availability: available
  1873. Function flags: count:357913 (estimated locally) body optimize_size
  1874. Called by:
  1875. 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)
  1876. xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
  1877. Type: function definition analyzed
  1878. Visibility: externally_visible public
  1879. Aux: @05f09cf8
  1880. References:
  1881. Referring:
  1882. Availability: available
  1883. Function flags: count:357913 (estimated locally) body optimize_size
  1884. Called by:
  1885. Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
  1886. xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
  1887. Type: function definition analyzed
  1888. Visibility: externally_visible public
  1889. Aux: @05f09d38
  1890. References:
  1891. Referring:
  1892. Availability: available
  1893. Function flags: count:357913 (estimated locally) body optimize_size
  1894. Called by:
  1895. 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)
  1896. prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
  1897. Type: function definition analyzed
  1898. Visibility: prevailing_def_ironly
  1899. Aux: @05f09c38
  1900. References:
  1901. Referring:
  1902. Availability: local
  1903. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1904. Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
  1905. Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1906. xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
  1907. Type: function definition analyzed
  1908. Visibility: externally_visible public
  1909. Aux: @05f09b58
  1910. References:
  1911. Referring:
  1912. Availability: available
  1913. Function flags: count:357913 (estimated locally) body optimize_size
  1914. Called by:
  1915. 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)
  1916. xStreamBufferSend/10 (xStreamBufferSend) @05f01540
  1917. Type: function definition analyzed
  1918. Visibility: externally_visible public
  1919. Aux: @05f09bd8
  1920. References:
  1921. Referring:
  1922. Availability: available
  1923. Function flags: count:357913 (estimated locally) body optimize_size
  1924. Called by:
  1925. 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)
  1926. xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
  1927. Type: function definition analyzed
  1928. Visibility: externally_visible public
  1929. Aux: @05f09d58
  1930. References:
  1931. Referring:
  1932. Availability: available
  1933. Function flags: count:230763 (estimated locally) body optimize_size
  1934. Called by:
  1935. Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
  1936. xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
  1937. Type: function definition analyzed
  1938. Visibility: externally_visible public
  1939. Aux: @05f0a198
  1940. References:
  1941. Referring:
  1942. Availability: available
  1943. Function flags: count:357913 (estimated locally) body optimize_size
  1944. 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)
  1945. Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
  1946. xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
  1947. Type: function definition analyzed
  1948. Visibility: externally_visible public
  1949. Aux: @05f09f58
  1950. References:
  1951. Referring:
  1952. Availability: available
  1953. Function flags: count:357913 (estimated locally) body optimize_size
  1954. Called by:
  1955. Calls:
  1956. xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
  1957. Type: function definition analyzed
  1958. Visibility: externally_visible public
  1959. Aux: @05f0a298
  1960. References:
  1961. Referring:
  1962. Availability: available
  1963. Function flags: count:230763 (estimated locally) body optimize_size
  1964. Called by:
  1965. 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)
  1966. vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
  1967. Type: function definition analyzed
  1968. Visibility: externally_visible public
  1969. Aux: @05f09fd8
  1970. References:
  1971. Referring:
  1972. Availability: available
  1973. Function flags: count:357913 (estimated locally) body optimize_size
  1974. Called by:
  1975. Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
  1976. xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
  1977. Type: function definition analyzed
  1978. Visibility: externally_visible public
  1979. Aux: @05f0a2b8
  1980. References:
  1981. Referring:
  1982. Availability: available
  1983. Function flags: count:325376 (estimated locally) body optimize_size
  1984. Called by:
  1985. Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
  1986. ordered call graph: reduced
  1987. ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
  1988. Type: function definition analyzed
  1989. Visibility: externally_visible public
  1990. Aux: @05f09cb8
  1991. References:
  1992. Referring:
  1993. Availability: available
  1994. Function flags: count:1073741824 (estimated locally) body optimize_size
  1995. Called by:
  1996. Calls:
  1997. vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
  1998. Type: function definition analyzed
  1999. Visibility: externally_visible public
  2000. Aux: @05f09c58
  2001. References:
  2002. Referring:
  2003. Availability: available
  2004. Function flags: count:1073741824 (estimated locally) body optimize_size
  2005. Called by:
  2006. Calls:
  2007. uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
  2008. Type: function definition analyzed
  2009. Visibility: externally_visible public
  2010. Aux: @05f09e98
  2011. References:
  2012. Referring:
  2013. Availability: available
  2014. Function flags: count:1073741824 (estimated locally) body optimize_size
  2015. Called by:
  2016. Calls:
  2017. xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
  2018. Type: function definition analyzed
  2019. Visibility: externally_visible public
  2020. Aux: @05f09b98
  2021. References:
  2022. Referring:
  2023. Availability: available
  2024. Function flags: count:357913 (estimated locally) body optimize_size
  2025. Called by:
  2026. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  2027. xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
  2028. Type: function definition analyzed
  2029. Visibility: externally_visible public
  2030. Aux: @05f09dd8
  2031. References:
  2032. Referring:
  2033. Availability: available
  2034. Function flags: count:357913 (estimated locally) body optimize_size
  2035. Called by:
  2036. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  2037. xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
  2038. Type: function definition analyzed
  2039. Visibility: externally_visible public
  2040. Aux: @05f09ed8
  2041. References:
  2042. Referring:
  2043. Availability: available
  2044. Function flags: count:357913 (estimated locally) body optimize_size
  2045. Called by:
  2046. Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
  2047. xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
  2048. Type: function definition analyzed
  2049. Visibility: externally_visible public
  2050. Aux: @05f09c98
  2051. References:
  2052. Referring:
  2053. Availability: available
  2054. Function flags: count:357913 (estimated locally) body optimize_size
  2055. Called by:
  2056. Calls:
  2057. xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
  2058. Type: function definition analyzed
  2059. Visibility: externally_visible public
  2060. Aux: @05f09cd8
  2061. References:
  2062. Referring:
  2063. Availability: available
  2064. Function flags: count:357913 (estimated locally) body optimize_size
  2065. Called by:
  2066. 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)
  2067. xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
  2068. Type: function definition analyzed
  2069. Visibility: externally_visible public
  2070. Aux: @05f09cf8
  2071. References:
  2072. Referring:
  2073. Availability: available
  2074. Function flags: count:357913 (estimated locally) body optimize_size
  2075. Called by:
  2076. Calls: prvReadBytesFromBuffer/86 (inlined) (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
  2077. prvReadBytesFromBuffer/86 (prvReadBytesFromBuffer) @05e941c0
  2078. Type: function definition analyzed
  2079. Visibility:
  2080. next sharing asm name: 22
  2081. Aux: @05f09ef8
  2082. References:
  2083. Referring:
  2084. Function prvReadBytesFromBuffer/86 is inline copy in xStreamBufferNextMessageLengthBytes/14
  2085. Clone of prvReadBytesFromBuffer/22
  2086. Availability: local
  2087. Function flags: count:27284 (estimated locally) body local optimize_size
  2088. Called by: xStreamBufferNextMessageLengthBytes/14 (inlined) (27284 (estimated locally),0.08 per call)
  2089. Calls: prvReadBytesFromBuffer.part.0/53 (13642 (estimated locally),0.04 per call)
  2090. xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
  2091. Type: function definition analyzed
  2092. Visibility: externally_visible public
  2093. Aux: @05f09d38
  2094. References:
  2095. Referring:
  2096. Availability: available
  2097. Function flags: count:357913 (estimated locally) body optimize_size
  2098. Called by:
  2099. 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)
  2100. prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
  2101. Type: function definition analyzed
  2102. Visibility: prevailing_def_ironly
  2103. Aux: @05f09f38
  2104. References:
  2105. Referring:
  2106. Availability: local
  2107. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2108. Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
  2109. Calls: prvReadBytesFromBuffer/22 (inlined) (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
  2110. prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
  2111. Type: function definition analyzed
  2112. Visibility: prevailing_def_ironly
  2113. previous sharing asm name: 86
  2114. Aux: @05f09c18
  2115. References:
  2116. Referring:
  2117. Function prvReadBytesFromBuffer/22 is inline copy in prvReadMessageFromBuffer/16
  2118. Availability: local
  2119. Function flags: count:354334802 (estimated locally) body local optimize_size
  2120. Called by: prvReadMessageFromBuffer/16 (inlined) (354334802 (estimated locally),0.33 per call)
  2121. Calls: prvReadBytesFromBuffer.part.0/53 (177167401 (estimated locally),0.17 per call)
  2122. prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
  2123. Type: function definition analyzed
  2124. Visibility: prevailing_def_ironly artificial
  2125. Aux: @05f09f18
  2126. References:
  2127. Referring:
  2128. Availability: local
  2129. Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
  2130. 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)
  2131. Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
  2132. xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
  2133. Type: function definition analyzed
  2134. Visibility: externally_visible public
  2135. Aux: @05f09b58
  2136. References:
  2137. Referring:
  2138. Availability: available
  2139. Function flags: count:357913 (estimated locally) body optimize_size
  2140. Called by:
  2141. 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)
  2142. xStreamBufferSend/10 (xStreamBufferSend) @05f01540
  2143. Type: function definition analyzed
  2144. Visibility: externally_visible public
  2145. Aux: @05f09bd8
  2146. References:
  2147. Referring:
  2148. Availability: available
  2149. Function flags: count:357913 (estimated locally) body optimize_size
  2150. Called by:
  2151. 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)
  2152. prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
  2153. Type: function definition analyzed
  2154. Visibility: prevailing_def_ironly
  2155. Aux: @05f09c38
  2156. References:
  2157. Referring:
  2158. Availability: local
  2159. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2160. Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
  2161. Calls: prvWriteBytesToBuffer/21 (inlined) (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  2162. prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
  2163. Type: function definition analyzed
  2164. Visibility: prevailing_def_ironly
  2165. Aux: @05f09bb8
  2166. References:
  2167. Referring:
  2168. Function prvWriteBytesToBuffer/21 is inline copy in prvWriteMessageToBuffer/12
  2169. Availability: local
  2170. Function flags: count:354334802 (estimated locally) body local optimize_size
  2171. Called by: prvWriteMessageToBuffer/12 (inlined) (354334802 (estimated locally),0.33 per call)
  2172. Calls: prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  2173. prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
  2174. Type: function definition analyzed
  2175. Visibility: prevailing_def_ironly artificial
  2176. Aux: @05f09c78
  2177. References:
  2178. Referring:
  2179. Availability: local
  2180. Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
  2181. Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (177167401 (estimated locally),0.17 per call)
  2182. Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
  2183. xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
  2184. Type: function definition analyzed
  2185. Visibility: externally_visible public
  2186. Aux: @05f09d58
  2187. References:
  2188. Referring:
  2189. Availability: available
  2190. Function flags: count:230763 (estimated locally) body optimize_size
  2191. Called by:
  2192. Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
  2193. prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
  2194. Type: function definition analyzed
  2195. Visibility: prevailing_def_ironly
  2196. Aux: @05f09d18
  2197. References:
  2198. Referring:
  2199. Availability: local
  2200. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2201. 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)
  2202. Calls:
  2203. xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
  2204. Type: function definition analyzed
  2205. Visibility: externally_visible public
  2206. Aux: @05f0a198
  2207. References:
  2208. Referring:
  2209. Availability: available
  2210. Function flags: count:357913 (estimated locally) body optimize_size
  2211. 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)
  2212. Calls: xStreamBufferSpacesAvailable.part.0/62 (inlined) (107374 (estimated locally),0.30 per call)
  2213. xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
  2214. Type: function definition analyzed
  2215. Visibility: prevailing_def_ironly artificial
  2216. Aux: @05f09d98
  2217. References:
  2218. Referring:
  2219. Function xStreamBufferSpacesAvailable.part.0/62 is inline copy in xStreamBufferSpacesAvailable/8
  2220. Availability: local
  2221. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  2222. Called by: xStreamBufferSpacesAvailable/8 (inlined) (107374 (estimated locally),0.30 per call)
  2223. Calls:
  2224. xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
  2225. Type: function definition analyzed
  2226. Visibility: externally_visible public
  2227. Aux: @05f09f58
  2228. References:
  2229. Referring:
  2230. Availability: available
  2231. Function flags: count:357913 (estimated locally) body optimize_size
  2232. Called by:
  2233. Calls:
  2234. xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
  2235. Type: function definition analyzed
  2236. Visibility: externally_visible public
  2237. Aux: @05f0a298
  2238. References:
  2239. Referring:
  2240. Availability: available
  2241. Function flags: count:230763 (estimated locally) body optimize_size
  2242. Called by:
  2243. 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)
  2244. vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
  2245. Type: function definition analyzed
  2246. Visibility: externally_visible public
  2247. Aux: @05f09fd8
  2248. References:
  2249. Referring:
  2250. Availability: available
  2251. Function flags: count:357913 (estimated locally) body optimize_size
  2252. Called by:
  2253. Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
  2254. xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
  2255. Type: function definition analyzed
  2256. Visibility: externally_visible public
  2257. Aux: @05f0a2b8
  2258. References:
  2259. Referring:
  2260. Availability: available
  2261. Function flags: count:325376 (estimated locally) body optimize_size
  2262. Called by:
  2263. Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
  2264. prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
  2265. Type: function definition analyzed
  2266. Visibility: prevailing_def_ironly
  2267. Aux: @05f09bf8
  2268. References:
  2269. Referring:
  2270. Availability: local
  2271. Function flags: count:130040 (estimated locally) body local optimize_size
  2272. Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
  2273. Calls: prvInitialiseNewStreamBuffer.part.0/44 (inlined) (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
  2274. prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
  2275. Type: function definition analyzed
  2276. Visibility: prevailing_def_ironly artificial
  2277. Aux: @05f09db8
  2278. References:
  2279. Referring:
  2280. Function prvInitialiseNewStreamBuffer.part.0/44 is inline copy in prvInitialiseNewStreamBuffer/24
  2281. Availability: local
  2282. Function flags: count:22666 (estimated locally) first_run:1 body local split_part optimize_size
  2283. Called by: prvInitialiseNewStreamBuffer/24 (inlined) (22666 (estimated locally),0.17 per call)
  2284. Calls: memset/29 (22666 (estimated locally),0.17 per call)
  2285. Function found not to call free: prvBytesInBuffer
  2286. Function found not to call free: uxStreamBufferGetStreamBufferNumber
  2287. Function found not to call free: vStreamBufferSetStreamBufferNumber
  2288. Function found not to call free: ucStreamBufferGetStreamBufferType
  2289. xStreamBufferSpacesAvailable.part.0 ()
  2290. {
  2291. const struct StreamBuffer_t * const pxStreamBuffer;
  2292. size_t xSpace;
  2293. size_t xOriginalTail;
  2294. uint32_t ulNewBASEPRI;
  2295. struct StreamBufferDef_t * xStreamBuffer;
  2296. <bb 5> [local count: 107374]:
  2297. # DEBUG D#2 s=> xStreamBuffer
  2298. # DEBUG xStreamBuffer => D#2
  2299. <bb 2> [local count: 107374]:
  2300. # DEBUG BEGIN_STMT
  2301. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2302. # DEBUG BEGIN_STMT
  2303. # DEBUG BEGIN_STMT
  2304. __asm__ __volatile__(" mov %0, %1
  2305. msr basepri, %0
  2306. isb
  2307. dsb
  2308. " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
  2309. # DEBUG ulNewBASEPRI => ulNewBASEPRI_1
  2310. <bb 3> [local count: 1073741824]:
  2311. # DEBUG ulNewBASEPRI => NULL
  2312. # DEBUG BEGIN_STMT
  2313. # DEBUG BEGIN_STMT
  2314. # DEBUG BEGIN_STMT
  2315. <bb 4> [local count: 1073741824]:
  2316. goto <bb 3>; [100.00%]
  2317. }
  2318. prvReadBytesFromBuffer.part.0 (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
  2319. {
  2320. size_t xFirstLength;
  2321. uint32_t ulNewBASEPRI;
  2322. uint32_t ulNewBASEPRI;
  2323. uint32_t ulNewBASEPRI;
  2324. unsigned int _2;
  2325. unsigned int _4;
  2326. unsigned int _8;
  2327. uint8_t * _10;
  2328. uint8_t * _11;
  2329. uint8_t * _13;
  2330. uint8_t * _14;
  2331. unsigned int _15;
  2332. unsigned int _17;
  2333. <bb 15> [local count: 214748]:
  2334. <bb 2> [local count: 214748]:
  2335. # DEBUG BEGIN_STMT
  2336. # DEBUG BEGIN_STMT
  2337. _2 = pxStreamBuffer_1(D)->xLength;
  2338. _4 = _2 - xTail_3(D);
  2339. xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  2340. # DEBUG xFirstLength => xFirstLength_6
  2341. # DEBUG BEGIN_STMT
  2342. if (xCount_5(D) < xFirstLength_6)
  2343. goto <bb 3>; [50.00%]
  2344. else
  2345. goto <bb 6>; [50.00%]
  2346. <bb 3> [local count: 107374]:
  2347. # DEBUG BEGIN_STMT
  2348. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2349. # DEBUG BEGIN_STMT
  2350. # DEBUG BEGIN_STMT
  2351. __asm__ __volatile__(" mov %0, %1
  2352. msr basepri, %0
  2353. isb
  2354. dsb
  2355. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  2356. # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
  2357. <bb 4> [local count: 1073741824]:
  2358. # DEBUG ulNewBASEPRI => NULL
  2359. # DEBUG BEGIN_STMT
  2360. # DEBUG BEGIN_STMT
  2361. # DEBUG BEGIN_STMT
  2362. <bb 5> [local count: 1073741824]:
  2363. goto <bb 4>; [100.00%]
  2364. <bb 6> [local count: 107374]:
  2365. # DEBUG BEGIN_STMT
  2366. # DEBUG BEGIN_STMT
  2367. _8 = xTail_3(D) + xFirstLength_6;
  2368. if (_2 < _8)
  2369. goto <bb 7>; [67.00%]
  2370. else
  2371. goto <bb 10>; [33.00%]
  2372. <bb 7> [local count: 71941]:
  2373. # DEBUG BEGIN_STMT
  2374. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2375. # DEBUG BEGIN_STMT
  2376. # DEBUG BEGIN_STMT
  2377. __asm__ __volatile__(" mov %0, %1
  2378. msr basepri, %0
  2379. isb
  2380. dsb
  2381. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  2382. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  2383. <bb 8> [local count: 719407023]:
  2384. # DEBUG ulNewBASEPRI => NULL
  2385. # DEBUG BEGIN_STMT
  2386. # DEBUG BEGIN_STMT
  2387. # DEBUG BEGIN_STMT
  2388. <bb 9> [local count: 719407023]:
  2389. goto <bb 8>; [100.00%]
  2390. <bb 10> [local count: 35433]:
  2391. # DEBUG BEGIN_STMT
  2392. # DEBUG BEGIN_STMT
  2393. _10 = pxStreamBuffer_1(D)->pucBuffer;
  2394. _11 = _10 + xTail_3(D);
  2395. memcpy (pucData_12(D), _11, xFirstLength_6);
  2396. # DEBUG BEGIN_STMT
  2397. if (xCount_5(D) > xFirstLength_6)
  2398. goto <bb 11>; [33.00%]
  2399. else
  2400. goto <bb 12>; [67.00%]
  2401. <bb 11> [local count: 11693]:
  2402. # DEBUG BEGIN_STMT
  2403. _13 = pucData_12(D) + xFirstLength_6;
  2404. _14 = pxStreamBuffer_1(D)->pucBuffer;
  2405. _15 = xCount_5(D) - xFirstLength_6;
  2406. memcpy (_13, _14, _15);
  2407. <bb 12> [local count: 35433]:
  2408. # DEBUG BEGIN_STMT
  2409. # DEBUG BEGIN_STMT
  2410. xTail_16 = xTail_3(D) + xCount_5(D);
  2411. # DEBUG xTail => xTail_16
  2412. # DEBUG BEGIN_STMT
  2413. _17 = pxStreamBuffer_1(D)->xLength;
  2414. if (xTail_16 >= _17)
  2415. goto <bb 13>; [50.00%]
  2416. else
  2417. goto <bb 14>; [50.00%]
  2418. <bb 13> [local count: 17717]:
  2419. # DEBUG BEGIN_STMT
  2420. xTail_18 = xTail_16 - _17;
  2421. # DEBUG xTail => xTail_18
  2422. <bb 14> [local count: 35433]:
  2423. # xTail_19 = PHI <xTail_16(12), xTail_18(13)>
  2424. # DEBUG xTail => xTail_19
  2425. # DEBUG BEGIN_STMT
  2426. return xTail_19;
  2427. }
  2428. prvWriteBytesToBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
  2429. {
  2430. size_t xFirstLength;
  2431. uint32_t ulNewBASEPRI;
  2432. uint32_t ulNewBASEPRI;
  2433. uint32_t ulNewBASEPRI;
  2434. unsigned int _2;
  2435. unsigned int _4;
  2436. unsigned int _7;
  2437. uint8_t * _9;
  2438. uint8_t * _10;
  2439. unsigned int _12;
  2440. unsigned int _13;
  2441. uint8_t * _15;
  2442. const uint8_t * _16;
  2443. unsigned int _18;
  2444. <bb 15> [local count: 160260]:
  2445. <bb 2> [local count: 160260]:
  2446. # DEBUG BEGIN_STMT
  2447. # DEBUG BEGIN_STMT
  2448. _2 = pxStreamBuffer_1(D)->xLength;
  2449. _4 = _2 - xHead_3(D);
  2450. xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  2451. # DEBUG xFirstLength => xFirstLength_6
  2452. # DEBUG BEGIN_STMT
  2453. _7 = xHead_3(D) + xFirstLength_6;
  2454. if (_2 < _7)
  2455. goto <bb 3>; [67.00%]
  2456. else
  2457. goto <bb 6>; [33.00%]
  2458. <bb 3> [local count: 107374]:
  2459. # DEBUG BEGIN_STMT
  2460. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2461. # DEBUG BEGIN_STMT
  2462. # DEBUG BEGIN_STMT
  2463. __asm__ __volatile__(" mov %0, %1
  2464. msr basepri, %0
  2465. isb
  2466. dsb
  2467. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2468. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2469. <bb 4> [local count: 1073741824]:
  2470. # DEBUG ulNewBASEPRI => NULL
  2471. # DEBUG BEGIN_STMT
  2472. # DEBUG BEGIN_STMT
  2473. # DEBUG BEGIN_STMT
  2474. <bb 5> [local count: 1073741824]:
  2475. goto <bb 4>; [100.00%]
  2476. <bb 6> [local count: 52886]:
  2477. # DEBUG BEGIN_STMT
  2478. # DEBUG BEGIN_STMT
  2479. _9 = pxStreamBuffer_1(D)->pucBuffer;
  2480. _10 = _9 + xHead_3(D);
  2481. memcpy (_10, pucData_11(D), xFirstLength_6);
  2482. # DEBUG BEGIN_STMT
  2483. if (xCount_5(D) > xFirstLength_6)
  2484. goto <bb 7>; [50.00%]
  2485. else
  2486. goto <bb 12>; [50.00%]
  2487. <bb 7> [local count: 26443]:
  2488. # DEBUG BEGIN_STMT
  2489. _12 = xCount_5(D) - xFirstLength_6;
  2490. _13 = pxStreamBuffer_1(D)->xLength;
  2491. if (_12 > _13)
  2492. goto <bb 8>; [67.00%]
  2493. else
  2494. goto <bb 11>; [33.00%]
  2495. <bb 8> [local count: 17717]:
  2496. # DEBUG BEGIN_STMT
  2497. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2498. # DEBUG BEGIN_STMT
  2499. # DEBUG BEGIN_STMT
  2500. __asm__ __volatile__(" mov %0, %1
  2501. msr basepri, %0
  2502. isb
  2503. dsb
  2504. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  2505. # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
  2506. <bb 9> [local count: 177167401]:
  2507. # DEBUG ulNewBASEPRI => NULL
  2508. # DEBUG BEGIN_STMT
  2509. # DEBUG BEGIN_STMT
  2510. # DEBUG BEGIN_STMT
  2511. <bb 10> [local count: 177167401]:
  2512. goto <bb 9>; [100.00%]
  2513. <bb 11> [local count: 8726]:
  2514. # DEBUG BEGIN_STMT
  2515. # DEBUG BEGIN_STMT
  2516. _15 = pxStreamBuffer_1(D)->pucBuffer;
  2517. _16 = pucData_11(D) + xFirstLength_6;
  2518. memcpy (_15, _16, _12);
  2519. <bb 12> [local count: 35169]:
  2520. # DEBUG BEGIN_STMT
  2521. # DEBUG BEGIN_STMT
  2522. xHead_17 = xHead_3(D) + xCount_5(D);
  2523. # DEBUG xHead => xHead_17
  2524. # DEBUG BEGIN_STMT
  2525. _18 = pxStreamBuffer_1(D)->xLength;
  2526. if (xHead_17 >= _18)
  2527. goto <bb 13>; [50.00%]
  2528. else
  2529. goto <bb 14>; [50.00%]
  2530. <bb 13> [local count: 17584]:
  2531. # DEBUG BEGIN_STMT
  2532. xHead_19 = xHead_17 - _18;
  2533. # DEBUG xHead => xHead_19
  2534. <bb 14> [local count: 35169]:
  2535. # xHead_20 = PHI <xHead_17(12), xHead_19(13)>
  2536. # DEBUG xHead => xHead_20
  2537. # DEBUG BEGIN_STMT
  2538. # DEBUG BEGIN_STMT
  2539. return xHead_20;
  2540. }
  2541. prvInitialiseNewStreamBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
  2542. {
  2543. const BaseType_t xWriteValue;
  2544. uint32_t ulNewBASEPRI;
  2545. <bb 3> [local count: 1073741824]:
  2546. <bb 2> [local count: 1073741824]:
  2547. # DEBUG BEGIN_STMT
  2548. # DEBUG BEGIN_STMT
  2549. memset (pxStreamBuffer_1(D), 0, 36);
  2550. # DEBUG BEGIN_STMT
  2551. pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
  2552. # DEBUG BEGIN_STMT
  2553. pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
  2554. # DEBUG BEGIN_STMT
  2555. pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
  2556. # DEBUG BEGIN_STMT
  2557. pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
  2558. return;
  2559. }
  2560. ucStreamBufferGetStreamBufferType (struct StreamBufferDef_t * xStreamBuffer)
  2561. {
  2562. unsigned char _1;
  2563. uint8_t _4;
  2564. <bb 2> [local count: 1073741824]:
  2565. # DEBUG BEGIN_STMT
  2566. _1 = xStreamBuffer_3(D)->ucFlags;
  2567. _4 = _1 & 1;
  2568. return _4;
  2569. }
  2570. vStreamBufferSetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer, UBaseType_t uxStreamBufferNumber)
  2571. {
  2572. <bb 2> [local count: 1073741824]:
  2573. # DEBUG BEGIN_STMT
  2574. xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
  2575. return;
  2576. }
  2577. uxStreamBufferGetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer)
  2578. {
  2579. UBaseType_t _3;
  2580. <bb 2> [local count: 1073741824]:
  2581. # DEBUG BEGIN_STMT
  2582. _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
  2583. return _3;
  2584. }
  2585. prvInitialiseNewStreamBuffer (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
  2586. {
  2587. uint32_t ulNewBASEPRI;
  2588. void * _1;
  2589. <bb 2> [local count: 130040]:
  2590. # DEBUG BEGIN_STMT
  2591. # DEBUG xWriteValue => 85
  2592. # DEBUG BEGIN_STMT
  2593. _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
  2594. if (_1 != pucBuffer_4(D))
  2595. goto <bb 3>; [82.57%]
  2596. else
  2597. goto <bb 5>; [17.43%]
  2598. <bb 3> [local count: 107374]:
  2599. # DEBUG BEGIN_STMT
  2600. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2601. # DEBUG BEGIN_STMT
  2602. # DEBUG BEGIN_STMT
  2603. __asm__ __volatile__(" mov %0, %1
  2604. msr basepri, %0
  2605. isb
  2606. dsb
  2607. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  2608. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  2609. <bb 4> [local count: 1073741824]:
  2610. # DEBUG ulNewBASEPRI => NULL
  2611. # DEBUG BEGIN_STMT
  2612. # DEBUG BEGIN_STMT
  2613. # DEBUG BEGIN_STMT
  2614. <bb 6> [local count: 1073741824]:
  2615. goto <bb 4>; [100.00%]
  2616. <bb 5> [local count: 22666]:
  2617. prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
  2618. return;
  2619. }
  2620. prvBytesInBuffer (const struct StreamBuffer_t * const pxStreamBuffer)
  2621. {
  2622. size_t xCount;
  2623. unsigned int _1;
  2624. unsigned int _2;
  2625. unsigned int _7;
  2626. <bb 2> [local count: 1073741824]:
  2627. # DEBUG BEGIN_STMT
  2628. # DEBUG BEGIN_STMT
  2629. _1 = pxStreamBuffer_5(D)->xLength;
  2630. _2 ={v} pxStreamBuffer_5(D)->xHead;
  2631. xCount_6 = _1 + _2;
  2632. # DEBUG xCount => xCount_6
  2633. # DEBUG BEGIN_STMT
  2634. _7 ={v} pxStreamBuffer_5(D)->xTail;
  2635. xCount_8 = xCount_6 - _7;
  2636. # DEBUG xCount => xCount_8
  2637. # DEBUG BEGIN_STMT
  2638. if (_1 <= xCount_8)
  2639. goto <bb 3>; [50.00%]
  2640. else
  2641. goto <bb 4>; [50.00%]
  2642. <bb 3> [local count: 536870913]:
  2643. # DEBUG BEGIN_STMT
  2644. xCount_9 = xCount_8 - _1;
  2645. # DEBUG xCount => xCount_9
  2646. <bb 4> [local count: 1073741824]:
  2647. # xCount_3 = PHI <xCount_8(2), xCount_9(3)>
  2648. # DEBUG xCount => xCount_3
  2649. # DEBUG BEGIN_STMT
  2650. # DEBUG BEGIN_STMT
  2651. return xCount_3;
  2652. }
  2653. prvReadBytesFromBuffer (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
  2654. {
  2655. uint32_t ulNewBASEPRI;
  2656. <bb 2> [local count: 214748]:
  2657. # DEBUG BEGIN_STMT
  2658. # DEBUG BEGIN_STMT
  2659. if (xCount_3(D) == 0)
  2660. goto <bb 3>; [50.00%]
  2661. else
  2662. goto <bb 5>; [50.00%]
  2663. <bb 3> [local count: 107374]:
  2664. # DEBUG BEGIN_STMT
  2665. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2666. # DEBUG BEGIN_STMT
  2667. # DEBUG BEGIN_STMT
  2668. __asm__ __volatile__(" mov %0, %1
  2669. msr basepri, %0
  2670. isb
  2671. dsb
  2672. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2673. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2674. <bb 4> [local count: 1073741824]:
  2675. # DEBUG ulNewBASEPRI => NULL
  2676. # DEBUG BEGIN_STMT
  2677. # DEBUG BEGIN_STMT
  2678. # DEBUG BEGIN_STMT
  2679. <bb 6> [local count: 1073741824]:
  2680. goto <bb 4>; [100.00%]
  2681. <bb 5> [local count: 107374]:
  2682. xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
  2683. # DEBUG xTail => xTail_1
  2684. # DEBUG BEGIN_STMT
  2685. return xTail_1;
  2686. }
  2687. prvWriteBytesToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
  2688. {
  2689. uint32_t ulNewBASEPRI;
  2690. <bb 2> [local count: 214748]:
  2691. # DEBUG BEGIN_STMT
  2692. # DEBUG BEGIN_STMT
  2693. if (xCount_3(D) == 0)
  2694. goto <bb 3>; [50.00%]
  2695. else
  2696. goto <bb 5>; [50.00%]
  2697. <bb 3> [local count: 107374]:
  2698. # DEBUG BEGIN_STMT
  2699. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2700. # DEBUG BEGIN_STMT
  2701. # DEBUG BEGIN_STMT
  2702. __asm__ __volatile__(" mov %0, %1
  2703. msr basepri, %0
  2704. isb
  2705. dsb
  2706. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2707. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2708. <bb 4> [local count: 1073741824]:
  2709. # DEBUG ulNewBASEPRI => NULL
  2710. # DEBUG BEGIN_STMT
  2711. # DEBUG BEGIN_STMT
  2712. # DEBUG BEGIN_STMT
  2713. <bb 6> [local count: 1073741824]:
  2714. goto <bb 4>; [100.00%]
  2715. <bb 5> [local count: 107374]:
  2716. xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
  2717. # DEBUG xHead => xHead_1
  2718. # DEBUG BEGIN_STMT
  2719. # DEBUG BEGIN_STMT
  2720. return xHead_1;
  2721. }
  2722. xStreamBufferReceiveCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
  2723. {
  2724. uint32_t ulOriginalBASEPRI;
  2725. uint32_t ulNewBASEPRI;
  2726. uint32_t ulNewBASEPRI;
  2727. BaseType_t xReturn;
  2728. struct tskTaskControlBlock * _1;
  2729. struct tskTaskControlBlock * _2;
  2730. <bb 2> [local count: 357913]:
  2731. # DEBUG BEGIN_STMT
  2732. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2733. # DEBUG BEGIN_STMT
  2734. # DEBUG BEGIN_STMT
  2735. # DEBUG BEGIN_STMT
  2736. if (xStreamBuffer_5(D) == 0B)
  2737. goto <bb 3>; [30.00%]
  2738. else
  2739. goto <bb 5>; [70.00%]
  2740. <bb 3> [local count: 107374]:
  2741. # DEBUG BEGIN_STMT
  2742. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2743. # DEBUG BEGIN_STMT
  2744. # DEBUG BEGIN_STMT
  2745. __asm__ __volatile__(" mov %0, %1
  2746. msr basepri, %0
  2747. isb
  2748. dsb
  2749. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  2750. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  2751. <bb 4> [local count: 1073741824]:
  2752. # DEBUG ulNewBASEPRI => NULL
  2753. # DEBUG BEGIN_STMT
  2754. # DEBUG BEGIN_STMT
  2755. # DEBUG BEGIN_STMT
  2756. <bb 8> [local count: 1073741824]:
  2757. goto <bb 4>; [100.00%]
  2758. <bb 5> [local count: 250539]:
  2759. # DEBUG BEGIN_STMT
  2760. # DEBUG BEGIN_STMT
  2761. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  2762. # DEBUG BEGIN_STMT
  2763. # DEBUG BEGIN_STMT
  2764. __asm__ __volatile__(" mrs %0, basepri
  2765. mov %1, %2
  2766. msr basepri, %1
  2767. isb
  2768. dsb
  2769. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  2770. # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
  2771. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
  2772. # DEBUG BEGIN_STMT
  2773. # DEBUG ulNewBASEPRI => NULL
  2774. # DEBUG ulOriginalBASEPRI => NULL
  2775. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
  2776. # DEBUG BEGIN_STMT
  2777. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  2778. if (_1 != 0B)
  2779. goto <bb 6>; [53.47%]
  2780. else
  2781. goto <bb 7>; [46.53%]
  2782. <bb 6> [local count: 133963]:
  2783. # DEBUG BEGIN_STMT
  2784. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  2785. xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  2786. # DEBUG BEGIN_STMT
  2787. MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
  2788. # DEBUG BEGIN_STMT
  2789. # DEBUG xReturn => 1
  2790. <bb 7> [local count: 250539]:
  2791. # xReturn_3 = PHI <1(6), 0(5)>
  2792. # DEBUG xReturn => xReturn_3
  2793. # DEBUG BEGIN_STMT
  2794. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
  2795. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  2796. # DEBUG BEGIN_STMT
  2797. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  2798. # DEBUG ulNewMaskValue => NULL
  2799. # DEBUG BEGIN_STMT
  2800. return xReturn_3;
  2801. }
  2802. xStreamBufferSendCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
  2803. {
  2804. uint32_t ulOriginalBASEPRI;
  2805. uint32_t ulNewBASEPRI;
  2806. uint32_t ulNewBASEPRI;
  2807. BaseType_t xReturn;
  2808. struct tskTaskControlBlock * _1;
  2809. struct tskTaskControlBlock * _2;
  2810. <bb 2> [local count: 357913]:
  2811. # DEBUG BEGIN_STMT
  2812. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2813. # DEBUG BEGIN_STMT
  2814. # DEBUG BEGIN_STMT
  2815. # DEBUG BEGIN_STMT
  2816. if (xStreamBuffer_5(D) == 0B)
  2817. goto <bb 3>; [30.00%]
  2818. else
  2819. goto <bb 5>; [70.00%]
  2820. <bb 3> [local count: 107374]:
  2821. # DEBUG BEGIN_STMT
  2822. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2823. # DEBUG BEGIN_STMT
  2824. # DEBUG BEGIN_STMT
  2825. __asm__ __volatile__(" mov %0, %1
  2826. msr basepri, %0
  2827. isb
  2828. dsb
  2829. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  2830. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  2831. <bb 4> [local count: 1073741824]:
  2832. # DEBUG ulNewBASEPRI => NULL
  2833. # DEBUG BEGIN_STMT
  2834. # DEBUG BEGIN_STMT
  2835. # DEBUG BEGIN_STMT
  2836. <bb 8> [local count: 1073741824]:
  2837. goto <bb 4>; [100.00%]
  2838. <bb 5> [local count: 250539]:
  2839. # DEBUG BEGIN_STMT
  2840. # DEBUG BEGIN_STMT
  2841. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  2842. # DEBUG BEGIN_STMT
  2843. # DEBUG BEGIN_STMT
  2844. __asm__ __volatile__(" mrs %0, basepri
  2845. mov %1, %2
  2846. msr basepri, %1
  2847. isb
  2848. dsb
  2849. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  2850. # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
  2851. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
  2852. # DEBUG BEGIN_STMT
  2853. # DEBUG ulNewBASEPRI => NULL
  2854. # DEBUG ulOriginalBASEPRI => NULL
  2855. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
  2856. # DEBUG BEGIN_STMT
  2857. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  2858. if (_1 != 0B)
  2859. goto <bb 6>; [53.47%]
  2860. else
  2861. goto <bb 7>; [46.53%]
  2862. <bb 6> [local count: 133963]:
  2863. # DEBUG BEGIN_STMT
  2864. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  2865. xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  2866. # DEBUG BEGIN_STMT
  2867. MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
  2868. # DEBUG BEGIN_STMT
  2869. # DEBUG xReturn => 1
  2870. <bb 7> [local count: 250539]:
  2871. # xReturn_3 = PHI <1(6), 0(5)>
  2872. # DEBUG xReturn => xReturn_3
  2873. # DEBUG BEGIN_STMT
  2874. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
  2875. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  2876. # DEBUG BEGIN_STMT
  2877. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  2878. # DEBUG ulNewMaskValue => NULL
  2879. # DEBUG BEGIN_STMT
  2880. return xReturn_3;
  2881. }
  2882. xStreamBufferIsFull (struct StreamBufferDef_t * xStreamBuffer)
  2883. {
  2884. uint32_t ulNewBASEPRI;
  2885. size_t xBytesToStoreMessageLength;
  2886. BaseType_t xReturn;
  2887. unsigned char _1;
  2888. unsigned int _2;
  2889. unsigned char _6;
  2890. <bb 2> [local count: 357913]:
  2891. # DEBUG BEGIN_STMT
  2892. # DEBUG BEGIN_STMT
  2893. # DEBUG BEGIN_STMT
  2894. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2895. # DEBUG BEGIN_STMT
  2896. if (xStreamBuffer_5(D) == 0B)
  2897. goto <bb 3>; [30.00%]
  2898. else
  2899. goto <bb 5>; [70.00%]
  2900. <bb 3> [local count: 107374]:
  2901. # DEBUG BEGIN_STMT
  2902. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2903. # DEBUG BEGIN_STMT
  2904. # DEBUG BEGIN_STMT
  2905. __asm__ __volatile__(" mov %0, %1
  2906. msr basepri, %0
  2907. isb
  2908. dsb
  2909. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  2910. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  2911. <bb 4> [local count: 1073741824]:
  2912. # DEBUG ulNewBASEPRI => NULL
  2913. # DEBUG BEGIN_STMT
  2914. # DEBUG BEGIN_STMT
  2915. # DEBUG BEGIN_STMT
  2916. <bb 10> [local count: 1073741824]:
  2917. goto <bb 4>; [100.00%]
  2918. <bb 5> [local count: 250539]:
  2919. # DEBUG BEGIN_STMT
  2920. # DEBUG BEGIN_STMT
  2921. _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  2922. _6 = _1 & 1;
  2923. if (_6 != 0)
  2924. goto <bb 7>; [50.00%]
  2925. else
  2926. goto <bb 6>; [50.00%]
  2927. <bb 6> [local count: 125270]:
  2928. # DEBUG BEGIN_STMT
  2929. # DEBUG xBytesToStoreMessageLength => 0
  2930. <bb 7> [local count: 250539]:
  2931. # xBytesToStoreMessageLength_4 = PHI <4(5), 0(6)>
  2932. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_4
  2933. # DEBUG BEGIN_STMT
  2934. _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
  2935. if (_2 <= xBytesToStoreMessageLength_4)
  2936. goto <bb 9>; [50.00%]
  2937. else
  2938. goto <bb 8>; [50.00%]
  2939. <bb 8> [local count: 125270]:
  2940. # DEBUG BEGIN_STMT
  2941. # DEBUG xReturn => 0
  2942. <bb 9> [local count: 250539]:
  2943. # xReturn_3 = PHI <1(7), 0(8)>
  2944. # DEBUG xReturn => xReturn_3
  2945. # DEBUG BEGIN_STMT
  2946. return xReturn_3;
  2947. }
  2948. xStreamBufferIsEmpty (struct StreamBufferDef_t * xStreamBuffer)
  2949. {
  2950. uint32_t ulNewBASEPRI;
  2951. size_t xTail;
  2952. BaseType_t xReturn;
  2953. unsigned int _1;
  2954. <bb 2> [local count: 357913]:
  2955. # DEBUG BEGIN_STMT
  2956. # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
  2957. # DEBUG BEGIN_STMT
  2958. # DEBUG BEGIN_STMT
  2959. # DEBUG BEGIN_STMT
  2960. if (xStreamBuffer_3(D) == 0B)
  2961. goto <bb 3>; [30.00%]
  2962. else
  2963. goto <bb 5>; [70.00%]
  2964. <bb 3> [local count: 107374]:
  2965. # DEBUG BEGIN_STMT
  2966. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2967. # DEBUG BEGIN_STMT
  2968. # DEBUG BEGIN_STMT
  2969. __asm__ __volatile__(" mov %0, %1
  2970. msr basepri, %0
  2971. isb
  2972. dsb
  2973. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  2974. # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
  2975. <bb 4> [local count: 1073741824]:
  2976. # DEBUG ulNewBASEPRI => NULL
  2977. # DEBUG BEGIN_STMT
  2978. # DEBUG BEGIN_STMT
  2979. # DEBUG BEGIN_STMT
  2980. <bb 8> [local count: 1073741824]:
  2981. goto <bb 4>; [100.00%]
  2982. <bb 5> [local count: 250539]:
  2983. # DEBUG BEGIN_STMT
  2984. # DEBUG BEGIN_STMT
  2985. xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
  2986. # DEBUG xTail => xTail_5
  2987. # DEBUG BEGIN_STMT
  2988. _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
  2989. if (_1 == xTail_5)
  2990. goto <bb 7>; [34.00%]
  2991. else
  2992. goto <bb 6>; [66.00%]
  2993. <bb 6> [local count: 165356]:
  2994. # DEBUG BEGIN_STMT
  2995. # DEBUG xReturn => 0
  2996. <bb 7> [local count: 250539]:
  2997. # xReturn_2 = PHI <1(5), 0(6)>
  2998. # DEBUG xReturn => xReturn_2
  2999. # DEBUG BEGIN_STMT
  3000. return xReturn_2;
  3001. }
  3002. prvReadMessageFromBuffer (struct StreamBuffer_t * pxStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, size_t xBytesAvailable)
  3003. {
  3004. size_t xTail;
  3005. size_t xNextTail;
  3006. size_t xTempNextMessageLength;
  3007. size_t xNextMessageLength;
  3008. size_t xCount;
  3009. unsigned char _1;
  3010. unsigned int _2;
  3011. unsigned char _12;
  3012. <bb 2> [local count: 1073741824]:
  3013. # DEBUG BEGIN_STMT
  3014. # DEBUG BEGIN_STMT
  3015. # DEBUG BEGIN_STMT
  3016. xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
  3017. # DEBUG xNextTail => xNextTail_10
  3018. # DEBUG BEGIN_STMT
  3019. _1 = pxStreamBuffer_9(D)->ucFlags;
  3020. _12 = _1 & 1;
  3021. if (_12 != 0)
  3022. goto <bb 3>; [33.00%]
  3023. else
  3024. goto <bb 5>; [67.00%]
  3025. <bb 3> [local count: 354334802]:
  3026. # DEBUG BEGIN_STMT
  3027. # DEBUG pxStreamBuffer => pxStreamBuffer_9(D)
  3028. # DEBUG pucData => &xTempNextMessageLength
  3029. # DEBUG xCount => 4
  3030. # DEBUG xTail => xNextTail_10
  3031. # DEBUG INLINE_ENTRY prvReadBytesFromBuffer
  3032. # DEBUG BEGIN_STMT
  3033. # DEBUG BEGIN_STMT
  3034. xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
  3035. # DEBUG xTail => xTail_21
  3036. # DEBUG BEGIN_STMT
  3037. # DEBUG pxStreamBuffer => NULL
  3038. # DEBUG pucData => NULL
  3039. # DEBUG xCount => NULL
  3040. # DEBUG xTail => NULL
  3041. # DEBUG ulNewBASEPRI => NULL
  3042. # DEBUG xNextTail => xTail_21
  3043. # DEBUG BEGIN_STMT
  3044. xNextMessageLength_14 = xTempNextMessageLength;
  3045. # DEBUG xNextMessageLength => xNextMessageLength_14
  3046. # DEBUG BEGIN_STMT
  3047. xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
  3048. # DEBUG xBytesAvailable => xBytesAvailable_15
  3049. # DEBUG BEGIN_STMT
  3050. if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
  3051. goto <bb 4>; [50.00%]
  3052. else
  3053. goto <bb 5>; [50.00%]
  3054. <bb 4> [local count: 177167401]:
  3055. # DEBUG BEGIN_STMT
  3056. # DEBUG xNextMessageLength => 0
  3057. <bb 5> [local count: 1073741824]:
  3058. # xBytesAvailable_3 = PHI <xBytesAvailable_15(4), xBytesAvailable_13(D)(2), xBytesAvailable_15(3)>
  3059. # xNextMessageLength_4 = PHI <0(4), xBufferLengthBytes_11(D)(2), xNextMessageLength_14(3)>
  3060. # xNextTail_5 = PHI <xTail_21(4), xNextTail_10(2), xTail_21(3)>
  3061. # DEBUG xNextTail => xNextTail_5
  3062. # DEBUG xNextMessageLength => xNextMessageLength_4
  3063. # DEBUG xBytesAvailable => xBytesAvailable_3
  3064. # DEBUG BEGIN_STMT
  3065. xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
  3066. # DEBUG xCount => xCount_16
  3067. # DEBUG BEGIN_STMT
  3068. if (xCount_16 != 0)
  3069. goto <bb 6>; [33.00%]
  3070. else
  3071. goto <bb 7>; [67.00%]
  3072. <bb 6> [local count: 354334802]:
  3073. # DEBUG BEGIN_STMT
  3074. _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
  3075. pxStreamBuffer_9(D)->xTail ={v} _2;
  3076. <bb 7> [local count: 1073741824]:
  3077. # DEBUG BEGIN_STMT
  3078. xTempNextMessageLength ={v} {CLOBBER};
  3079. return xCount_16;
  3080. }
  3081. xStreamBufferReceiveFromISR (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
  3082. {
  3083. uint32_t ulOriginalBASEPRI;
  3084. uint32_t ulNewBASEPRI;
  3085. uint32_t ulNewBASEPRI;
  3086. uint32_t ulNewBASEPRI;
  3087. size_t xBytesToStoreMessageLength;
  3088. size_t xBytesAvailable;
  3089. size_t xReceivedLength;
  3090. unsigned char _1;
  3091. struct tskTaskControlBlock * _2;
  3092. struct tskTaskControlBlock * _3;
  3093. unsigned char _9;
  3094. <bb 2> [local count: 357913]:
  3095. # DEBUG BEGIN_STMT
  3096. # DEBUG pxStreamBuffer => xStreamBuffer_8(D)
  3097. # DEBUG BEGIN_STMT
  3098. # DEBUG xReceivedLength => 0
  3099. # DEBUG BEGIN_STMT
  3100. if (pvRxData_10(D) == 0B)
  3101. goto <bb 3>; [30.00%]
  3102. else
  3103. goto <bb 5>; [70.00%]
  3104. <bb 3> [local count: 107374]:
  3105. # DEBUG BEGIN_STMT
  3106. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3107. # DEBUG BEGIN_STMT
  3108. # DEBUG BEGIN_STMT
  3109. __asm__ __volatile__(" mov %0, %1
  3110. msr basepri, %0
  3111. isb
  3112. dsb
  3113. " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
  3114. # DEBUG ulNewBASEPRI => ulNewBASEPRI_20
  3115. <bb 4> [local count: 1073741824]:
  3116. # DEBUG ulNewBASEPRI => NULL
  3117. # DEBUG BEGIN_STMT
  3118. # DEBUG BEGIN_STMT
  3119. # DEBUG BEGIN_STMT
  3120. <bb 16> [local count: 1073741824]:
  3121. goto <bb 4>; [100.00%]
  3122. <bb 5> [local count: 250539]:
  3123. # DEBUG BEGIN_STMT
  3124. # DEBUG BEGIN_STMT
  3125. if (xStreamBuffer_8(D) == 0B)
  3126. goto <bb 6>; [30.00%]
  3127. else
  3128. goto <bb 8>; [70.00%]
  3129. <bb 6> [local count: 75162]:
  3130. # DEBUG BEGIN_STMT
  3131. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3132. # DEBUG BEGIN_STMT
  3133. # DEBUG BEGIN_STMT
  3134. __asm__ __volatile__(" mov %0, %1
  3135. msr basepri, %0
  3136. isb
  3137. dsb
  3138. " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
  3139. # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
  3140. <bb 7> [local count: 751619279]:
  3141. # DEBUG ulNewBASEPRI => NULL
  3142. # DEBUG BEGIN_STMT
  3143. # DEBUG BEGIN_STMT
  3144. # DEBUG BEGIN_STMT
  3145. <bb 17> [local count: 751619279]:
  3146. goto <bb 7>; [100.00%]
  3147. <bb 8> [local count: 175378]:
  3148. # DEBUG BEGIN_STMT
  3149. # DEBUG BEGIN_STMT
  3150. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
  3151. _9 = _1 & 1;
  3152. if (_9 != 0)
  3153. goto <bb 10>; [50.00%]
  3154. else
  3155. goto <bb 9>; [50.00%]
  3156. <bb 9> [local count: 87689]:
  3157. # DEBUG BEGIN_STMT
  3158. # DEBUG xBytesToStoreMessageLength => 0
  3159. <bb 10> [local count: 175378]:
  3160. # xBytesToStoreMessageLength_5 = PHI <4(8), 0(9)>
  3161. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_5
  3162. # DEBUG BEGIN_STMT
  3163. xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
  3164. # DEBUG xBytesAvailable => xBytesAvailable_13
  3165. # DEBUG BEGIN_STMT
  3166. if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
  3167. goto <bb 11>; [33.00%]
  3168. else
  3169. goto <bb 15>; [67.00%]
  3170. <bb 11> [local count: 57875]:
  3171. # DEBUG BEGIN_STMT
  3172. xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
  3173. # DEBUG xReceivedLength => xReceivedLength_16
  3174. # DEBUG BEGIN_STMT
  3175. if (xReceivedLength_16 != 0)
  3176. goto <bb 12>; [50.00%]
  3177. else
  3178. goto <bb 15>; [50.00%]
  3179. <bb 12> [local count: 28937]:
  3180. # DEBUG BEGIN_STMT
  3181. # DEBUG BEGIN_STMT
  3182. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  3183. # DEBUG BEGIN_STMT
  3184. # DEBUG BEGIN_STMT
  3185. __asm__ __volatile__(" mrs %0, basepri
  3186. mov %1, %2
  3187. msr basepri, %1
  3188. isb
  3189. dsb
  3190. " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  3191. # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
  3192. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_22
  3193. # DEBUG BEGIN_STMT
  3194. # DEBUG ulNewBASEPRI => NULL
  3195. # DEBUG ulOriginalBASEPRI => NULL
  3196. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_22
  3197. # DEBUG BEGIN_STMT
  3198. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  3199. if (_2 != 0B)
  3200. goto <bb 13>; [53.47%]
  3201. else
  3202. goto <bb 14>; [46.53%]
  3203. <bb 13> [local count: 15473]:
  3204. # DEBUG BEGIN_STMT
  3205. _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  3206. xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
  3207. # DEBUG BEGIN_STMT
  3208. MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
  3209. <bb 14> [local count: 28937]:
  3210. # DEBUG BEGIN_STMT
  3211. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_22
  3212. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  3213. # DEBUG BEGIN_STMT
  3214. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
  3215. <bb 15> [local count: 175378]:
  3216. # xReceivedLength_4 = PHI <0(10), xReceivedLength_16(14), xReceivedLength_16(11)>
  3217. # DEBUG ulNewMaskValue => NULL
  3218. # DEBUG xReceivedLength => xReceivedLength_4
  3219. # DEBUG BEGIN_STMT
  3220. # DEBUG BEGIN_STMT
  3221. # DEBUG BEGIN_STMT
  3222. return xReceivedLength_4;
  3223. }
  3224. xStreamBufferNextMessageLengthBytes (struct StreamBufferDef_t * xStreamBuffer)
  3225. {
  3226. uint32_t ulNewBASEPRI;
  3227. uint32_t ulNewBASEPRI;
  3228. size_t xTempReturn;
  3229. size_t xBytesAvailable;
  3230. size_t xReturn;
  3231. unsigned char _1;
  3232. unsigned int _2;
  3233. unsigned char _6;
  3234. <bb 2> [local count: 357913]:
  3235. # DEBUG BEGIN_STMT
  3236. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  3237. # DEBUG BEGIN_STMT
  3238. # DEBUG BEGIN_STMT
  3239. # DEBUG BEGIN_STMT
  3240. if (xStreamBuffer_5(D) == 0B)
  3241. goto <bb 3>; [30.00%]
  3242. else
  3243. goto <bb 5>; [70.00%]
  3244. <bb 3> [local count: 107374]:
  3245. # DEBUG BEGIN_STMT
  3246. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3247. # DEBUG BEGIN_STMT
  3248. # DEBUG BEGIN_STMT
  3249. __asm__ __volatile__(" mov %0, %1
  3250. msr basepri, %0
  3251. isb
  3252. dsb
  3253. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  3254. # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
  3255. <bb 4> [local count: 1073741824]:
  3256. # DEBUG ulNewBASEPRI => NULL
  3257. # DEBUG BEGIN_STMT
  3258. # DEBUG BEGIN_STMT
  3259. # DEBUG BEGIN_STMT
  3260. <bb 12> [local count: 1073741824]:
  3261. goto <bb 4>; [100.00%]
  3262. <bb 5> [local count: 250539]:
  3263. # DEBUG BEGIN_STMT
  3264. # DEBUG BEGIN_STMT
  3265. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  3266. _6 = _1 & 1;
  3267. if (_6 != 0)
  3268. goto <bb 6>; [33.00%]
  3269. else
  3270. goto <bb 11>; [67.00%]
  3271. <bb 6> [local count: 82678]:
  3272. # DEBUG BEGIN_STMT
  3273. xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
  3274. # DEBUG xBytesAvailable => xBytesAvailable_9
  3275. # DEBUG BEGIN_STMT
  3276. if (xBytesAvailable_9 > 4)
  3277. goto <bb 7>; [33.00%]
  3278. else
  3279. goto <bb 8>; [67.00%]
  3280. <bb 7> [local count: 27284]:
  3281. # DEBUG BEGIN_STMT
  3282. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
  3283. prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
  3284. # DEBUG BEGIN_STMT
  3285. xReturn_11 = xTempReturn;
  3286. # DEBUG xReturn => xReturn_11
  3287. goto <bb 11>; [100.00%]
  3288. <bb 8> [local count: 55394]:
  3289. # DEBUG BEGIN_STMT
  3290. if (xBytesAvailable_9 != 0)
  3291. goto <bb 9>; [50.00%]
  3292. else
  3293. goto <bb 11>; [50.00%]
  3294. <bb 9> [local count: 27697]:
  3295. # DEBUG BEGIN_STMT
  3296. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3297. # DEBUG BEGIN_STMT
  3298. # DEBUG BEGIN_STMT
  3299. __asm__ __volatile__(" mov %0, %1
  3300. msr basepri, %0
  3301. isb
  3302. dsb
  3303. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  3304. # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
  3305. <bb 10> [local count: 276971704]:
  3306. # DEBUG ulNewBASEPRI => NULL
  3307. # DEBUG BEGIN_STMT
  3308. # DEBUG BEGIN_STMT
  3309. # DEBUG BEGIN_STMT
  3310. <bb 13> [local count: 276971704]:
  3311. goto <bb 10>; [100.00%]
  3312. <bb 11> [local count: 222842]:
  3313. # xReturn_3 = PHI <0(8), 0(5), xReturn_11(7)>
  3314. # DEBUG xReturn => xReturn_3
  3315. # DEBUG BEGIN_STMT
  3316. xTempReturn ={v} {CLOBBER};
  3317. return xReturn_3;
  3318. }
  3319. xStreamBufferReceive (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
  3320. {
  3321. uint32_t ulNewBASEPRI;
  3322. uint32_t ulNewBASEPRI;
  3323. uint32_t ulNewBASEPRI;
  3324. size_t xBytesToStoreMessageLength;
  3325. size_t xBytesAvailable;
  3326. size_t xReceivedLength;
  3327. unsigned char _1;
  3328. struct tskTaskControlBlock * _2;
  3329. struct tskTaskControlBlock * _3;
  3330. struct tskTaskControlBlock * _4;
  3331. struct tskTaskControlBlock * _5;
  3332. unsigned char _14;
  3333. <bb 2> [local count: 357913]:
  3334. # DEBUG BEGIN_STMT
  3335. # DEBUG pxStreamBuffer => xStreamBuffer_13(D)
  3336. # DEBUG BEGIN_STMT
  3337. # DEBUG xReceivedLength => 0
  3338. # DEBUG BEGIN_STMT
  3339. if (pvRxData_15(D) == 0B)
  3340. goto <bb 3>; [30.00%]
  3341. else
  3342. goto <bb 5>; [70.00%]
  3343. <bb 3> [local count: 107374]:
  3344. # DEBUG BEGIN_STMT
  3345. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3346. # DEBUG BEGIN_STMT
  3347. # DEBUG BEGIN_STMT
  3348. __asm__ __volatile__(" mov %0, %1
  3349. msr basepri, %0
  3350. isb
  3351. dsb
  3352. " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
  3353. # DEBUG ulNewBASEPRI => ulNewBASEPRI_38
  3354. <bb 4> [local count: 1073741824]:
  3355. # DEBUG ulNewBASEPRI => NULL
  3356. # DEBUG BEGIN_STMT
  3357. # DEBUG BEGIN_STMT
  3358. # DEBUG BEGIN_STMT
  3359. <bb 25> [local count: 1073741824]:
  3360. goto <bb 4>; [100.00%]
  3361. <bb 5> [local count: 250539]:
  3362. # DEBUG BEGIN_STMT
  3363. # DEBUG BEGIN_STMT
  3364. if (xStreamBuffer_13(D) == 0B)
  3365. goto <bb 6>; [30.00%]
  3366. else
  3367. goto <bb 8>; [70.00%]
  3368. <bb 6> [local count: 75162]:
  3369. # DEBUG BEGIN_STMT
  3370. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3371. # DEBUG BEGIN_STMT
  3372. # DEBUG BEGIN_STMT
  3373. __asm__ __volatile__(" mov %0, %1
  3374. msr basepri, %0
  3375. isb
  3376. dsb
  3377. " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
  3378. # DEBUG ulNewBASEPRI => ulNewBASEPRI_39
  3379. <bb 7> [local count: 751619279]:
  3380. # DEBUG ulNewBASEPRI => NULL
  3381. # DEBUG BEGIN_STMT
  3382. # DEBUG BEGIN_STMT
  3383. # DEBUG BEGIN_STMT
  3384. <bb 26> [local count: 751619279]:
  3385. goto <bb 7>; [100.00%]
  3386. <bb 8> [local count: 175378]:
  3387. # DEBUG BEGIN_STMT
  3388. # DEBUG BEGIN_STMT
  3389. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
  3390. _14 = _1 & 1;
  3391. if (_14 != 0)
  3392. goto <bb 10>; [50.00%]
  3393. else
  3394. goto <bb 9>; [50.00%]
  3395. <bb 9> [local count: 87689]:
  3396. # DEBUG BEGIN_STMT
  3397. # DEBUG xBytesToStoreMessageLength => 0
  3398. <bb 10> [local count: 175378]:
  3399. # xBytesToStoreMessageLength_8 = PHI <4(8), 0(9)>
  3400. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_8
  3401. # DEBUG BEGIN_STMT
  3402. if (xTicksToWait_17(D) != 0)
  3403. goto <bb 11>; [50.00%]
  3404. else
  3405. goto <bb 18>; [50.00%]
  3406. <bb 11> [local count: 87689]:
  3407. # DEBUG BEGIN_STMT
  3408. vPortEnterCritical ();
  3409. # DEBUG BEGIN_STMT
  3410. xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
  3411. # DEBUG xBytesAvailable => xBytesAvailable_22
  3412. # DEBUG BEGIN_STMT
  3413. if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  3414. goto <bb 12>; [50.00%]
  3415. else
  3416. goto <bb 16>; [50.00%]
  3417. <bb 12> [local count: 43844]:
  3418. # DEBUG BEGIN_STMT
  3419. xTaskGenericNotifyStateClear (0B, 0);
  3420. # DEBUG BEGIN_STMT
  3421. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
  3422. if (_2 != 0B)
  3423. goto <bb 13>; [82.57%]
  3424. else
  3425. goto <bb 15>; [17.43%]
  3426. <bb 13> [local count: 36202]:
  3427. # DEBUG BEGIN_STMT
  3428. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3429. # DEBUG BEGIN_STMT
  3430. # DEBUG BEGIN_STMT
  3431. __asm__ __volatile__(" mov %0, %1
  3432. msr basepri, %0
  3433. isb
  3434. dsb
  3435. " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
  3436. # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
  3437. <bb 14> [local count: 362023689]:
  3438. # DEBUG ulNewBASEPRI => NULL
  3439. # DEBUG BEGIN_STMT
  3440. # DEBUG BEGIN_STMT
  3441. # DEBUG BEGIN_STMT
  3442. <bb 27> [local count: 362023689]:
  3443. goto <bb 14>; [100.00%]
  3444. <bb 15> [local count: 7642]:
  3445. # DEBUG BEGIN_STMT
  3446. # DEBUG BEGIN_STMT
  3447. _3 = xTaskGetCurrentTaskHandle ();
  3448. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
  3449. <bb 16> [local count: 51486]:
  3450. # DEBUG BEGIN_STMT
  3451. # DEBUG BEGIN_STMT
  3452. vPortExitCritical ();
  3453. # DEBUG BEGIN_STMT
  3454. if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  3455. goto <bb 17>; [33.00%]
  3456. else
  3457. goto <bb 19>; [67.00%]
  3458. <bb 17> [local count: 16991]:
  3459. # DEBUG BEGIN_STMT
  3460. # DEBUG BEGIN_STMT
  3461. xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
  3462. # DEBUG BEGIN_STMT
  3463. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
  3464. # DEBUG BEGIN_STMT
  3465. xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
  3466. # DEBUG xBytesAvailable => xBytesAvailable_30
  3467. goto <bb 19>; [100.00%]
  3468. <bb 18> [local count: 87689]:
  3469. # DEBUG BEGIN_STMT
  3470. xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
  3471. # DEBUG xBytesAvailable => xBytesAvailable_19
  3472. <bb 19> [local count: 139175]:
  3473. # xBytesAvailable_7 = PHI <xBytesAvailable_30(17), xBytesAvailable_19(18), xBytesAvailable_22(16)>
  3474. # DEBUG xBytesAvailable => xBytesAvailable_7
  3475. # DEBUG BEGIN_STMT
  3476. if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
  3477. goto <bb 20>; [33.00%]
  3478. else
  3479. goto <bb 24>; [67.00%]
  3480. <bb 20> [local count: 45928]:
  3481. # DEBUG BEGIN_STMT
  3482. xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
  3483. # DEBUG xReceivedLength => xReceivedLength_33
  3484. # DEBUG BEGIN_STMT
  3485. if (xReceivedLength_33 != 0)
  3486. goto <bb 21>; [33.00%]
  3487. else
  3488. goto <bb 24>; [67.00%]
  3489. <bb 21> [local count: 15156]:
  3490. # DEBUG BEGIN_STMT
  3491. # DEBUG BEGIN_STMT
  3492. vTaskSuspendAll ();
  3493. # DEBUG BEGIN_STMT
  3494. _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  3495. if (_4 != 0B)
  3496. goto <bb 22>; [53.47%]
  3497. else
  3498. goto <bb 23>; [46.53%]
  3499. <bb 22> [local count: 8104]:
  3500. # DEBUG BEGIN_STMT
  3501. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  3502. xTaskGenericNotify (_5, 0, 0, 0, 0B);
  3503. # DEBUG BEGIN_STMT
  3504. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
  3505. <bb 23> [local count: 15156]:
  3506. # DEBUG BEGIN_STMT
  3507. xTaskResumeAll ();
  3508. # DEBUG BEGIN_STMT
  3509. <bb 24> [local count: 139175]:
  3510. # xReceivedLength_6 = PHI <0(19), xReceivedLength_33(23), xReceivedLength_33(20)>
  3511. # DEBUG xReceivedLength => xReceivedLength_6
  3512. # DEBUG BEGIN_STMT
  3513. # DEBUG BEGIN_STMT
  3514. # DEBUG BEGIN_STMT
  3515. return xReceivedLength_6;
  3516. }
  3517. prvWriteMessageToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, size_t xSpace, size_t xRequiredSpace)
  3518. {
  3519. size_t xHead;
  3520. size_t xNextHead;
  3521. unsigned char _1;
  3522. unsigned int xDataLengthBytes.2_2;
  3523. unsigned int _3;
  3524. unsigned int xDataLengthBytes.3_4;
  3525. unsigned int _5;
  3526. size_t _19;
  3527. unsigned char _22;
  3528. <bb 2> [local count: 1073741824]:
  3529. # DEBUG BEGIN_STMT
  3530. xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
  3531. # DEBUG xNextHead => xNextHead_11
  3532. # DEBUG BEGIN_STMT
  3533. _1 = pxStreamBuffer_10(D)->ucFlags;
  3534. _22 = _1 & 1;
  3535. if (_22 != 0)
  3536. goto <bb 3>; [50.00%]
  3537. else
  3538. goto <bb 6>; [50.00%]
  3539. <bb 3> [local count: 536870913]:
  3540. # DEBUG BEGIN_STMT
  3541. if (xSpace_12(D) >= xRequiredSpace_14(D))
  3542. goto <bb 4>; [33.00%]
  3543. else
  3544. goto <bb 5>; [67.00%]
  3545. <bb 4> [local count: 177167401]:
  3546. # DEBUG BEGIN_STMT
  3547. # DEBUG pxStreamBuffer => pxStreamBuffer_10(D)
  3548. # DEBUG pucData => &xDataLengthBytes
  3549. # DEBUG xCount => 4
  3550. # DEBUG xHead => xNextHead_11
  3551. # DEBUG INLINE_ENTRY prvWriteBytesToBuffer
  3552. # DEBUG BEGIN_STMT
  3553. # DEBUG BEGIN_STMT
  3554. xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
  3555. # DEBUG xHead => xHead_20
  3556. # DEBUG BEGIN_STMT
  3557. # DEBUG BEGIN_STMT
  3558. # DEBUG pxStreamBuffer => NULL
  3559. # DEBUG pucData => NULL
  3560. # DEBUG xCount => NULL
  3561. # DEBUG xHead => NULL
  3562. # DEBUG ulNewBASEPRI => NULL
  3563. # DEBUG xNextHead => xHead_20
  3564. goto <bb 7>; [100.00%]
  3565. <bb 5> [local count: 359703511]:
  3566. # DEBUG BEGIN_STMT
  3567. xDataLengthBytes = 0;
  3568. goto <bb 7>; [100.00%]
  3569. <bb 6> [local count: 536870913]:
  3570. # DEBUG BEGIN_STMT
  3571. xDataLengthBytes.2_2 = xDataLengthBytes;
  3572. _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
  3573. xDataLengthBytes = _3;
  3574. <bb 7> [local count: 1073741824]:
  3575. # xNextHead_6 = PHI <xNextHead_11(5), xNextHead_11(6), xHead_20(4)>
  3576. # DEBUG xNextHead => xNextHead_6
  3577. # DEBUG BEGIN_STMT
  3578. xDataLengthBytes.3_4 = xDataLengthBytes;
  3579. if (xDataLengthBytes.3_4 != 0)
  3580. goto <bb 8>; [33.00%]
  3581. else
  3582. goto <bb 9>; [67.00%]
  3583. <bb 8> [local count: 354334802]:
  3584. # DEBUG BEGIN_STMT
  3585. _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
  3586. pxStreamBuffer_10(D)->xHead ={v} _5;
  3587. <bb 9> [local count: 1073741824]:
  3588. # DEBUG BEGIN_STMT
  3589. _19 = xDataLengthBytes;
  3590. return _19;
  3591. }
  3592. xStreamBufferSendFromISR (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
  3593. {
  3594. uint32_t ulOriginalBASEPRI;
  3595. uint32_t ulNewBASEPRI;
  3596. uint32_t ulNewBASEPRI;
  3597. uint32_t ulNewBASEPRI;
  3598. size_t xRequiredSpace;
  3599. size_t xSpace;
  3600. size_t xReturn;
  3601. unsigned char _1;
  3602. unsigned int _2;
  3603. unsigned int _3;
  3604. struct tskTaskControlBlock * _4;
  3605. struct tskTaskControlBlock * _5;
  3606. unsigned char _10;
  3607. <bb 2> [local count: 357913]:
  3608. # DEBUG BEGIN_STMT
  3609. # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
  3610. # DEBUG BEGIN_STMT
  3611. # DEBUG BEGIN_STMT
  3612. # DEBUG xRequiredSpace => xDataLengthBytes_11(D)
  3613. # DEBUG BEGIN_STMT
  3614. if (pvTxData_12(D) == 0B)
  3615. goto <bb 3>; [30.00%]
  3616. else
  3617. goto <bb 5>; [70.00%]
  3618. <bb 3> [local count: 107374]:
  3619. # DEBUG BEGIN_STMT
  3620. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3621. # DEBUG BEGIN_STMT
  3622. # DEBUG BEGIN_STMT
  3623. __asm__ __volatile__(" mov %0, %1
  3624. msr basepri, %0
  3625. isb
  3626. dsb
  3627. " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  3628. # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
  3629. <bb 4> [local count: 1073741824]:
  3630. # DEBUG ulNewBASEPRI => NULL
  3631. # DEBUG BEGIN_STMT
  3632. # DEBUG BEGIN_STMT
  3633. # DEBUG BEGIN_STMT
  3634. <bb 16> [local count: 1073741824]:
  3635. goto <bb 4>; [100.00%]
  3636. <bb 5> [local count: 250539]:
  3637. # DEBUG BEGIN_STMT
  3638. # DEBUG BEGIN_STMT
  3639. if (xStreamBuffer_9(D) == 0B)
  3640. goto <bb 6>; [30.00%]
  3641. else
  3642. goto <bb 8>; [70.00%]
  3643. <bb 6> [local count: 75162]:
  3644. # DEBUG BEGIN_STMT
  3645. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3646. # DEBUG BEGIN_STMT
  3647. # DEBUG BEGIN_STMT
  3648. __asm__ __volatile__(" mov %0, %1
  3649. msr basepri, %0
  3650. isb
  3651. dsb
  3652. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  3653. # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
  3654. <bb 7> [local count: 751619279]:
  3655. # DEBUG ulNewBASEPRI => NULL
  3656. # DEBUG BEGIN_STMT
  3657. # DEBUG BEGIN_STMT
  3658. # DEBUG BEGIN_STMT
  3659. <bb 17> [local count: 751619279]:
  3660. goto <bb 7>; [100.00%]
  3661. <bb 8> [local count: 175378]:
  3662. # DEBUG BEGIN_STMT
  3663. # DEBUG BEGIN_STMT
  3664. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  3665. _10 = _1 & 1;
  3666. if (_10 != 0)
  3667. goto <bb 9>; [50.00%]
  3668. else
  3669. goto <bb 10>; [50.00%]
  3670. <bb 9> [local count: 87689]:
  3671. # DEBUG BEGIN_STMT
  3672. xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
  3673. # DEBUG xRequiredSpace => xRequiredSpace_14
  3674. <bb 10> [local count: 175378]:
  3675. # xRequiredSpace_6 = PHI <xDataLengthBytes_11(D)(8), xRequiredSpace_14(9)>
  3676. # DEBUG xRequiredSpace => xRequiredSpace_6
  3677. # DEBUG BEGIN_STMT
  3678. # DEBUG BEGIN_STMT
  3679. xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
  3680. # DEBUG xSpace => xSpace_16
  3681. # DEBUG BEGIN_STMT
  3682. xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
  3683. # DEBUG xReturn => xReturn_18
  3684. # DEBUG BEGIN_STMT
  3685. if (xReturn_18 != 0)
  3686. goto <bb 11>; [33.00%]
  3687. else
  3688. goto <bb 15>; [67.00%]
  3689. <bb 11> [local count: 57875]:
  3690. # DEBUG BEGIN_STMT
  3691. _2 = prvBytesInBuffer (xStreamBuffer_9(D));
  3692. _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  3693. if (_2 >= _3)
  3694. goto <bb 12>; [50.00%]
  3695. else
  3696. goto <bb 15>; [50.00%]
  3697. <bb 12> [local count: 28937]:
  3698. # DEBUG BEGIN_STMT
  3699. # DEBUG BEGIN_STMT
  3700. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  3701. # DEBUG BEGIN_STMT
  3702. # DEBUG BEGIN_STMT
  3703. __asm__ __volatile__(" mrs %0, basepri
  3704. mov %1, %2
  3705. msr basepri, %1
  3706. isb
  3707. dsb
  3708. " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
  3709. # DEBUG ulNewBASEPRI => ulNewBASEPRI_26
  3710. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_25
  3711. # DEBUG BEGIN_STMT
  3712. # DEBUG ulNewBASEPRI => NULL
  3713. # DEBUG ulOriginalBASEPRI => NULL
  3714. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_25
  3715. # DEBUG BEGIN_STMT
  3716. _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  3717. if (_4 != 0B)
  3718. goto <bb 13>; [53.47%]
  3719. else
  3720. goto <bb 14>; [46.53%]
  3721. <bb 13> [local count: 15473]:
  3722. # DEBUG BEGIN_STMT
  3723. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  3724. xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
  3725. # DEBUG BEGIN_STMT
  3726. MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
  3727. <bb 14> [local count: 28937]:
  3728. # DEBUG BEGIN_STMT
  3729. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_25
  3730. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  3731. # DEBUG BEGIN_STMT
  3732. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
  3733. <bb 15> [local count: 175378]:
  3734. # DEBUG ulNewMaskValue => NULL
  3735. # DEBUG BEGIN_STMT
  3736. # DEBUG BEGIN_STMT
  3737. # DEBUG BEGIN_STMT
  3738. return xReturn_18;
  3739. }
  3740. xStreamBufferSend (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
  3741. {
  3742. uint32_t ulNewBASEPRI;
  3743. uint32_t ulNewBASEPRI;
  3744. uint32_t ulNewBASEPRI;
  3745. uint32_t ulNewBASEPRI;
  3746. size_t xMaxReportedSpace;
  3747. struct TimeOut_t xTimeOut;
  3748. size_t xRequiredSpace;
  3749. size_t xSpace;
  3750. size_t xReturn;
  3751. unsigned int _1;
  3752. unsigned char _2;
  3753. unsigned int _3;
  3754. long unsigned int xTicksToWait.0_4;
  3755. struct tskTaskControlBlock * _5;
  3756. struct tskTaskControlBlock * _6;
  3757. long unsigned int xTicksToWait.1_7;
  3758. long int _8;
  3759. unsigned int _9;
  3760. unsigned int _10;
  3761. struct tskTaskControlBlock * _11;
  3762. struct tskTaskControlBlock * _12;
  3763. unsigned char _23;
  3764. <bb 2> [local count: 357913]:
  3765. # DEBUG BEGIN_STMT
  3766. # DEBUG pxStreamBuffer => xStreamBuffer_22(D)
  3767. # DEBUG BEGIN_STMT
  3768. # DEBUG xSpace => 0
  3769. # DEBUG BEGIN_STMT
  3770. # DEBUG xRequiredSpace => xDataLengthBytes_25(D)
  3771. # DEBUG BEGIN_STMT
  3772. # DEBUG BEGIN_STMT
  3773. # DEBUG xMaxReportedSpace => 0
  3774. # DEBUG BEGIN_STMT
  3775. if (pvTxData_27(D) == 0B)
  3776. goto <bb 3>; [30.00%]
  3777. else
  3778. goto <bb 5>; [70.00%]
  3779. <bb 3> [local count: 107374]:
  3780. # DEBUG BEGIN_STMT
  3781. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3782. # DEBUG BEGIN_STMT
  3783. # DEBUG BEGIN_STMT
  3784. __asm__ __volatile__(" mov %0, %1
  3785. msr basepri, %0
  3786. isb
  3787. dsb
  3788. " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
  3789. # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
  3790. <bb 4> [local count: 1073741824]:
  3791. # DEBUG ulNewBASEPRI => NULL
  3792. # DEBUG BEGIN_STMT
  3793. # DEBUG BEGIN_STMT
  3794. # DEBUG BEGIN_STMT
  3795. <bb 31> [local count: 1073741824]:
  3796. goto <bb 4>; [100.00%]
  3797. <bb 5> [local count: 250539]:
  3798. # DEBUG BEGIN_STMT
  3799. # DEBUG BEGIN_STMT
  3800. if (xStreamBuffer_22(D) == 0B)
  3801. goto <bb 6>; [30.00%]
  3802. else
  3803. goto <bb 8>; [70.00%]
  3804. <bb 6> [local count: 75162]:
  3805. # DEBUG BEGIN_STMT
  3806. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3807. # DEBUG BEGIN_STMT
  3808. # DEBUG BEGIN_STMT
  3809. __asm__ __volatile__(" mov %0, %1
  3810. msr basepri, %0
  3811. isb
  3812. dsb
  3813. " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
  3814. # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
  3815. <bb 7> [local count: 751619279]:
  3816. # DEBUG ulNewBASEPRI => NULL
  3817. # DEBUG BEGIN_STMT
  3818. # DEBUG BEGIN_STMT
  3819. # DEBUG BEGIN_STMT
  3820. <bb 32> [local count: 751619279]:
  3821. goto <bb 7>; [100.00%]
  3822. <bb 8> [local count: 175378]:
  3823. # DEBUG BEGIN_STMT
  3824. # DEBUG BEGIN_STMT
  3825. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
  3826. xMaxReportedSpace_29 = _1 + 4294967295;
  3827. # DEBUG xMaxReportedSpace => xMaxReportedSpace_29
  3828. # DEBUG BEGIN_STMT
  3829. _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
  3830. _23 = _2 & 1;
  3831. if (_23 != 0)
  3832. goto <bb 9>; [50.00%]
  3833. else
  3834. goto <bb 14>; [50.00%]
  3835. <bb 9> [local count: 87689]:
  3836. # DEBUG BEGIN_STMT
  3837. xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
  3838. # DEBUG xRequiredSpace => xRequiredSpace_30
  3839. # DEBUG BEGIN_STMT
  3840. if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
  3841. goto <bb 10>; [50.00%]
  3842. else
  3843. goto <bb 12>; [50.00%]
  3844. <bb 10> [local count: 43844]:
  3845. # DEBUG BEGIN_STMT
  3846. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3847. # DEBUG BEGIN_STMT
  3848. # DEBUG BEGIN_STMT
  3849. __asm__ __volatile__(" mov %0, %1
  3850. msr basepri, %0
  3851. isb
  3852. dsb
  3853. " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
  3854. # DEBUG ulNewBASEPRI => ulNewBASEPRI_56
  3855. <bb 11> [local count: 438444579]:
  3856. # DEBUG ulNewBASEPRI => NULL
  3857. # DEBUG BEGIN_STMT
  3858. # DEBUG BEGIN_STMT
  3859. # DEBUG BEGIN_STMT
  3860. <bb 33> [local count: 438444579]:
  3861. goto <bb 11>; [100.00%]
  3862. <bb 12> [local count: 43844]:
  3863. # DEBUG BEGIN_STMT
  3864. # DEBUG BEGIN_STMT
  3865. if (xMaxReportedSpace_29 < xRequiredSpace_30)
  3866. goto <bb 13>; [50.00%]
  3867. else
  3868. goto <bb 15>; [50.00%]
  3869. <bb 13> [local count: 21922]:
  3870. # DEBUG BEGIN_STMT
  3871. xTicksToWait = 0;
  3872. goto <bb 15>; [100.00%]
  3873. <bb 14> [local count: 87689]:
  3874. # DEBUG BEGIN_STMT
  3875. _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
  3876. <bb 15> [local count: 131533]:
  3877. # xRequiredSpace_15 = PHI <xRequiredSpace_30(13), _3(14), xRequiredSpace_30(12)>
  3878. # DEBUG xRequiredSpace => xRequiredSpace_15
  3879. # DEBUG BEGIN_STMT
  3880. # DEBUG BEGIN_STMT
  3881. xTicksToWait.0_4 = xTicksToWait;
  3882. if (xTicksToWait.0_4 != 0)
  3883. goto <bb 16>; [50.00%]
  3884. else
  3885. goto <bb 24>; [50.00%]
  3886. <bb 16> [local count: 65767]:
  3887. # DEBUG BEGIN_STMT
  3888. vTaskSetTimeOutState (&xTimeOut);
  3889. <bb 17> [local count: 621434]:
  3890. # DEBUG BEGIN_STMT
  3891. # DEBUG BEGIN_STMT
  3892. vPortEnterCritical ();
  3893. # DEBUG BEGIN_STMT
  3894. xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  3895. # DEBUG xSpace => xSpace_35
  3896. # DEBUG BEGIN_STMT
  3897. if (xRequiredSpace_15 > xSpace_35)
  3898. goto <bb 18>; [96.34%]
  3899. else
  3900. goto <bb 22>; [3.66%]
  3901. <bb 18> [local count: 598690]:
  3902. # DEBUG BEGIN_STMT
  3903. xTaskGenericNotifyStateClear (0B, 0);
  3904. # DEBUG BEGIN_STMT
  3905. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
  3906. if (_5 != 0B)
  3907. goto <bb 19>; [3.66%]
  3908. else
  3909. goto <bb 21>; [96.34%]
  3910. <bb 19> [local count: 21912]:
  3911. # DEBUG BEGIN_STMT
  3912. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3913. # DEBUG BEGIN_STMT
  3914. # DEBUG BEGIN_STMT
  3915. __asm__ __volatile__(" mov %0, %1
  3916. msr basepri, %0
  3917. isb
  3918. dsb
  3919. " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
  3920. # DEBUG ulNewBASEPRI => ulNewBASEPRI_57
  3921. <bb 20> [local count: 219120732]:
  3922. # DEBUG ulNewBASEPRI => NULL
  3923. # DEBUG BEGIN_STMT
  3924. # DEBUG BEGIN_STMT
  3925. # DEBUG BEGIN_STMT
  3926. <bb 34> [local count: 219120732]:
  3927. goto <bb 20>; [100.00%]
  3928. <bb 21> [local count: 576777]:
  3929. # DEBUG BEGIN_STMT
  3930. # DEBUG BEGIN_STMT
  3931. _6 = xTaskGetCurrentTaskHandle ();
  3932. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
  3933. # DEBUG BEGIN_STMT
  3934. vPortExitCritical ();
  3935. # DEBUG BEGIN_STMT
  3936. # DEBUG BEGIN_STMT
  3937. xTicksToWait.1_7 = xTicksToWait;
  3938. xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
  3939. # DEBUG BEGIN_STMT
  3940. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
  3941. # DEBUG BEGIN_STMT
  3942. _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
  3943. if (_8 == 0)
  3944. goto <bb 35>; [96.34%]
  3945. else
  3946. goto <bb 23>; [3.66%]
  3947. <bb 35> [local count: 555667]:
  3948. goto <bb 17>; [100.00%]
  3949. <bb 22> [local count: 22744]:
  3950. # xSpace_24 = PHI <xSpace_35(17)>
  3951. # DEBUG BEGIN_STMT
  3952. vPortExitCritical ();
  3953. # DEBUG BEGIN_STMT
  3954. <bb 23> [local count: 43855]:
  3955. # xSpace_13 = PHI <xSpace_24(22), xSpace_35(21)>
  3956. # DEBUG xSpace => xSpace_13
  3957. # DEBUG BEGIN_STMT
  3958. # DEBUG BEGIN_STMT
  3959. if (xSpace_13 == 0)
  3960. goto <bb 24>; [50.00%]
  3961. else
  3962. goto <bb 25>; [50.00%]
  3963. <bb 24> [local count: 87694]:
  3964. # DEBUG xSpace => NULL
  3965. # DEBUG BEGIN_STMT
  3966. xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  3967. # DEBUG xSpace => xSpace_45
  3968. <bb 25> [local count: 109621]:
  3969. # xSpace_14 = PHI <xSpace_13(23), xSpace_45(24)>
  3970. # DEBUG xSpace => xSpace_14
  3971. # DEBUG BEGIN_STMT
  3972. # DEBUG BEGIN_STMT
  3973. xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
  3974. # DEBUG xReturn => xReturn_47
  3975. # DEBUG BEGIN_STMT
  3976. if (xReturn_47 != 0)
  3977. goto <bb 26>; [33.00%]
  3978. else
  3979. goto <bb 30>; [67.00%]
  3980. <bb 26> [local count: 36175]:
  3981. # DEBUG BEGIN_STMT
  3982. # DEBUG BEGIN_STMT
  3983. _9 = prvBytesInBuffer (xStreamBuffer_22(D));
  3984. _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
  3985. if (_9 >= _10)
  3986. goto <bb 27>; [33.00%]
  3987. else
  3988. goto <bb 30>; [67.00%]
  3989. <bb 27> [local count: 11938]:
  3990. # DEBUG BEGIN_STMT
  3991. vTaskSuspendAll ();
  3992. # DEBUG BEGIN_STMT
  3993. _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  3994. if (_11 != 0B)
  3995. goto <bb 28>; [53.47%]
  3996. else
  3997. goto <bb 29>; [46.53%]
  3998. <bb 28> [local count: 6383]:
  3999. # DEBUG BEGIN_STMT
  4000. _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  4001. xTaskGenericNotify (_12, 0, 0, 0, 0B);
  4002. # DEBUG BEGIN_STMT
  4003. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
  4004. <bb 29> [local count: 11938]:
  4005. # DEBUG BEGIN_STMT
  4006. xTaskResumeAll ();
  4007. # DEBUG BEGIN_STMT
  4008. <bb 30> [local count: 109621]:
  4009. # DEBUG BEGIN_STMT
  4010. # DEBUG BEGIN_STMT
  4011. # DEBUG BEGIN_STMT
  4012. xTimeOut ={v} {CLOBBER};
  4013. return xReturn_47;
  4014. }
  4015. xStreamBufferBytesAvailable (struct StreamBufferDef_t * xStreamBuffer)
  4016. {
  4017. uint32_t ulNewBASEPRI;
  4018. size_t xReturn;
  4019. <bb 2> [local count: 230763]:
  4020. # DEBUG BEGIN_STMT
  4021. # DEBUG pxStreamBuffer => xStreamBuffer_1(D)
  4022. # DEBUG BEGIN_STMT
  4023. # DEBUG BEGIN_STMT
  4024. if (xStreamBuffer_1(D) == 0B)
  4025. goto <bb 3>; [46.53%]
  4026. else
  4027. goto <bb 5>; [53.47%]
  4028. <bb 3> [local count: 107374]:
  4029. # DEBUG BEGIN_STMT
  4030. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4031. # DEBUG BEGIN_STMT
  4032. # DEBUG BEGIN_STMT
  4033. __asm__ __volatile__(" mov %0, %1
  4034. msr basepri, %0
  4035. isb
  4036. dsb
  4037. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  4038. # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
  4039. <bb 4> [local count: 1073741824]:
  4040. # DEBUG ulNewBASEPRI => NULL
  4041. # DEBUG BEGIN_STMT
  4042. # DEBUG BEGIN_STMT
  4043. # DEBUG BEGIN_STMT
  4044. <bb 6> [local count: 1073741824]:
  4045. goto <bb 4>; [100.00%]
  4046. <bb 5> [local count: 123389]:
  4047. # DEBUG BEGIN_STMT
  4048. # DEBUG BEGIN_STMT
  4049. xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
  4050. # DEBUG xReturn => xReturn_4
  4051. # DEBUG BEGIN_STMT
  4052. return xReturn_4;
  4053. }
  4054. xStreamBufferSpacesAvailable (struct StreamBufferDef_t * xStreamBuffer)
  4055. {
  4056. size_t xOriginalTail;
  4057. size_t xSpace;
  4058. unsigned int _1;
  4059. unsigned int _2;
  4060. unsigned int _3;
  4061. unsigned int _4;
  4062. unsigned int _12;
  4063. <bb 2> [local count: 357913]:
  4064. # DEBUG BEGIN_STMT
  4065. # DEBUG pxStreamBuffer => xStreamBuffer_7(D)
  4066. # DEBUG BEGIN_STMT
  4067. # DEBUG BEGIN_STMT
  4068. # DEBUG BEGIN_STMT
  4069. if (xStreamBuffer_7(D) == 0B)
  4070. goto <bb 3>; [30.00%]
  4071. else
  4072. goto <bb 8>; [70.00%]
  4073. <bb 3> [local count: 107374]:
  4074. # DEBUG D#1 => xStreamBuffer_7(D)
  4075. xStreamBufferSpacesAvailable.part.0 ();
  4076. <bb 8> [local count: 250539]:
  4077. <bb 4> [local count: 2277630]:
  4078. # DEBUG BEGIN_STMT
  4079. # DEBUG BEGIN_STMT
  4080. # DEBUG BEGIN_STMT
  4081. xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  4082. # DEBUG xOriginalTail => xOriginalTail_10
  4083. # DEBUG BEGIN_STMT
  4084. _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
  4085. _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  4086. xSpace_11 = _1 + _2;
  4087. # DEBUG xSpace => xSpace_11
  4088. # DEBUG BEGIN_STMT
  4089. _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
  4090. xSpace_13 = xSpace_11 - _12;
  4091. # DEBUG xSpace => xSpace_13
  4092. # DEBUG BEGIN_STMT
  4093. _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  4094. if (_3 != xOriginalTail_10)
  4095. goto <bb 9>; [89.00%]
  4096. else
  4097. goto <bb 5>; [11.00%]
  4098. <bb 9> [local count: 2027091]:
  4099. goto <bb 4>; [100.00%]
  4100. <bb 5> [local count: 250539]:
  4101. # _4 = PHI <_1(4)>
  4102. # xSpace_5 = PHI <xSpace_13(4)>
  4103. # DEBUG BEGIN_STMT
  4104. xSpace_14 = xSpace_5 + 4294967295;
  4105. # DEBUG xSpace => xSpace_14
  4106. # DEBUG BEGIN_STMT
  4107. if (_4 <= xSpace_14)
  4108. goto <bb 6>; [50.00%]
  4109. else
  4110. goto <bb 7>; [50.00%]
  4111. <bb 6> [local count: 125270]:
  4112. # DEBUG BEGIN_STMT
  4113. xSpace_15 = xSpace_14 - _4;
  4114. # DEBUG xSpace => xSpace_15
  4115. <bb 7> [local count: 250539]:
  4116. # xSpace_6 = PHI <xSpace_14(5), xSpace_15(6)>
  4117. # DEBUG xSpace => xSpace_6
  4118. # DEBUG BEGIN_STMT
  4119. # DEBUG BEGIN_STMT
  4120. return xSpace_6;
  4121. }
  4122. xStreamBufferSetTriggerLevel (struct StreamBufferDef_t * xStreamBuffer, size_t xTriggerLevel)
  4123. {
  4124. uint32_t ulNewBASEPRI;
  4125. BaseType_t xReturn;
  4126. unsigned int _1;
  4127. <bb 2> [local count: 357913]:
  4128. # DEBUG BEGIN_STMT
  4129. # DEBUG pxStreamBuffer => xStreamBuffer_4(D)
  4130. # DEBUG BEGIN_STMT
  4131. # DEBUG BEGIN_STMT
  4132. if (xStreamBuffer_4(D) == 0B)
  4133. goto <bb 3>; [30.00%]
  4134. else
  4135. goto <bb 5>; [70.00%]
  4136. <bb 3> [local count: 107374]:
  4137. # DEBUG BEGIN_STMT
  4138. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4139. # DEBUG BEGIN_STMT
  4140. # DEBUG BEGIN_STMT
  4141. __asm__ __volatile__(" mov %0, %1
  4142. msr basepri, %0
  4143. isb
  4144. dsb
  4145. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  4146. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  4147. <bb 4> [local count: 1073741824]:
  4148. # DEBUG ulNewBASEPRI => NULL
  4149. # DEBUG BEGIN_STMT
  4150. # DEBUG BEGIN_STMT
  4151. # DEBUG BEGIN_STMT
  4152. <bb 8> [local count: 1073741824]:
  4153. goto <bb 4>; [100.00%]
  4154. <bb 5> [local count: 250539]:
  4155. # DEBUG BEGIN_STMT
  4156. # DEBUG BEGIN_STMT
  4157. xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
  4158. # DEBUG xTriggerLevel => xTriggerLevel_8
  4159. # DEBUG BEGIN_STMT
  4160. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
  4161. if (_1 > xTriggerLevel_8)
  4162. goto <bb 6>; [50.00%]
  4163. else
  4164. goto <bb 7>; [50.00%]
  4165. <bb 6> [local count: 125270]:
  4166. # DEBUG BEGIN_STMT
  4167. MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
  4168. # DEBUG BEGIN_STMT
  4169. # DEBUG xReturn => 1
  4170. <bb 7> [local count: 250539]:
  4171. # xReturn_2 = PHI <1(6), 0(5)>
  4172. # DEBUG xReturn => xReturn_2
  4173. # DEBUG BEGIN_STMT
  4174. return xReturn_2;
  4175. }
  4176. xStreamBufferReset (struct StreamBufferDef_t * xStreamBuffer)
  4177. {
  4178. uint32_t ulNewBASEPRI;
  4179. UBaseType_t uxStreamBufferNumber;
  4180. BaseType_t xReturn;
  4181. struct tskTaskControlBlock * _1;
  4182. struct tskTaskControlBlock * _2;
  4183. uint8_t * _3;
  4184. unsigned int _4;
  4185. unsigned int _5;
  4186. unsigned char _6;
  4187. <bb 2> [local count: 230763]:
  4188. # DEBUG BEGIN_STMT
  4189. # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
  4190. # DEBUG BEGIN_STMT
  4191. # DEBUG xReturn => 0
  4192. # DEBUG BEGIN_STMT
  4193. # DEBUG BEGIN_STMT
  4194. if (xStreamBuffer_9(D) == 0B)
  4195. goto <bb 3>; [46.53%]
  4196. else
  4197. goto <bb 5>; [53.47%]
  4198. <bb 3> [local count: 107374]:
  4199. # DEBUG BEGIN_STMT
  4200. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4201. # DEBUG BEGIN_STMT
  4202. # DEBUG BEGIN_STMT
  4203. __asm__ __volatile__(" mov %0, %1
  4204. msr basepri, %0
  4205. isb
  4206. dsb
  4207. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  4208. # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
  4209. <bb 4> [local count: 1073741824]:
  4210. # DEBUG ulNewBASEPRI => NULL
  4211. # DEBUG BEGIN_STMT
  4212. # DEBUG BEGIN_STMT
  4213. # DEBUG BEGIN_STMT
  4214. <bb 9> [local count: 1073741824]:
  4215. goto <bb 4>; [100.00%]
  4216. <bb 5> [local count: 123389]:
  4217. # DEBUG BEGIN_STMT
  4218. # DEBUG BEGIN_STMT
  4219. uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
  4220. # DEBUG uxStreamBufferNumber => uxStreamBufferNumber_11
  4221. # DEBUG BEGIN_STMT
  4222. vPortEnterCritical ();
  4223. # DEBUG BEGIN_STMT
  4224. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  4225. if (_1 == 0B)
  4226. goto <bb 6>; [30.00%]
  4227. else
  4228. goto <bb 8>; [70.00%]
  4229. <bb 6> [local count: 37017]:
  4230. # DEBUG BEGIN_STMT
  4231. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
  4232. if (_2 == 0B)
  4233. goto <bb 7>; [17.43%]
  4234. else
  4235. goto <bb 8>; [82.57%]
  4236. <bb 7> [local count: 6452]:
  4237. # DEBUG BEGIN_STMT
  4238. _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
  4239. _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
  4240. _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  4241. _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  4242. prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
  4243. # DEBUG BEGIN_STMT
  4244. # DEBUG xReturn => 1
  4245. # DEBUG BEGIN_STMT
  4246. MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
  4247. <bb 8> [local count: 123389]:
  4248. # xReturn_7 = PHI <0(5), 0(6), 1(7)>
  4249. # DEBUG xReturn => xReturn_7
  4250. # DEBUG BEGIN_STMT
  4251. # DEBUG BEGIN_STMT
  4252. vPortExitCritical ();
  4253. # DEBUG BEGIN_STMT
  4254. return xReturn_7;
  4255. }
  4256. vStreamBufferDelete (struct StreamBufferDef_t * xStreamBuffer)
  4257. {
  4258. uint32_t ulNewBASEPRI;
  4259. unsigned char _1;
  4260. unsigned char _4;
  4261. <bb 2> [local count: 357913]:
  4262. # DEBUG BEGIN_STMT
  4263. # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
  4264. # DEBUG BEGIN_STMT
  4265. if (xStreamBuffer_3(D) == 0B)
  4266. goto <bb 3>; [30.00%]
  4267. else
  4268. goto <bb 5>; [70.00%]
  4269. <bb 3> [local count: 107374]:
  4270. # DEBUG BEGIN_STMT
  4271. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4272. # DEBUG BEGIN_STMT
  4273. # DEBUG BEGIN_STMT
  4274. __asm__ __volatile__(" mov %0, %1
  4275. msr basepri, %0
  4276. isb
  4277. dsb
  4278. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  4279. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  4280. <bb 4> [local count: 1073741824]:
  4281. # DEBUG ulNewBASEPRI => NULL
  4282. # DEBUG BEGIN_STMT
  4283. # DEBUG BEGIN_STMT
  4284. # DEBUG BEGIN_STMT
  4285. <bb 9> [local count: 1073741824]:
  4286. goto <bb 4>; [100.00%]
  4287. <bb 5> [local count: 250539]:
  4288. # DEBUG BEGIN_STMT
  4289. # DEBUG BEGIN_STMT
  4290. # DEBUG BEGIN_STMT
  4291. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
  4292. _4 = _1 & 2;
  4293. if (_4 == 0)
  4294. goto <bb 6>; [50.00%]
  4295. else
  4296. goto <bb 7>; [50.00%]
  4297. <bb 6> [local count: 125270]:
  4298. # DEBUG BEGIN_STMT
  4299. vPortFree (xStreamBuffer_3(D));
  4300. goto <bb 8>; [100.00%]
  4301. <bb 7> [local count: 125270]:
  4302. # DEBUG BEGIN_STMT
  4303. memset (xStreamBuffer_3(D), 0, 36);
  4304. <bb 8> [local count: 250539]:
  4305. return;
  4306. }
  4307. xStreamBufferGenericCreate (size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer)
  4308. {
  4309. uint32_t ulNewBASEPRI;
  4310. uint32_t ulNewBASEPRI;
  4311. uint32_t ulNewBASEPRI;
  4312. uint8_t ucFlags;
  4313. uint8_t * pucAllocatedMemory;
  4314. unsigned int _1;
  4315. uint8_t * _2;
  4316. <bb 2> [local count: 325376]:
  4317. # DEBUG BEGIN_STMT
  4318. # DEBUG BEGIN_STMT
  4319. # DEBUG BEGIN_STMT
  4320. if (xIsMessageBuffer_5(D) == 1)
  4321. goto <bb 3>; [34.00%]
  4322. else
  4323. goto <bb 6>; [66.00%]
  4324. <bb 3> [local count: 110628]:
  4325. # DEBUG BEGIN_STMT
  4326. # DEBUG ucFlags => 1
  4327. # DEBUG BEGIN_STMT
  4328. if (xBufferSizeBytes_6(D) <= 4)
  4329. goto <bb 4>; [50.00%]
  4330. else
  4331. goto <bb 9>; [50.00%]
  4332. <bb 4> [local count: 55314]:
  4333. # DEBUG BEGIN_STMT
  4334. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4335. # DEBUG BEGIN_STMT
  4336. # DEBUG BEGIN_STMT
  4337. __asm__ __volatile__(" mov %0, %1
  4338. msr basepri, %0
  4339. isb
  4340. dsb
  4341. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  4342. # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
  4343. <bb 5> [local count: 553139728]:
  4344. # DEBUG ulNewBASEPRI => NULL
  4345. # DEBUG BEGIN_STMT
  4346. # DEBUG BEGIN_STMT
  4347. # DEBUG BEGIN_STMT
  4348. <bb 16> [local count: 553139728]:
  4349. goto <bb 5>; [100.00%]
  4350. <bb 6> [local count: 214748]:
  4351. # DEBUG BEGIN_STMT
  4352. # DEBUG ucFlags => 0
  4353. # DEBUG BEGIN_STMT
  4354. if (xBufferSizeBytes_6(D) == 0)
  4355. goto <bb 7>; [50.00%]
  4356. else
  4357. goto <bb 9>; [50.00%]
  4358. <bb 7> [local count: 107374]:
  4359. # DEBUG BEGIN_STMT
  4360. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4361. # DEBUG BEGIN_STMT
  4362. # DEBUG BEGIN_STMT
  4363. __asm__ __volatile__(" mov %0, %1
  4364. msr basepri, %0
  4365. isb
  4366. dsb
  4367. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  4368. # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
  4369. <bb 8> [local count: 1073741824]:
  4370. # DEBUG ulNewBASEPRI => NULL
  4371. # DEBUG BEGIN_STMT
  4372. # DEBUG BEGIN_STMT
  4373. # DEBUG BEGIN_STMT
  4374. <bb 18> [local count: 1073741824]:
  4375. goto <bb 8>; [100.00%]
  4376. <bb 9> [local count: 162688]:
  4377. # ucFlags_3 = PHI <1(3), 0(6)>
  4378. # DEBUG ucFlags => ucFlags_3
  4379. # DEBUG BEGIN_STMT
  4380. # DEBUG BEGIN_STMT
  4381. if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
  4382. goto <bb 10>; [50.00%]
  4383. else
  4384. goto <bb 12>; [50.00%]
  4385. <bb 10> [local count: 81344]:
  4386. # DEBUG BEGIN_STMT
  4387. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  4388. # DEBUG BEGIN_STMT
  4389. # DEBUG BEGIN_STMT
  4390. __asm__ __volatile__(" mov %0, %1
  4391. msr basepri, %0
  4392. isb
  4393. dsb
  4394. " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
  4395. # DEBUG ulNewBASEPRI => ulNewBASEPRI_17
  4396. <bb 11> [local count: 813440776]:
  4397. # DEBUG ulNewBASEPRI => NULL
  4398. # DEBUG BEGIN_STMT
  4399. # DEBUG BEGIN_STMT
  4400. # DEBUG BEGIN_STMT
  4401. <bb 17> [local count: 813440776]:
  4402. goto <bb 11>; [100.00%]
  4403. <bb 12> [local count: 81344]:
  4404. # DEBUG BEGIN_STMT
  4405. # DEBUG BEGIN_STMT
  4406. xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
  4407. # DEBUG xTriggerLevelBytes => xTriggerLevelBytes_9
  4408. # DEBUG BEGIN_STMT
  4409. if (xBufferSizeBytes_6(D) <= 4294967258)
  4410. goto <bb 13>; [54.67%]
  4411. else
  4412. goto <bb 15>; [45.33%]
  4413. <bb 13> [local count: 44471]:
  4414. # DEBUG BEGIN_STMT
  4415. xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
  4416. # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
  4417. # DEBUG BEGIN_STMT
  4418. _1 = xBufferSizeBytes_6(D) + 37;
  4419. pucAllocatedMemory_13 = pvPortMalloc (_1);
  4420. # DEBUG pucAllocatedMemory => pucAllocatedMemory_13
  4421. # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
  4422. # DEBUG BEGIN_STMT
  4423. if (pucAllocatedMemory_13 != 0B)
  4424. goto <bb 14>; [53.47%]
  4425. else
  4426. goto <bb 15>; [46.53%]
  4427. <bb 14> [local count: 23779]:
  4428. # DEBUG BEGIN_STMT
  4429. _2 = pucAllocatedMemory_13 + 36;
  4430. prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
  4431. # DEBUG BEGIN_STMT
  4432. <bb 15> [local count: 81344]:
  4433. # pucAllocatedMemory_10 = PHI <pucAllocatedMemory_13(13), pucAllocatedMemory_13(14), 0B(12)>
  4434. # DEBUG pucAllocatedMemory => NULL
  4435. # DEBUG xBufferSizeBytes => NULL
  4436. # DEBUG BEGIN_STMT
  4437. # DEBUG BEGIN_STMT
  4438. return pucAllocatedMemory_10;
  4439. }