Pardon my bad phrasing of the original question.  I have a mem-mapped PCI controller which has no on-board memory, but is asking for 32MB memory resource.  Is this legal?  While BIOS gives it 32MB address space, who is going to malloc and give it the required memory to work with?<br>Thanks - Baski<br><b><i>Myles Watson <myles@pel.cs.byu.edu></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!--  /* Font Definitions */  @font-face  {font-family:Tahoma;  panose-1:2 11 6 4 3 5 4 4 2 4;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal,
 div.MsoNormal  {margin:0in;  margin-bottom:.0001pt;  font-size:12.0pt;  font-family:"Times New Roman";} a:link, span.MsoHyperlink  {color:blue;  text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed  {color:blue;  text-decoration:underline;} p  {mso-margin-top-alt:auto;  margin-right:0in;  mso-margin-bottom-alt:auto;  margin-left:0in;  font-size:12.0pt;  font-family:"Times New Roman";} span.EmailStyle18  {mso-style-type:personal-reply;  font-family:Arial;  color:navy;} @page Section1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;} div.Section1  {page:Section1;} --> </style>    <div class="Section1">  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I’m guessing that you’re asking if it has to have as much memory as the resource.  If that’s the case, the answer is no.  You just have to respond to any request in that region.<o:p></o:p></span></font></div>  <div
 class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></div>  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">In other words, you could request a 1 GB region and only respond with useful data in the first 1 MB (respond to any other read with zeros), or map the 1 MB 1024 times into the 1 GB, or anything else you decide.<o:p></o:p></span></font></div>  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></div>  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Sorry if I totally missed the intent of your question,<o:p></o:p></span></font></div>  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Myles<o:p></o:p></span></font></div>  <div class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></div>  <div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">  <div>  <div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">  <hr tabindex="-1" align="center" size="2" width="100%">  </span></font></div>  <div class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> linuxbios-bounces@linuxbios.org
 [mailto:linuxbios-bounces@linuxbios.org] <b><span style="font-weight: bold;">On Behalf Of </span></b>Baski<br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 09, 2008 7:06 PM<br> <b><span style="font-weight: bold;">To:</span></b> linuxbios@linuxbios.org<br> <b><span style="font-weight: bold;">Subject:</span></b> [LinuxBIOS] PCI device memory resource</span></font><o:p></o:p></div>  </div>  <div class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></div>  <div class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">For a PCI device to request memory resource of ,say 1MB, should it have onboard<br> memory of 1MB ?<br> TIA <br> <br> <br> --<br> People wielding power and authority always desire to destroy the sources which gave them that power. Or, is it the other way round?<o:p></o:p></span></font></div>  <div><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">  <o:p></o:p></span></font></div>  <div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">  <hr align="center" size="1" width="100%">  </span></font></div>  <div class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs">Make Yahoo your homepage.</a> <o:p></o:p></span></font></div>  </div>  </div>  </blockquote><br><BR><BR>--<br>People wielding power and authority always desire to destroy the sources which gave them that power.  Or, is it the other way round?<p>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>