From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bay0-omc3-s30.bay0.hotmail.com (bay0-omc3-s30.bay0.hotmail.com [65.54.246.230]) by ozlabs.org (Postfix) with ESMTP id AED44DDE11 for ; Tue, 13 May 2008 19:11:52 +1000 (EST) Message-ID: Content-Type: multipart/alternative; boundary="_427c7534-89fb-4e9b-89fd-fcb20860152c_" From: MingLiu To: Dave Cogley , Subject: RE: mmap problem in device driver and application program. Date: Tue, 13 May 2008 09:11:50 +0000 In-Reply-To: <1210366552.3755.21.camel@localhost.localdomain> References: <1210266109.3755.8.camel@localhost.localdomain> <1210366552.3755.21.camel@localhost.localdomain> MIME-Version: 1.0 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_427c7534-89fb-4e9b-89fd-fcb20860152c_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit 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 --_427c7534-89fb-4e9b-89fd-fcb20860152c_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit 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


“七件武器,七种完美” 立刻体验! --_427c7534-89fb-4e9b-89fd-fcb20860152c_--