public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* physical memory for user space application
@ 2005-11-15 21:09 Dave B. Sharp
  2005-11-16  4:01 ` P.Manohar
  0 siblings, 1 reply; 3+ messages in thread
From: Dave B. Sharp @ 2005-11-15 21:09 UTC (permalink / raw)
  To: Linux Newbie


 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: physical memory for user space application
  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
  0 siblings, 1 reply; 3+ messages in thread
From: P.Manohar @ 2005-11-16  4:01 UTC (permalink / raw)
  To: Dave B. Sharp; +Cc: Linux Newbie


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
>
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: physical memory for user space application
  2005-11-16  4:01 ` P.Manohar
@ 2005-11-16 15:17   ` Dave B. Sharp
  0 siblings, 0 replies; 3+ messages in thread
From: Dave B. Sharp @ 2005-11-16 15:17 UTC (permalink / raw)
  To: P.Manohar; +Cc: Linux Newbie

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-16 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox