kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: fs.rajat@gmail.com (Rajat Sharma)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Reserving physical memory in Linux
Date: Mon, 27 Dec 2010 12:57:23 +0530	[thread overview]
Message-ID: <AANLkTi=dZXYdeenjkPzvcG4mzYWHG4Q0C2yrhpB_LLHs@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin0niBxCRshQRMMJxNSYxq-RDv=LRB++oJ2YOh6@mail.gmail.com>

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 <rd.asha22@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
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

  reply	other threads:[~2010-12-27  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  6:59 Reserving physical memory in Linux Asha R
2010-12-27  7:27 ` Rajat Sharma [this message]
2010-12-27  7:31 ` Adam Lee
2010-12-27  9:06   ` Asha R
2010-12-27  9:09     ` Adam Lee
2010-12-28  3:49     ` Bharath H S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=dZXYdeenjkPzvcG4mzYWHG4Q0C2yrhpB_LLHs@mail.gmail.com' \
    --to=fs.rajat@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).