Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
GitHub / olfp / lupos
Lua on Pi OS - a bare metal Lua environment for the RPi based on Circle with Circle-Stdlib
JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olfp%2Flupos
Stars: 2
Forks: 0
Open Issues: 0
License: gpl-3.0
Language: C
Repo Size: 27.2 MB
Dependencies:
51
Created: over 3 years ago
Updated: 8 months ago
Last pushed: over 1 year ago
Last synced: 8 months ago
Files
Loading...
Readme
Loading...
Dependencies
- 1.Therecommendedwaytodefineacache-alignedDMAbufferonstackis *
- 2-4 *
- 2.Databuffersallocatedfromtheheaparealwayscache-aligned *
- 3.DMAbufferscanbedefinedstaticoutsideofafunctionorwiththe *
- CSocketclass. *
- Circlehasdriversforseveraldevices ,whichuseDMAandusestheCPUdata
- ControlMessage ,GetDescriptor,Transfer,SubmitBlockingRequest,
- DEFININGADMABUFFER *
- DMABUFFERREQUIREMENTS *
- DMA_BUFFER *
- DatabuffersusedforDMAoperationsmustbedefinedcache-alignedasaDMA *
- DatabuffersusedforDMAtransferscanbestoredindifferentlocations *
- Pi2-4 *
- Pleasenotethatyoushouldnotusethe *
- SubmitAsyncRequest. *
- That *
- TheDMA_BUFFER *
- Thisisperformedusingsystemcontroloperations ,whichrequire,thatthedata
- WHERETODEFINEADMABUFFER *
- additional *
- and *
- arewrittenoutfromdatacachetotheSDRAMbeforeaDMAtransferisstarted *
- buffer.Thisappliestodevicedriversinmanycases ,butwritingadevice
- bufferonitsown.Thisrequiresamemcpy *
- buffers. *
- buffershandedovertothefollowingmethodsmustbecache-alignedDMAbuffers *
- buffersusedforDMAtransfersarealignedtothesizeofadatacachelinein *
- cache-aligned ,thedriverwilldetectitandwillprovideacache
- cache-alignedDMAbuffers.Thisdoesnotapplyforbuffershandedovertothe *
- cache-alignedDMAbuffersforperformancereasons.Iftheyarenot *
- cache-alignment. *
- cachetospeedupoperation.Managingdatacoherencyinsuchasystemrequires *
- completed. *
- databufferscanbedefined. *
- databufferspassedfromanapplicationtoadevicedriverforDMAoperations ,
- definedthatway ,becausetheremaybepaddingbytesinthearrayfor
- driver.BecauseforperformancereasonssomeCircledevicedriversdirectlyuse *
- driverisseldom.ForperformancereasonsthismayapplytoCircleapplications *
- fromanetworkdevice ,buffershandedovertothenetworkdevicemustbe
- maybecorrupted.Suchissuesmaybedifficulttodetect. *
- membervariables *
- needcache-alignedDMAbuffers. *
- pDMABuffercanbeuseddirectlyforDMA.IfaC *
- performance.TheSDcarddevicedriverCEMMCDevicedoesnotuseDMAanddoesnot *
- size.Ifthisrequirementisnotmet ,theCircleapplicationmaystillwork,but
- specialsupportbythedevicedrivers ,whichhavetoensure,thatdatabuffers
- thesystem *
- thisrequirementmaybeVALIDFORAPPLICATIONBUFFERStoo *
- toounderthefollowingconditions *
- undercertainconditionsdata ,whichisstoredneartoanunalignedDMAbuffer,
- underwhichcircumstancesthisisrequiredinapplicationsandhowcache-aligned *