>-----Original Message-----
>From: Gilles Chanteperdrix [mailto:[email protected]]
>Sent: Tuesday, January 11, 2011 6:28 PM
>To: Herrera-Bendezu, Luis
>Cc: [email protected]
>Subject: Re: [Xenomai-help] [Xenomai -help] User space access to DMA memory
>
>Gilles Chanteperdrix wrote:
>> Herrera-Bendezu, Luis wrote:
>>> On 01/05/2011 5:29 PM Gilles Chanteperdrix wrote:
>>>> Steven A. Falco wrote:
>>>>> On 01/05/2011 04:33 PM, Gilles Chanteperdrix wrote:
>>>> Ok. Could you try to do the same operation with the native API? You just
>>>> have to pass H_SHARED | H_DMA | H_NONCACHED as flags to rt_heap_create
>>>> to get the same effect as pci_dma_alloc_coherent.
>>>>
>>>> Just to see if the error lies in RTDM implementation or in Xenomai
>>>> generic code.
>>>>
>>>>
>> (...)
>> What about the other thing I asked you to test?
>>
>
>Ping? Any news about this test?

rt_heap_create() with flags H_SHARED | H_DMA | H_NONCACHED report -EINVAL.
Documentation indicates that H_NONCACHE is not compatible with H_DMA.

Other than that memory is accessible both in kernel and user space.
There still remains to setup DMA controller with corresponding bus address
and handle cache coherency. Will let you know results today.

Regards,
Luis
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to