Hello Ming Lu<br><br><div><span class="gmail_quote">On 10/20/06, <b class="gmail_sendername">Ming Liu</b> &lt;<a href="mailto:eemingliu@hotmail.com">eemingliu@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>My situation is, I want to reserve some amount of memory and make it shared<br>by both Linux kernel and another hardware peripheral. That is, when I boot<br>linux and execute some user space programs, this part of memory should be
<br>reserved for other use and cannot be used by both the kernel and those<br>applications. </blockquote><div><br>
Considering your setup as normal desktop, I hope this can be done by
giving &quot;mem= xxm&quot;&nbsp; as the boot arguments.&nbsp; Say the dmesg in
your system shows&nbsp;&nbsp; &quot; 495MB LOWMEM available.&quot;&nbsp; .&nbsp;
In the boot arguments you can give mem=490m saying the linux to use
only 490MB . The rest 5MB can be used later as you wish.<br>
<br>
Please correct if i am wrong. <br>
<br>
Thanks<br>
Sudheer<br>
<br>
&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">But it could be accessed by Linux with some certain kind of<br>application and also be accessed by another hardware peripheral with DMA or
<br>something like that.<br><br>I am not sure if I am right but I think it's just like the situation of<br>multiprocessing (if we can treat that hardware peripheral as another<br>processor, or just use another processor to realize its functions.) and
<br>that part of memory is just like the hardware shared memory by<br>multiprocessor. Am I right?<br><br>Then my question is, how to reserve such part of memory in Linux? Does<br>Linux has such a function?<br><br>I am not falimiar with such a topic, so any hint related to this is
<br>appreciated.<br><br>Thanks for your ideals and suggestions.<br><br>Regards<br>Ming<br><br>_________________________________________________________________<br>与联机的朋友进行交流,请使用 MSN Messenger:&nbsp;&nbsp;<a href="http://messenger.msn.com/cn">
http://messenger.msn.com/cn</a><br><br><br><br>_______________________________________________<br>Linuxppc-embedded mailing list<br><a href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">
https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br><br></blockquote></div><br>