On 27 June 2012 14:55, Annamalai Lakshmanan annamalai.lakshmanan@linaro.org wrote:
Hi Micheal,
The mmap is just a device impl. with remap pfn for dma_alloc_coherant memory. The pages are mapped to user space in mmap device routine, for further info need to dig into impl.
Hi Annamalai. Sorry for the delay in replying. ISO C doesn't guarantee the types of memory access that memcpy() uses. If the device memory has special properties such as not supporting unaligned access, then you should implement or use a different function.
See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15414.htm...
for more.
-- Michael