Re: Accessing device memory from user-land application process

2007-09-03 Thread John-Mark Gurney
Prahar Shah wrote this message on Fri, Aug 31, 2007 at 10:30 +0530: > I am writing a device driver in user-land process. I do a contigmalloc() to > allocate the descriptor memory, do a vtophys() on it and mmap that memory in > the user-land application process. I allocate buffers again using You s

Accessing device memory from user-land application process

2007-08-30 Thread Prahar Shah
Hi. I am writing a device driver in user-land process. I do a contigmalloc() to allocate the descriptor memory, do a vtophys() on it and mmap that memory in the user-land application process. I allocate buffers again using contigmalloc(), and mmap it within the same process. I pass on a buffer each