RTDM mmap and DMA
Quoted 1 line · Perrine Martignoni
I don't know how memory heaps really work but it seems that memory
heaps are shared between user and kernel spaces.
Quoted 1 line
So, if I do like this I don't need mmap, am I wrong ?
Indeed. rt_heap's take care of mmap'ing as long as the H_MAPPABLE is set.
http://www.xenomai.org/documentation/trunk/html/api/group__native__heap.
html
Quoted 1 line
How is done the DMA transfer after ?
You're the only one who knows how to program your DMA (i.e. read your chip reference
manual). Generally, embedded DMA only "speak" physical addresses. Hence the patch
sent previously in this discussion.
Signature · 1 line
Stephane