<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 9pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.2800.1609" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=554054917-13052008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV>Dear Dave,<BR><BR>&gt; If you are using memory that is not under the 
  kernel's memory management<BR>&gt; you will need to use something other than 
  remap_pfn_range.<BR>&gt; <BR><BR>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. <BR>&nbsp;<BR>Any 
  more suggestion on how to mmap this LUT area? Any idea will be valuable for a 
  beginner like me. Thanks in advance. <BR>&nbsp;<BR>BR<BR>Ming<BR><BR></DIV>
  <DIV>
  <HR>
  </DIV>
  <DIV>“七件武器,七种完美” <A href="http://get.live.cn" target=_new>立刻体验!</A>&nbsp;<SPAN 
  class=554054917-13052008><FONT face=Arial color=#0000ff 
  size=2>&nbsp;</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=554054917-13052008><FONT face=Arial size=2>I have a similar 
setup where the upper 64MB are reserved for hardware.&nbsp; The mmap 
implementation in my device driver works just fine using 
io_remap_page_range().</FONT></SPAN></DIV>
<DIV><SPAN class=554054917-13052008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=554054917-13052008><FONT face=Arial size=2>Marc 
Howard</FONT></SPAN></DIV>
<DIV><SPAN class=554054917-13052008>&nbsp;</SPAN></DIV></BODY></HTML>