Re: Reserving physical memory in Linux

2010-12-27 Thread Bharath H S
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 wrote: > Thanks Adam Lee. > Is this mem= or memmap=? > Regards, > Asha > On Mon, Dec 27, 2010 at 1:01 P

Re: Reserving physical memory in Linux

2010-12-27 Thread Asha R
Thanks Adam Lee. Is this mem= or memmap=? Regards, Asha On Mon, Dec 27, 2010 at 1:01 PM, Adam Lee wrote: > On Mon, Dec 27, 2010 at 2:59 PM, Asha R wrote: > > Hi, > > I want to reserve one range of physical memory say from 0x1000 > of 256MB > > in Linux. This region is required for DMA funct

Re: Reserving physical memory in Linux

2010-12-27 Thread Adam Lee
On Mon, Dec 27, 2010 at 5:06 PM, Asha R wrote: > Thanks Adam Lee. > Is this mem= or memmap=? Opps, sorry. It should be "memmap=256M$0x1000" -- Regards, Adam Lee -- E-mail: adam8...@gmail.com Website: http://www.adam8157.info --

Re: Reserving physical memory in Linux

2010-12-26 Thread Adam Lee
On Mon, Dec 27, 2010 at 2:59 PM, Asha R wrote: > Hi, > I want to reserve one range of physical memory say from 0x1000 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

Re: Reserving physical memory in Linux

2010-12-26 Thread Rajat Sharma
look at alloc_bootmem and family of function to allocate memory at boot time, description for same is available in chapter 8 Linux device drivers. Rajat On Mon, Dec 27, 2010 at 12:29 PM, Asha R wrote: > Hi, > I want to reserve one range of physical memory say from 0x1000 of 256MB > in Linux.

Reserving physical memory in Linux

2010-12-26 Thread Asha R
Hi, I want to reserve one range of physical memory say from 0x1000 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 ___