Reserving physical memory in Linux

Bharath H S bhslinker at gmail.com
Mon Dec 27 22:49:46 EST 2010


Asha,
You let the kernel now that X amount is DMA space only. It depends on
architecture though. What is architecture being worked upon?

- Bharath H S



On Mon, Dec 27, 2010 at 2:36 PM, Asha R <rd.asha22 at gmail.com> wrote:
> Thanks Adam Lee.
> Is this mem= or memmap=?
> Regards,
> Asha
> On Mon, Dec 27, 2010 at 1:01 PM, Adam Lee <adam8157 at gmail.com> wrote:
>>
>> On Mon, Dec 27, 2010 at 2:59 PM, Asha R <rd.asha22 at gmail.com> wrote:
>> > Hi,
>> > I want to reserve one range of physical memory say from 0x10000000
>> > of 256MB
>> > in Linux. This region is required for DMA functions alone.
>> > Please help me understand how we can reserve this in Linux. Can this be
>> > done using boot options or any other?
>> >
>> > Regards,
>> > Asha
>>
>> try adding "mem=256M$0x10000000" in arg.
>>
>> via http://lxr.linux.no/source/Documentation/kernel-parameters.txt
>>
>> --
>> Regards,
>> Adam Lee
>> --------------------------------------------------
>> E-mail: adam8157 at gmail.com
>> Website: http://www.adam8157.info
>> --------------------------------------------------
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list