Subject: RE: mmap problem in device driver and application program.

From: Misbah khan <[email-masked]>
Date: Mon, 26 May 2008 03:08:42 -0700 (PDT)

Hi ...

I guess you can remap the memory region outside the kernel control and then
convert it into page and use it into your mmap implementation in the driver
else it is easy to use the same in application by opening /dev/mmap file 

regards 
Misbah <><

mliu wrote:
> 
> 
> Dear Dave,
>> If you are using memory that is not under the kernel's memory management>
>> you will need to use something other than remap_pfn_range.> 
> Happenly and unfortunately we are using the memory space out of the
> control from the kernel. We have 2GB memory on the board and only 64(or
> 32) MB is reserved for the kernel. The rest large space is for the data
> buffering or LUT use. In my question, the LUT memory is located in the
> rest part rather than the kernel memory area. 
>  
> Any more suggestion on how to mmap this LUT area? Any idea will be
> valuable for a beginner like me. Thanks in advance. 
>  
> BR
> Ming
> _________________________________________________________________
> 新年换新颜，快来妆扮自己的MSN给心仪的TA一个惊喜！
> http://im.live.cn/emoticons/?ID=18
> _______________________________________________
> Linuxppc-embedded mailing list
> [email-masked]
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 

-- 
View this message in context: http://www.nabble.com/mmap-problem-in-device-driver-and-application-program.-tp17130303p17469128.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.