From: "Dave B. Sharp" <daveb_sharp@yahoo.ca>
To: "P.Manohar" <pmanohar@lantana.cs.iitm.ernet.in>
Cc: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Re: physical memory for user space application
Date: Wed, 16 Nov 2005 10:17:18 -0500 (EST) [thread overview]
Message-ID: <20051116151719.84410.qmail@web32912.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0511160930520.13272@lantana.cs.iitm.ernet.in>
Hi Manohar,
Thanx, much apreciated. Which driver do I send the
ioctl to? Is it possible to pin down the memory in
question or is that done implicitly? I know in Windoze
this can be done.
Cheers
Dave
--- "P.Manohar" <pmanohar@lantana.cs.iitm.ernet.in>
wrote:
>
> you can use ioctls for tranfering data from user
> space to kernel space
>
> regards
> Manohar.
>
> On Tue, 15 Nov 2005, Dave B. Sharp wrote:
>
> >
> > Hi There,
> >
> > I want to access the physical memory associated
> > with a user space application.
> > From my driver I would like to:
> > - Lock down a range of memory (ensure that it
> is
> > not paged out)
> > - Get a mapping of the corrosponding phyiscal
> > memory i.e. I would like to be able to read the
> > physical memory directly.
> > - I don't want to use the proc file system.
> > Can anyone tell me what the fucntions and / or
> > data structures are to acomplish this?
> > Cheers
> > Dave Sharp
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
__________________________________________________________
> > Find your next car at http://autos.yahoo.ca
> > -
> > To unsubscribe from this list: send the line
> "unsubscribe linux-newbie" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at
> http://www.linux-learn.org/faqs
> >
>
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
prev parent reply other threads:[~2005-11-16 15:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-15 21:09 physical memory for user space application Dave B. Sharp
2005-11-16 4:01 ` P.Manohar
2005-11-16 15:17 ` Dave B. Sharp [this message]
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=20051116151719.84410.qmail@web32912.mail.mud.yahoo.com \
--to=daveb_sharp@yahoo.ca \
--cc=linux-newbie@vger.kernel.org \
--cc=pmanohar@lantana.cs.iitm.ernet.in \
/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